@tempoxyz/ds 4.3.20261201063729 → 4.4.20261201070331
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/docs/AGENTS.md +1 -1
- package/dist/docs/arsenal.md +144 -271
- package/dist/docs/marketing.md +428 -329
- package/dist/document/templates/brief.html +3 -3
- package/dist/document/templates/essay.html +3 -3
- package/dist/document/templates/post.html +3 -3
- package/dist/marketing/components/Bleed.d.ts +1 -1
- package/dist/marketing/components/Bleed.d.ts.map +1 -1
- package/dist/marketing/components/Bleed.js.map +1 -1
- package/dist/marketing/components/Bleed.js.zyzz.json +1 -1
- package/dist/marketing/components/Carousel.d.ts +3 -4
- package/dist/marketing/components/Carousel.d.ts.map +1 -1
- package/dist/marketing/components/Carousel.js +3 -4
- package/dist/marketing/components/Carousel.js.map +1 -1
- package/dist/marketing/components/Cta.d.ts.map +1 -1
- package/dist/marketing/components/Cta.js +2 -2
- package/dist/marketing/components/Cta.js.map +1 -1
- package/dist/marketing/components/Cta.js.zyzz.json +1 -1
- package/dist/marketing/components/Faq.d.ts +1 -1
- package/dist/marketing/components/Faq.js +1 -1
- package/dist/marketing/components/FeatureAccordion.d.ts +1 -1
- package/dist/marketing/components/FeatureAccordion.js +1 -1
- package/dist/marketing/components/LogoWall.d.ts +9 -8
- package/dist/marketing/components/LogoWall.d.ts.map +1 -1
- package/dist/marketing/components/LogoWall.js +10 -9
- package/dist/marketing/components/LogoWall.js.map +1 -1
- package/dist/marketing/components/LogoWall.js.zyzz.json +1 -1
- package/dist/marketing/components/Section.d.ts +64 -16
- package/dist/marketing/components/Section.d.ts.map +1 -1
- package/dist/marketing/components/Section.js +25 -13
- package/dist/marketing/components/Section.js.map +1 -1
- package/dist/marketing/components/Section.js.zyzz.json +1 -1
- package/dist/marketing/components/SectionHeading.css +1 -1
- package/dist/marketing/components/SectionHeading.d.ts +132 -61
- package/dist/marketing/components/SectionHeading.d.ts.map +1 -1
- package/dist/marketing/components/SectionHeading.js +27 -25
- package/dist/marketing/components/SectionHeading.js.map +1 -1
- package/dist/marketing/components/SectionHeading.js.zyzz.json +1 -1
- package/dist/marketing/components/Showcase.d.ts +1 -1
- package/dist/marketing/components/Showcase.d.ts.map +1 -1
- package/dist/marketing/components/Showcase.js +2 -2
- package/dist/marketing/components/Showcase.js.map +1 -1
- package/dist/marketing/components/Showcase.js.zyzz.json +1 -1
- package/dist/marketing/components/Statement.d.ts +1 -1
- package/dist/marketing/components/Statement.d.ts.map +1 -1
- package/dist/marketing/components/Statement.js.map +1 -1
- package/dist/marketing/components/Statement.js.zyzz.json +1 -1
- package/dist/marketing/components/Steps.d.ts +1 -1
- package/dist/marketing/components/Steps.js +1 -1
- package/dist/marketing/components/Story.d.ts +2 -2
- package/dist/marketing/components/Story.d.ts.map +1 -1
- package/dist/marketing/components/Story.js.zyzz.json +1 -1
- package/dist/marketing/components/Table.d.ts +2 -2
- package/dist/marketing/components/Table.d.ts.map +1 -1
- package/dist/marketing/components/Table.js +1 -5
- package/dist/marketing/components/Table.js.map +1 -1
- package/dist/marketing/components/Table.js.zyzz.json +1 -1
- package/dist/marketing/index.js.zyzz.json +1 -1
- package/package.json +2 -2
- package/src/marketing/README.md +1 -1
- package/src/marketing/components/Bleed.tsx +4 -1
- package/src/marketing/components/Carousel.tsx +3 -4
- package/src/marketing/components/Cta.tsx +2 -7
- package/src/marketing/components/Faq.tsx +1 -1
- package/src/marketing/components/FeatureAccordion.tsx +1 -1
- package/src/marketing/components/LogoWall.tsx +13 -12
- package/src/marketing/components/Section.tsx +109 -18
- package/src/marketing/components/SectionHeading.tsx +167 -66
- package/src/marketing/components/Showcase.tsx +5 -4
- package/src/marketing/components/Statement.tsx +4 -1
- package/src/marketing/components/Steps.tsx +1 -1
- package/src/marketing/components/Story.tsx +2 -2
- package/src/marketing/components/Table.tsx +10 -16
|
@@ -13,7 +13,7 @@ import type * as zyzz from 'zyzz';
|
|
|
13
13
|
* - Pass each `Faq.Item` as a direct child. Its place sets its two-digit index and its default
|
|
14
14
|
* `value`.
|
|
15
15
|
* - Write each question as the reader asks it, and answer it in one or two short paragraphs.
|
|
16
|
-
* - Place the rows
|
|
16
|
+
* - Place the rows in a `Section` with a `title`, since each question is an `<h3>`.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* <Faq>
|
|
@@ -16,7 +16,7 @@ import { style, variants, vars } from '../zyzz.config.js';
|
|
|
16
16
|
* - Pass each `Faq.Item` as a direct child. Its place sets its two-digit index and its default
|
|
17
17
|
* `value`.
|
|
18
18
|
* - Write each question as the reader asks it, and answer it in one or two short paragraphs.
|
|
19
|
-
* - Place the rows
|
|
19
|
+
* - Place the rows in a `Section` with a `title`, since each question is an `<h3>`.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* <Faq>
|
|
@@ -17,7 +17,7 @@ import type * as zyzz from 'zyzz';
|
|
|
17
17
|
* - Write each `description` as one sentence, and end a row with a Marketing `Link` in `link`.
|
|
18
18
|
* - Pass decorative art in `media`. The art is hidden from assistive technology, so the name and
|
|
19
19
|
* description carry the meaning.
|
|
20
|
-
* - Place it in a `Section`
|
|
20
|
+
* - Place it in a `Section` with a `title`.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* <FeatureAccordion
|
|
@@ -22,7 +22,7 @@ import { style, variants, vars } from '../zyzz.config.js';
|
|
|
22
22
|
* - Write each `description` as one sentence, and end a row with a Marketing `Link` in `link`.
|
|
23
23
|
* - Pass decorative art in `media`. The art is hidden from assistive technology, so the name and
|
|
24
24
|
* description carry the meaning.
|
|
25
|
-
* - Place it in a `Section`
|
|
25
|
+
* - Place it in a `Section` with a `title`.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* <FeatureAccordion
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
/** Renders
|
|
1
|
+
/** Renders a group of companies as a wall of logos under a centered heading. @module */
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
3
|
import { Section } from './Section.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* A group of companies as logos in one ink. Renders a `Section` named by its centered
|
|
6
6
|
* heading over a list of logos: two columns, three from 600px and six from 1024px. Every logo draws
|
|
7
7
|
* in one ink at 28px tall and at most 140px wide, so no company outweighs another.
|
|
8
8
|
*
|
|
9
9
|
* - Pass each logo as a `src` or a `logo` node, with the company's `name`. The name labels the
|
|
10
10
|
* logo, so a screen reader reads every company.
|
|
11
11
|
* - Set `tone="inverse"` to paint the section inverse, so the logos and heading draw near-white.
|
|
12
|
-
* -
|
|
13
|
-
*
|
|
12
|
+
* - Pass 6 or 12 logos, so every row is full at two, three and six across.
|
|
13
|
+
* - Use a `Hero` with logos for a row under a page's title, and an index for a collection a visitor
|
|
14
|
+
* can filter.
|
|
14
15
|
*
|
|
15
16
|
* @example
|
|
16
17
|
* <LogoWall
|
|
17
|
-
* description="
|
|
18
|
-
* logos={[{ name: '
|
|
19
|
-
* title="
|
|
18
|
+
* description="Banks, fintechs and platforms that shaped the network."
|
|
19
|
+
* logos={[{ name: 'Northwind', src: '/logos/northwind.svg' }]}
|
|
20
|
+
* title="Built with teams across payments"
|
|
20
21
|
* />
|
|
21
22
|
*
|
|
22
23
|
* @see {@link https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html | WCAG 2.2 Non-text Content}
|
|
@@ -36,7 +37,7 @@ export declare namespace LogoWall {
|
|
|
36
37
|
/** The company's name, which labels the logo. */
|
|
37
38
|
name: string;
|
|
38
39
|
};
|
|
39
|
-
type Props = Omit<Section.Props, 'children' |
|
|
40
|
+
type Props = Omit<Section.Props, 'children' | keyof Section.HeadingProps> & {
|
|
40
41
|
/**
|
|
41
42
|
* The ink of the logos and heading, which the section's `tone` sets: near-white on an
|
|
42
43
|
* `inverse` tone and black on the others.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoWall.d.ts","sourceRoot":"","sources":["../../../src/marketing/components/LogoWall.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"LogoWall.d.ts","sourceRoot":"","sources":["../../../src/marketing/components/LogoWall.tsx"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,OAAO,EAAE,KAAK,SAAS,EAAS,MAAM,OAAO,CAAA;AAE7C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,+BAsC7C;AAED,yBAAiB,QAAQ,CAAC;IACxB,kFAAkF;IAClF,KAAY,IAAI,GACZ;QACE,iDAAiD;QACjD,IAAI,EAAE,MAAM,CAAA;QACZ,8DAA8D;QAC9D,GAAG,EAAE,MAAM,CAAA;KACZ,GACD;QACE,kFAAkF;QAClF,IAAI,EAAE,SAAS,CAAA;QACf,iDAAiD;QACjD,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IAEL,KAAY,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,OAAO,CAAC,YAAY,CAAC,GAAG;QACjF;;;;;WAKG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;QAC3C,4CAA4C;QAC5C,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;QACnC,mCAAmC;QACnC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAA;QACtB,wDAAwD;QACxD,KAAK,EAAE,SAAS,CAAA;QAChB,wEAAwE;QACxE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAC7B,CAAA;CACF"}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/** Renders
|
|
2
|
+
/** Renders a group of companies as a wall of logos under a centered heading. @module */
|
|
3
3
|
import { useId } from 'react';
|
|
4
4
|
import { variants } from '../zyzz.config.js';
|
|
5
5
|
import { Section } from './Section.js';
|
|
6
|
-
import {
|
|
6
|
+
import { Heading } from './SectionHeading.js';
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* A group of companies as logos in one ink. Renders a `Section` named by its centered
|
|
9
9
|
* heading over a list of logos: two columns, three from 600px and six from 1024px. Every logo draws
|
|
10
10
|
* in one ink at 28px tall and at most 140px wide, so no company outweighs another.
|
|
11
11
|
*
|
|
12
12
|
* - Pass each logo as a `src` or a `logo` node, with the company's `name`. The name labels the
|
|
13
13
|
* logo, so a screen reader reads every company.
|
|
14
14
|
* - Set `tone="inverse"` to paint the section inverse, so the logos and heading draw near-white.
|
|
15
|
-
* -
|
|
16
|
-
*
|
|
15
|
+
* - Pass 6 or 12 logos, so every row is full at two, three and six across.
|
|
16
|
+
* - Use a `Hero` with logos for a row under a page's title, and an index for a collection a visitor
|
|
17
|
+
* can filter.
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* <LogoWall
|
|
20
|
-
* description="
|
|
21
|
-
* logos={[{ name: '
|
|
22
|
-
* title="
|
|
21
|
+
* description="Banks, fintechs and platforms that shaped the network."
|
|
22
|
+
* logos={[{ name: 'Northwind', src: '/logos/northwind.svg' }]}
|
|
23
|
+
* title="Built with teams across payments"
|
|
23
24
|
* />
|
|
24
25
|
*
|
|
25
26
|
* @see {@link https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html | WCAG 2.2 Non-text Content}
|
|
@@ -31,7 +32,7 @@ export function LogoWall(props) {
|
|
|
31
32
|
const id = titleId ?? generated;
|
|
32
33
|
// The section's tone sets the ink, and the deprecated `appearance` still overrides it.
|
|
33
34
|
const ink = appearance ?? (tone === 'inverse' ? 'inverse' : 'base');
|
|
34
|
-
return (_jsxs(Section, { "aria-labelledby": id, tone: tone, ...attributes, children: [_jsx(
|
|
35
|
+
return (_jsxs(Section, { "aria-labelledby": id, tone: tone, ...attributes, children: [_jsx(Heading, { align: "center", description: description, subtitle: "body", title: title, titleId: id, tone: ink === 'inverse' ? 'inverse' : 'page' }), _jsx("ul", { ...styles.list(), children: logos.map((logo) => (_jsx("li", { children: 'src' in logo ? (_jsx("img", { alt: logo.name, loading: "lazy", src: logo.src, ...styles.logo({ ink, kind: 'image' }) })) : (_jsx("span", { "aria-label": logo.name, role: "img", ...styles.logo({ ink, kind: 'node' }), children: logo.logo })) }, logo.name))) })] }));
|
|
35
36
|
}
|
|
36
37
|
var styles;
|
|
37
38
|
(function (styles) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoWall.js","sourceRoot":"","sources":["../../../src/marketing/components/LogoWall.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"LogoWall.js","sourceRoot":"","sources":["../../../src/marketing/components/LogoWall.tsx"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,OAAO,EAAkB,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAE7C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAqB;IAC5C,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAA;IAErF,MAAM,SAAS,GAAG,KAAK,EAAE,CAAA;IACzB,MAAM,EAAE,GAAG,OAAO,IAAI,SAAS,CAAA;IAC/B,uFAAuF;IACvF,MAAM,GAAG,GAAG,UAAU,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;IAEnE,OAAO,CACL,MAAC,OAAO,uBAAkB,EAAE,EAAE,IAAI,EAAE,IAAI,KAAM,UAAU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