@dextinity/site-nextjs 2.0.0-canary-20260729062014

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/LICENSE +24 -0
  2. package/lib/blocks/DamVideoBlock.d.ts +7 -0
  3. package/lib/blocks/DamVideoBlock.d.ts.map +1 -0
  4. package/lib/blocks/DamVideoBlock.js +2 -0
  5. package/lib/blocks/InternalLinkBlock.d.ts +14 -0
  6. package/lib/blocks/InternalLinkBlock.d.ts.map +1 -0
  7. package/lib/blocks/InternalLinkBlock.js +3 -0
  8. package/lib/blocks/PixelImageBlock.d.ts +20 -0
  9. package/lib/blocks/PixelImageBlock.d.ts.map +1 -0
  10. package/lib/blocks/PixelImageBlock.js +3 -0
  11. package/lib/blocks/PixelImageBlock.module.scss.js +1 -0
  12. package/lib/blocks/VimeoVideoBlock.d.ts +7 -0
  13. package/lib/blocks/VimeoVideoBlock.d.ts.map +1 -0
  14. package/lib/blocks/VimeoVideoBlock.js +2 -0
  15. package/lib/blocks/YouTubeVideoBlock.d.ts +7 -0
  16. package/lib/blocks/YouTubeVideoBlock.d.ts.map +1 -0
  17. package/lib/blocks/YouTubeVideoBlock.js +2 -0
  18. package/lib/blocks/factories/SeoBlock.d.ts +20 -0
  19. package/lib/blocks/factories/SeoBlock.d.ts.map +1 -0
  20. package/lib/blocks/factories/SeoBlock.js +5 -0
  21. package/lib/blocks/helpers/VideoPreviewImage.d.ts +5 -0
  22. package/lib/blocks/helpers/VideoPreviewImage.d.ts.map +1 -0
  23. package/lib/blocks/helpers/VideoPreviewImage.js +2 -0
  24. package/lib/blocks.generated.d.ts +200 -0
  25. package/lib/blocks.generated.d.ts.map +1 -0
  26. package/lib/graphQLFetch/graphQLFetch.d.ts +8 -0
  27. package/lib/graphQLFetch/graphQLFetch.d.ts.map +1 -0
  28. package/lib/graphQLFetch/graphQLFetch.js +1 -0
  29. package/lib/image/Image.d.ts +7 -0
  30. package/lib/image/Image.d.ts.map +1 -0
  31. package/lib/image/Image.js +2 -0
  32. package/lib/index.d.ts +14 -0
  33. package/lib/index.d.ts.map +1 -0
  34. package/lib/index.js +1 -0
  35. package/lib/persistedQueries/webpackPersistedQueriesLoader.d.ts +2 -0
  36. package/lib/persistedQueries/webpackPersistedQueriesLoader.d.ts.map +1 -0
  37. package/lib/persistedQueries/webpackPersistedQueriesLoader.js +1 -0
  38. package/lib/server.d.ts +5 -0
  39. package/lib/server.d.ts.map +1 -0
  40. package/lib/server.js +1 -0
  41. package/lib/site-react/lib/aiContentDisclosure/AiContentDisclosure.js +1 -0
  42. package/lib/site-react/lib/aiContentDisclosure/AiContentDisclosure.module.scss.js +1 -0
  43. package/lib/site-react/lib/aiContentDisclosure/getAiContentAltTextWithPrefix.js +1 -0
  44. package/lib/site-react/lib/aiContentDisclosure/icons/AiGeneratedBlackIcon.js +15 -0
  45. package/lib/site-react/lib/aiContentDisclosure/icons/AiGeneratedWhiteIcon.js +15 -0
  46. package/lib/site-react/lib/aiContentDisclosure/icons/AiModifiedBlackIcon.js +14 -0
  47. package/lib/site-react/lib/aiContentDisclosure/icons/AiModifiedWhiteIcon.js +14 -0
  48. package/lib/site-react/lib/blockLoader/blockLoader.js +1 -0
  49. package/lib/site-react/lib/blocks/DamFileDownloadLinkBlock.js +2 -0
  50. package/lib/site-react/lib/blocks/DamVideoBlock.js +4 -0
  51. package/lib/site-react/lib/blocks/DamVideoBlock.module.scss.js +1 -0
  52. package/lib/site-react/lib/blocks/EmailLinkBlock.js +1 -0
  53. package/lib/site-react/lib/blocks/ExternalLinkBlock.js +2 -0
  54. package/lib/site-react/lib/blocks/PhoneLinkBlock.js +1 -0
  55. package/lib/site-react/lib/blocks/SvgImageBlock.js +2 -0
  56. package/lib/site-react/lib/blocks/VimeoVideoBlock.js +3 -0
  57. package/lib/site-react/lib/blocks/VimeoVideoBlock.module.scss.js +1 -0
  58. package/lib/site-react/lib/blocks/YouTubeVideoBlock.js +3 -0
  59. package/lib/site-react/lib/blocks/YouTubeVideoBlock.module.scss.js +1 -0
  60. package/lib/site-react/lib/blocks/factories/BlocksBlock.js +1 -0
  61. package/lib/site-react/lib/blocks/factories/ListBlock.js +1 -0
  62. package/lib/site-react/lib/blocks/factories/OneOfBlock.js +1 -0
  63. package/lib/site-react/lib/blocks/factories/OptionalBlock.js +1 -0
  64. package/lib/site-react/lib/blocks/helpers/PlayPauseButton.js +1 -0
  65. package/lib/site-react/lib/blocks/helpers/PlayPauseButton.module.scss.js +1 -0
  66. package/lib/site-react/lib/blocks/helpers/RichTextBlockHelper.js +1 -0
  67. package/lib/site-react/lib/blocks/helpers/TipTapRichTextRenderer.js +1 -0
  68. package/lib/site-react/lib/blocks/helpers/VideoPreviewImage.js +2 -0
  69. package/lib/site-react/lib/blocks/helpers/VideoPreviewImage.module.scss.js +1 -0
  70. package/lib/site-react/lib/blocks/helpers/useIsElementInViewport.js +2 -0
  71. package/lib/site-react/lib/cookies/CookieApiContext.js +2 -0
  72. package/lib/site-react/lib/cookies/CookieSafe.js +2 -0
  73. package/lib/site-react/lib/cookies/useCookieBotCookieApi.js +2 -0
  74. package/lib/site-react/lib/cookies/useLocalStorageCookieApi.js +2 -0
  75. package/lib/site-react/lib/cookies/useOneTrustCookieApi.js +2 -0
  76. package/lib/site-react/lib/errorHandler/ErrorHandlerBoundary.js +1 -0
  77. package/lib/site-react/lib/errorHandler/ErrorHandlerBoundaryInternal.js +2 -0
  78. package/lib/site-react/lib/errorHandler/ErrorHandlerProvider.js +2 -0
  79. package/lib/site-react/lib/graphQLFetch/fetchInMemoryCache.js +1 -0
  80. package/lib/site-react/lib/graphQLFetch/graphQLFetch.js +1 -0
  81. package/lib/site-react/lib/iframebridge/IFrameBridge.js +4 -0
  82. package/lib/site-react/lib/iframebridge/IFrameBridge.module.scss.js +1 -0
  83. package/lib/site-react/lib/iframebridge/IFrameMessage.js +1 -0
  84. package/lib/site-react/lib/iframebridge/Preview.js +2 -0
  85. package/lib/site-react/lib/iframebridge/Preview.module.scss.js +1 -0
  86. package/lib/site-react/lib/iframebridge/PreviewOverlay.js +1 -0
  87. package/lib/site-react/lib/iframebridge/PreviewOverlay.module.scss.js +1 -0
  88. package/lib/site-react/lib/iframebridge/PreviewOverlayElement.js +1 -0
  89. package/lib/site-react/lib/iframebridge/PreviewOverlayElement.module.scss.js +1 -0
  90. package/lib/site-react/lib/iframebridge/useBlockPreviewFetch.js +2 -0
  91. package/lib/site-react/lib/iframebridge/useIFrameBridge.js +1 -0
  92. package/lib/site-react/lib/iframebridge/utils.js +1 -0
  93. package/lib/site-react/lib/iframebridge/withPreview.js +2 -0
  94. package/lib/site-react/lib/image/image.utils.js +1 -0
  95. package/lib/site-react/lib/jsonLd/JsonLd.js +1 -0
  96. package/lib/site-react/lib/persistedQueries/createPersistedQueryGraphQLFetch.js +1 -0
  97. package/lib/site-react/lib/persistedQueries/persistedQueryRoute.js +1 -0
  98. package/lib/site-react/lib/persistedQueries/webpackPersistedQueriesLoader.js +1 -0
  99. package/lib/site-react/lib/preview/BlockPreviewProvider.js +2 -0
  100. package/lib/site-react/lib/preview/PreviewContext.js +2 -0
  101. package/lib/site-react/lib/preview/usePreview.js +1 -0
  102. package/lib/site-react/lib/previewskeleton/PreviewSkeleton.js +5 -0
  103. package/lib/site-react/lib/previewskeleton/PreviewSkeleton.module.scss.js +1 -0
  104. package/lib/site-react/lib/sitePreview/iframebridge/SitePreviewIFrameMessage.js +1 -0
  105. package/lib/site-react/lib/sitePreview/iframebridge/sendSitePreviewIFrameMessage.js +1 -0
  106. package/lib/sitePreview/SitePreviewProvider.d.ts +3 -0
  107. package/lib/sitePreview/SitePreviewProvider.d.ts.map +1 -0
  108. package/lib/sitePreview/SitePreviewProvider.js +2 -0
  109. package/lib/sitePreview/appRouter/sitePreviewRoute.d.ts +5 -0
  110. package/lib/sitePreview/appRouter/sitePreviewRoute.d.ts.map +1 -0
  111. package/lib/sitePreview/appRouter/sitePreviewRoute.js +1 -0
  112. package/lib/sitePreview/pagesRouter/legacyPagesRouterSitePreviewApiHandler.d.ts +4 -0
  113. package/lib/sitePreview/pagesRouter/legacyPagesRouterSitePreviewApiHandler.d.ts.map +1 -0
  114. package/lib/sitePreview/pagesRouter/legacyPagesRouterSitePreviewApiHandler.js +1 -0
  115. package/lib/sitePreview/previewUtils.d.ts +25 -0
  116. package/lib/sitePreview/previewUtils.d.ts.map +1 -0
  117. package/lib/sitePreview/previewUtils.js +1 -0
  118. package/lib/style.css +1 -0
  119. package/package.json +88 -0
