@nascentdigital/funnel-ui 4.4.18
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.
- package/dist/Tailwind.d.ts +201 -0
- package/dist/Tailwind.js +282 -0
- package/dist/client/app/AppContainer.d.ts +10 -0
- package/dist/client/app/AppContainer.js +22 -0
- package/dist/client/app/AppContext.d.ts +11 -0
- package/dist/client/app/AppContext.js +6 -0
- package/dist/client/app/AppPreview.d.ts +7 -0
- package/dist/client/app/AppPreview.js +51 -0
- package/dist/client/app/PageContainer.d.ts +8 -0
- package/dist/client/app/PageContainer.js +22 -0
- package/dist/client/app/index.d.ts +9 -0
- package/dist/client/app/index.js +25 -0
- package/dist/client/app/useAppConfig.d.ts +2 -0
- package/dist/client/app/useAppConfig.js +9 -0
- package/dist/client/app/useBrand.d.ts +9 -0
- package/dist/client/app/useBrand.js +17 -0
- package/dist/client/app/useLanguage.d.ts +2 -0
- package/dist/client/app/useLanguage.js +11 -0
- package/dist/client/app/usePageData.d.ts +2 -0
- package/dist/client/app/usePageData.js +25 -0
- package/dist/client/app/usePageUrl.d.ts +1 -0
- package/dist/client/app/usePageUrl.js +12 -0
- package/dist/client/app/useRegion.d.ts +1 -0
- package/dist/client/app/useRegion.js +10 -0
- package/dist/client/app/useSite.d.ts +2 -0
- package/dist/client/app/useSite.js +13 -0
- package/dist/client/atomic/AnimatedText.d.ts +12 -0
- package/dist/client/atomic/AnimatedText.js +90 -0
- package/dist/client/atomic/MaskedInput.d.ts +20 -0
- package/dist/client/atomic/MaskedInput.js +63 -0
- package/dist/client/atomic/index.d.ts +2 -0
- package/dist/client/atomic/index.js +18 -0
- package/dist/client/fields/EmbeddedVideo/EmbeddedPlayer.d.ts +36 -0
- package/dist/client/fields/EmbeddedVideo/EmbeddedPlayer.js +2 -0
- package/dist/client/fields/EmbeddedVideo/EmbeddedVideo.d.ts +13 -0
- package/dist/client/fields/EmbeddedVideo/EmbeddedVideo.js +22 -0
- package/dist/client/fields/EmbeddedVideo/EmbeddedVideoContainer.d.ts +7 -0
- package/dist/client/fields/EmbeddedVideo/EmbeddedVideoContainer.js +24 -0
- package/dist/client/fields/EmbeddedVideo/EmbeddedVideoContext.d.ts +8 -0
- package/dist/client/fields/EmbeddedVideo/EmbeddedVideoContext.js +11 -0
- package/dist/client/fields/EmbeddedVideo/index.d.ts +4 -0
- package/dist/client/fields/EmbeddedVideo/index.js +20 -0
- package/dist/client/fields/EmbeddedVideo/useEmbeddedPlayerProgress.d.ts +10 -0
- package/dist/client/fields/EmbeddedVideo/useEmbeddedPlayerProgress.js +66 -0
- package/dist/client/fields/EmbeddedVideo/useEmbeddedPlayerRef.d.ts +9 -0
- package/dist/client/fields/EmbeddedVideo/useEmbeddedPlayerRef.js +29 -0
- package/dist/client/fields/EmbeddedVideo/vimeo/VimeoPlayer.d.ts +63 -0
- package/dist/client/fields/EmbeddedVideo/vimeo/VimeoPlayer.js +326 -0
- package/dist/client/fields/EmbeddedVideo/vimeo/VimeoVideo.d.ts +13 -0
- package/dist/client/fields/EmbeddedVideo/vimeo/VimeoVideo.js +60 -0
- package/dist/client/fields/EmbeddedVideo/vimeo/index.d.ts +1 -0
- package/dist/client/fields/EmbeddedVideo/vimeo/index.js +17 -0
- package/dist/client/fields/EmbeddedVideo/youtube/YTApi.d.ts +92 -0
- package/dist/client/fields/EmbeddedVideo/youtube/YTApi.js +24 -0
- package/dist/client/fields/EmbeddedVideo/youtube/YoutubePlayer.d.ts +56 -0
- package/dist/client/fields/EmbeddedVideo/youtube/YoutubePlayer.js +288 -0
- package/dist/client/fields/EmbeddedVideo/youtube/YoutubeVideo.d.ts +13 -0
- package/dist/client/fields/EmbeddedVideo/youtube/YoutubeVideo.js +71 -0
- package/dist/client/fields/EmbeddedVideo/youtube/index.d.ts +3 -0
- package/dist/client/fields/EmbeddedVideo/youtube/index.js +19 -0
- package/dist/client/fields/LazyVideo.d.ts +8 -0
- package/dist/client/fields/LazyVideo.js +100 -0
- package/dist/client/fields/index.d.ts +2 -0
- package/dist/client/fields/index.js +18 -0
- package/dist/client/forms/Form.d.ts +13 -0
- package/dist/client/forms/Form.js +68 -0
- package/dist/client/forms/FormContext.d.ts +5 -0
- package/dist/client/forms/FormContext.js +6 -0
- package/dist/client/forms/fields/BooleanField.d.ts +16 -0
- package/dist/client/forms/fields/BooleanField.js +47 -0
- package/dist/client/forms/fields/EnumField.d.ts +20 -0
- package/dist/client/forms/fields/EnumField.js +65 -0
- package/dist/client/forms/fields/Field.d.ts +15 -0
- package/dist/client/forms/fields/Field.js +39 -0
- package/dist/client/forms/fields/FieldErrorController.d.ts +12 -0
- package/dist/client/forms/fields/FieldErrorController.js +13 -0
- package/dist/client/forms/fields/FieldLayout.d.ts +16 -0
- package/dist/client/forms/fields/FieldLayout.js +32 -0
- package/dist/client/forms/fields/TextField.d.ts +25 -0
- package/dist/client/forms/fields/TextField.js +178 -0
- package/dist/client/forms/fields/index.d.ts +2 -0
- package/dist/client/forms/fields/index.js +18 -0
- package/dist/client/forms/fields/useField.d.ts +2 -0
- package/dist/client/forms/fields/useField.js +26 -0
- package/dist/client/forms/index.d.ts +4 -0
- package/dist/client/forms/index.js +20 -0
- package/dist/client/forms/interactive/CheckboxField.d.ts +14 -0
- package/dist/client/forms/interactive/CheckboxField.js +19 -0
- package/dist/client/forms/interactive/RadioField.d.ts +12 -0
- package/dist/client/forms/interactive/RadioField.js +16 -0
- package/dist/client/forms/interactive/RadioGroupField.d.ts +12 -0
- package/dist/client/forms/interactive/RadioGroupField.js +10 -0
- package/dist/client/forms/interactive/SelectField.d.ts +17 -0
- package/dist/client/forms/interactive/SelectField.js +16 -0
- package/dist/client/forms/interactive/index.d.ts +4 -0
- package/dist/client/forms/interactive/index.js +20 -0
- package/dist/client/forms/useForm.d.ts +2 -0
- package/dist/client/forms/useForm.js +17 -0
- package/dist/client/forms/useTempFields.d.ts +7 -0
- package/dist/client/forms/useTempFields.js +54 -0
- package/dist/client/hooks/assets/index.d.ts +2 -0
- package/dist/client/hooks/assets/index.js +18 -0
- package/dist/client/hooks/assets/useImageProxy.d.ts +2 -0
- package/dist/client/hooks/assets/useImageProxy.js +43 -0
- package/dist/client/hooks/assets/useVideoProxy.d.ts +2 -0
- package/dist/client/hooks/assets/useVideoProxy.js +43 -0
- package/dist/client/hooks/breakpoint/BreakpointContainer.d.ts +9 -0
- package/dist/client/hooks/breakpoint/BreakpointContainer.js +39 -0
- package/dist/client/hooks/breakpoint/BreakpointContext.d.ts +7 -0
- package/dist/client/hooks/breakpoint/BreakpointContext.js +9 -0
- package/dist/client/hooks/breakpoint/index.d.ts +3 -0
- package/dist/client/hooks/breakpoint/index.js +19 -0
- package/dist/client/hooks/breakpoint/useCurrentBreakpoint.d.ts +2 -0
- package/dist/client/hooks/breakpoint/useCurrentBreakpoint.js +10 -0
- package/dist/client/hooks/index.d.ts +26 -0
- package/dist/client/hooks/index.js +42 -0
- package/dist/client/hooks/ui-lock/UILockContainer.d.ts +5 -0
- package/dist/client/hooks/ui-lock/UILockContainer.js +57 -0
- package/dist/client/hooks/ui-lock/UILockContext.d.ts +9 -0
- package/dist/client/hooks/ui-lock/UILockContext.js +6 -0
- package/dist/client/hooks/ui-lock/UILockRef.d.ts +36 -0
- package/dist/client/hooks/ui-lock/UILockRef.js +32 -0
- package/dist/client/hooks/ui-lock/index.d.ts +3 -0
- package/dist/client/hooks/ui-lock/index.js +19 -0
- package/dist/client/hooks/ui-lock/useUILock.d.ts +16 -0
- package/dist/client/hooks/ui-lock/useUILock.js +121 -0
- package/dist/client/hooks/useCounter.d.ts +11 -0
- package/dist/client/hooks/useCounter.js +57 -0
- package/dist/client/hooks/useCycle.d.ts +5 -0
- package/dist/client/hooks/useCycle.js +15 -0
- package/dist/client/hooks/useElementRect.d.ts +2 -0
- package/dist/client/hooks/useElementRect.js +63 -0
- package/dist/client/hooks/useElementScrolled.d.ts +17 -0
- package/dist/client/hooks/useElementScrolled.js +51 -0
- package/dist/client/hooks/useElementSelector.d.ts +2 -0
- package/dist/client/hooks/useElementSelector.js +160 -0
- package/dist/client/hooks/useElementSize.d.ts +2 -0
- package/dist/client/hooks/useElementSize.js +64 -0
- package/dist/client/hooks/useFindElements.d.ts +9 -0
- package/dist/client/hooks/useFindElements.js +147 -0
- package/dist/client/hooks/useInViewport.d.ts +16 -0
- package/dist/client/hooks/useInViewport.js +46 -0
- package/dist/client/hooks/useIsDesktop.d.ts +1 -0
- package/dist/client/hooks/useIsDesktop.js +22 -0
- package/dist/client/hooks/useKeyboardFocus.d.ts +7 -0
- package/dist/client/hooks/useKeyboardFocus.js +40 -0
- package/dist/client/hooks/useLatestValue.d.ts +1 -0
- package/dist/client/hooks/useLatestValue.js +21 -0
- package/dist/client/hooks/useLock.d.ts +13 -0
- package/dist/client/hooks/useLock.js +161 -0
- package/dist/client/hooks/useMixedResponsiveValue.d.ts +2 -0
- package/dist/client/hooks/useMixedResponsiveValue.js +20 -0
- package/dist/client/hooks/usePathname.d.ts +9 -0
- package/dist/client/hooks/usePathname.js +25 -0
- package/dist/client/hooks/useRefElement.d.ts +8 -0
- package/dist/client/hooks/useRefElement.js +34 -0
- package/dist/client/hooks/useRefresh.d.ts +2 -0
- package/dist/client/hooks/useRefresh.js +25 -0
- package/dist/client/hooks/useResizeObserver.d.ts +5 -0
- package/dist/client/hooks/useResizeObserver.js +179 -0
- package/dist/client/hooks/useResponsiveValue.d.ts +2 -0
- package/dist/client/hooks/useResponsiveValue.js +16 -0
- package/dist/client/hooks/useRouter.d.ts +20 -0
- package/dist/client/hooks/useRouter.js +49 -0
- package/dist/client/hooks/useSafeLayoutEffect.d.ts +2 -0
- package/dist/client/hooks/useSafeLayoutEffect.js +9 -0
- package/dist/client/hooks/useTouch.d.ts +2 -0
- package/dist/client/hooks/useTouch.js +10 -0
- package/dist/client/hooks/useViewportSize.d.ts +7 -0
- package/dist/client/hooks/useViewportSize.js +66 -0
- package/dist/client/hooks/useWindowScrolled.d.ts +8 -0
- package/dist/client/hooks/useWindowScrolled.js +52 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.js +25 -0
- package/dist/client/interaction/Carousel.d.ts +48 -0
- package/dist/client/interaction/Carousel.js +498 -0
- package/dist/client/interaction/ClickObserver.d.ts +19 -0
- package/dist/client/interaction/ClickObserver.js +76 -0
- package/dist/client/interaction/InfiniteScroller.d.ts +9 -0
- package/dist/client/interaction/InfiniteScroller.js +47 -0
- package/dist/client/interaction/Loader.d.ts +14 -0
- package/dist/client/interaction/Loader.js +74 -0
- package/dist/client/interaction/Marquee.d.ts +5 -0
- package/dist/client/interaction/Marquee.js +26 -0
- package/dist/client/interaction/Popup.d.ts +36 -0
- package/dist/client/interaction/Popup.js +244 -0
- package/dist/client/interaction/Tooltip.d.ts +16 -0
- package/dist/client/interaction/Tooltip.js +122 -0
- package/dist/client/interaction/UILevel.d.ts +1 -0
- package/dist/client/interaction/UILevel.js +2 -0
- package/dist/client/interaction/backdrop/BackdropContainer.d.ts +5 -0
- package/dist/client/interaction/backdrop/BackdropContainer.js +114 -0
- package/dist/client/interaction/backdrop/BackdropContext.d.ts +8 -0
- package/dist/client/interaction/backdrop/BackdropContext.js +6 -0
- package/dist/client/interaction/backdrop/BackdropEvent.d.ts +64 -0
- package/dist/client/interaction/backdrop/BackdropEvent.js +92 -0
- package/dist/client/interaction/backdrop/index.d.ts +4 -0
- package/dist/client/interaction/backdrop/index.js +20 -0
- package/dist/client/interaction/backdrop/useBackdrop.d.ts +13 -0
- package/dist/client/interaction/backdrop/useBackdrop.js +58 -0
- package/dist/client/interaction/backdrop/useBackdropClick.d.ts +2 -0
- package/dist/client/interaction/backdrop/useBackdropClick.js +21 -0
- package/dist/client/interaction/backdrop/useBackdropVisible.d.ts +1 -0
- package/dist/client/interaction/backdrop/useBackdropVisible.js +30 -0
- package/dist/client/interaction/focus/FocusArea.d.ts +10 -0
- package/dist/client/interaction/focus/FocusArea.js +38 -0
- package/dist/client/interaction/focus/FocusContext.d.ts +7 -0
- package/dist/client/interaction/focus/FocusContext.js +7 -0
- package/dist/client/interaction/focus/FocusController.d.ts +9 -0
- package/dist/client/interaction/focus/FocusController.js +40 -0
- package/dist/client/interaction/focus/FocusService.d.ts +20 -0
- package/dist/client/interaction/focus/FocusService.js +204 -0
- package/dist/client/interaction/focus/LinkedList.d.ts +18 -0
- package/dist/client/interaction/focus/LinkedList.js +122 -0
- package/dist/client/interaction/focus/index.d.ts +2 -0
- package/dist/client/interaction/focus/index.js +18 -0
- package/dist/client/interaction/focus/useFocusService.d.ts +2 -0
- package/dist/client/interaction/focus/useFocusService.js +14 -0
- package/dist/client/interaction/index.d.ts +12 -0
- package/dist/client/interaction/index.js +28 -0
- package/dist/client/interaction/modal/Modal.d.ts +29 -0
- package/dist/client/interaction/modal/Modal.js +136 -0
- package/dist/client/interaction/modal/ModalContainer.d.ts +5 -0
- package/dist/client/interaction/modal/ModalContainer.js +104 -0
- package/dist/client/interaction/modal/ModalContext.d.ts +8 -0
- package/dist/client/interaction/modal/ModalContext.js +6 -0
- package/dist/client/interaction/modal/ModalEvent.d.ts +39 -0
- package/dist/client/interaction/modal/ModalEvent.js +53 -0
- package/dist/client/interaction/modal/index.d.ts +2 -0
- package/dist/client/interaction/modal/index.js +18 -0
- package/dist/client/interaction/paginator/Paginator.d.ts +33 -0
- package/dist/client/interaction/paginator/Paginator.js +67 -0
- package/dist/client/interaction/paginator/index.d.ts +1 -0
- package/dist/client/interaction/paginator/index.js +17 -0
- package/dist/client/layouts/MasonaryLayout.d.ts +7 -0
- package/dist/client/layouts/MasonaryLayout.js +53 -0
- package/dist/client/layouts/index.d.ts +1 -0
- package/dist/client/layouts/index.js +17 -0
- package/dist/client/refs.d.ts +2 -0
- package/dist/client/refs.js +13 -0
- package/dist/client/transitions/Revelator.d.ts +42 -0
- package/dist/client/transitions/Revelator.js +60 -0
- package/dist/client/transitions/SideScroll.d.ts +14 -0
- package/dist/client/transitions/SideScroll.js +51 -0
- package/dist/client/transitions/StyleInViewport.d.ts +20 -0
- package/dist/client/transitions/StyleInViewport.js +66 -0
- package/dist/client/transitions/StyleSwitch.d.ts +297 -0
- package/dist/client/transitions/StyleSwitch.js +78 -0
- package/dist/client/transitions/index.d.ts +6 -0
- package/dist/client/transitions/index.js +22 -0
- package/dist/client/transitions/parallax/Parallax.d.ts +20 -0
- package/dist/client/transitions/parallax/Parallax.js +72 -0
- package/dist/client/transitions/parallax/ParallaxContext.d.ts +11 -0
- package/dist/client/transitions/parallax/ParallaxContext.js +6 -0
- package/dist/client/transitions/parallax/ParallaxItem.d.ts +14 -0
- package/dist/client/transitions/parallax/ParallaxItem.js +37 -0
- package/dist/client/transitions/parallax/ParallaxRemote.d.ts +29 -0
- package/dist/client/transitions/parallax/ParallaxRemote.js +136 -0
- package/dist/client/transitions/parallax/ParallaxUtils.d.ts +5 -0
- package/dist/client/transitions/parallax/ParallaxUtils.js +19 -0
- package/dist/client/transitions/parallax/index.d.ts +2 -0
- package/dist/client/transitions/parallax/index.js +18 -0
- package/dist/client/transitions/parallax/useDisableParallax.d.ts +4 -0
- package/dist/client/transitions/parallax/useDisableParallax.js +13 -0
- package/dist/client/transitions/parallax/useParallax.d.ts +2 -0
- package/dist/client/transitions/parallax/useParallax.js +18 -0
- package/dist/client/transitions/parallax/useTransforms.d.ts +34 -0
- package/dist/client/transitions/parallax/useTransforms.js +176 -0
- package/dist/client/transitions/reveal/Reveal.d.ts +14 -0
- package/dist/client/transitions/reveal/Reveal.js +75 -0
- package/dist/client/transitions/reveal/RevealAnimation.d.ts +17 -0
- package/dist/client/transitions/reveal/RevealAnimation.js +2 -0
- package/dist/client/transitions/reveal/RevealAnimator.d.ts +13 -0
- package/dist/client/transitions/reveal/RevealAnimator.js +41 -0
- package/dist/client/transitions/reveal/RevealController.d.ts +13 -0
- package/dist/client/transitions/reveal/RevealController.js +114 -0
- package/dist/client/transitions/reveal/RevealElementAnimator.d.ts +13 -0
- package/dist/client/transitions/reveal/RevealElementAnimator.js +65 -0
- package/dist/client/transitions/reveal/index.d.ts +2 -0
- package/dist/client/transitions/reveal/index.js +18 -0
- package/dist/client/utils/OnKey.d.ts +20 -0
- package/dist/client/utils/OnKey.js +33 -0
- package/dist/client/utils/SharedMutationObserver.d.ts +20 -0
- package/dist/client/utils/SharedMutationObserver.js +202 -0
- package/dist/client/utils/index.d.ts +2 -0
- package/dist/client/utils/index.js +18 -0
- package/dist/server/atomic/Markup.d.ts +14 -0
- package/dist/server/atomic/Markup.js +34 -0
- package/dist/server/atomic/NascentLogo.d.ts +6 -0
- package/dist/server/atomic/NascentLogo.js +9 -0
- package/dist/server/atomic/index.d.ts +2 -0
- package/dist/server/atomic/index.js +18 -0
- package/dist/server/blocks/Block.d.ts +16 -0
- package/dist/server/blocks/Block.js +92 -0
- package/dist/server/blocks/Clients.d.ts +33 -0
- package/dist/server/blocks/Clients.js +82 -0
- package/dist/server/blocks/Editorial.d.ts +33 -0
- package/dist/server/blocks/Editorial.js +80 -0
- package/dist/server/blocks/Form.d.ts +46 -0
- package/dist/server/blocks/Form.js +74 -0
- package/dist/server/blocks/FormMessage.d.ts +15 -0
- package/dist/server/blocks/FormMessage.js +37 -0
- package/dist/server/blocks/MediaLayout.d.ts +309 -0
- package/dist/server/blocks/MediaLayout.js +105 -0
- package/dist/server/blocks/Message.d.ts +76 -0
- package/dist/server/blocks/Message.js +352 -0
- package/dist/server/blocks/Outcome.d.ts +84 -0
- package/dist/server/blocks/Outcome.js +489 -0
- package/dist/server/blocks/OutcomeDetail.d.ts +303 -0
- package/dist/server/blocks/OutcomeDetail.js +63 -0
- package/dist/server/blocks/Projects.d.ts +43 -0
- package/dist/server/blocks/Projects.js +109 -0
- package/dist/server/blocks/Stat.d.ts +325 -0
- package/dist/server/blocks/Stat.js +107 -0
- package/dist/server/blocks/Stats.d.ts +36 -0
- package/dist/server/blocks/Stats.js +79 -0
- package/dist/server/blocks/Testimonial.d.ts +30 -0
- package/dist/server/blocks/Testimonial.js +68 -0
- package/dist/server/blocks/ValueProp.d.ts +43 -0
- package/dist/server/blocks/ValueProp.js +125 -0
- package/dist/server/blocks/index.d.ts +13 -0
- package/dist/server/blocks/index.js +29 -0
- package/dist/server/data/PrePaginator.d.ts +8 -0
- package/dist/server/data/PrePaginator.js +30 -0
- package/dist/server/data/index.d.ts +1 -0
- package/dist/server/data/index.js +17 -0
- package/dist/server/entities/Client.d.ts +327 -0
- package/dist/server/entities/Client.js +118 -0
- package/dist/server/entities/ClientBadge.d.ts +293 -0
- package/dist/server/entities/ClientBadge.js +37 -0
- package/dist/server/entities/Person.d.ts +314 -0
- package/dist/server/entities/Person.js +98 -0
- package/dist/server/entities/Project.d.ts +329 -0
- package/dist/server/entities/Project.js +112 -0
- package/dist/server/entities/UniqueSellingPoint.d.ts +327 -0
- package/dist/server/entities/UniqueSellingPoint.js +119 -0
- package/dist/server/entities/index.d.ts +6 -0
- package/dist/server/entities/index.js +22 -0
- package/dist/server/entities/previews/MessagePreview.d.ts +299 -0
- package/dist/server/entities/previews/MessagePreview.js +41 -0
- package/dist/server/entities/previews/PagePreview.d.ts +10 -0
- package/dist/server/entities/previews/PagePreview.js +42 -0
- package/dist/server/entities/previews/index.d.ts +2 -0
- package/dist/server/entities/previews/index.js +18 -0
- package/dist/server/fields/Caption.d.ts +13 -0
- package/dist/server/fields/Caption.js +45 -0
- package/dist/server/fields/Description.d.ts +13 -0
- package/dist/server/fields/Description.js +46 -0
- package/dist/server/fields/FreeFormContent.d.ts +17 -0
- package/dist/server/fields/FreeFormContent.js +43 -0
- package/dist/server/fields/Headline.d.ts +13 -0
- package/dist/server/fields/Headline.js +46 -0
- package/dist/server/fields/Icon.d.ts +10 -0
- package/dist/server/fields/Icon.js +39 -0
- package/dist/server/fields/Link.d.ts +16 -0
- package/dist/server/fields/Link.js +61 -0
- package/dist/server/fields/Quote.d.ts +13 -0
- package/dist/server/fields/Quote.js +46 -0
- package/dist/server/fields/RichText.d.ts +296 -0
- package/dist/server/fields/RichText.js +217 -0
- package/dist/server/fields/Title.d.ts +292 -0
- package/dist/server/fields/Title.js +38 -0
- package/dist/server/fields/Visual.d.ts +12 -0
- package/dist/server/fields/Visual.js +66 -0
- package/dist/server/fields/index.d.ts +10 -0
- package/dist/server/fields/index.js +26 -0
- package/dist/server/index.d.ts +9 -0
- package/dist/server/index.js +25 -0
- package/dist/server/panels/BlockPanel.d.ts +14 -0
- package/dist/server/panels/BlockPanel.js +56 -0
- package/dist/server/panels/MessagePanel.d.ts +31 -0
- package/dist/server/panels/MessagePanel.js +81 -0
- package/dist/server/panels/VisualPanel.d.ts +36 -0
- package/dist/server/panels/VisualPanel.js +143 -0
- package/dist/server/panels/index.d.ts +3 -0
- package/dist/server/panels/index.js +19 -0
- package/dist/server/schema/Anchor.d.ts +7 -0
- package/dist/server/schema/Anchor.js +24 -0
- package/dist/server/schema/AspectRatio.d.ts +9 -0
- package/dist/server/schema/AspectRatio.js +43 -0
- package/dist/server/schema/BlockConfig.d.ts +56 -0
- package/dist/server/schema/BlockConfig.js +192 -0
- package/dist/server/schema/CollectionSchema.d.ts +4 -0
- package/dist/server/schema/CollectionSchema.js +15 -0
- package/dist/server/schema/ItemAlignment.d.ts +12 -0
- package/dist/server/schema/ItemAlignment.js +42 -0
- package/dist/server/schema/ItemPosition.d.ts +6 -0
- package/dist/server/schema/ItemPosition.js +25 -0
- package/dist/server/schema/ItemSize.d.ts +6 -0
- package/dist/server/schema/ItemSize.js +24 -0
- package/dist/server/schema/TextAlignment.d.ts +6 -0
- package/dist/server/schema/TextAlignment.js +22 -0
- package/dist/server/schema/index.d.ts +8 -0
- package/dist/server/schema/index.js +24 -0
- package/dist/server/sections/index.d.ts +1 -0
- package/dist/server/sections/index.js +17 -0
- package/dist/server/sections/renderSection.d.ts +6 -0
- package/dist/server/sections/renderSection.js +19 -0
- package/dist/server/transitions/Slide.d.ts +293 -0
- package/dist/server/transitions/Slide.js +31 -0
- package/dist/server/transitions/index.d.ts +3 -0
- package/dist/server/transitions/index.js +19 -0
- package/dist/styles/app/AppPreview.css +49 -0
- package/dist/styles/app/_index.css +1 -0
- package/dist/styles/base/_index.css +2 -0
- package/dist/styles/base/global.css +9 -0
- package/dist/styles/base/tailwind.css +3 -0
- package/dist/styles/blocks/Block-layout.css +244 -0
- package/dist/styles/blocks/Block-spacing.css +150 -0
- package/dist/styles/blocks/Block-theming.css +14 -0
- package/dist/styles/blocks/Clients.css +10 -0
- package/dist/styles/blocks/Editorial.css +133 -0
- package/dist/styles/blocks/Form.css +13 -0
- package/dist/styles/blocks/MediaLayout.css +215 -0
- package/dist/styles/blocks/Message.css +353 -0
- package/dist/styles/blocks/Outcome.css +83 -0
- package/dist/styles/blocks/Projects.css +18 -0
- package/dist/styles/blocks/Stat.css +45 -0
- package/dist/styles/blocks/Stats.css +38 -0
- package/dist/styles/blocks/Testimonial.css +323 -0
- package/dist/styles/blocks/ValueProp.css +135 -0
- package/dist/styles/blocks/_index.css +14 -0
- package/dist/styles/components/_index.css +3 -0
- package/dist/styles/components/container.css +58 -0
- package/dist/styles/components/divider.css +6 -0
- package/dist/styles/components/embed/VimeoPlayer.css +49 -0
- package/dist/styles/components/embed/YoutubePlayer.css +72 -0
- package/dist/styles/components/embed/_index.css +2 -0
- package/dist/styles/entities/Client.css +5 -0
- package/dist/styles/entities/ClientBadge.css +14 -0
- package/dist/styles/entities/Person.css +76 -0
- package/dist/styles/entities/Project.css +44 -0
- package/dist/styles/entities/UniqueSellingPoint.css +54 -0
- package/dist/styles/entities/_index.css +5 -0
- package/dist/styles/fields/Caption.css +23 -0
- package/dist/styles/fields/Description.css +23 -0
- package/dist/styles/fields/FreeFormContent.css +24 -0
- package/dist/styles/fields/Headline.css +38 -0
- package/dist/styles/fields/Icon.css +20 -0
- package/dist/styles/fields/LazyVideo.css +12 -0
- package/dist/styles/fields/Link.css +16 -0
- package/dist/styles/fields/Quote.css +48 -0
- package/dist/styles/fields/RichText.css +243 -0
- package/dist/styles/fields/Title.css +17 -0
- package/dist/styles/fields/Visual.css +27 -0
- package/dist/styles/fields/_index.css +11 -0
- package/dist/styles/index.css +9 -0
- package/dist/styles/layouts/MasonryLayout.css +24 -0
- package/dist/styles/layouts/_index.css +1 -0
- package/dist/styles/panels/MessagePanel.css +56 -0
- package/dist/styles/panels/VisualPanel.css +58 -0
- package/dist/styles/panels/_index.css +2 -0
- package/dist/styles/utilities/_index.css +7 -0
- package/dist/styles/utilities/ellipsis.css +7 -0
- package/dist/styles/utilities/fade.css +16 -0
- package/dist/styles/utilities/glass.css +8 -0
- package/dist/styles/utilities/interpolate.css +22 -0
- package/dist/styles/utilities/masks.css +18 -0
- package/dist/styles/utilities/stacked.css +24 -0
- package/dist/styles/utilities/text-gradient.css +37 -0
- package/dist/types/HTMLBlockElement.d.ts +6 -0
- package/dist/types/HTMLBlockElement.js +2 -0
- package/dist/types/HTMLElements.d.ts +129 -0
- package/dist/types/HTMLElements.js +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +18 -0
- package/package.json +73 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
|
|
3
|
+
/* layout: variables */
|
|
4
|
+
:root {
|
|
5
|
+
--nd-block-height-min: calc(min(100dvh, 580px));
|
|
6
|
+
--nd-block-layout-gap-x: theme('spacing.l10');
|
|
7
|
+
--nd-block-layout-gap-y: theme('spacing.l13');
|
|
8
|
+
|
|
9
|
+
--nd-block-panel-cols-xs: 4;
|
|
10
|
+
--nd-block-panel-cols-sm: 6;
|
|
11
|
+
--nd-block-panel-cols-md: 8;
|
|
12
|
+
--nd-block-panel-cols-lg: 10;
|
|
13
|
+
--nd-block-panel-cols-full: 12;
|
|
14
|
+
--nd-block-panel-cols: var(--nd-block-panel-cols-full);
|
|
15
|
+
|
|
16
|
+
@media screen(sm) {
|
|
17
|
+
}
|
|
18
|
+
@media screen(md) {
|
|
19
|
+
}
|
|
20
|
+
@media screen(lg) {
|
|
21
|
+
}
|
|
22
|
+
@media screen(xl) {
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* layout */
|
|
28
|
+
.nd-Block {
|
|
29
|
+
min-height: var(--nd-block-height-min);
|
|
30
|
+
}
|
|
31
|
+
.nd-Block-root {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* container/fullbleed */
|
|
35
|
+
._nd-Block-containable {
|
|
36
|
+
|
|
37
|
+
/* container */
|
|
38
|
+
&.nd-Block-root > .nd-BlockPanel {
|
|
39
|
+
@media screen and (max-width: theme('screens.md')) {
|
|
40
|
+
&:not(.nd-BlockPanel-fullbleed):not(.nd-BlockPanel-fullbleed-mobile) {
|
|
41
|
+
@apply container-p;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@media screen(md) {
|
|
45
|
+
&:not(.nd-BlockPanel-fullbleed):not(.nd-BlockPanel-fullbleed-tablet) {
|
|
46
|
+
@apply container-p;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
@media screen(lg) {
|
|
50
|
+
&:not(.nd-BlockPanel-fullbleed):not(.nd-BlockPanel-fullbleed-desktop) {
|
|
51
|
+
@apply container-p;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
._nd-Block-fullbleed-left {
|
|
57
|
+
margin-left: calc((100dvw - 100cqw) / -2);
|
|
58
|
+
}
|
|
59
|
+
._nd-Block-fullbleed-right {
|
|
60
|
+
margin-right: calc((100dvw - 100cqw) / -2);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/* row layout */
|
|
65
|
+
._nd-Block-row-mobile {
|
|
66
|
+
@apply container-p flex flex-col gap-[var(--nd-block-layout-gap-y)];
|
|
67
|
+
container-type: inline-size;
|
|
68
|
+
|
|
69
|
+
/* fullbleed (l1 only) */
|
|
70
|
+
&.nd-Block-root > .nd-BlockPanel {
|
|
71
|
+
&.nd-BlockPanel-fullbleed {
|
|
72
|
+
@apply _nd-Block-fullbleed-left _nd-Block-fullbleed-right;
|
|
73
|
+
}
|
|
74
|
+
&.nd-BlockPanel-fullbleed-mobile {
|
|
75
|
+
@apply _nd-Block-fullbleed-left _nd-Block-fullbleed-right;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
._nd-Block-row-desktop {
|
|
80
|
+
@apply container-p grid auto-cols-fr gap-[var(--nd-block-layout-gap-x)];
|
|
81
|
+
container-type: inline-size;
|
|
82
|
+
|
|
83
|
+
/* row widths */
|
|
84
|
+
&.nd-Block-items-1 {
|
|
85
|
+
@apply grid-cols-1;
|
|
86
|
+
}
|
|
87
|
+
&.nd-Block-items-2 {
|
|
88
|
+
@apply grid-cols-2;
|
|
89
|
+
}
|
|
90
|
+
&.nd-Block-items-3 {
|
|
91
|
+
@apply grid-cols-3;
|
|
92
|
+
}
|
|
93
|
+
&.nd-Block-items-4 {
|
|
94
|
+
@apply grid-cols-4;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* row alignment */
|
|
98
|
+
&.nd-Block-y-start {
|
|
99
|
+
@apply items-start;
|
|
100
|
+
}
|
|
101
|
+
&.nd-Block-y-center {
|
|
102
|
+
@apply items-center;
|
|
103
|
+
}
|
|
104
|
+
&.nd-Block-y-end {
|
|
105
|
+
@apply items-end;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* fullbleed (l1 only) */
|
|
109
|
+
&.nd-Block-root > .nd-BlockPanel {
|
|
110
|
+
&.nd-BlockPanel-fullbleed {
|
|
111
|
+
&:first-child {
|
|
112
|
+
@apply _nd-Block-fullbleed-left;
|
|
113
|
+
}
|
|
114
|
+
&:last-child {
|
|
115
|
+
@apply _nd-Block-fullbleed-right;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
@media screen(md) {
|
|
119
|
+
&.nd-BlockPanel-fullbleed-tablet {
|
|
120
|
+
&:first-child {
|
|
121
|
+
@apply _nd-Block-fullbleed-left;
|
|
122
|
+
}
|
|
123
|
+
&:last-child {
|
|
124
|
+
@apply _nd-Block-fullbleed-right;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@media screen(lg) {
|
|
129
|
+
&.nd-BlockPanel-fullbleed-desktop {
|
|
130
|
+
&:first-child {
|
|
131
|
+
@apply _nd-Block-fullbleed-left;
|
|
132
|
+
}
|
|
133
|
+
&:last-child {
|
|
134
|
+
@apply _nd-Block-fullbleed-right;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
.nd-Block-row {
|
|
141
|
+
@apply max-md:_nd-Block-row-mobile md:_nd-Block-row-desktop;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* column layout */
|
|
145
|
+
._nd-Block-column-mobile {
|
|
146
|
+
@apply flex flex-col gap-[var(--nd-block-layout-gap-y)];
|
|
147
|
+
}
|
|
148
|
+
._nd-Block-column-desktop {
|
|
149
|
+
@apply grid grid-cols-1 grid-flow-row gap-[var(--nd-block-layout-gap-y)];
|
|
150
|
+
}
|
|
151
|
+
.nd-Block-column {
|
|
152
|
+
@apply w-full max-md:_nd-Block-column-mobile md:_nd-Block-column-desktop _nd-Block-containable;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* column layout */
|
|
156
|
+
.nd-Block-stack {
|
|
157
|
+
@apply stacked _nd-Block-containable;
|
|
158
|
+
|
|
159
|
+
/* z-indexing */
|
|
160
|
+
> *:nth-child(1) {
|
|
161
|
+
z-index: 1;
|
|
162
|
+
}
|
|
163
|
+
> *:nth-child(2) {
|
|
164
|
+
z-index: 2;
|
|
165
|
+
}
|
|
166
|
+
> *:nth-child(3) {
|
|
167
|
+
z-index: 3;
|
|
168
|
+
}
|
|
169
|
+
> *:nth-child(4) {
|
|
170
|
+
z-index: 4;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* alignment */
|
|
174
|
+
.nd-BlockPanel {
|
|
175
|
+
|
|
176
|
+
/* alignment */
|
|
177
|
+
&.nd-BlockPanel-x-start > .nd-BlockPanel-content {
|
|
178
|
+
grid-column-start: 1;
|
|
179
|
+
}
|
|
180
|
+
&.nd-BlockPanel-x-center > .nd-BlockPanel-content {
|
|
181
|
+
grid-column-start: calc((13 - var(--nd-block-panel-cols))/2);
|
|
182
|
+
}
|
|
183
|
+
&.nd-BlockPanel-x-end > .nd-BlockPanel-content {
|
|
184
|
+
grid-column-end: 13;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* panel layout */
|
|
190
|
+
._nd-BlockPanel-desktop {
|
|
191
|
+
@apply grid grid-cols-12;
|
|
192
|
+
|
|
193
|
+
/* width */
|
|
194
|
+
> .nd-BlockPanel-content {
|
|
195
|
+
grid-column: span var(--nd-block-panel-cols) / span var(--nd-block-panel-cols);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* align-x */
|
|
199
|
+
&.nd-BlockPanel-x-start > .nd-BlockPanel-content {
|
|
200
|
+
grid-column-start: 1;
|
|
201
|
+
}
|
|
202
|
+
&.nd-BlockPanel-x-center > .nd-BlockPanel-content {
|
|
203
|
+
grid-column-start: calc((13 - var(--nd-block-panel-cols))/2);
|
|
204
|
+
}
|
|
205
|
+
&.nd-BlockPanel-x-end > .nd-BlockPanel-content {
|
|
206
|
+
grid-column-end: 13;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* align-y */
|
|
210
|
+
&.nd-BlockPanel-y-start {
|
|
211
|
+
@apply items-start;
|
|
212
|
+
}
|
|
213
|
+
&.nd-BlockPanel-y-center {
|
|
214
|
+
@apply items-center;
|
|
215
|
+
}
|
|
216
|
+
&.nd-BlockPanel-y-end {
|
|
217
|
+
@apply items-end;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
.nd-BlockPanel {
|
|
221
|
+
@apply md:_nd-BlockPanel-desktop;
|
|
222
|
+
}
|
|
223
|
+
.nd-BlockPanel-xs {
|
|
224
|
+
--nd-block-panel-cols: var(--nd-block-panel-cols-xs);
|
|
225
|
+
}
|
|
226
|
+
.nd-BlockPanel-sm {
|
|
227
|
+
--nd-block-panel-cols: var(--nd-block-panel-cols-sm);
|
|
228
|
+
}
|
|
229
|
+
.nd-BlockPanel-md {
|
|
230
|
+
--nd-block-panel-cols: var(--nd-block-panel-cols-md);
|
|
231
|
+
}
|
|
232
|
+
.nd-BlockPanel-lg {
|
|
233
|
+
--nd-block-panel-cols: var(--nd-block-panel-cols-lg);
|
|
234
|
+
}
|
|
235
|
+
.nd-BlockPanel-full {
|
|
236
|
+
--nd-block-panel-cols: var(--nd-block-panel-cols-full);
|
|
237
|
+
}
|
|
238
|
+
.nd-BlockPanel-mobileFirst {
|
|
239
|
+
@apply max-md:order-first;
|
|
240
|
+
}
|
|
241
|
+
.nd-BlockPanel-mobileLast {
|
|
242
|
+
@apply max-md:order-last;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
|
|
3
|
+
/* spacing: variables */
|
|
4
|
+
:root {
|
|
5
|
+
--nd-section-pt: theme('spacing.l17');
|
|
6
|
+
--nd-section-pb: theme('spacing.l17');
|
|
7
|
+
--nd-section-gap-sm: theme('spacing.l13');
|
|
8
|
+
--nd-section-gap-md: theme('spacing.l15');
|
|
9
|
+
--nd-section-gap-lg: theme('spacing.l17');
|
|
10
|
+
|
|
11
|
+
@media screen(sm) {
|
|
12
|
+
--nd-section-pt: theme('spacing.l17');
|
|
13
|
+
--nd-section-pb: theme('spacing.l17');
|
|
14
|
+
--nd-section-gap-sm: theme('spacing.l13');
|
|
15
|
+
--nd-section-gap-md: theme('spacing.l15');
|
|
16
|
+
--nd-section-gap-lg: theme('spacing.l17');
|
|
17
|
+
}
|
|
18
|
+
@media screen(md) {
|
|
19
|
+
--nd-section-pt: theme('spacing.l18');
|
|
20
|
+
--nd-section-pb: theme('spacing.l18');
|
|
21
|
+
--nd-section-gap-sm: theme('spacing.l14');
|
|
22
|
+
--nd-section-gap-md: theme('spacing.l16');
|
|
23
|
+
--nd-section-gap-lg: theme('spacing.l18');
|
|
24
|
+
}
|
|
25
|
+
@media screen(lg) {
|
|
26
|
+
--nd-section-pt: theme('spacing.l18');
|
|
27
|
+
--nd-section-pb: theme('spacing.l18');
|
|
28
|
+
--nd-section-gap-sm: theme('spacing.l15');
|
|
29
|
+
--nd-section-gap-md: theme('spacing.l17');
|
|
30
|
+
--nd-section-gap-lg: theme('spacing.l18');
|
|
31
|
+
}
|
|
32
|
+
@media screen(xl) {
|
|
33
|
+
--nd-section-pt: theme('spacing.l18');
|
|
34
|
+
--nd-section-pb: theme('spacing.l18');
|
|
35
|
+
--nd-section-gap-sm: theme('spacing.l15');
|
|
36
|
+
--nd-section-gap-md: theme('spacing.l17');
|
|
37
|
+
--nd-section-gap-lg: theme('spacing.l18');
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* spacing + gaps */
|
|
42
|
+
.nd-Block {
|
|
43
|
+
|
|
44
|
+
/* standard gap */
|
|
45
|
+
--nd-section-gap: var(--nd-section-gap-md);
|
|
46
|
+
|
|
47
|
+
/* calculated value (used for layout - allows us to transform spacing) */
|
|
48
|
+
--nd-section-pt-value: var(--nd-section-pt);
|
|
49
|
+
--nd-section-pb-value: var(--nd-section-pb);
|
|
50
|
+
--nd-section-gap-value: var(--nd-section-gap);
|
|
51
|
+
|
|
52
|
+
/* tight gap */
|
|
53
|
+
&.nd-Block-spacing-sm + .nd-Block {
|
|
54
|
+
--nd-section-gap: var(--nd-section-gap-sm);
|
|
55
|
+
}
|
|
56
|
+
+ .nd-Block.nd-Block-spacing-sm {
|
|
57
|
+
--nd-section-gap: var(--nd-section-gap-sm);
|
|
58
|
+
}
|
|
59
|
+
+ .nd-Block.nd-Block-spacing-top-sm {
|
|
60
|
+
--nd-section-gap: var(--nd-section-gap-sm);
|
|
61
|
+
}
|
|
62
|
+
&.nd-Block-spacing-bottom-sm + .nd-Block {
|
|
63
|
+
--nd-section-gap: var(--nd-section-gap-sm);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* loose gap */
|
|
67
|
+
&.nd-Block-spacing-lg + .nd-Block {
|
|
68
|
+
--nd-section-gap: var(--nd-section-gap-lg);
|
|
69
|
+
}
|
|
70
|
+
+ .nd-Block.nd-Block-spacing-lg {
|
|
71
|
+
--nd-section-gap: var(--nd-section-gap-lg);
|
|
72
|
+
}
|
|
73
|
+
+ .nd-Block.nd-Block-spacing-top-lg {
|
|
74
|
+
--nd-section-gap: var(--nd-section-gap-lg);
|
|
75
|
+
}
|
|
76
|
+
&.nd-Block-spacing-bottom-lg + .nd-Block {
|
|
77
|
+
--nd-section-gap: var(--nd-section-gap-lg);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* no gap */
|
|
81
|
+
&.nd-Block-spacing-none + .nd-Block {
|
|
82
|
+
--nd-section-gap: 0;
|
|
83
|
+
}
|
|
84
|
+
+ .nd-Block.nd-Block-spacing-none {
|
|
85
|
+
--nd-section-gap: 0;
|
|
86
|
+
}
|
|
87
|
+
+ .nd-Block.nd-Block-spacing-top-none {
|
|
88
|
+
--nd-section-pt: 0;
|
|
89
|
+
--nd-section-gap: 0;
|
|
90
|
+
}
|
|
91
|
+
&.nd-Block-spacing-bottom-none {
|
|
92
|
+
--nd-section-pb: 0;
|
|
93
|
+
|
|
94
|
+
+ .nd-Block {
|
|
95
|
+
--nd-section-gap: 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.nd-Block:first-child {
|
|
100
|
+
padding-top: var(--nd-section-pt-value);
|
|
101
|
+
}
|
|
102
|
+
.nd-Block:last-child {
|
|
103
|
+
padding-bottom: var(--nd-section-pb-value);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* crawl-up */
|
|
107
|
+
.nd-Block:has(+ .nd-Block.nd-Block-crawlUp):not(:first-child) {
|
|
108
|
+
--nd-section-pb-value: calc(2 * var(--nd-section-pb));
|
|
109
|
+
|
|
110
|
+
+ .nd-Block.nd-Block-crawlUp {
|
|
111
|
+
@apply py-0;
|
|
112
|
+
|
|
113
|
+
> * {
|
|
114
|
+
@apply -translate-y-[var(--nd-section-pb)];
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* tight overrides */
|
|
120
|
+
.nd-Block-tight-above {
|
|
121
|
+
&.nd-Block {
|
|
122
|
+
--nd-section-pt: 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.nd-Block-tight-below {
|
|
126
|
+
&.nd-Block {
|
|
127
|
+
--nd-section-pb: 0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
.nd-Block-tight-both {
|
|
131
|
+
&.nd-Block {
|
|
132
|
+
--nd-section-pt: 0;
|
|
133
|
+
--nd-section-pb: 0;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* fullbleed overrides */
|
|
138
|
+
.nd-Block.nd-Block-fullbleed {
|
|
139
|
+
|
|
140
|
+
&.nd-Block-visual-top {
|
|
141
|
+
@apply !pt-0;
|
|
142
|
+
}
|
|
143
|
+
&.nd-Block-visual-btm {
|
|
144
|
+
@apply !pb-0;
|
|
145
|
+
}
|
|
146
|
+
&.nd-Block-visual-bg {
|
|
147
|
+
@apply !py-0;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
|
|
5
|
+
/* spacing */
|
|
6
|
+
--nd-editorial-header-gap: theme('spacing.l8');
|
|
7
|
+
--nd-editorial-ctas-gap: theme('spacing.l8');
|
|
8
|
+
--nd-editorial-title-margin: unset;
|
|
9
|
+
--nd-editorial-headline-margin: unset;
|
|
10
|
+
--nd-editorial-caption-margin: unset;
|
|
11
|
+
--nd-editorial-ctas-margin: unset;
|
|
12
|
+
--nd-editorial-column-gap: theme('spacing.l8');
|
|
13
|
+
|
|
14
|
+
--nd-editorial-visual-rounding: 0px;
|
|
15
|
+
--nd-editorial-visual-gap-x: theme('spacing.l5');
|
|
16
|
+
--nd-editorial-visual-gap-y: theme('spacing.l11');
|
|
17
|
+
--nd-editorial-visual-padding: theme('spacing.l15');
|
|
18
|
+
--nd-editorial-body-copy-padding: unset;
|
|
19
|
+
|
|
20
|
+
@media screen(sm) {
|
|
21
|
+
--nd-editorial-visual-gap-x: theme('spacing.l8');
|
|
22
|
+
--nd-editorial-visual-gap-y: theme('spacing.l11');
|
|
23
|
+
--nd-editorial-visual-padding: theme('spacing.l15');
|
|
24
|
+
}
|
|
25
|
+
@media screen(md) {
|
|
26
|
+
--nd-editorial-visual-gap-x: theme('spacing.l12');
|
|
27
|
+
--nd-editorial-visual-gap-y: theme('spacing.l13');
|
|
28
|
+
--nd-editorial-visual-padding: theme('spacing.l18');
|
|
29
|
+
}
|
|
30
|
+
@media screen(lg) {
|
|
31
|
+
--nd-editorial-visual-gap-x: theme('spacing.l15');
|
|
32
|
+
--nd-editorial-visual-gap-y: theme('spacing.l13');
|
|
33
|
+
--nd-editorial-visual-padding: theme('spacing.l18');
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* base */
|
|
38
|
+
.nd-Editorial {
|
|
39
|
+
@apply flex items-center;
|
|
40
|
+
|
|
41
|
+
.nd-Editorial-content {
|
|
42
|
+
@apply w-full;
|
|
43
|
+
}
|
|
44
|
+
.nd-Editorial-headerWrap {
|
|
45
|
+
@apply container-p relative;
|
|
46
|
+
}
|
|
47
|
+
.nd-Editorial-header {
|
|
48
|
+
@apply flex flex-col gap-[var(--nd-editorial-header-gap)];
|
|
49
|
+
}
|
|
50
|
+
.nd-Editorial-title {
|
|
51
|
+
margin: var(--nd-editorial-title-margin);
|
|
52
|
+
}
|
|
53
|
+
.nd-Editorial-headline {
|
|
54
|
+
margin: var(--nd-editorial-headline-margin);
|
|
55
|
+
}
|
|
56
|
+
.nd-Editorial-caption {
|
|
57
|
+
margin: var(--nd-editorial-caption-margin);
|
|
58
|
+
}
|
|
59
|
+
.nd-Editorial-ctas {
|
|
60
|
+
margin: var(--nd-editorial-ctas-margin);
|
|
61
|
+
}
|
|
62
|
+
.nd-Editorial-bodyWrap {
|
|
63
|
+
@apply container-p relative;
|
|
64
|
+
}
|
|
65
|
+
.nd-Editorial-visualWrap {
|
|
66
|
+
@apply relative;
|
|
67
|
+
}
|
|
68
|
+
.nd-Editorial-visual {
|
|
69
|
+
@apply block overflow-hidden w-full;
|
|
70
|
+
border-radius: var(--nd-editorial-visual-rounding);
|
|
71
|
+
}
|
|
72
|
+
.nd-Editorial-ctas {
|
|
73
|
+
@apply flex flex-wrap items-center gap-[var(--nd-editorial-ctas-gap)];
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
/* visual layouts */
|
|
79
|
+
._nd-Editorial-visual-x-mobile {
|
|
80
|
+
.nd-Editorial-body {
|
|
81
|
+
@apply flex flex-col gap-[var(--nd-editorial-visual-gap-y)];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.nd-Editorial-columns {
|
|
85
|
+
@apply flex flex-col gap-[var(--nd-editorial-column-gap)];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
._nd-Editorial-visual-x-desktop {
|
|
89
|
+
.nd-Editorial-body {
|
|
90
|
+
@apply flex flex-row gap-[var(--nd-editorial-visual-gap-x)];
|
|
91
|
+
}
|
|
92
|
+
.nd-Editorial-visualWrap {
|
|
93
|
+
@apply flex-1;
|
|
94
|
+
}
|
|
95
|
+
.nd-Editorial-columns {
|
|
96
|
+
@apply flex-1;
|
|
97
|
+
@apply p-[var(--nd-editorial-body-copy-padding)];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.nd-Editorial-columns {
|
|
101
|
+
@apply flex flex-col gap-[var(--nd-editorial-copy-gap)];
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
.nd-Editorial.nd-Block-visual-left {
|
|
105
|
+
@apply max-md:_nd-Editorial-visual-x-mobile md:_nd-Editorial-visual-x-desktop;
|
|
106
|
+
}
|
|
107
|
+
.nd-Editorial.nd-Block-visual-right {
|
|
108
|
+
@apply max-md:_nd-Editorial-visual-x-mobile md:_nd-Editorial-visual-x-desktop;
|
|
109
|
+
|
|
110
|
+
.nd-Editorial-body {
|
|
111
|
+
@apply md:flex-row-reverse;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
._nd-Editorial-visual-y {
|
|
115
|
+
.nd-Editorial-body {
|
|
116
|
+
@apply flex flex-col gap-[var(--nd-editorial-visual-gap-y)];
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.nd-Editorial-columns {
|
|
120
|
+
@apply flex flex-col md:flex-row gap-[var(--nd-editorial-column-gap)];
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
.nd-Editorial.nd-Block-visual-top {
|
|
124
|
+
@apply _nd-Editorial-visual-y;
|
|
125
|
+
}
|
|
126
|
+
.nd-Editorial.nd-Block-visual-btm {
|
|
127
|
+
@apply _nd-Editorial-visual-y;
|
|
128
|
+
|
|
129
|
+
.nd-Editorial-body {
|
|
130
|
+
@apply md:flex-col-reverse;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|