@brad-frost-web/eddie-recipes 0.40.0 → 0.41.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/package.json +1 -1
- package/recipes/common/audio-player/audio-player.d.ts +10 -0
- package/recipes/common/audio-player/audio-player.d.ts.map +1 -1
- package/recipes/common/example-form/example-form.d.ts +10 -0
- package/recipes/common/example-form/example-form.d.ts.map +1 -1
- package/recipes/common/newsletter-signup/newsletter-signup.d.ts +10 -0
- package/recipes/common/newsletter-signup/newsletter-signup.d.ts.map +1 -1
- package/recipes/common/page-banner/page-banner.d.ts +108 -0
- package/recipes/common/page-banner/page-banner.d.ts.map +1 -0
- package/recipes/common/page-banner/page-banner.js +60 -0
- package/recipes/common/project-card/project-card.d.ts +10 -0
- package/recipes/common/project-card/project-card.d.ts.map +1 -1
- package/recipes/common/promo-block/promo-block.d.ts +10 -0
- package/recipes/common/promo-block/promo-block.d.ts.map +1 -1
- package/recipes/common/search-form/search-form.d.ts +10 -0
- package/recipes/common/search-form/search-form.d.ts.map +1 -1
- package/recipes/common/site-footer/site-footer.d.ts +32 -9
- package/recipes/common/site-footer/site-footer.d.ts.map +1 -1
- package/recipes/common/site-footer/site-footer.js +19 -19
- package/recipes/common/site-header/site-header.d.ts +10 -0
- package/recipes/common/site-header/site-header.d.ts.map +1 -1
- package/recipes/common/stat-card/stat-card.d.ts +10 -0
- package/recipes/common/stat-card/stat-card.d.ts.map +1 -1
- package/recipes/common/transport-button/transport-button.d.ts +10 -0
- package/recipes/common/transport-button/transport-button.d.ts.map +1 -1
- package/recipes/common/vertical-site-header/vertical-site-header.d.ts +10 -0
- package/recipes/common/vertical-site-header/vertical-site-header.d.ts.map +1 -1
- package/recipes/eddie-slides/template-card/template-card.d.ts +10 -0
- package/recipes/eddie-slides/template-card/template-card.d.ts.map +1 -1
- package/recipes/tools/theme-customizer/theme-customizer.d.ts +10 -0
- package/recipes/tools/theme-customizer/theme-customizer.d.ts.map +1 -1
- package/recipes/we-are-here/chunky-checkbox/chunky-checkbox.d.ts +10 -0
- package/recipes/we-are-here/chunky-checkbox/chunky-checkbox.d.ts.map +1 -1
- package/recipes/we-are-here/wah-link-list/wah-link-list.d.ts +10 -0
- package/recipes/we-are-here/wah-link-list/wah-link-list.d.ts.map +1 -1
- package/recipes/we-are-here/wah-logo/wah-logo.d.ts +10 -0
- package/recipes/we-are-here/wah-logo/wah-logo.d.ts.map +1 -1
- package/recipes/we-are-here/wah-site-footer/wah-site-footer.d.ts +10 -0
- package/recipes/we-are-here/wah-site-footer/wah-site-footer.d.ts.map +1 -1
- package/recipes/we-are-here/wah-site-header/wah-site-header.d.ts +10 -0
- package/recipes/we-are-here/wah-site-header/wah-site-header.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -19,6 +19,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
19
19
|
* @a11y Each control inside (transport button, scrubber) carries its own ARIA semantics — keep `label` descriptive enough that the region announces meaningfully
|
|
20
20
|
* @a11y The hidden `<audio>` element is not interactive — all interaction goes through the visible composed controls
|
|
21
21
|
* @a11y Time readout uses tabular numerals so screen readers and visual users alike track time without layout shift
|
|
22
|
+
*
|
|
23
|
+
* @anatomy A full audio player composing `ed-r-transport-button` (play/pause), `ed-media-scrubber` (seek), and time display around an `<audio>` source.
|
|
24
|
+
*
|
|
25
|
+
* @related ed-r-transport-button — the play/pause control it composes
|
|
26
|
+
* @related ed-media-scrubber — the seek control it composes
|
|
27
|
+
* @related ed-media-block — for generic media-beside-text layouts
|
|
28
|
+
*
|
|
29
|
+
* @content Provide a `label` naming the track. Controls carry their own accessible names; respect reduced-motion.
|
|
30
|
+
*
|
|
31
|
+
* @state idle / playing / paused / `disabled`; `preload` / `loop` / `autoplay` / `knockout`.
|
|
22
32
|
*/
|
|
23
33
|
export declare class EdRAudioPlayer extends EdElement {
|
|
24
34
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio-player.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/audio-player/audio-player.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAGtF,OAAO,+EAA+E,CAAC;AACvF,OAAO,sCAAsC,CAAC;AAK9C
|
|
1
|
+
{"version":3,"file":"audio-player.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/audio-player/audio-player.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAGtF,OAAO,+EAA+E,CAAC;AACvF,OAAO,sCAAsC,CAAC;AAK9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,cAAe,SAAQ,SAAS;IAC3C,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IAEH,OAAO,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAAc;IAEnD;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAkB;IAE/B;;;OAGG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;;;OAIG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;;OAGG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;OAEG;IAEH,IAAI,EAAE,OAAO,CAAS;IAGtB,OAAO,CAAC,KAAK,CAAoB;IAExB,OAAO,CAAC,WAAW,CAAa;IAChC,OAAO,CAAC,QAAQ,CAAa;IAC7B,OAAO,CAAC,QAAQ,CAA0B;IAC1C,OAAO,CAAC,WAAW,CAAuB;IAEnD,OAAO,CAAC,qBAAqB,CAAkB;IAI/C,OAAO,CAAC,gBAAgB,CAMtB;IAEF,OAAO,CAAC,YAAY,CAMlB;IAEF,OAAO,CAAC,MAAM,CAGZ;IAEF,OAAO,CAAC,OAAO,CAGb;IAEF,OAAO,CAAC,OAAO,CAGb;IAEF,OAAO,CAAC,SAAS,CAEf;IAEF,OAAO,CAAC,SAAS,CAIf;IAEF,OAAO,CAAC,UAAU,CAMhB;IAIF,OAAO,CAAC,iBAAiB,CAUvB;IAEF,OAAO,CAAC,MAAM,CAOZ;IAEF,OAAO,CAAC,YAAY,CAIlB;IAEF,OAAO,CAAC,UAAU,CAMhB;IAIF,OAAO,CAAC,UAAU;IAalB,OAAO,KAAK,aAAa,GAExB;IAED,OAAO,KAAK,aAAa,GAKxB;IAID,2DAA2D;IACpD,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B,4DAA4D;IACrD,KAAK,IAAI,IAAI;IAIpB,2DAA2D;IACpD,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAO/B,MAAM;CAyDP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,cAAc,CAAC;KACrC;CACF"}
|
|
@@ -17,6 +17,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
17
17
|
* @a11y Group related fields (checkboxes, radios) inside their respective `ed-checkbox-field` / `ed-radio-field` wrappers so assistive technology announces them as a single control group
|
|
18
18
|
* @a11y Ensure the submit and reset buttons are keyboard-reachable and that focus order follows the visual top-to-bottom layout of the form
|
|
19
19
|
* @a11y When displaying submitted data, ensure the output region is announced to screen readers (e.g. via `role="status"` or a live region) so users know the form was submitted successfully
|
|
20
|
+
*
|
|
21
|
+
* @anatomy A demonstration form composing the Eddie field components (text, select, checkbox, radio, textarea) with submit/cancel actions.
|
|
22
|
+
*
|
|
23
|
+
* @related ed-p-form — the full-page form template
|
|
24
|
+
* @related ed-text-field / ed-select-field / ed-checkbox-field — the fields it composes
|
|
25
|
+
* @related ed-single-field-form — for a one-field form
|
|
26
|
+
*
|
|
27
|
+
* @content A reference composition — copy the field wiring and validation pattern into real forms.
|
|
28
|
+
*
|
|
29
|
+
* @state reference recipe. Not prop-configured.
|
|
20
30
|
*/
|
|
21
31
|
export declare class EdRExampleForm extends EdElement {
|
|
22
32
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example-form.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/example-form/example-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,2EAA2E,CAAC;AACnF,OAAO,+DAA+D,CAAC;AACvE,OAAO,yFAAyF,CAAC;AACjG,OAAO,+EAA+E,CAAC;AACvF,OAAO,yEAAyE,CAAC;AACjF,OAAO,iEAAiE,CAAC;AACzE,OAAO,mFAAmF,CAAC;AAC3F,OAAO,yEAAyE,CAAC;AACjF,OAAO,2EAA2E,CAAC;AACnF,OAAO,uEAAuE,CAAC;AAC/E,OAAO,+EAA+E,CAAC;AACvF,OAAO,+DAA+D,CAAC;AAKvE
|
|
1
|
+
{"version":3,"file":"example-form.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/example-form/example-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,2EAA2E,CAAC;AACnF,OAAO,+DAA+D,CAAC;AACvE,OAAO,yFAAyF,CAAC;AACjG,OAAO,+EAA+E,CAAC;AACvF,OAAO,yEAAyE,CAAC;AACjF,OAAO,iEAAiE,CAAC;AACzE,OAAO,mFAAmF,CAAC;AAC3F,OAAO,yEAAyE,CAAC;AACjF,OAAO,2EAA2E,CAAC;AACnF,OAAO,uEAAuE,CAAC;AAC/E,OAAO,+EAA+E,CAAC;AACvF,OAAO,+DAA+D,CAAC;AAKvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,cAAe,SAAQ,SAAS;IAC3C,MAAM,KAAK,MAAM,4BAEhB;IAGD,QAAQ,EAAE,MAAM,CAAM;IAEtB,QAAQ,CAAC,CAAC,EAAE,WAAW;IAOvB,MAAM;IA0FN,YAAY,CAAC,CAAC,EAAE,KAAK;CAiBtB;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,cAAc,CAAC;KACrC;CACF"}
|
|
@@ -21,6 +21,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
21
21
|
* @a11y The email field is required and typed, so submission runs native constraint validation with the browser's accessible error UI
|
|
22
22
|
* @a11y Always provide a descriptive `label` even when using `hideLabel` — the label is visually hidden but remains accessible to screen readers
|
|
23
23
|
* @a11y The `placeholder` is supplementary, not a substitute for the label
|
|
24
|
+
*
|
|
25
|
+
* @anatomy `ed-single-field-form` configured for email capture: a labelled email input + submit, posting to `action`.
|
|
26
|
+
*
|
|
27
|
+
* @related ed-single-field-form — the base it configures
|
|
28
|
+
* @related ed-r-search-form — the sibling single-field recipe
|
|
29
|
+
* @related ed-text-field — the input primitive
|
|
30
|
+
*
|
|
31
|
+
* @content Label/placeholder set expectations ("Email address"); button text names the action ("Subscribe"). Keep it one field.
|
|
32
|
+
*
|
|
33
|
+
* @state default / focus / with-value / `knockout`.
|
|
24
34
|
*/
|
|
25
35
|
export declare class EdRNewsletterSignup extends EdElement {
|
|
26
36
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"newsletter-signup.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/newsletter-signup/newsletter-signup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,qFAAqF,CAAC;AAM7F
|
|
1
|
+
{"version":3,"file":"newsletter-signup.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/newsletter-signup/newsletter-signup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,qFAAqF,CAAC;AAM7F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,mBAAoB,SAAQ,SAAS;IAChD,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAmB;IAEhC;;OAEG;IAEH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAM;IAEnB;;OAEG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,IAAI,EAAE,MAAM,CAAW;IAEvB;;;;OAIG;IAEH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IAEH,MAAM,EAAE,KAAK,GAAG,MAAM,CAAU;IAEhC;;OAEG;IAEH,UAAU,EAAE,MAAM,CAAe;IAEjC;;OAEG;IAEH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,MAAM;CAsBP;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,wBAAwB,EAAE,mBAAmB,CAAC;KAC/C;CACF"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdElement';
|
|
2
|
+
/**
|
|
3
|
+
* The masthead at the top of a page: an `ed-band` for full-bleed background,
|
|
4
|
+
* an `ed-layout-container` to cap the content column, and an `ed-page-header`
|
|
5
|
+
* for the `<h1>` and its description — with an optional breadcrumb trail above
|
|
6
|
+
* the title.
|
|
7
|
+
*
|
|
8
|
+
* This is the "where am I / what is this page" assembly. Splitting the band
|
|
9
|
+
* from the container is what lets the background run edge-to-edge while the
|
|
10
|
+
* title still lines up with the body content below it, and getting that
|
|
11
|
+
* nesting right by hand is the step products most often skip. The recipe is a
|
|
12
|
+
* **pure composition of Eddie primitives** — every visible element's
|
|
13
|
+
* typography, color, and spacing comes from the composed atoms. The recipe
|
|
14
|
+
* itself contributes only the nesting.
|
|
15
|
+
*
|
|
16
|
+
* Place it as the first child of `ed-main`, *outside* any page-level
|
|
17
|
+
* `ed-layout-container` — the band supplies its own. Body content that follows
|
|
18
|
+
* gets its own sibling `ed-layout-container`.
|
|
19
|
+
*
|
|
20
|
+
* Slots follow Eddie's `header` / body / `footer` zone convention (see
|
|
21
|
+
* `ed-card`, `ed-section`): the names describe *where* content sits, not what
|
|
22
|
+
* it is.
|
|
23
|
+
*
|
|
24
|
+
* @use At the top of every page in an app or site, to give each page a
|
|
25
|
+
* consistent, full-bleed title area
|
|
26
|
+
* @use With a breadcrumb trail in the `header` slot on pages that sit inside a
|
|
27
|
+
* meaningful hierarchy, so the trail and the title read as one unit
|
|
28
|
+
* @use With period or record pagination in the `footer` slot, so the controls
|
|
29
|
+
* share the masthead's background instead of floating beneath it
|
|
30
|
+
* @use Bare on top-level pages — the band and heading alone still give the
|
|
31
|
+
* page a consistent masthead
|
|
32
|
+
* @use With `variant="brand"` on a landing or marketing page that wants a
|
|
33
|
+
* louder entrance than the default subtle background
|
|
34
|
+
*
|
|
35
|
+
* @dontuse More than once on a page — it renders the page's single `<h1>`
|
|
36
|
+
* @dontuse Inside an `ed-layout-container` — the band's background would be
|
|
37
|
+
* clipped to the content column instead of running full-bleed
|
|
38
|
+
* @dontuse As a hero with background imagery or a large marketing headline —
|
|
39
|
+
* this is page furniture, not a hero
|
|
40
|
+
* @dontuse For section headings within a page — use `ed-section` with
|
|
41
|
+
* `ed-heading` instead
|
|
42
|
+
*
|
|
43
|
+
* @a11y The recipe does **not** expose a `banner` landmark. Despite the name,
|
|
44
|
+
* the ARIA `banner` role belongs to the site header (`ed-header`) — a
|
|
45
|
+
* page masthead is ordinary content inside `<main>`. Adding a second
|
|
46
|
+
* banner landmark would make the real one ambiguous to screen reader
|
|
47
|
+
* users.
|
|
48
|
+
* @a11y `ed-page-header` renders the heading as `<h1>`, so this recipe
|
|
49
|
+
* establishes the top of the page's heading outline. Section headings
|
|
50
|
+
* that follow should start at `<h2>`.
|
|
51
|
+
* @a11y Label any navigation you pass into `header` or `footer` —
|
|
52
|
+
* `aria-label` on `ed-breadcrumbs` or the `nav` — so it is
|
|
53
|
+
* distinguishable from other `nav` landmarks on the page.
|
|
54
|
+
* @a11y The last breadcrumb represents the current page and must not be a
|
|
55
|
+
* link (omit `href` on the final `ed-breadcrumbs-item`).
|
|
56
|
+
* @a11y The `header` slot renders before the heading in DOM order, so a
|
|
57
|
+
* breadcrumb trail is announced before the page title — the reading
|
|
58
|
+
* order matches the visual order.
|
|
59
|
+
* @a11y With `variant="brand"` or `variant="brand-knockout"`, verify the
|
|
60
|
+
* heading, description, and any slotted links all meet WCAG contrast
|
|
61
|
+
* against the band background.
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* @anatomy A page masthead: an `ed-band` full-bleed background + `ed-layout-container` + a `header` zone (breadcrumbs), the `heading`, and `footer`/`titleAfter` zones.
|
|
65
|
+
*
|
|
66
|
+
* @related ed-page-header — the lighter title block without a background band
|
|
67
|
+
* @related ed-hero — for the primary marketing banner
|
|
68
|
+
* @related ed-breadcrumbs — commonly placed in the header zone
|
|
69
|
+
*
|
|
70
|
+
* @content The heading is the page title. Keep the banner focused; put wayfinding (breadcrumbs) above it.
|
|
71
|
+
*
|
|
72
|
+
* @state default / `variant` (brand|brand-knockout) / `containerVariant` (narrow).
|
|
73
|
+
* @slot header - The zone above the heading. Typically an `ed-breadcrumbs`
|
|
74
|
+
* trail. Omit it on pages with no hierarchy to show.
|
|
75
|
+
* @slot - Body: description text below the heading, setting context for the
|
|
76
|
+
* page.
|
|
77
|
+
* @slot footer - The zone below the description, still inside the band.
|
|
78
|
+
* Typically pagination — prev/next controls for stepping between
|
|
79
|
+
* sibling records or time periods.
|
|
80
|
+
* @slot titleAfter - Badges, tags, or status indicators sitting inline with
|
|
81
|
+
* the heading. Named to match the `ed-page-header` slot it forwards to.
|
|
82
|
+
*/
|
|
83
|
+
export declare class EdRPageBanner extends EdElement {
|
|
84
|
+
static get styles(): import('lit').CSSResult;
|
|
85
|
+
/**
|
|
86
|
+
* The page title, rendered as the `<h1>` by `ed-page-header`.
|
|
87
|
+
*/
|
|
88
|
+
heading: string;
|
|
89
|
+
/**
|
|
90
|
+
* Background treatment, forwarded to `ed-band`. Defaults to the band's
|
|
91
|
+
* subtle background. Reserve the brand variants for pages that genuinely
|
|
92
|
+
* warrant a louder entrance — used everywhere, they stop meaning anything.
|
|
93
|
+
*/
|
|
94
|
+
variant?: 'brand' | 'brand-knockout';
|
|
95
|
+
/**
|
|
96
|
+
* Width of the content column, forwarded to `ed-layout-container`. Use
|
|
97
|
+
* `narrow` when the page body is also narrow, so the title lines up with
|
|
98
|
+
* the content beneath it.
|
|
99
|
+
*/
|
|
100
|
+
containerVariant?: 'narrow';
|
|
101
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
102
|
+
}
|
|
103
|
+
declare global {
|
|
104
|
+
interface HTMLElementTagNameMap {
|
|
105
|
+
'ed-r-page-banner': EdRPageBanner;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=page-banner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-banner.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/page-banner/page-banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,2DAA2D,CAAC;AACnE,OAAO,mFAAmF,CAAC;AAC3F,OAAO,yEAAyE,CAAC;AAKjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,qBAAa,aAAc,SAAQ,SAAS;IAC1C,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,OAAO,SAAM;IAEb;;;;OAIG;IAEH,OAAO,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAAC;IAErC;;;;OAIG;IAEH,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAE5B,MAAM;CAoCP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,aAAa,CAAC;KACnC;CACF"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { EdElement as h } from "@brad-frost-web/eddie-web-components/components/EdElement";
|
|
2
|
+
import "@brad-frost-web/eddie-web-components/components/band/band";
|
|
3
|
+
import "@brad-frost-web/eddie-web-components/components/layout-container/layout-container";
|
|
4
|
+
import "@brad-frost-web/eddie-web-components/components/page-header/page-header";
|
|
5
|
+
import { unsafeCSS as m, nothing as t, html as a } from "lit";
|
|
6
|
+
import { property as i } from "lit/decorators.js";
|
|
7
|
+
const c = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}:host{display:block}.ed-r-page-banner__header{margin-block-end:.5rem}';
|
|
8
|
+
var f = Object.defineProperty, d = (n, r, l, g) => {
|
|
9
|
+
for (var e = void 0, s = n.length - 1, p; s >= 0; s--)
|
|
10
|
+
(p = n[s]) && (e = p(r, l, e) || e);
|
|
11
|
+
return e && f(r, l, e), e;
|
|
12
|
+
};
|
|
13
|
+
class o extends h {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments), this.heading = "";
|
|
16
|
+
}
|
|
17
|
+
static get styles() {
|
|
18
|
+
return m(c);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
const r = this.componentClassNames("ed-r-page-banner", {});
|
|
22
|
+
return a`
|
|
23
|
+
<ed-band class="${r}" variant="${this.variant ?? t}">
|
|
24
|
+
<ed-layout-container variant="${this.containerVariant ?? t}">
|
|
25
|
+
${this.slotNotEmpty("header") ? a`<div class="ed-r-page-banner__header">
|
|
26
|
+
<slot name="header"></slot>
|
|
27
|
+
</div>` : t}
|
|
28
|
+
<ed-page-header heading="${this.heading}">
|
|
29
|
+
<slot></slot>
|
|
30
|
+
${/**
|
|
31
|
+
* Forwarded only when the consumer actually filled the slot.
|
|
32
|
+
* `ed-page-header` decides whether to render its title-after
|
|
33
|
+
* container by querying its own light DOM for `[slot=titleAfter]`
|
|
34
|
+
* — an unconditionally forwarded `<slot>` element satisfies that
|
|
35
|
+
* query even when nothing is assigned to it, leaving a stray
|
|
36
|
+
* indent after every heading.
|
|
37
|
+
*/
|
|
38
|
+
this.slotNotEmpty("titleAfter") ? a`<slot name="titleAfter" slot="titleAfter"></slot>` : t}
|
|
39
|
+
</ed-page-header>
|
|
40
|
+
${this.slotNotEmpty("footer") ? a`<div class="ed-r-page-banner__footer">
|
|
41
|
+
<slot name="footer"></slot>
|
|
42
|
+
</div>` : t}
|
|
43
|
+
</ed-layout-container>
|
|
44
|
+
</ed-band>
|
|
45
|
+
`;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
d([
|
|
49
|
+
i()
|
|
50
|
+
], o.prototype, "heading");
|
|
51
|
+
d([
|
|
52
|
+
i({ reflect: !0 })
|
|
53
|
+
], o.prototype, "variant");
|
|
54
|
+
d([
|
|
55
|
+
i()
|
|
56
|
+
], o.prototype, "containerVariant");
|
|
57
|
+
customElements.get("ed-r-page-banner") === void 0 && customElements.define("ed-r-page-banner", o);
|
|
58
|
+
export {
|
|
59
|
+
o as EdRPageBanner
|
|
60
|
+
};
|
|
@@ -18,6 +18,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
18
18
|
* @a11y When `href` is set the heading becomes the card's primary interactive element — do not add redundant "Read more" links in the slot that duplicate the same destination
|
|
19
19
|
* @a11y Ensure sufficient color contrast between the project title link and the card background in all color themes
|
|
20
20
|
*
|
|
21
|
+
*
|
|
22
|
+
* @anatomy A project showcase card: image + heading + description, with a default slot after the description for tags/metadata/CTAs.
|
|
23
|
+
*
|
|
24
|
+
* @related ed-card — the primitive it composes
|
|
25
|
+
* @related ed-grid — lay several project cards out in a grid
|
|
26
|
+
* @related ed-r-stat-card — a different card recipe for KPIs
|
|
27
|
+
*
|
|
28
|
+
* @content Heading is the project name; description is one or two lines. Put tags/actions in the trailing slot, not the description.
|
|
29
|
+
*
|
|
30
|
+
* @state default; `headingTagName` sets the heading level for document hierarchy.
|
|
21
31
|
* @slot - Additional body content rendered after the description (e.g. tags, metadata, or call-to-action buttons)
|
|
22
32
|
*/
|
|
23
33
|
export declare class EdRProjectCard extends EdElement {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-card.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/project-card/project-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,iEAAiE,CAAC;AACzE,OAAO,2EAA2E,CAAC;AAKnF
|
|
1
|
+
{"version":3,"file":"project-card.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/project-card/project-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,iEAAiE,CAAC;AACzE,OAAO,2EAA2E,CAAC;AAKnF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,cAAe,SAAQ,SAAS;IAC3C,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEM,KAAK,SAAM;IAEpB;;OAEG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IAEH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IAEH,cAAc,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAExD;;OAEG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,MAAM;CA0BP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,cAAc,CAAC;KACrC;CACF"}
|
|
@@ -18,6 +18,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
18
18
|
* @a11y The heading inside the promo block must use the correct semantic level for its position in the page outline — do not hardcode `h2` if the surrounding context requires a different level
|
|
19
19
|
* @a11y Ensure the button text clearly describes the action (e.g. "See pricing" not "Click here") so screen-reader users understand the destination without surrounding visual context
|
|
20
20
|
* @a11y When using a colored band variant, verify that the text and button meet WCAG contrast requirements against that background color
|
|
21
|
+
*
|
|
22
|
+
* @anatomy A full-width promo composing an `ed-band` background, heading, text passage, and CTA button.
|
|
23
|
+
*
|
|
24
|
+
* @related ed-band — the background primitive it builds on
|
|
25
|
+
* @related ed-hero — for the primary page banner instead of a mid/bottom promo
|
|
26
|
+
* @related ed-black-friday-banner — a campaign-specific promo strip
|
|
27
|
+
*
|
|
28
|
+
* @content One message, one CTA. Often placed flush to the footer via `ed-page variant="flush"`.
|
|
29
|
+
*
|
|
30
|
+
* @state default. Full-bleed region.
|
|
21
31
|
*/
|
|
22
32
|
export declare class EdRPromoBlock extends EdElement {
|
|
23
33
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promo-block.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/promo-block/promo-block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,2DAA2D,CAAC;AACnE,OAAO,+DAA+D,CAAC;AACvE,OAAO,iEAAiE,CAAC;AACzE,OAAO,2EAA2E,CAAC;AAInF
|
|
1
|
+
{"version":3,"file":"promo-block.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/promo-block/promo-block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,2DAA2D,CAAC;AACnE,OAAO,+DAA+D,CAAC;AACvE,OAAO,iEAAiE,CAAC;AACzE,OAAO,2EAA2E,CAAC;AAInF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,aAAc,SAAQ,SAAS;IAC1C,MAAM,KAAK,MAAM,4BAEhB;IAED,MAAM;CAeP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,aAAa,CAAC;KACnC;CACF"}
|
|
@@ -20,6 +20,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
20
20
|
*
|
|
21
21
|
* @a11y Always provide a descriptive `label` even when using `hideLabel` — the label is visually hidden but remains accessible to screen readers
|
|
22
22
|
* @a11y The `placeholder` is supplementary, not a substitute for the label
|
|
23
|
+
*
|
|
24
|
+
* @anatomy `ed-single-field-form` configured for search: a labelled input, submit, and clear, with search defaults.
|
|
25
|
+
*
|
|
26
|
+
* @related ed-single-field-form — the base it configures
|
|
27
|
+
* @related ed-r-newsletter-signup — the sibling single-field recipe
|
|
28
|
+
* @related ed-search-form — the deprecated component this replaces
|
|
29
|
+
*
|
|
30
|
+
* @content Label names what is searched. Keep button text short. The supported replacement for `ed-search-form`.
|
|
31
|
+
*
|
|
32
|
+
* @state default / focus / with-value (clear shown) / `knockout`.
|
|
23
33
|
*/
|
|
24
34
|
export declare class EdRSearchForm extends EdElement {
|
|
25
35
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-form.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/search-form/search-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,qFAAqF,CAAC;AAM7F
|
|
1
|
+
{"version":3,"file":"search-form.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/search-form/search-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,qFAAqF,CAAC;AAM7F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAAa,aAAc,SAAQ,SAAS;IAC1C,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAY;IAEzB;;OAEG;IAEH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAM;IAEnB;;OAEG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,IAAI,EAAE,MAAM,CAAO;IAEnB;;;OAGG;IAEH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IAEH,UAAU,EAAE,MAAM,CAAY;IAE9B;;OAEG;IAEH,eAAe,EAAE,MAAM,CAAW;IAElC;;OAEG;IAEH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,UAAU;IAIV,MAAM;CAsBP;AAID,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,aAAa,CAAC;KACnC;CACF"}
|
|
@@ -1,22 +1,45 @@
|
|
|
1
1
|
import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdElement';
|
|
2
2
|
/**
|
|
3
|
-
* Site footer recipe
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Site footer recipe: the paved-path composition of `ed-footer` +
|
|
4
|
+
* `ed-layout-container` for a global, full-bleed site footer.
|
|
5
|
+
*
|
|
6
|
+
* This recipe supplies the **chrome**, not the content. It renders the
|
|
7
|
+
* `ed-footer` landmark (a full-bleed knockout band), caps the content width
|
|
8
|
+
* with an `ed-layout-container`, and wraps the navigation region in a labeled
|
|
9
|
+
* `<nav>` landmark. You supply the links, brand, and copyright by slotting
|
|
10
|
+
* real components in — nothing is hardcoded, so the recipe is reusable across
|
|
11
|
+
* every consumer project without forking. The Storybook story demonstrates the
|
|
12
|
+
* canonical composition; copy its shape rather than reading the render source.
|
|
6
13
|
*
|
|
7
|
-
* @use As the default footer for ANY new site or page build — "make a website" assumes the site shell (ed-page › ed-r-site-header + ed-main + ed-r-site-footer) unless the design explicitly opts out
|
|
8
14
|
* @use As the global site footer placed once at the bottom of every page layout
|
|
15
|
+
* @use As the default footer for ANY new site or page build — "make a website" assumes the site shell (ed-page › ed-r-site-header + ed-main + ed-r-site-footer) unless the design explicitly opts out
|
|
9
16
|
* @use Providing persistent secondary navigation (legal, about, contact) and branding at the page bottom
|
|
10
|
-
* @use Displaying a copyright notice with an automatically-updated year
|
|
11
17
|
*
|
|
12
18
|
* @dontuse As a section footer or card footer — this recipe is a full-width, site-level footer intended for the page bottom
|
|
13
19
|
* @dontuse Duplicated on a single page — there should be only one site footer per page
|
|
14
|
-
* @dontuse
|
|
20
|
+
* @dontuse With generic placeholder link text ("Nav Item", "Link", "Click here") — footer links must have descriptive, unique labels
|
|
21
|
+
* @dontuse Without the `knockout` variant on the slotted link list — the footer band is dark, so plain (non-knockout) links fail contrast
|
|
22
|
+
*
|
|
23
|
+
* @slot nav - The footer navigation. Slot an `ed-link-list behavior="horizontal" knockout` of `ed-link-list-item`s. The recipe wraps this region in a labeled `<nav>` landmark for you.
|
|
24
|
+
* @slot logo - The site brand mark. Slot an `ed-logo` (the footer band is dark, so it renders knockout).
|
|
25
|
+
* @slot copyright - The copyright / legal line. Slot a `<p>` with the notice; compute the year in your own template so it stays current.
|
|
26
|
+
* @slot - (default) Escape hatch for any additional footer content that doesn't fit nav / logo / copyright.
|
|
15
27
|
*
|
|
16
28
|
* @a11y The `ed-footer` landmark provides `role="contentinfo"` — do not nest this recipe inside another `<footer>` element, which would create duplicate contentinfo landmarks
|
|
17
|
-
* @a11y
|
|
18
|
-
* @a11y
|
|
19
|
-
* @a11y The
|
|
29
|
+
* @a11y Slotted navigation links must have descriptive, unique text — never ship generic labels like "Nav Item", "Link", or "Click here", which are meaningless to screen-reader users navigating by link
|
|
30
|
+
* @a11y The footer band is a knockout (dark) surface — the slotted `ed-link-list` must use the `knockout` variant so link text meets WCAG AA contrast; do not rely on color alone to signal a link
|
|
31
|
+
* @a11y The navigation slot is wrapped in a `<nav aria-label="Footer">` landmark so screen readers can distinguish footer navigation from other nav regions — keep the slotted content to actual navigation links
|
|
32
|
+
* @a11y Keep footer content inside the recipe's `ed-layout-container` (the recipe does this) so the band is full-bleed but the content stays within the readable measure
|
|
33
|
+
*
|
|
34
|
+
* @anatomy A full-bleed `ed-footer` (knockout band) whose content is capped by an `ed-layout-container`: a labeled `<nav>` (nav slot) + brand (logo slot) + copyright line (copyright slot). Sits as a direct child of `ed-page`.
|
|
35
|
+
*
|
|
36
|
+
* @related ed-footer — the landmark primitive it composes
|
|
37
|
+
* @related ed-r-site-header — its header counterpart
|
|
38
|
+
* @related ed-link-list — slot a horizontal knockout instance into the nav slot
|
|
39
|
+
*
|
|
40
|
+
* @content Slot real, descriptive link labels; keep the copyright row minimal. The recipe owns the structure — you own the words.
|
|
41
|
+
*
|
|
42
|
+
* @state default. One per page, at page bottom.
|
|
20
43
|
*/
|
|
21
44
|
export declare class EdRSiteFooter extends EdElement {
|
|
22
45
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-footer.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/site-footer/site-footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO
|
|
1
|
+
{"version":3,"file":"site-footer.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/site-footer/site-footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO,mFAAmF,CAAC;AAI3F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,aAAc,SAAQ,SAAS;IAC1C,MAAM,KAAK,MAAM,4BAEhB;IAED,MAAM;CAyBP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,aAAa,CAAC;KACnC;CACF"}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { EdElement as
|
|
1
|
+
import { EdElement as o } from "@brad-frost-web/eddie-web-components/components/EdElement";
|
|
2
2
|
import "@brad-frost-web/eddie-web-components/components/footer/footer";
|
|
3
|
-
import "@brad-frost-web/eddie-web-components/components/
|
|
4
|
-
import "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const r = ":root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}.ed-r-site-footer{display:block}.ed-r-site-footer__middle{padding-block-start:4rem;padding-block-end:4rem}.ed-r-site-footer__navigation,.ed-r-site-footer__logo{display:block;margin-block-end:2rem}@media all and (min-width:48rem){.ed-r-site-footer__logo{justify-content:flex-end}}ed-icon-link-list{display:block;margin-block-end:2rem}.ed-r-site-footer__copyright{font-family:var(--ed-theme-typography-body-sm-font-family);font-weight:var(--ed-theme-typography-body-sm-font-weight);font-size:var(--ed-theme-typography-body-sm-font-size);line-height:var(--ed-theme-typography-body-sm-line-height);letter-spacing:var(--ed-theme-typography-body-sm-letter-spacing);text-transform:var(--ed-theme-typography-body-sm-text-transform);margin:0}";
|
|
8
|
-
class s extends t {
|
|
3
|
+
import "@brad-frost-web/eddie-web-components/components/layout-container/layout-container";
|
|
4
|
+
import { unsafeCSS as r, html as t } from "lit";
|
|
5
|
+
const s = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}.ed-r-site-footer{display:block}.ed-r-site-footer__middle{padding-block-start:4rem;padding-block-end:4rem}.ed-r-site-footer__navigation,.ed-r-site-footer__logo{display:block;margin-block-end:2rem}.ed-r-site-footer__copyright{font-family:var(--ed-theme-typography-body-sm-font-family);font-weight:var(--ed-theme-typography-body-sm-font-weight);font-size:var(--ed-theme-typography-body-sm-font-size);line-height:var(--ed-theme-typography-body-sm-line-height);letter-spacing:var(--ed-theme-typography-body-sm-letter-spacing);text-transform:var(--ed-theme-typography-body-sm-text-transform)}.ed-r-site-footer__copyright ::slotted(p){margin:0}';
|
|
6
|
+
class i extends o {
|
|
9
7
|
static get styles() {
|
|
10
|
-
return
|
|
8
|
+
return r(s);
|
|
11
9
|
}
|
|
12
10
|
render() {
|
|
13
11
|
const e = this.componentClassNames("ed-r-site-footer", {});
|
|
14
|
-
return
|
|
12
|
+
return t`
|
|
15
13
|
<ed-footer class="${e}">
|
|
16
14
|
<ed-layout-container class="ed-r-site-footer__layout-container">
|
|
17
15
|
<div class="ed-r-site-footer__middle">
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<
|
|
23
|
-
</
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
${this.slotNotEmpty("nav") && t`<nav class="ed-r-site-footer__navigation" aria-label="Footer">
|
|
17
|
+
<slot name="nav"></slot>
|
|
18
|
+
</nav>`}
|
|
19
|
+
${this.slotNotEmpty("logo") && t`<div class="ed-r-site-footer__logo">
|
|
20
|
+
<slot name="logo"></slot>
|
|
21
|
+
</div>`}
|
|
22
|
+
${this.slotNotEmpty("copyright") && t`<div class="ed-r-site-footer__copyright">
|
|
23
|
+
<slot name="copyright"></slot>
|
|
24
|
+
</div>`}
|
|
25
|
+
<slot></slot>
|
|
26
26
|
</div>
|
|
27
27
|
</ed-layout-container>
|
|
28
28
|
</ed-footer>
|
|
29
29
|
`;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
customElements.get("ed-r-site-footer") === void 0 && customElements.define("ed-r-site-footer",
|
|
32
|
+
customElements.get("ed-r-site-footer") === void 0 && customElements.define("ed-r-site-footer", i);
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
i as EdRSiteFooter
|
|
35
35
|
};
|
|
@@ -19,6 +19,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
19
19
|
* @a11y The mobile menu must not leave `ed-body-is-disabled` on the host element if the user navigates away without closing the menu — clean up scroll-lock state on disconnection
|
|
20
20
|
*
|
|
21
21
|
* @canonicalUsage Use `<ed-r-site-header></ed-r-site-header>` to get the default composition. The recipe ships with placeholder brand text ("Brad Frost Web") and three dummy nav items — those are intended to be replaced, but the recipe source needs to expose slots first (see #637). Until then, forking the recipe is the supported way to customize.
|
|
22
|
+
*
|
|
23
|
+
* @anatomy A site header recipe composing `ed-header` + `ed-logo` + `ed-primary-nav` (+ optional utility nav, search modal, megamenu). Sits as a direct child of `ed-page`.
|
|
24
|
+
*
|
|
25
|
+
* @related ed-header — the landmark primitive it composes
|
|
26
|
+
* @related ed-r-site-footer — its footer counterpart
|
|
27
|
+
* @related ed-r-vertical-site-header — the sidebar variant
|
|
28
|
+
*
|
|
29
|
+
* @content Prefer this over hand-rolling a header. Swap logo/nav data; preserve the composition and slot contracts.
|
|
30
|
+
*
|
|
31
|
+
* @state default. One per page, at page top.
|
|
22
32
|
*/
|
|
23
33
|
export declare class EdRSiteHeader extends EdElement {
|
|
24
34
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-header.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/site-header/site-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO,+DAA+D,CAAC;AACvE,OAAO,2DAA2D,CAAC;AACnE,OAAO,6EAA6E,CAAC;AACrF,OAAO,mFAAmF,CAAC;AAC3F,OAAO,yEAAyE,CAAC;AAKjF
|
|
1
|
+
{"version":3,"file":"site-header.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/site-header/site-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO,+DAA+D,CAAC;AACvE,OAAO,2DAA2D,CAAC;AACnE,OAAO,6EAA6E,CAAC;AACrF,OAAO,mFAAmF,CAAC;AAC3F,OAAO,yEAAyE,CAAC;AAKjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,aAAc,SAAQ,SAAS;IAC1C,MAAM,KAAK,MAAM,4BAEhB;IAGD,QAAQ,CAAC,EAAE,OAAO,CAAC;;IAOnB,YAAY;IASZ,MAAM;CAiCP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,aAAa,CAAC;KACnC;CACF"}
|
|
@@ -32,6 +32,16 @@ type HeadingTag = 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
|
32
32
|
* indicator of meaning — pair with clear wording in the label or
|
|
33
33
|
* meta so color is supplementary, not load-bearing (WCAG 1.4.1).
|
|
34
34
|
*
|
|
35
|
+
*
|
|
36
|
+
* @anatomy A compact KPI tile composing `ed-card` + a large value heading + a label + optional meta/trend text.
|
|
37
|
+
*
|
|
38
|
+
* @related ed-card — the container it composes
|
|
39
|
+
* @related ed-p-app-dashboard — the page that lays several out
|
|
40
|
+
* @related ed-r-project-card — a content-card sibling
|
|
41
|
+
*
|
|
42
|
+
* @content The value is the number; the label names the metric ("Active users"); meta shows change/trend. Keep all three terse.
|
|
43
|
+
*
|
|
44
|
+
* @state default / `variant` (default|positive|warning|danger) for trend tone.
|
|
35
45
|
* @slot - The primary value — typically a large number, currency, or
|
|
36
46
|
* percentage. Plain text is the common case; a short `<span>`
|
|
37
47
|
* or a future `ed-r-sparkline` can nest here.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/stat-card/stat-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,2DAA2D,CAAC;AACnE,OAAO,iEAAiE,CAAC;AACzE,OAAO,2EAA2E,CAAC;AAKnF,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAUnD
|
|
1
|
+
{"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/stat-card/stat-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,2DAA2D,CAAC;AACnE,OAAO,iEAAiE,CAAC;AACzE,OAAO,2EAA2E,CAAC;AAKnF,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAUnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACxC,MAAM,KAAK,MAAM,4BAEhB;IAED;;;;OAIG;IAEH,KAAK,SAAM;IAEX;;OAEG;IAEH,IAAI,SAAM;IAEV;;;OAGG;IAEH,OAAO,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAa;IAEnE;;;;OAIG;IAEH,cAAc,EAAE,UAAU,CAAQ;IAElC,MAAM;CA+BP"}
|
|
@@ -20,6 +20,16 @@ export type TransportSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
|
20
20
|
* @a11y For toggles (record↔recording, play↔playing) `aria-pressed` reflects the current state
|
|
21
21
|
* @a11y The pulsing animation on `recording` is purely visual — the accessible label change to "Stop recording" carries the state for non-sighted users
|
|
22
22
|
* @a11y `prefers-reduced-motion` disables the pulse animation
|
|
23
|
+
*
|
|
24
|
+
* @anatomy A large round media-control button (play/pause/stop) whose icon and label reflect its `mode`; the primary control of a player.
|
|
25
|
+
*
|
|
26
|
+
* @related ed-r-audio-player — the player that composes this
|
|
27
|
+
* @related ed-media-scrubber — the seek control it pairs with
|
|
28
|
+
* @related ed-button — the generic button for non-media actions
|
|
29
|
+
*
|
|
30
|
+
* @content The accessible name reflects the action state ("Play" / "Pause"). Keep `showText` off for a clean control but retain the label for AT.
|
|
31
|
+
*
|
|
32
|
+
* @state mode-driven (play/pause/…) / `disabled` / `pulsing`; `size`.
|
|
23
33
|
*/
|
|
24
34
|
export declare class EdRTransportButton extends EdElement {
|
|
25
35
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport-button.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/transport-button/transport-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAGtF,OAAO,+DAA+D,CAAC;AAGvE,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AACjF,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAkBtD
|
|
1
|
+
{"version":3,"file":"transport-button.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/transport-button/transport-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAGtF,OAAO,+DAA+D,CAAC;AAGvE,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AACjF,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAkBtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,kBAAmB,SAAQ,SAAS;IAC/C,MAAM,KAAK,MAAM,4BAEhB;IAED;;;OAGG;IAEH,IAAI,EAAE,aAAa,CAAU;IAE7B;;OAEG;IAEH,IAAI,EAAE,aAAa,CAAQ;IAE3B;;OAEG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;;;OAIG;IAEH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B,OAAO,CAAC,WAAW,CAOjB;IAEF,MAAM;CA6BP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,uBAAuB,EAAE,kBAAkB,CAAC;KAC7C;CACF"}
|
|
@@ -24,6 +24,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
24
24
|
* @a11y The menu toggle's `aria-expanded` reflects the flyout's open/closed state — keep it in sync if you modify the toggle logic
|
|
25
25
|
* @a11y Mark the current page's nav item with `isHighlighted` so users get a clear "you are here" signal
|
|
26
26
|
* @a11y In the sidebar layout the header appears before `<main>` in the DOM — pair with a skip link so keyboard users can bypass the nav
|
|
27
|
+
*
|
|
28
|
+
* @anatomy A sidebar-style global header: logo + vertical primary nav in a left rail that collapses responsively.
|
|
29
|
+
*
|
|
30
|
+
* @related ed-r-site-header — the horizontal header recipe
|
|
31
|
+
* @related ed-primary-nav — set `orientation="vertical"` for the rail
|
|
32
|
+
* @related ed-p-app-dashboard — the page pattern that uses a left rail
|
|
33
|
+
*
|
|
34
|
+
* @content For app/dashboard shells with a persistent left rail. Keep nav labels short.
|
|
35
|
+
*
|
|
36
|
+
* @state expanded rail / collapsed (responsive).
|
|
27
37
|
*/
|
|
28
38
|
export declare class EdRVerticalSiteHeader extends EdElement {
|
|
29
39
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vertical-site-header.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/vertical-site-header/vertical-site-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO,+DAA+D,CAAC;AACvE,OAAO,2DAA2D,CAAC;AACnE,OAAO,yEAAyE,CAAC;AACjF,OAAO,mFAAmF,CAAC;AAK3F
|
|
1
|
+
{"version":3,"file":"vertical-site-header.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/common/vertical-site-header/vertical-site-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO,+DAA+D,CAAC;AACvE,OAAO,2DAA2D,CAAC;AACnE,OAAO,yEAAyE,CAAC;AACjF,OAAO,mFAAmF,CAAC;AAK3F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,QAAQ,CAAC,EAAE,OAAO,CAAC;;IAOnB,YAAY;IASZ,MAAM;CA+BP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,2BAA2B,EAAE,qBAAqB,CAAC;KACpD;CACF"}
|
|
@@ -33,6 +33,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
33
33
|
*
|
|
34
34
|
* @canonicalUsage Use as a child of a parent that listens for `click` and
|
|
35
35
|
* inserts/uses the template represented by the tile.
|
|
36
|
+
*
|
|
37
|
+
* @anatomy A clickable 16:9 tile in a template picker: a scaled preview of the slide layout plus a name and layout label; shows a selected state.
|
|
38
|
+
*
|
|
39
|
+
* @related ed-card — the generic container this specializes
|
|
40
|
+
* @related ed-r-project-card — another card recipe for content tiles
|
|
41
|
+
* @related ed-grid — lay several template cards out in a picker grid
|
|
42
|
+
*
|
|
43
|
+
* @content The name is the template's short title; the layout label describes structure ("Title + bullets").
|
|
44
|
+
*
|
|
45
|
+
* @state default / hover / `selected`. Behaves as a radio-like choice within a picker.
|
|
36
46
|
*/
|
|
37
47
|
export declare class EdRSlideTemplateCard extends EdElement {
|
|
38
48
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-card.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/eddie-slides/template-card/template-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAKtF
|
|
1
|
+
{"version":3,"file":"template-card.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/eddie-slides/template-card/template-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAKtF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,qBAAa,oBAAqB,SAAQ,SAAS;IACjD,MAAM,KAAK,MAAM,4BAEhB;IAED,8DAA8D;IAE9D,IAAI,SAAM;IAEV,2EAA2E;IAE3E,WAAW,SAAM;IAEjB;;;OAGG;IAEH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,wEAAwE;IAExE,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,wEAAwE;IAExE,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,6BAA6B;IAE7B,QAAQ,UAAS;IAER,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAkB9C,OAAO,KAAK,eAAe,GAI1B;IAED,MAAM;CAeP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,0BAA0B,EAAE,oBAAoB,CAAC;KAClD;CACF"}
|
|
@@ -33,6 +33,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
33
33
|
*
|
|
34
34
|
* @a11y The panel renders with role="dialog" and an aria-label; ESC closes it
|
|
35
35
|
* @a11y Color contrast is the consumer's responsibility once overrides are applied — the Random button uses random values and does not validate against WCAG
|
|
36
|
+
*
|
|
37
|
+
* @anatomy A theme-switching panel: a "Theme" trigger opening controls that live-update CSS custom properties. `position` renders it inline or fixed-overlay.
|
|
38
|
+
*
|
|
39
|
+
* @related ed-drawer / ed-modal — the overlay patterns a fixed customizer resembles
|
|
40
|
+
* @related ed-select-field / ed-range — the controls it composes
|
|
41
|
+
* @related ed-r-site-header — where an inline customizer is often wired
|
|
42
|
+
*
|
|
43
|
+
* @content Label each control by the token group it changes. Development/demo aid — not shipped chrome for end users.
|
|
44
|
+
*
|
|
45
|
+
* @state `position` (inline default vs fixed); open/closed when fixed. See #1152.
|
|
36
46
|
*/
|
|
37
47
|
export declare class EdRThemeCustomizer extends EdElement {
|
|
38
48
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-customizer.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/tools/theme-customizer/theme-customizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO,2DAA2D,CAAC;AA0SnE
|
|
1
|
+
{"version":3,"file":"theme-customizer.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/tools/theme-customizer/theme-customizer.ts"],"names":[],"mappings":"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"}
|
|
@@ -16,6 +16,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
16
16
|
* @a11y The `text` property serves as the accessible name for the checkbox — ensure it is concise and descriptive enough to be understood without the `description`
|
|
17
17
|
* @a11y The checked/unchecked visual state must have sufficient contrast and not rely solely on color — the `--checked` modifier should provide a clear border or background change
|
|
18
18
|
* @a11y Ensure the component fires a `change` event with the current state so form validation and assistive technology can track selection changes
|
|
19
|
+
*
|
|
20
|
+
* @anatomy A large card-style checkbox: a big tappable tile with `text`, `description`, and a checked state — for prominent multi-select (onboarding).
|
|
21
|
+
*
|
|
22
|
+
* @related ed-checkbox-field — the standard grouped checkbox for dense forms
|
|
23
|
+
* @related ed-inline-checkbox — a single standard checkbox
|
|
24
|
+
* @related ed-card — the visual container this echoes
|
|
25
|
+
*
|
|
26
|
+
* @content Title names the option; description is one supporting line. Use when choices deserve prominence, not for long lists.
|
|
27
|
+
*
|
|
28
|
+
* @state unchecked / checked / focus. Group several with a shared `name`.
|
|
19
29
|
*/
|
|
20
30
|
export declare class EdRChunkyCheckbox extends EdElement {
|
|
21
31
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunky-checkbox.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/chunky-checkbox/chunky-checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAKtF
|
|
1
|
+
{"version":3,"file":"chunky-checkbox.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/chunky-checkbox/chunky-checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAKtF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,iBAAkB,SAAQ,SAAS;IAC9C,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,IAAI,EAAG,MAAM,CAAC;IAEd;;OAEG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IAEH,OAAO,UAAS;IAEhB,OAAO,CAAC,YAAY;IASpB,MAAM;CAwBP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,iBAAiB,CAAC;KAC3C;CACF"}
|
|
@@ -23,6 +23,16 @@ interface WahLinkItem {
|
|
|
23
23
|
* @a11y If `headingLinkText` and `headingLinkHref` are provided, the heading-level link must have text that clearly describes its destination (e.g. "View on Last.fm" not "Link")
|
|
24
24
|
* @a11y Featured items receive a visual modifier class — ensure the emphasis is not conveyed by color alone; use font weight, size, or an icon to distinguish featured items for color-blind users
|
|
25
25
|
*
|
|
26
|
+
*
|
|
27
|
+
* @anatomy A link list with optional "featured" items rendered with visual emphasis, plus an optional heading with a "see all" link.
|
|
28
|
+
*
|
|
29
|
+
* @related ed-link-list — the generic link list primitive
|
|
30
|
+
* @related ed-r-wah-site-footer — where this is used
|
|
31
|
+
* @related ed-link-list-item — the underlying item
|
|
32
|
+
*
|
|
33
|
+
* @content Feature only the one or two most important links. Project-specific (we-are-here).
|
|
34
|
+
*
|
|
35
|
+
* @state default; featured vs standard items.
|
|
26
36
|
* @slot - Optional slotted content rendered after the generated list
|
|
27
37
|
*/
|
|
28
38
|
export declare class EdRWahLinkList extends EdElement {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wah-link-list.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/wah-link-list/wah-link-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAKtF,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"wah-link-list.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/wah-link-list/wah-link-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAKtF,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,cAAe,SAAQ,SAAS;IAC3C,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,KAAK,EAAE,WAAW,EAAE,CAAM;IAE1B;;OAEG;IAEH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IAEH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IAEH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,MAAM;CAgCP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,cAAc,CAAC;KACtC;CACF"}
|
|
@@ -16,6 +16,16 @@ import { EdElement } from '@brad-frost-web/eddie-web-components/components/EdEle
|
|
|
16
16
|
* @a11y When `href` is set, the anchor wrapping the SVG inherits the SVG title as its accessible name — if more context is needed, add an `aria-label` on the component or use slotted visually-hidden text
|
|
17
17
|
* @a11y Ensure the concentric circle colors meet WCAG contrast requirements against the surrounding background, especially in dark or high-contrast modes
|
|
18
18
|
*
|
|
19
|
+
*
|
|
20
|
+
* @anatomy The "we are here." concentric-circle SVG mark, optionally linked (`href`) with slotted wordmark text.
|
|
21
|
+
*
|
|
22
|
+
* @related ed-logo — the generic logo component
|
|
23
|
+
* @related ed-r-wah-site-header — where this mark is used
|
|
24
|
+
* @related ed-avatar — for a person rather than a brand
|
|
25
|
+
*
|
|
26
|
+
* @content The `logoTitle` is the brand's accessible name. Project-specific (we-are-here) — not a general logo.
|
|
27
|
+
*
|
|
28
|
+
* @state default / linked. Static brand mark.
|
|
19
29
|
* @slot - Optional slotted content (e.g. wordmark text)
|
|
20
30
|
*/
|
|
21
31
|
export declare class EdRWahLogo extends EdElement {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wah-logo.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/wah-logo/wah-logo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAKtF
|
|
1
|
+
{"version":3,"file":"wah-logo.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/wah-logo/wah-logo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AAKtF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,qBAAa,UAAW,SAAQ,SAAS;IACvC,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAkB;IAEpC,MAAM;CAwBP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,UAAU,CAAC;KAC7B;CACF"}
|
|
@@ -18,6 +18,16 @@ interface WahFooterNavItem {
|
|
|
18
18
|
* @a11y The `<footer>` uses `role="contentinfo"` — do not nest this recipe inside another `<footer>` element, which would create duplicate landmarks
|
|
19
19
|
* @a11y The `<nav>` has `aria-label="Footer"` to distinguish it from the primary navigation — keep this label or update it to remain unique among the page's navigation landmarks
|
|
20
20
|
* @a11y Every `navItems` entry must have descriptive, unique `text` — avoid generic labels like "Link" that are meaningless to screen-reader users navigating by link list
|
|
21
|
+
*
|
|
22
|
+
* @anatomy The "we are here." footer: a `<footer>` landmark with a `<nav>` of link groups from `navItems`.
|
|
23
|
+
*
|
|
24
|
+
* @related ed-footer — the generic footer primitive
|
|
25
|
+
* @related ed-r-site-footer — the general-purpose footer recipe
|
|
26
|
+
* @related ed-r-wah-site-header — its header counterpart
|
|
27
|
+
*
|
|
28
|
+
* @content Project-specific (we-are-here). Swap `navItems`; preserve structure.
|
|
29
|
+
*
|
|
30
|
+
* @state default.
|
|
21
31
|
*/
|
|
22
32
|
export declare class EdRWahSiteFooter extends EdElement {
|
|
23
33
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wah-site-footer.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/wah-site-footer/wah-site-footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,mFAAmF,CAAC;AAK3F,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED
|
|
1
|
+
{"version":3,"file":"wah-site-footer.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/wah-site-footer/wah-site-footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,mFAAmF,CAAC;AAK3F,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,QAAQ,EAAE,gBAAgB,EAAE,CAS1B;IAEF,MAAM;CAuBP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,gBAAgB,CAAC;KAC1C;CACF"}
|
|
@@ -23,6 +23,16 @@ interface WahNavItem {
|
|
|
23
23
|
* @a11y The `<header>` uses `role="banner"` — do not nest this recipe inside another `<header>` element, which would create duplicate banner landmarks
|
|
24
24
|
* @a11y Ensure keyboard users can open, navigate, and close the mobile menu without focus getting trapped — pressing Escape should close the menu and return focus to the toggle button
|
|
25
25
|
* @a11y The active nav item receives a visual modifier class — ensure the active state is not conveyed by color alone; use font weight, underline, or an `aria-current="page"` attribute
|
|
26
|
+
*
|
|
27
|
+
* @anatomy The "we are here." header recipe composing logo + primary nav + utility nav from data props, with an active-item indicator.
|
|
28
|
+
*
|
|
29
|
+
* @related ed-r-site-header — the general-purpose header recipe
|
|
30
|
+
* @related ed-primary-nav / ed-utility-nav — the navs it composes
|
|
31
|
+
* @related ed-r-wah-logo — its brand mark
|
|
32
|
+
*
|
|
33
|
+
* @content Project-specific (we-are-here). Swap the nav-item data; preserve structure.
|
|
34
|
+
*
|
|
35
|
+
* @state `activeNavItem` marks the current section.
|
|
26
36
|
*/
|
|
27
37
|
export declare class EdRWahSiteHeader extends EdElement {
|
|
28
38
|
static get styles(): import('lit').CSSResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wah-site-header.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/wah-site-header/wah-site-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO,mFAAmF,CAAC;AAC3F,OAAO,sBAAsB,CAAC;AAK9B,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED
|
|
1
|
+
{"version":3,"file":"wah-site-header.d.ts","sourceRoot":"","sources":["../../../../../packages/eddie-recipes/recipes/we-are-here/wah-site-header/wah-site-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,+DAA+D,CAAC;AACvE,OAAO,mFAAmF,CAAC;AAC3F,OAAO,sBAAsB,CAAC;AAK9B,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C,MAAM,KAAK,MAAM,4BAEhB;IAED;;OAEG;IAEH,eAAe,EAAE,UAAU,EAAE,CAU3B;IAEF;;OAEG;IAEH,eAAe,EAAE,UAAU,EAAE,CAM3B;IAEF;;OAEG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAgB;IAEjC;;OAEG;IAEH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IAEH,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,UAAU;IAIlB,MAAM;CAiDP;AAMD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,gBAAgB,CAAC;KAC1C;CACF"}
|