package/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2023, Vivid Planet Software GmbH
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
19
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,7 @@
1
+ import { DamVideoBlock as SiteReactDamVideoBlock } from '@dextinity/site-react';
2
+ import { ComponentProps } from 'react';
3
+ type MakeOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
4
+ type Props = MakeOptional<ComponentProps<typeof SiteReactDamVideoBlock>, "renderPreviewImage">;
5
+ export declare function DamVideoBlock(props: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=DamVideoBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DamVideoBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/DamVideoBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,sBAAsB,EAA+B,MAAM,uBAAuB,CAAC;AAC7G,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3E,KAAK,KAAK,GAAG,YAAY,CAAC,cAAc,CAAC,OAAO,sBAAsB,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAE/F,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,2CAMzC"}
@@ -0,0 +1,2 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{DamVideoBlock as r}from"../site-react/lib/blocks/DamVideoBlock.js";import{VideoPreviewImage as o}from"./helpers/VideoPreviewImage.js";function i(i){const m=i.renderPreviewImage??(r=>/* @__PURE__ */e(o,{...r}));/* @__PURE__ */
2
+ return e(r,{...i,renderPreviewImage:m})}export{i as DamVideoBlock};
@@ -0,0 +1,14 @@
1
+ import { PropsWithData } from '@dextinity/site-react';
2
+ import { PropsWithChildren } from 'react';
3
+ import { InternalLinkBlockData } from '../blocks.generated';
4
+ interface InternalLinkBlockProps extends PropsWithChildren<PropsWithData<InternalLinkBlockData>> {
5
+ title?: string;
6
+ className?: string;
7
+ legacyBehavior?: boolean;
8
+ }
9
+ /**
10
+ * @deprecated There should be a copy of this component in the application for flexibility (e.g. multi language support)
11
+ */
12
+ export declare function InternalLinkBlock({ data: { targetPage, targetPageAnchor }, children, title, className, legacyBehavior }: InternalLinkBlockProps): import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=InternalLinkBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternalLinkBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/InternalLinkBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,UAAU,sBAAuB,SAAQ,iBAAiB,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,gBAAgB,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,sBAAsB,2CAwB/I"}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{jsx as e,Fragment as r}from"react/jsx-runtime";import t from"next/link";function a({data:{targetPage:a,targetPageAnchor:i},children:n,title:c,className:l,legacyBehavior:h}){if(!a)return h?/* @__PURE__ */e(r,{children:n}):/* @__PURE__ */e("span",{className:l,children:n});const o=void 0!==i?`${a.path}#${i}`:a.path;/* @__PURE__ */
3
+ return e(t,h?{href:o,title:c,passHref:!0,legacyBehavior:!0,children:n}:{href:o,title:c,className:l,children:n})}export{a as InternalLinkBlock};
@@ -0,0 +1,20 @@
1
+ import { AiContentAltTextPrefixLabels, AiContentDisclosureProps, PropsWithData } from '@dextinity/site-react';
2
+ import { ImageProps } from 'next/image';
3
+ import { ReactNode } from 'react';
4
+ import { PixelImageBlockData } from '../blocks.generated';
5
+ interface PixelImageBlockProps extends PropsWithData<PixelImageBlockData>, Omit<ImageProps, "src" | "width" | "height" | "alt"> {
6
+ aspectRatio: string | number | "inherit";
7
+ /**
8
+ * Do not set an `alt` attribute. The alt text is set in the DAM.
9
+ */
10
+ alt?: never;
11
+ /** Override props passed to the AI content disclosure badge. */
12
+ aiContentDisclosureProps?: Partial<AiContentDisclosureProps>;
13
+ /** Render your own AI content disclosure instead of the built-in badge. Pass `null` to render none, e.g. when the project renders its own. */
14
+ aiContentDisclosure?: ReactNode;
15
+ /** AI content prefix prepended to the alt text. Defaults to English; ideally pass a translated string here. */
16
+ aiContentAltTextPrefixLabels?: Partial<AiContentAltTextPrefixLabels>;
17
+ }
18
+ export declare const PixelImageBlock: ({ ...componentProps }: import('@dextinity/site-react').WithPreviewProps & PixelImageBlockProps) => import("react/jsx-runtime").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=PixelImageBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PixelImageBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/PixelImageBlock.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,4BAA4B,EAEjC,KAAK,wBAAwB,EAQ7B,KAAK,aAAa,EAErB,MAAM,uBAAuB,CAAC;AAE/B,OAAwB,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAS/D,UAAU,oBAAqB,SAAQ,aAAa,CAAC,mBAAmB,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC3H,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACzC;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC;IACZ,gEAAgE;IAChE,wBAAwB,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAC7D,8IAA8I;IAC9I,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,+GAA+G;IAC/G,4BAA4B,CAAC,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;CACxE;AAED,eAAO,MAAM,eAAe,6IAgG3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import{jsx as e,jsxs as t,Fragment as i}from"react/jsx-runtime";import{AiContentDisclosure as a}from"../site-react/lib/aiContentDisclosure/AiContentDisclosure.js";import{getAiContentAltTextWithPrefix as r}from"../site-react/lib/aiContentDisclosure/getAiContentAltTextWithPrefix.js";import{withPreview as o}from"../site-react/lib/iframebridge/withPreview.js";import{calculateInheritAspectRatio as n,parseAspectRatio as s,getMaxDimensionsFromArea as l,generateImageUrl as m}from"../site-react/lib/image/image.utils.js";import{PreviewSkeleton as h}from"../site-react/lib/previewskeleton/PreviewSkeleton.js";import c from"next/image";import g from"./PixelImageBlock.module.scss.js";const p=c.default??c,f=o(({aspectRatio:o,data:{damFile:c,cropArea:f,urlTemplate:d},fill:w,aiContentDisclosureProps:u,aiContentDisclosure:x,aiContentAltTextPrefixLabels:C,...b})=>{const v=r({aiContentType:c?.aiContentType,description:c?.altText,prefixLabels:C});if(!c||!c.image)/* @__PURE__ */
3
+ return e(h,{type:"media",hasContent:!1,aspectRatio:o,fill:w});const A=f??c.image.cropArea;let P,y;P="inherit"===o?n(c.image,A):s(o),y=A.width&&A.height?l({width:A.width*c.image.width/100,height:A.height*c.image.height/100},P):l({width:c.image.width,height:c.image.height},P);const T=function(e,t,i="#ffffff"){return`data:image/svg+xml;base64,${a=`\n<svg width="${e}" height="${t}" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <rect width="${e}" height="${t}" fill="${i}" />\n</svg>`,"undefined"==typeof window?Buffer.from(a).toString("base64"):window.btoa(a)}`;var a}(y.width,y.height,c.image.dominantColor),j=/* @__PURE__ */e(p,{loader:e=>m(e,P),src:d,fill:!0,style:{objectFit:"cover"},placeholder:"blur",blurDataURL:T,alt:v,title:c.title??"",...b}),D=c.aiContentType?void 0!==x?x:/* @__PURE__ */e(a,{type:c.aiContentType,...u}):null;return w?/* @__PURE__ */t(i,{children:[j,D]}):/* @__PURE__ */t("div",{className:g.imageContainer,style:{"--aspect-ratio":P},children:[j,D]})},{label:"PixelImage"});export{f as PixelImageBlock};
@@ -0,0 +1 @@
1
+ const e="_imageContainer_ecpdr_1",a={imageContainer:e};export{a as default,e as imageContainer};
@@ -0,0 +1,7 @@
1
+ import { VimeoVideoBlock as SiteReactVimeoVideoBlock } from '@dextinity/site-react';
2
+ import { ComponentProps } from 'react';
3
+ type MakeOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
4
+ type Props = MakeOptional<ComponentProps<typeof SiteReactVimeoVideoBlock>, "renderPreviewImage">;
5
+ export declare function VimeoVideoBlock(props: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=VimeoVideoBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VimeoVideoBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/VimeoVideoBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,eAAe,IAAI,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3E,KAAK,KAAK,GAAG,YAAY,CAAC,cAAc,CAAC,OAAO,wBAAwB,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAEjG,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,2CAM3C"}
@@ -0,0 +1,2 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{VimeoVideoBlock as r}from"../site-react/lib/blocks/VimeoVideoBlock.js";import{VideoPreviewImage as o}from"./helpers/VideoPreviewImage.js";function i(i){const m=i.renderPreviewImage??(r=>/* @__PURE__ */e(o,{...r}));/* @__PURE__ */
2
+ return e(r,{...i,renderPreviewImage:m})}export{i as VimeoVideoBlock};
@@ -0,0 +1,7 @@
1
+ import { YouTubeVideoBlock as SiteReactYouTubeVideoBlock } from '@dextinity/site-react';
2
+ import { ComponentProps } from 'react';
3
+ type MakeOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
4
+ type Props = MakeOptional<ComponentProps<typeof SiteReactYouTubeVideoBlock>, "renderPreviewImage">;
5
+ export declare function YouTubeVideoBlock(props: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=YouTubeVideoBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"YouTubeVideoBlock.d.ts","sourceRoot":"","sources":["../../src/blocks/YouTubeVideoBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,iBAAiB,IAAI,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACrH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3E,KAAK,KAAK,GAAG,YAAY,CAAC,cAAc,CAAC,OAAO,0BAA0B,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAEnG,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,2CAM7C"}
@@ -0,0 +1,2 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{YouTubeVideoBlock as r}from"../site-react/lib/blocks/YouTubeVideoBlock.js";import{VideoPreviewImage as o}from"./helpers/VideoPreviewImage.js";function i(i){const t=i.renderPreviewImage??(r=>/* @__PURE__ */e(o,{...r}));/* @__PURE__ */
2
+ return e(r,{...i,renderPreviewImage:t})}export{i as YouTubeVideoBlock};
@@ -0,0 +1,20 @@
1
+ import { PropsWithData } from '@dextinity/site-react';
2
+ import { PixelImageBlockData, SeoBlockData } from '../../blocks.generated';
3
+ type SeoBlockProps<T = PixelImageBlockData> = (T extends PixelImageBlockData ? PropsWithData<SeoBlockData> & {
4
+ resolveOpenGraphImageUrlTemplate?: never;
5
+ } : {
6
+ resolveOpenGraphImageUrlTemplate: (block: T) => string | undefined;
7
+ } & PropsWithData<Omit<SeoBlockData, "openGraphImage"> & {
8
+ openGraphImage: {
9
+ block?: T;
10
+ };
11
+ }>) & {
12
+ title: string;
13
+ canonicalUrl?: string;
14
+ };
15
+ /**
16
+ * @deprecated The SeoBlock only works for the pages router and is not compatible with the app router.
17
+ */
18
+ export declare const SeoBlock: <T = PixelImageBlockData>({ data: { htmlTitle, metaDescription, openGraphTitle, openGraphDescription, openGraphImage, noIndex, canonicalUrl, structuredData, alternativeLinks, }, title, canonicalUrl: passedCanonicalUrl, resolveOpenGraphImageUrlTemplate, }: SeoBlockProps<T>) => import("react/jsx-runtime").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=SeoBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SeoBlock.d.ts","sourceRoot":"","sources":["../../../src/blocks/factories/SeoBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAG7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEhF,KAAK,aAAa,CAAC,CAAC,GAAG,mBAAmB,IAAI,CAAC,CAAC,SAAS,mBAAmB,GACtE,aAAa,CAAC,YAAY,CAAC,GAAG;IAAE,gCAAgC,CAAC,EAAE,KAAK,CAAA;CAAE,GAC1E;IAAE,gCAAgC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,GAAG,SAAS,CAAA;CAAE,GAAG,aAAa,CAClF,IAAI,CAAC,YAAY,EAAE,gBAAgB,CAAC,GAAG;IAAE,cAAc,EAAE;QAAE,KAAK,CAAC,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAC3E,CAAC,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,CAAC,GAAG,mBAAmB,EAAG,sOAehD,aAAa,CAAC,CAAC,CAAC,4CAoClB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{generateImageUrl as r}from"../../site-react/lib/image/image.utils.js";import n from"next/head";const o=({data:{htmlTitle:o,metaDescription:a,openGraphTitle:i,openGraphDescription:l,openGraphImage:p,noIndex:c,canonicalUrl:m,structuredData:s,alternativeLinks:g},title:h,canonicalUrl:d,resolveOpenGraphImageUrlTemplate:u=e=>e.urlTemplate})=>{const y=o||h,f=m??d,b=p.block&&u(p.block);/* @__PURE__ */
2
+ return e(n,{children:[
3
+ /* @__PURE__ */t("title",{children:y}),a&&/* @__PURE__ */t("meta",{name:"description",content:a}),i&&/* @__PURE__ */t("meta",{property:"og:title",content:i}),l&&/* @__PURE__ */t("meta",{property:"og:description",content:l}),
4
+ /* @__PURE__ */t("meta",{property:"og:type",content:"website"}),
5
+ /* @__PURE__ */t("meta",{property:"og:url",content:f}),b&&/* @__PURE__ */t("meta",{property:"og:image",content:r({src:b,width:1200},1200/630)}),s&&s.length>0&&/* @__PURE__ */t("script",{type:"application/ld+json",children:s}),c&&/* @__PURE__ */t("meta",{name:"robots",content:"noindex"}),f&&/* @__PURE__ */t("link",{rel:"canonical",href:f}),g&&g.length>0&&g.map(e=>/* @__PURE__ */t("link",{rel:"alternate",hrefLang:e.code,href:e.url},e.code))]})};export{o as SeoBlock};
@@ -0,0 +1,5 @@
1
+ import { VideoPreviewImageProps as SiteReactVideoPreviewImageProps } from '@dextinity/site-react';
2
+ type Props = SiteReactVideoPreviewImageProps;
3
+ export declare function VideoPreviewImage(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export {};
5
+ //# sourceMappingURL=VideoPreviewImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VideoPreviewImage.d.ts","sourceRoot":"","sources":["../../../src/blocks/helpers/VideoPreviewImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,KAAK,sBAAsB,IAAI,+BAA+B,EACjE,MAAM,uBAAuB,CAAC;AAI/B,KAAK,KAAK,GAAG,+BAA+B,CAAC;AAC7C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,2CAE7C"}
@@ -0,0 +1,2 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{VideoPreviewImage as r}from"../../site-react/lib/blocks/helpers/VideoPreviewImage.js";import{PixelImageBlock as i}from"../PixelImageBlock.js";function o(o){/* @__PURE__ */
2
+ return e(r,{...o,renderImage:r=>/* @__PURE__ */e(i,{...r})})}export{o as VideoPreviewImage};
@@ -0,0 +1,200 @@
1
+ export interface AnchorBlockData {
2
+ name?: string;
3
+ }
4
+ export interface DamFileDownloadLinkBlockData {
5
+ file?: {
6
+ id: string;
7
+ name: string;
8
+ fileUrl: string;
9
+ size: number;
10
+ mimetype: string;
11
+ scope?: unknown;
12
+ altText?: string;
13
+ title?: string;
14
+ };
15
+ openFileType: "NewTab" | "Download";
16
+ }
17
+ export interface DamImageBlockData {
18
+ attachedBlocks: Array<{
19
+ type: string;
20
+ props: PixelImageBlockData | SvgImageBlockData;
21
+ }>;
22
+ activeType?: string;
23
+ block?: {
24
+ type: string;
25
+ props: PixelImageBlockData | SvgImageBlockData;
26
+ };
27
+ }
28
+ export interface DamVideoBlockData {
29
+ autoplay?: boolean;
30
+ showControls?: boolean;
31
+ loop?: boolean;
32
+ previewImage: PixelImageBlockData;
33
+ damFile?: {
34
+ id: string;
35
+ name: string;
36
+ size: number;
37
+ mimetype: string;
38
+ contentHash: string;
39
+ title?: string;
40
+ altText?: string;
41
+ aiContentType?: "Generated" | "Modified";
42
+ archived: boolean;
43
+ scope?: unknown;
44
+ fileUrl: string;
45
+ captions?: Array<{
46
+ id: string;
47
+ language: string;
48
+ fileUrl: string;
49
+ }>;
50
+ };
51
+ }
52
+ export interface EmailLinkBlockData {
53
+ email?: string;
54
+ }
55
+ export interface ExternalLinkBlockData {
56
+ targetUrl?: string;
57
+ openInNewWindow: boolean;
58
+ noFollow: boolean;
59
+ }
60
+ export interface InternalLinkBlockData {
61
+ targetPageAnchor?: string;
62
+ targetPage?: {
63
+ id: string;
64
+ name: string;
65
+ path: string;
66
+ scope?: unknown;
67
+ documentType: string;
68
+ };
69
+ }
70
+ export interface LinkBlockData {
71
+ title?: string;
72
+ attachedBlocks: Array<{
73
+ type: string;
74
+ props: InternalLinkBlockData | ExternalLinkBlockData | EmailLinkBlockData | PhoneLinkBlockData;
75
+ }>;
76
+ activeType?: string;
77
+ block?: {
78
+ type: string;
79
+ props: InternalLinkBlockData | ExternalLinkBlockData | EmailLinkBlockData | PhoneLinkBlockData;
80
+ };
81
+ }
82
+ export interface OptionalPixelImageBlockData {
83
+ block?: PixelImageBlockData;
84
+ visible: boolean;
85
+ }
86
+ export interface PhoneLinkBlockData {
87
+ phone?: string;
88
+ }
89
+ export interface PixelImageBlockData {
90
+ damFile?: {
91
+ id: string;
92
+ name: string;
93
+ size: number;
94
+ mimetype: string;
95
+ contentHash: string;
96
+ title?: string;
97
+ altText?: string;
98
+ aiContentType?: "Generated" | "Modified";
99
+ archived: boolean;
100
+ scope?: unknown;
101
+ image?: {
102
+ width: number;
103
+ height: number;
104
+ cropArea: {
105
+ focalPoint: "SMART" | "CENTER" | "NORTHWEST" | "NORTHEAST" | "SOUTHWEST" | "SOUTHEAST";
106
+ width?: number;
107
+ height?: number;
108
+ x?: number;
109
+ y?: number;
110
+ };
111
+ dominantColor?: string;
112
+ };
113
+ fileUrl: string;
114
+ };
115
+ cropArea?: {
116
+ focalPoint: "SMART" | "CENTER" | "NORTHWEST" | "NORTHEAST" | "SOUTHWEST" | "SOUTHEAST";
117
+ width?: number;
118
+ height?: number;
119
+ x?: number;
120
+ y?: number;
121
+ };
122
+ urlTemplate: string;
123
+ }
124
+ export interface RichTextBlockData {
125
+ draftContent: unknown;
126
+ }
127
+ export interface SeoBlockData {
128
+ htmlTitle?: string;
129
+ metaDescription?: string;
130
+ openGraphTitle?: string;
131
+ openGraphDescription?: string;
132
+ openGraphImage: OptionalPixelImageBlockData;
133
+ structuredData?: string;
134
+ noIndex: boolean;
135
+ priority: "0_0" | "0_1" | "0_2" | "0_3" | "0_4" | "0_5" | "0_6" | "0_7" | "0_8" | "0_9" | "1_0";
136
+ changeFrequency: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never";
137
+ canonicalUrl?: string;
138
+ alternativeLinks: Array<{
139
+ code?: string;
140
+ url?: string;
141
+ }>;
142
+ }
143
+ export interface SpaceBlockData {
144
+ height: number;
145
+ }
146
+ export interface SvgImageBlockData {
147
+ damFile?: {
148
+ id: string;
149
+ name: string;
150
+ size: number;
151
+ mimetype: string;
152
+ contentHash: string;
153
+ title?: string;
154
+ altText?: string;
155
+ archived: boolean;
156
+ scope?: unknown;
157
+ fileUrl: string;
158
+ };
159
+ }
160
+ export interface TableBlockData {
161
+ columns: Array<{
162
+ id: string;
163
+ size: "extraSmall" | "small" | "standard" | "large" | "extraLarge";
164
+ highlighted: boolean;
165
+ }>;
166
+ rows: Array<{
167
+ id: string;
168
+ highlighted: boolean;
169
+ cellValues: Array<{
170
+ columnId: string;
171
+ value: RichTextBlockData;
172
+ }>;
173
+ }>;
174
+ }
175
+ export interface TextImageBlockData {
176
+ text: RichTextBlockData;
177
+ image: PixelImageBlockData;
178
+ imagePosition: "left" | "right";
179
+ imageAspectRatio: string;
180
+ }
181
+ export interface TextLinkBlockData {
182
+ text: string;
183
+ link: LinkBlockData;
184
+ }
185
+ export interface VimeoVideoBlockData {
186
+ autoplay?: boolean;
187
+ showControls?: boolean;
188
+ loop?: boolean;
189
+ previewImage: PixelImageBlockData;
190
+ vimeoIdentifier?: string;
191
+ }
192
+ export interface YouTubeVideoBlockData {
193
+ autoplay?: boolean;
194
+ showControls?: boolean;
195
+ loop?: boolean;
196
+ previewImage: PixelImageBlockData;
197
+ youtubeIdentifier?: string;
198
+ }
199
+ export type AllBlockNames = "Anchor" | "DamFileDownloadLink" | "DamImage" | "DamVideo" | "EmailLink" | "ExternalLink" | "InternalLink" | "Link" | "OptionalPixelImage" | "PhoneLink" | "PixelImage" | "RichText" | "Seo" | "Space" | "SvgImage" | "Table" | "TextImage" | "TextLink" | "VimeoVideo" | "YouTubeVideo";
200
+ //# sourceMappingURL=blocks.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blocks.generated.d.ts","sourceRoot":"","sources":["../src/blocks.generated.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,4BAA4B;IACzC,IAAI,CAAC,EAAE;QACH,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,KAA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AC,CAAC;CACN;AACD,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AACD,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;CACvB;AACD,MAAM,WAAW,mBAAmB;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,mBAAmB,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AACD,MAAM,WAAW,qBAAqB;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,mBAAmB,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AACD,MAAM,MAAM,aAAa,GACnB,QAAQ,GACR,qBAAqB,GACrB,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,cAAc,GACd,MAAM,GACN,oBAAoB,GACpB,WAAW,GACX,YAAY,GACZ,UAAU,GACV,KAAK,GACL,OAAO,GACP,UAAU,GACV,OAAO,GACP,WAAW,GACX,UAAU,GACV,YAAY,GACZ,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ type Fetch = typeof fetch;
2
+ export declare function createFetchWithDefaults(fetch: Fetch, defaults: RequestInit): Fetch;
3
+ /**
4
+ * Create fetch that applies default next.revalidate time if cache is not set to "no-store", "no-cache", "only-if-cached" or "reload".
5
+ */
6
+ export declare function createFetchWithDefaultNextRevalidate(baseFetch: Fetch, defaultRevalidate: number): Fetch;
7
+ export {};
8
+ //# sourceMappingURL=graphQLFetch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphQLFetch.d.ts","sourceRoot":"","sources":["../../src/graphQLFetch/graphQLFetch.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,GAAG,KAAK,CAelF;AACD;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,SAAS,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,KAAK,CAgBvG"}
@@ -0,0 +1 @@
1
+ function e(e,n){return async function(t,r){return e(t,{...n,...r,headers:{...n.headers,...r?.headers},next:{...n.next,...r?.next}})}}function n(e,n){return async function(t,r){const c=r?.cache,a=!c||!["no-store","no-cache","only-if-cached","reload"].includes(c),o={...r,next:{...r?.next,...a&&void 0===r?.next?.revalidate?{revalidate:n}:{}}};return e(t,o)}}export{n as createFetchWithDefaultNextRevalidate,e as createFetchWithDefaults};
@@ -0,0 +1,7 @@
1
+ import { ImageProps as NextImageProps } from 'next/image';
2
+ type Props = Omit<NextImageProps, "loader"> & {
3
+ aspectRatio: string;
4
+ };
5
+ export declare function Image({ aspectRatio, ...nextImageProps }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=Image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../src/image/Image.tsx"],"names":[],"mappings":"AAEA,OAAwB,EAAE,KAAK,UAAU,IAAI,cAAc,EAAE,MAAM,YAAY,CAAC;AAQhF,KAAK,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,GAAG;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtE,wBAAgB,KAAK,CAAC,EAAE,WAAW,EAAE,GAAG,cAAc,EAAE,EAAE,KAAK,2CAI9D"}
@@ -0,0 +1,2 @@
1
+ import{jsx as t}from"react/jsx-runtime";import{parseAspectRatio as e,generateImageUrl as r}from"../site-react/lib/image/image.utils.js";import a from"next/image";const i=a.default??a;function o({aspectRatio:a,...o}){const m=e(a);/* @__PURE__ */
2
+ return t(i,{loader:t=>r(t,m),...o})}export{o as Image};
package/lib/index.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ export { DamVideoBlock } from './blocks/DamVideoBlock';
2
+ export { SeoBlock } from './blocks/factories/SeoBlock';
3
+ export { VideoPreviewImage } from './blocks/helpers/VideoPreviewImage';
4
+ export { InternalLinkBlock } from './blocks/InternalLinkBlock';
5
+ export { PixelImageBlock } from './blocks/PixelImageBlock';
6
+ export { VimeoVideoBlock } from './blocks/VimeoVideoBlock';
7
+ export { YouTubeVideoBlock } from './blocks/YouTubeVideoBlock';
8
+ export { createFetchWithDefaultNextRevalidate, createFetchWithDefaults } from './graphQLFetch/graphQLFetch';
9
+ export { Image } from './image/Image';
10
+ export { SitePreviewProvider } from './sitePreview/SitePreviewProvider';
11
+ export { AdminMessageType, type AiContentAltTextPrefixLabels, AiContentDisclosure, type AiContentDisclosureProps, type AiContentType, type BlockLoader, type BlockLoaderDependencies, type BlockLoaderOptions, BlockPreviewProvider, BlocksBlock, calculateInheritAspectRatio, convertPreviewDataToHeaders, type CookieApi, CookieApiProvider, CookieSafe, createFetchInMemoryCache, createFetchWithPreviewHeaders, createGraphQLFetch, createPersistedQueryGraphQLFetch, DamFileDownloadLinkBlock, EmailLinkBlock, ErrorHandlerBoundary, ErrorHandlerProvider, ExternalLinkBlock, generateImageUrl, getAiContentAltTextWithPrefix, getMaxDimensionsFromArea, gql, type GraphQLFetch, hasRichTextBlockContent, hasTipTapRichTextContent, type IAdminContentScopeMessage, type IAdminGraphQLApiUrlMessage, type IAdminHoverComponentMessage, type IAdminShowOnlyVisibleMessage, IFrameBridgeProvider, type IFrameHoverComponentMessage, type IFrameLocationMessage, type IFrameMessage, IFrameMessageType, type IFrameOpenLinkMessage, type IFrameSelectComponentMessage, type ImageDimensions, type IReadyIFrameMessage, isWithPreviewPropsData, JsonLd, type JsonLdProps, ListBlock, OneOfBlock, OptionalBlock, parseAspectRatio, PhoneLinkBlock, type PlayPauseButtonProps, Preview, type PreviewData, PreviewSkeleton, type PropsWithData, recursivelyLoadBlockData, renderTipTapRichText, type RenderTipTapRichTextOptions, sendSitePreviewIFrameMessage,
12
+ /** @deprecated Use PreviewData instead. */
13
+ type PreviewData as SitePreviewData, SitePreviewIFrameMessageType, type SupportedBlocks, SvgImageBlock, type TipTapMark, type TipTapMarkHandler, type TipTapMarkHandlerProps, type TipTapNode, type TipTapNodeHandler, type TipTapNodeHandlerProps, useBlockPreviewFetch, useCookieApi, useCookieBotCookieApi, useIFrameBridge, useIsElementInViewport, useLocalStorageCookieApi, useOneTrustCookieApi, usePreview, type VideoPreviewImageProps, withPreview, type WithPreviewProps, } from '@dextinity/site-react';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,oCAAoC,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC5G,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAC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,EACf,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACpB,UAAU,EACV,KAAK,sBAAsB,EAC3B,WAAW,EACX,KAAK,gBAAgB,GACxB,MAAM,uBAAuB,CAAC"}
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ /* empty css */import{DamVideoBlock as e}from"./blocks/DamVideoBlock.js";import{SeoBlock as r}from"./blocks/factories/SeoBlock.js";import{VideoPreviewImage as i}from"./blocks/helpers/VideoPreviewImage.js";import{InternalLinkBlock as o}from"./blocks/InternalLinkBlock.js";import{PixelImageBlock as t}from"./blocks/PixelImageBlock.js";import{VimeoVideoBlock as s}from"./blocks/VimeoVideoBlock.js";import{YouTubeVideoBlock as m}from"./blocks/YouTubeVideoBlock.js";import{createFetchWithDefaultNextRevalidate as c,createFetchWithDefaults as l}from"./graphQLFetch/graphQLFetch.js";import{Image as a}from"./image/Image.js";import{SitePreviewProvider as p}from"./sitePreview/SitePreviewProvider.js";import{AdminMessageType as b,IFrameMessageType as f}from"./site-react/lib/iframebridge/IFrameMessage.js";import{AiContentDisclosure as k}from"./site-react/lib/aiContentDisclosure/AiContentDisclosure.js";import{BlockPreviewProvider as j}from"./site-react/lib/preview/BlockPreviewProvider.js";import{BlocksBlock as n}from"./site-react/lib/blocks/factories/BlocksBlock.js";import{CookieApiProvider as d,useCookieApi as g}from"./site-react/lib/cookies/CookieApiContext.js";import{CookieSafe as h}from"./site-react/lib/cookies/CookieSafe.js";import{DamFileDownloadLinkBlock as B}from"./site-react/lib/blocks/DamFileDownloadLinkBlock.js";import{EmailLinkBlock as v}from"./site-react/lib/blocks/EmailLinkBlock.js";import{ErrorHandlerBoundary as P}from"./site-react/lib/errorHandler/ErrorHandlerBoundary.js";import{ErrorHandlerProvider as w}from"./site-react/lib/errorHandler/ErrorHandlerProvider.js";import{ExternalLinkBlock as u}from"./site-react/lib/blocks/ExternalLinkBlock.js";import{IFrameBridgeProvider as L}from"./site-react/lib/iframebridge/IFrameBridge.js";import{JsonLd as F}from"./site-react/lib/jsonLd/JsonLd.js";import{ListBlock as I}from"./site-react/lib/blocks/factories/ListBlock.js";import{OneOfBlock as C}from"./site-react/lib/blocks/factories/OneOfBlock.js";import{OptionalBlock as x}from"./site-react/lib/blocks/factories/OptionalBlock.js";import{PhoneLinkBlock as Q}from"./site-react/lib/blocks/PhoneLinkBlock.js";import{Preview as S}from"./site-react/lib/iframebridge/Preview.js";import{PreviewSkeleton as A}from"./site-react/lib/previewskeleton/PreviewSkeleton.js";import{SitePreviewIFrameMessageType as T}from"./site-react/lib/sitePreview/iframebridge/SitePreviewIFrameMessage.js";import{SvgImageBlock as D}from"./site-react/lib/blocks/SvgImageBlock.js";import{calculateInheritAspectRatio as V,generateImageUrl as E,getMaxDimensionsFromArea as H,parseAspectRatio as y}from"./site-react/lib/image/image.utils.js";import{convertPreviewDataToHeaders as M,createFetchWithPreviewHeaders as O,createGraphQLFetch as R,gql as G}from"./site-react/lib/graphQLFetch/graphQLFetch.js";import{createFetchInMemoryCache as J}from"./site-react/lib/graphQLFetch/fetchInMemoryCache.js";import{createPersistedQueryGraphQLFetch as W}from"./site-react/lib/persistedQueries/createPersistedQueryGraphQLFetch.js";import{getAiContentAltTextWithPrefix as Y}from"./site-react/lib/aiContentDisclosure/getAiContentAltTextWithPrefix.js";import{hasRichTextBlockContent as q}from"./site-react/lib/blocks/helpers/RichTextBlockHelper.js";import{hasTipTapRichTextContent as z,renderTipTapRichText as K}from"./site-react/lib/blocks/helpers/TipTapRichTextRenderer.js";import{isWithPreviewPropsData as N,withPreview as U}from"./site-react/lib/iframebridge/withPreview.js";import{recursivelyLoadBlockData as X}from"./site-react/lib/blockLoader/blockLoader.js";import{sendSitePreviewIFrameMessage as Z}from"./site-react/lib/sitePreview/iframebridge/sendSitePreviewIFrameMessage.js";import{useBlockPreviewFetch as $}from"./site-react/lib/iframebridge/useBlockPreviewFetch.js";import{useCookieBotCookieApi as _}from"./site-react/lib/cookies/useCookieBotCookieApi.js";import{useIFrameBridge as ee}from"./site-react/lib/iframebridge/useIFrameBridge.js";import{useIsElementInViewport as re}from"./site-react/lib/blocks/helpers/useIsElementInViewport.js";import{useLocalStorageCookieApi as ie}from"./site-react/lib/cookies/useLocalStorageCookieApi.js";import{useOneTrustCookieApi as oe}from"./site-react/lib/cookies/useOneTrustCookieApi.js";import{usePreview as te}from"./site-react/lib/preview/usePreview.js";export{b as AdminMessageType,k as AiContentDisclosure,j as BlockPreviewProvider,n as BlocksBlock,d as CookieApiProvider,h as CookieSafe,B as DamFileDownloadLinkBlock,e as DamVideoBlock,v as EmailLinkBlock,P as ErrorHandlerBoundary,w as ErrorHandlerProvider,u as ExternalLinkBlock,L as IFrameBridgeProvider,f as IFrameMessageType,a as Image,o as InternalLinkBlock,F as JsonLd,I as ListBlock,C as OneOfBlock,x as OptionalBlock,Q as PhoneLinkBlock,t as PixelImageBlock,S as Preview,A as PreviewSkeleton,r as SeoBlock,T as SitePreviewIFrameMessageType,p as SitePreviewProvider,D as SvgImageBlock,i as VideoPreviewImage,s as VimeoVideoBlock,m as YouTubeVideoBlock,V as calculateInheritAspectRatio,M as convertPreviewDataToHeaders,J as createFetchInMemoryCache,c as createFetchWithDefaultNextRevalidate,l as createFetchWithDefaults,O as createFetchWithPreviewHeaders,R as createGraphQLFetch,W as createPersistedQueryGraphQLFetch,E as generateImageUrl,Y as getAiContentAltTextWithPrefix,H as getMaxDimensionsFromArea,G as gql,q as hasRichTextBlockContent,z as hasTipTapRichTextContent,N as isWithPreviewPropsData,y as parseAspectRatio,X as recursivelyLoadBlockData,K as renderTipTapRichText,Z as sendSitePreviewIFrameMessage,$ as useBlockPreviewFetch,g as useCookieApi,_ as useCookieBotCookieApi,ee as useIFrameBridge,re as useIsElementInViewport,ie as useLocalStorageCookieApi,oe as useOneTrustCookieApi,te as usePreview,U as withPreview};
@@ -0,0 +1,2 @@
1
+ export { default } from '@dextinity/site-react/webpackPersistedQueriesLoader';
2
+ //# sourceMappingURL=webpackPersistedQueriesLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webpackPersistedQueriesLoader.d.ts","sourceRoot":"","sources":["../../src/persistedQueries/webpackPersistedQueriesLoader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC"}
@@ -0,0 +1 @@
1
+ import{default as e}from"../site-react/lib/persistedQueries/webpackPersistedQueriesLoader.js";export{e as default};
@@ -0,0 +1,5 @@
1
+ export { sitePreviewRoute } from './sitePreview/appRouter/sitePreviewRoute';
2
+ export { legacyPagesRouterSitePreviewApiHandler } from './sitePreview/pagesRouter/legacyPagesRouterSitePreviewApiHandler';
3
+ export { legacyPagesRouterPreviewParams, previewParams, type SitePreviewParams } from './sitePreview/previewUtils';
4
+ export { persistedQueryRoute } from '@dextinity/site-react/server';
5
+ //# sourceMappingURL=server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,sCAAsC,EAAE,MAAM,kEAAkE,CAAC;AAC1H,OAAO,EAAE,8BAA8B,EAAE,aAAa,EAAE,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACnH,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC"}
package/lib/server.js ADDED
@@ -0,0 +1 @@
1
+ import{sitePreviewRoute as e}from"./sitePreview/appRouter/sitePreviewRoute.js";import{legacyPagesRouterSitePreviewApiHandler as r}from"./sitePreview/pagesRouter/legacyPagesRouterSitePreviewApiHandler.js";import{legacyPagesRouterPreviewParams as i,previewParams as t}from"./sitePreview/previewUtils.js";import{persistedQueryRoute as s}from"./site-react/lib/persistedQueries/persistedQueryRoute.js";export{i as legacyPagesRouterPreviewParams,r as legacyPagesRouterSitePreviewApiHandler,s as persistedQueryRoute,t as previewParams,e as sitePreviewRoute};
@@ -0,0 +1 @@
1
+ import{jsx as i}from"react/jsx-runtime";import o from"clsx";import e from"./AiContentDisclosure.module.scss.js";import{AiGeneratedBlackIcon as s}from"./icons/AiGeneratedBlackIcon.js";import{AiGeneratedWhiteIcon as t}from"./icons/AiGeneratedWhiteIcon.js";import{AiModifiedBlackIcon as n}from"./icons/AiModifiedBlackIcon.js";import{AiModifiedWhiteIcon as c}from"./icons/AiModifiedWhiteIcon.js";const r={Generated:{black:s,white:t},Modified:{black:n,white:c}};function a({type:s,size:t=28,iconColor:n="black",disableAbsolutePositioning:c=!1,position:a="topRight",className:d}){const l=r[s][n];return i("span",{className:o(e.root,e[n],!c&&e.overlay,!c&&e[a],d),style:{"--ai-content-disclosure-icon-size":`${t}px`},"aria-hidden":"true",children:/* @__PURE__ */i(l,{className:e.icon})})}export{a as AiContentDisclosure};
@@ -0,0 +1 @@
1
+ const o="_root_3o74i_1",t="_overlay_3o74i_6",_="_bottomLeft_3o74i_11",i="_topRight_3o74i_16",a="_icon_3o74i_21",e="_black_3o74i_27",s="_white_3o74i_31",c={root:o,overlay:t,bottomLeft:_,topRight:i,icon:a,black:e,white:s};export{e as black,_ as bottomLeft,c as default,a as icon,t as overlay,o as root,i as topRight,s as white};
@@ -0,0 +1 @@
1
+ function e({aiContentType:e,description:t,prefixLabels:i}){if(!e)return t??"";const{generated:n="[AI-generated]",modified:r="[AI-modified]"}=i??{},d="Generated"===e?n:r;return t?`${d} – ${t}`:d}export{e as getAiContentAltTextWithPrefix};
@@ -0,0 +1,15 @@
1
+ import{jsxs as c,jsx as h}from"react/jsx-runtime";const f=f=>/* @__PURE__ */c("svg",{viewBox:"0 0 1789.84 566.93",xmlns:"http://www.w3.org/2000/svg",...f,children:[
2
+ /* @__PURE__ */h("path",{fill:"#000000",fillRule:"evenodd",d:"M352.84,410.77h1093.16c85.55,0,145.54-59.94,145.54-133.2h0c0-73.27-59.99-133.21-145.54-133.21H352.84c-85.55,0-145.54,59.94-145.54,133.2h0c0,73.26,64.99,133.2,150.54,133.2"}),
3
+ /* @__PURE__ */c("g",{children:[
4
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M326.09,341c-.98,0-1.87-.4-2.66-1.19-.8-.8-1.19-1.68-1.19-2.66,0-.61.06-1.16.18-1.65l43.18-117.96c.37-1.35,1.13-2.54,2.3-3.58,1.16-1.04,2.79-1.56,4.87-1.56h27.19c2.08,0,3.7.52,4.87,1.56,1.16,1.04,1.93,2.24,2.3,3.58l42.99,117.96c.24.49.37,1.04.37,1.65,0,.98-.4,1.87-1.19,2.66-.8.8-1.75,1.19-2.85,1.19h-22.6c-1.84,0-3.22-.46-4.13-1.38-.92-.92-1.5-1.75-1.75-2.48l-7.17-18.74h-49.06l-6.98,18.74c-.25.73-.8,1.56-1.65,2.48-.86.92-2.33,1.38-4.41,1.38h-22.6ZM369.27,291.94h34.18l-17.27-48.51-16.9,48.51Z"}),
5
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M469.58,341c-1.35,0-2.45-.43-3.31-1.29-.86-.86-1.29-1.96-1.29-3.31v-119.43c0-1.35.43-2.45,1.29-3.31s1.96-1.29,3.31-1.29h24.62c1.35,0,2.45.43,3.31,1.29.86.86,1.29,1.96,1.29,3.31v119.43c0,1.35-.43,2.45-1.29,3.31s-1.96,1.29-3.31,1.29h-24.62Z"})]}),
6
+ /* @__PURE__ */c("g",{children:[
7
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M639.25,325.87c-8.43,0-15.63-1.41-21.59-4.24-5.97-2.83-10.58-6.95-13.86-12.38-3.27-5.43-5.04-11.99-5.31-19.71-.09-3.85-.13-7.98-.13-12.38s.04-8.56.13-12.51c.27-7.53,2.04-13.94,5.31-19.24,3.27-5.29,7.94-9.35,13.99-12.17,6.05-2.83,13.2-4.24,21.46-4.24,6.64,0,12.46.85,17.49,2.56,5.02,1.7,9.24,3.92,12.65,6.66,3.41,2.74,6.01,5.72,7.8,8.95,1.79,3.23,2.74,6.32,2.83,9.28,0,.81-.27,1.5-.81,2.08-.54.58-1.26.87-2.15.87h-16.68c-.9,0-1.59-.18-2.08-.54-.49-.36-.92-.9-1.28-1.61-.63-1.61-1.64-3.25-3.03-4.91-1.39-1.66-3.25-3.07-5.58-4.24-2.33-1.16-5.38-1.75-9.15-1.75-5.65,0-10.11,1.48-13.39,4.44-3.27,2.96-5.04,7.8-5.31,14.53-.27,7.71-.27,15.56,0,23.54.27,7,2.08,12.02,5.45,15.07,3.36,3.05,7.87,4.57,13.52,4.57,3.68,0,6.97-.65,9.89-1.95,2.91-1.3,5.22-3.34,6.93-6.12,1.7-2.78,2.56-6.32,2.56-10.63v-3.36h-14.66c-.9,0-1.66-.34-2.29-1.01-.63-.67-.94-1.46-.94-2.35v-8.61c0-.99.31-1.79.94-2.42.63-.63,1.39-.94,2.29-.94h32.96c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v14.66c0,7.71-1.68,14.31-5.04,19.77-3.36,5.47-8.16,9.66-14.39,12.58-6.23,2.92-13.52,4.37-21.86,4.37Z"}),
8
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M710.73,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h60.94c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
9
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M805.88,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h12.24c1.34,0,2.33.31,2.96.94.63.63,1.03,1.12,1.21,1.48l35.92,56.1v-55.15c0-.99.31-1.79.94-2.42.63-.63,1.39-.94,2.29-.94h13.72c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v87.44c0,.9-.32,1.68-.94,2.35-.63.67-1.44,1.01-2.42,1.01h-12.38c-1.35,0-2.31-.34-2.89-1.01-.58-.67-1.01-1.14-1.28-1.41l-35.78-54.35v53.41c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-13.59Z"}),
10
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M912.19,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h60.94c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
11
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1007.35,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h35.65c11.21,0,20.04,2.58,26.5,7.73,6.46,5.16,9.69,12.58,9.69,22.26,0,6.55-1.57,12.02-4.71,16.41-3.14,4.4-7.35,7.67-12.65,9.82l18.97,33.63c.27.54.4,1.03.4,1.48,0,.72-.27,1.37-.81,1.95-.54.58-1.21.87-2.02.87h-14.93c-1.61,0-2.82-.42-3.63-1.28-.81-.85-1.39-1.64-1.75-2.35l-16.41-30.81h-16.28v31.07c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-14.66ZM1025.38,273h17.22c4.93,0,8.59-1.12,10.96-3.36,2.38-2.24,3.56-5.38,3.56-9.42s-1.17-7.22-3.5-9.55c-2.33-2.33-6.01-3.5-11.03-3.5h-17.22v25.83Z"}),
12
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1100.62,324.52c-.81,0-1.48-.29-2.02-.87-.54-.58-.81-1.23-.81-1.95,0-.45.04-.85.13-1.21l32.02-86.5c.27-.99.81-1.84,1.61-2.56.81-.72,1.93-1.08,3.36-1.08h17.22c1.43,0,2.56.36,3.36,1.08.81.72,1.35,1.57,1.61,2.56l32.02,86.5c.09.36.13.76.13,1.21,0,.72-.27,1.37-.81,1.95-.54.58-1.21.87-2.02.87h-13.99c-1.35,0-2.33-.31-2.96-.94-.63-.63-1.03-1.21-1.21-1.75l-5.78-15.07h-37.94l-5.78,15.07c-.18.54-.58,1.12-1.21,1.75-.63.63-1.61.94-2.96.94h-13.99ZM1129.54,289.41h27.85l-13.86-38.74-13.99,38.74Z"}),
13
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1225.64,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-72.1h-24.48c-.9,0-1.66-.31-2.29-.94-.63-.63-.94-1.39-.94-2.29v-12.11c0-.99.31-1.79.94-2.42.63-.63,1.39-.94,2.29-.94h70.49c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v12.11c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-24.35v72.1c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-14.93Z"}),
14
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1298.32,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h60.94c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.8-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
15
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1393.48,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42.63-.63,1.43-.94,2.42-.94h33.77c8.97,0,16.46,1.41,22.46,4.24,6.01,2.83,10.6,6.95,13.79,12.38,3.18,5.43,4.86,12.13,5.04,20.11.09,3.95.13,7.4.13,10.36s-.05,6.37-.13,10.22c-.27,8.34-1.93,15.25-4.98,20.72-3.05,5.47-7.53,9.53-13.45,12.17-5.92,2.65-13.32,3.97-22.2,3.97h-34.44ZM1411.51,307.17h15.74c4.48,0,8.16-.67,11.03-2.02,2.87-1.35,5-3.47,6.39-6.39,1.39-2.91,2.13-6.7,2.22-11.37.09-2.6.16-4.93.2-7,.04-2.06.04-4.12,0-6.19-.05-2.06-.11-4.35-.2-6.86-.18-6.73-1.91-11.68-5.18-14.86-3.27-3.18-8.32-4.78-15.13-4.78h-15.07v59.46Z"})]})]});export{f as AiGeneratedBlackIcon};
@@ -0,0 +1,15 @@
1
+ import{jsxs as c,jsx as h}from"react/jsx-runtime";const l=l=>/* @__PURE__ */c("svg",{viewBox:"0 0 1789.84 566.93",xmlns:"http://www.w3.org/2000/svg",...l,children:[
2
+ /* @__PURE__ */h("path",{fill:"#fff",fillRule:"evenodd",d:"M352.84,410.77h1093.16c85.55,0,145.54-59.94,145.54-133.2h0c0-73.27-59.99-133.21-145.54-133.21H352.84c-85.55,0-145.54,59.94-145.54,133.2h0c0,73.26,64.99,133.2,150.54,133.2"}),
3
+ /* @__PURE__ */c("g",{children:[
4
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M326.09,341c-.98,0-1.87-.4-2.66-1.19-.8-.79-1.19-1.68-1.19-2.66,0-.61.06-1.16.18-1.65l43.18-117.96c.37-1.35,1.13-2.54,2.3-3.58,1.16-1.04,2.79-1.56,4.87-1.56h27.19c2.08,0,3.7.52,4.87,1.56,1.16,1.04,1.93,2.24,2.3,3.58l42.99,117.96c.24.49.37,1.04.37,1.65,0,.98-.4,1.87-1.19,2.66-.8.8-1.75,1.19-2.85,1.19h-22.6c-1.84,0-3.22-.46-4.13-1.38-.92-.92-1.5-1.75-1.75-2.48l-7.17-18.74h-49.06l-6.98,18.74c-.25.74-.8,1.56-1.65,2.48-.86.92-2.33,1.38-4.41,1.38h-22.6ZM369.27,291.94h34.18l-17.27-48.51-16.9,48.51Z"}),
5
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M469.58,341c-1.35,0-2.45-.43-3.31-1.29-.86-.86-1.29-1.96-1.29-3.31v-119.43c0-1.35.43-2.45,1.29-3.31s1.96-1.29,3.31-1.29h24.62c1.35,0,2.45.43,3.31,1.29.86.86,1.29,1.96,1.29,3.31v119.43c0,1.35-.43,2.45-1.29,3.31s-1.96,1.29-3.31,1.29h-24.62Z"})]}),
6
+ /* @__PURE__ */c("g",{children:[
7
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M639.25,325.87c-8.43,0-15.63-1.41-21.59-4.24-5.97-2.83-10.58-6.95-13.86-12.38-3.27-5.42-5.04-11.99-5.31-19.71-.09-3.86-.13-7.98-.13-12.38s.04-8.56.13-12.51c.27-7.53,2.04-13.94,5.31-19.24,3.27-5.29,7.94-9.35,13.99-12.17,6.05-2.83,13.2-4.24,21.46-4.24,6.64,0,12.46.85,17.49,2.56,5.02,1.7,9.24,3.92,12.65,6.66,3.41,2.74,6.01,5.72,7.8,8.95,1.79,3.23,2.74,6.32,2.83,9.28,0,.81-.27,1.5-.81,2.08-.54.58-1.26.87-2.15.87h-16.68c-.9,0-1.59-.18-2.08-.54-.49-.36-.92-.9-1.28-1.61-.63-1.61-1.64-3.25-3.03-4.91-1.39-1.66-3.25-3.07-5.58-4.24-2.33-1.16-5.38-1.75-9.15-1.75-5.65,0-10.11,1.48-13.39,4.44-3.27,2.96-5.04,7.8-5.31,14.53-.27,7.71-.27,15.56,0,23.54.27,7,2.08,12.02,5.45,15.07,3.36,3.05,7.87,4.57,13.52,4.57,3.68,0,6.97-.65,9.89-1.95,2.91-1.3,5.22-3.34,6.93-6.12,1.7-2.78,2.56-6.32,2.56-10.63v-3.36h-14.66c-.9,0-1.66-.34-2.29-1.01-.63-.67-.94-1.46-.94-2.35v-8.61c0-.99.31-1.79.94-2.42.63-.63,1.39-.94,2.29-.94h32.96c.99,0,1.79.31,2.42.94.63.63.94,1.44.94,2.42v14.66c0,7.71-1.68,14.31-5.04,19.78-3.36,5.47-8.16,9.66-14.39,12.58-6.23,2.92-13.52,4.37-21.86,4.37Z"}),
8
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M710.73,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h60.94c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
9
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M805.88,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h12.24c1.34,0,2.33.32,2.96.94.63.63,1.03,1.12,1.21,1.48l35.92,56.1v-55.15c0-.99.31-1.79.94-2.42s1.39-.94,2.29-.94h13.72c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v87.44c0,.9-.32,1.68-.94,2.35-.63.67-1.44,1.01-2.42,1.01h-12.38c-1.35,0-2.31-.34-2.89-1.01-.58-.67-1.01-1.14-1.28-1.41l-35.78-54.35v53.41c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-13.59Z"}),
10
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M912.19,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h60.94c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
11
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1007.35,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h35.65c11.21,0,20.04,2.58,26.5,7.74,6.46,5.16,9.69,12.58,9.69,22.26,0,6.55-1.57,12.02-4.71,16.41-3.14,4.4-7.35,7.67-12.65,9.82l18.97,33.63c.27.54.4,1.03.4,1.48,0,.72-.27,1.37-.81,1.95-.54.58-1.21.88-2.02.88h-14.93c-1.61,0-2.82-.42-3.63-1.28-.81-.85-1.39-1.63-1.75-2.35l-16.41-30.8h-16.28v31.07c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-14.66ZM1025.38,273h17.22c4.93,0,8.59-1.12,10.96-3.36,2.38-2.24,3.56-5.38,3.56-9.42s-1.17-7.22-3.5-9.55c-2.33-2.33-6.01-3.5-11.03-3.5h-17.22v25.83Z"}),
12
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1100.62,324.52c-.81,0-1.48-.29-2.02-.88-.54-.58-.81-1.23-.81-1.95,0-.45.04-.85.13-1.21l32.02-86.5c.27-.99.81-1.84,1.61-2.56.81-.72,1.93-1.08,3.36-1.08h17.22c1.43,0,2.56.36,3.36,1.08.81.72,1.35,1.57,1.61,2.56l32.02,86.5c.09.36.13.76.13,1.21,0,.72-.27,1.37-.81,1.95-.54.58-1.21.88-2.02.88h-13.99c-1.35,0-2.33-.31-2.96-.94-.63-.63-1.03-1.21-1.21-1.75l-5.78-15.07h-37.94l-5.78,15.07c-.18.54-.58,1.12-1.21,1.75-.63.63-1.61.94-2.96.94h-13.99ZM1129.54,289.41h27.85l-13.86-38.74-13.99,38.74Z"}),
13
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1225.64,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-72.1h-24.48c-.9,0-1.66-.31-2.29-.94-.63-.63-.94-1.39-.94-2.29v-12.11c0-.99.31-1.79.94-2.42s1.39-.94,2.29-.94h70.49c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v12.11c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-24.35v72.1c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-14.93Z"}),
14
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1298.32,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h60.94c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.76c0,.9-.32,1.66-.94,2.29-.63.63-1.44.94-2.42.94h-43.59v21.12h40.63c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v9.95c0,.9-.32,1.66-.94,2.29s-1.44.94-2.42.94h-40.63v21.79h44.66c.99,0,1.79.32,2.42.94.63.63.94,1.44.94,2.42v10.63c0,.99-.32,1.79-.94,2.42s-1.44.94-2.42.94h-62.02Z"}),
15
+ /* @__PURE__ */h("path",{fill:"#1d1d1b",d:"M1393.48,324.52c-.99,0-1.79-.31-2.42-.94-.63-.63-.94-1.43-.94-2.42v-87.44c0-.99.31-1.79.94-2.42s1.43-.94,2.42-.94h33.77c8.97,0,16.46,1.41,22.46,4.24,6.01,2.83,10.6,6.95,13.79,12.38,3.18,5.43,4.86,12.13,5.04,20.11.09,3.95.13,7.4.13,10.36s-.05,6.37-.13,10.22c-.27,8.34-1.93,15.25-4.98,20.72-3.05,5.47-7.53,9.53-13.45,12.17-5.92,2.65-13.32,3.97-22.2,3.97h-34.44ZM1411.51,307.17h15.74c4.48,0,8.16-.67,11.03-2.02,2.87-1.35,5-3.47,6.39-6.39,1.39-2.91,2.13-6.7,2.22-11.37.09-2.6.16-4.93.2-7,.04-2.06.04-4.12,0-6.19-.05-2.06-.11-4.35-.2-6.86-.18-6.73-1.91-11.68-5.18-14.87-3.27-3.18-8.32-4.78-15.13-4.78h-15.07v59.46Z"})]})]});export{l as AiGeneratedWhiteIcon};
@@ -0,0 +1,14 @@
1
+ import{jsxs as c,jsx as h}from"react/jsx-runtime";const f=f=>/* @__PURE__ */c("svg",{viewBox:"0 0 1700.79 566.93",xmlns:"http://www.w3.org/2000/svg",...f,children:[
2
+ /* @__PURE__ */h("path",{fill:"#000000",fillRule:"evenodd",d:"M376.65,410.77h939.48c85.55,0,145.54-59.94,145.54-133.2h0c0-73.27-59.99-133.21-145.54-133.21H381.65c-85.55,0-150.54,59.94-150.54,133.2h0c0,73.26,64.99,133.2,150.54,133.2"}),
3
+ /* @__PURE__ */c("g",{children:[
4
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M626.46,325.63c-.92,0-1.72-.32-2.4-.96-.69-.64-1.03-1.46-1.03-2.47v-89.25c0-1.01.34-1.83,1.03-2.47.69-.64,1.49-.96,2.4-.96h12.77c1.37,0,2.4.37,3.09,1.1.69.73,1.17,1.28,1.44,1.65l25.27,46.55,25.54-46.55c.18-.36.62-.91,1.3-1.65.69-.73,1.72-1.1,3.09-1.1h12.77c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47s-1.47.96-2.47.96h-14.01c-.92,0-1.69-.32-2.33-.96-.64-.64-.96-1.46-.96-2.47v-55.48l-17.44,32.68c-.46.82-1.05,1.56-1.79,2.2-.73.64-1.69.96-2.88.96h-6.45c-1.19,0-2.15-.32-2.88-.96-.73-.64-1.33-1.37-1.79-2.2l-17.44-32.68v55.48c0,1.01-.32,1.83-.96,2.47-.64.64-1.42.96-2.33.96h-14.01Z"}),
5
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M784.28,327c-8.33,0-15.52-1.37-21.56-4.12-6.04-2.75-10.76-6.89-14.14-12.43-3.39-5.54-5.22-12.52-5.49-20.94-.09-3.94-.14-7.85-.14-11.74s.04-7.85.14-11.88c.27-8.24,2.13-15.17,5.56-20.8,3.43-5.63,8.19-9.86,14.28-12.7,6.09-2.84,13.2-4.26,21.35-4.26s15.13,1.42,21.21,4.26c6.09,2.84,10.87,7.07,14.35,12.7,3.48,5.63,5.31,12.56,5.49,20.8.18,4.03.28,7.99.28,11.88s-.09,7.81-.28,11.74c-.27,8.42-2.11,15.4-5.49,20.94-3.39,5.54-8.1,9.68-14.14,12.43-6.04,2.75-13.18,4.12-21.42,4.12ZM784.28,309.29c5.31,0,9.68-1.62,13.11-4.88,3.43-3.25,5.24-8.44,5.42-15.58.18-4.03.27-7.8.27-11.33s-.09-7.25-.27-11.19c-.09-4.76-.96-8.65-2.61-11.67-1.65-3.02-3.82-5.24-6.52-6.66-2.7-1.42-5.84-2.13-9.41-2.13s-6.73.71-9.47,2.13c-2.75,1.42-4.92,3.64-6.52,6.66-1.6,3.02-2.5,6.91-2.68,11.67-.09,3.94-.14,7.67-.14,11.19s.04,7.3.14,11.33c.27,7.14,2.1,12.34,5.49,15.58,3.39,3.25,7.78,4.88,13.18,4.88Z"}),
6
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M856.69,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h34.47c9.15,0,16.8,1.44,22.93,4.33,6.13,2.88,10.82,7.1,14.07,12.63,3.25,5.54,4.96,12.38,5.15,20.53.09,4.03.14,7.55.14,10.57s-.05,6.5-.14,10.44c-.27,8.51-1.97,15.56-5.08,21.15-3.11,5.58-7.69,9.73-13.73,12.43-6.04,2.7-13.59,4.05-22.66,4.05h-35.15ZM875.09,307.92h16.07c4.58,0,8.33-.69,11.26-2.06,2.93-1.37,5.1-3.55,6.52-6.52,1.42-2.97,2.17-6.84,2.27-11.6.09-2.65.16-5.03.21-7.14.04-2.1.04-4.21,0-6.32-.05-2.1-.12-4.44-.21-7-.18-6.87-1.95-11.92-5.29-15.17-3.34-3.25-8.49-4.87-15.45-4.87h-15.38v60.69Z"}),
7
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M964.67,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h15.52c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-15.52Z"}),
8
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1018,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h61.24c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v11.67c0,1.01-.32,1.83-.96,2.47-.64.64-1.47.96-2.47.96h-43.25v23.21h40.51c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v11.67c0,.92-.32,1.69-.96,2.33-.64.64-1.46.96-2.47.96h-40.51v32.54c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-14.56Z"}),
9
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1112.25,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h15.52c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v89.25c0,1.01-.32,1.83-.96,2.47-.64.64-1.46.96-2.47.96h-15.52Z"}),
10
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1165.57,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h62.2c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v10.99c0,.92-.32,1.69-.96,2.33-.64.64-1.47.96-2.47.96h-44.49v21.56h41.47c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v10.16c0,.92-.32,1.7-.96,2.33-.64.64-1.47.96-2.47.96h-41.47v22.25h45.59c1.01,0,1.83.32,2.47.96.64.64.96,1.47.96,2.47v10.85c0,1.01-.32,1.83-.96,2.47-.64.64-1.47.96-2.47.96h-63.3Z"}),
11
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M1262.7,325.63c-1.01,0-1.83-.32-2.47-.96-.64-.64-.96-1.46-.96-2.47v-89.25c0-1.01.32-1.83.96-2.47.64-.64,1.46-.96,2.47-.96h34.47c9.15,0,16.8,1.44,22.93,4.33,6.13,2.88,10.82,7.1,14.07,12.63,3.25,5.54,4.96,12.38,5.15,20.53.09,4.03.14,7.55.14,10.57s-.05,6.5-.14,10.44c-.27,8.51-1.97,15.56-5.08,21.15-3.11,5.58-7.69,9.73-13.73,12.43-6.04,2.7-13.59,4.05-22.66,4.05h-35.15ZM1281.1,307.92h16.07c4.58,0,8.33-.69,11.26-2.06,2.93-1.37,5.1-3.55,6.52-6.52,1.42-2.97,2.17-6.84,2.27-11.6.09-2.65.16-5.03.21-7.14.04-2.1.04-4.21,0-6.32-.05-2.1-.12-4.44-.21-7-.18-6.87-1.95-11.92-5.29-15.17-3.34-3.25-8.49-4.87-15.45-4.87h-15.38v60.69Z"})]}),
12
+ /* @__PURE__ */c("g",{children:[
13
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M349.9,341c-.98,0-1.87-.4-2.66-1.19-.8-.8-1.19-1.68-1.19-2.66,0-.61.06-1.16.18-1.65l43.18-117.96c.37-1.35,1.13-2.54,2.3-3.58,1.16-1.04,2.78-1.56,4.87-1.56h27.19c2.08,0,3.7.52,4.87,1.56,1.16,1.04,1.93,2.24,2.3,3.58l42.99,117.96c.24.49.37,1.04.37,1.65,0,.98-.4,1.87-1.19,2.66-.8.8-1.75,1.19-2.85,1.19h-22.6c-1.84,0-3.22-.46-4.13-1.38s-1.5-1.75-1.75-2.48l-7.17-18.74h-49.06l-6.98,18.74c-.25.73-.8,1.56-1.65,2.48-.86.92-2.33,1.38-4.41,1.38h-22.6ZM393.08,291.94h34.18l-17.27-48.51-16.9,48.51Z"}),
14
+ /* @__PURE__ */h("path",{fill:"#fff",d:"M493.39,341c-1.35,0-2.45-.43-3.31-1.29-.86-.86-1.29-1.96-1.29-3.31v-119.43c0-1.35.43-2.45,1.29-3.31s1.96-1.29,3.31-1.29h24.62c1.35,0,2.45.43,3.31,1.29.86.86,1.29,1.96,1.29,3.31v119.43c0,1.35-.43,2.45-1.29,3.31s-1.96,1.29-3.31,1.29h-24.62Z"})]})]});export{f as AiModifiedBlackIcon};