@clay-ds/react 0.3.0 → 0.3.1
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/catalog.json +13 -13
- package/dist/{footerDefaults-BILm5CMK.cjs → footerDefaults-C-9-hOSt.cjs} +220 -183
- package/dist/footerDefaults-C-9-hOSt.cjs.map +1 -0
- package/dist/{footerDefaults-Dx94Jc_F.js → footerDefaults-DRDmvQb8.js} +236 -199
- package/dist/footerDefaults-DRDmvQb8.js.map +1 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +323 -245
- package/dist/index.d.ts +19 -0
- package/dist/index.js +17 -16
- package/dist/render.cjs +1 -1
- package/dist/render.js +1 -1
- package/package.json +1 -1
- package/dist/footerDefaults-BILm5CMK.cjs.map +0 -1
- package/dist/footerDefaults-Dx94Jc_F.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -389,6 +389,17 @@ export declare const FOOTER_ASSETS: {
|
|
|
389
389
|
*/
|
|
390
390
|
export declare const FOOTER_DEFAULTS: Omit<FooterSectionProps, 'logo'>;
|
|
391
391
|
|
|
392
|
+
/**
|
|
393
|
+
* Canonical content for the compact (`short`) footer variant.
|
|
394
|
+
*
|
|
395
|
+
* Reuses the full footer's shared bottom bar (social, badges, legal,
|
|
396
|
+
* language, accessibility) and only swaps the navigation for a single
|
|
397
|
+
* row of two-link columns. Spread it the same way as FOOTER_DEFAULTS:
|
|
398
|
+
*
|
|
399
|
+
* <FooterSection {...FOOTER_SHORT_DEFAULTS} logo={{ src, alt, href }} />
|
|
400
|
+
*/
|
|
401
|
+
export declare const FOOTER_SHORT_DEFAULTS: Omit<FooterSectionProps, 'logo'>;
|
|
402
|
+
|
|
392
403
|
export declare interface FooterBadge {
|
|
393
404
|
src: string;
|
|
394
405
|
alt: string;
|
|
@@ -427,6 +438,12 @@ export declare interface FooterNavLink {
|
|
|
427
438
|
export declare const FooterSection: ForwardRefExoticComponent<FooterSectionProps & RefAttributes<HTMLElement>>;
|
|
428
439
|
|
|
429
440
|
export declare interface FooterSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
441
|
+
/**
|
|
442
|
+
* Layout variant.
|
|
443
|
+
* - `full` (default): the multi-column mega footer.
|
|
444
|
+
* - `short`: a compact footer with the logo + a single row of link columns.
|
|
445
|
+
*/
|
|
446
|
+
variant?: FooterVariant;
|
|
430
447
|
logo?: {
|
|
431
448
|
src: string;
|
|
432
449
|
alt: string;
|
|
@@ -453,6 +470,8 @@ export declare interface FooterSocialLink {
|
|
|
453
470
|
icon: ReactNode;
|
|
454
471
|
}
|
|
455
472
|
|
|
473
|
+
export declare type FooterVariant = 'full' | 'short';
|
|
474
|
+
|
|
456
475
|
export declare interface FormField {
|
|
457
476
|
name: string;
|
|
458
477
|
placeholder: string;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useId, useState } from "react";
|
|
3
|
-
import { M as MediaSlot,
|
|
4
|
-
import { B, a, C, b, c, d, e, f, F, g, h, i, j, H, I,
|
|
3
|
+
import { M as MediaSlot, s as Tag } from "./footerDefaults-DRDmvQb8.js";
|
|
4
|
+
import { B, a, C, b, c, d, e, f, F, g, h, i, j, k, H, I, l, m, N, n, S, o, T, p, q, r, t, u, v, w } from "./footerDefaults-DRDmvQb8.js";
|
|
5
5
|
import { iconSvgMap } from "./icons.js";
|
|
6
6
|
const icon = "_icon_171j1_2";
|
|
7
7
|
const styles$c = {
|
|
@@ -1301,9 +1301,10 @@ export {
|
|
|
1301
1301
|
CustomerStoryCard,
|
|
1302
1302
|
F as FOOTER_ASSETS,
|
|
1303
1303
|
g as FOOTER_DEFAULTS,
|
|
1304
|
-
h as
|
|
1305
|
-
i as
|
|
1306
|
-
j as
|
|
1304
|
+
h as FOOTER_SHORT_DEFAULTS,
|
|
1305
|
+
i as FaqSection,
|
|
1306
|
+
j as FeaturesSection,
|
|
1307
|
+
k as FooterSection,
|
|
1307
1308
|
G2Icon,
|
|
1308
1309
|
G2_BADGES,
|
|
1309
1310
|
Grid,
|
|
@@ -1313,13 +1314,13 @@ export {
|
|
|
1313
1314
|
ImageCard,
|
|
1314
1315
|
Input,
|
|
1315
1316
|
I as IntegrationCard,
|
|
1316
|
-
|
|
1317
|
-
|
|
1317
|
+
l as IntegrationLogo,
|
|
1318
|
+
m as Integrations,
|
|
1318
1319
|
MarketingCta,
|
|
1319
1320
|
MediaPrimitive,
|
|
1320
1321
|
MediaSlot,
|
|
1321
1322
|
N as NavbarMenu,
|
|
1322
|
-
|
|
1323
|
+
n as NumbersSection,
|
|
1323
1324
|
ProductLogo,
|
|
1324
1325
|
SHAPE_NAMES,
|
|
1325
1326
|
SHAPE_PATHS,
|
|
@@ -1328,19 +1329,19 @@ export {
|
|
|
1328
1329
|
Shapes,
|
|
1329
1330
|
SiteFooter,
|
|
1330
1331
|
S as SliderArrow,
|
|
1331
|
-
|
|
1332
|
+
o as SliderDots,
|
|
1332
1333
|
T as Tab,
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1334
|
+
p as TabList,
|
|
1335
|
+
q as TabPanel,
|
|
1336
|
+
r as Tabs,
|
|
1336
1337
|
TabsShellMuted,
|
|
1337
1338
|
TabsShellStroke,
|
|
1338
1339
|
Tag,
|
|
1339
|
-
|
|
1340
|
+
t as TestimonialsSection,
|
|
1340
1341
|
Toggle,
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1342
|
+
u as TrustBadge,
|
|
1343
|
+
v as TrustBentoSection,
|
|
1344
|
+
w as TrustSection,
|
|
1344
1345
|
WIDE_SHAPES,
|
|
1345
1346
|
WebLayout
|
|
1346
1347
|
};
|
package/dist/render.cjs
CHANGED
|
@@ -9,7 +9,7 @@ const node_url = require("node:url");
|
|
|
9
9
|
const node_module = require("node:module");
|
|
10
10
|
const logos_resolve = require("./logos/resolve.cjs");
|
|
11
11
|
const pageSpec = require("./page-spec.cjs");
|
|
12
|
-
const footerDefaults = require("./footerDefaults-
|
|
12
|
+
const footerDefaults = require("./footerDefaults-C-9-hOSt.cjs");
|
|
13
13
|
var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null;
|
|
14
14
|
const __dirname$1 = node_path.dirname(node_url.fileURLToPath(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("render.cjs", document.baseURI).href));
|
|
15
15
|
const require$1 = node_module.createRequire(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("render.cjs", document.baseURI).href);
|
package/dist/render.js
CHANGED
|
@@ -7,7 +7,7 @@ import { fileURLToPath } from "node:url";
|
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import { logoSvg } from "./logos/resolve.js";
|
|
9
9
|
import { PageSpec, sectionSchemas } from "./page-spec.js";
|
|
10
|
-
import { N as NavbarMenu,
|
|
10
|
+
import { N as NavbarMenu, m as Integrations, n as NumbersSection, w as TrustSection, b as ContactSection, k as FooterSection, g as FOOTER_DEFAULTS, d as CtaSection, a as Button, B as BulletsSection, i as FaqSection, e as CustomerLogo, t as TestimonialsSection, C as CardsSection, j as FeaturesSection, f as CustomerLogoSection, H as HeaderSection, M as MediaSlot } from "./footerDefaults-DRDmvQb8.js";
|
|
11
11
|
const __dirname$1 = dirname(fileURLToPath(import.meta.url));
|
|
12
12
|
const require$1 = createRequire(import.meta.url);
|
|
13
13
|
function svgDataUrl(svg) {
|