@sharadox/sharadox-web-library 0.22.0 → 0.23.0

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.
@@ -1,8 +1,8 @@
1
1
  import type { FooterProperties } from "@sharadox/sharadox-web-library/component/footer/type";
2
2
  /**
3
- * The footer, in the grid frame: the brand (slogan, email), the services, the studio's sections with Start a Project,
4
- * and the language and style; then everything legal in one row on the same columns: the copyright, the links (license,
5
- * privacy, cookie preferences, Portugal's complaints book) with the consumer dispute notice, and the way back up.
3
+ * The footer, in the grid frame, in four columns: the brand (slogan, email) with everything legal under it (the links:
4
+ * license, privacy, cookie preferences, Portugal's complaints book; the consumer dispute notice; the copyright), the
5
+ * services, the studio's sections with Start a Project, and the language and style with the way back up.
6
6
  */
7
7
  export declare function Footer({ locale, path }: FooterProperties): import("react").JSX.Element;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BA+E7D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BA4E7D"}
@@ -26,13 +26,13 @@ import { FOUNDED, SITE } from "@sharadox/sharadox-web-library/content/site";
26
26
  import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
27
27
  import styles from "./index.module.css";
28
28
  /**
29
- * The footer, in the grid frame: the brand (slogan, email), the services, the studio's sections with Start a Project,
30
- * and the language and style; then everything legal in one row on the same columns: the copyright, the links (license,
31
- * privacy, cookie preferences, Portugal's complaints book) with the consumer dispute notice, and the way back up.
29
+ * The footer, in the grid frame, in four columns: the brand (slogan, email) with everything legal under it (the links:
30
+ * license, privacy, cookie preferences, Portugal's complaints book; the consumer dispute notice; the copyright), the
31
+ * services, the studio's sections with Start a Project, and the language and style with the way back up.
32
32
  */
33
33
  export function Footer({ locale, path = "" }) {
34
34
  const home = path ? `/${locale}` : "";
35
35
  const studio = [SECTION.touchpoints, SECTION.capabilities, SECTION.process, SECTION.contact];
36
- return (_jsxs("footer", { className: styles.footer, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("div", { className: styles.columns, children: [_jsxs("div", { className: styles.brand, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("p", { className: styles.slogan, children: translate(SLOGAN, locale) }), _jsx("a", { href: `mailto:${SITE.email}`, className: styles.email, children: SITE.email })] }), _jsxs("nav", { "aria-label": translate(SECTION.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(SECTION.services, locale) }), SERVICES.items.map((service) => (_jsx("a", { href: `${home}#${service.key}`, children: translate(service.title, locale) }, service.key)))] }), _jsxs("nav", { "aria-label": translate(FOOTER.studio, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.studio, locale) }), studio.map((section) => (_jsx("a", { href: `${home}#${section.id}`, children: translate(section, locale) }, section.id))), _jsx(Button, { href: `${home}#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.start, children: translate(ACTION.startProject, locale) })] }), _jsxs("div", { className: styles.settings, children: [_jsx("h2", { className: "monospace", children: translate(LANGUAGE.label, locale) }), _jsx("span", { className: styles.languages, children: LOCALES.locales.map((other) => (_jsx(LocaleLink, { locale: other, href: `/${other}${path}`, current: other === locale, children: LANGUAGE.names[other] }, other))) }), _jsx("h2", { className: "monospace", children: translate(STYLE.label, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.style })] })] }), _jsxs("div", { className: styles.legal, children: [_jsxs("p", { className: `monospace ${styles.copyright}`, children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] }), _jsxs("div", { className: styles.legalLinks, children: [_jsxs("nav", { "aria-label": translate(FOOTER.legal, locale), className: styles.links, children: [_jsx("a", { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsx("a", { href: `/${locale}${PRIVACY_PAGE.path}`, "aria-current": path === PRIVACY_PAGE.path ? "page" : undefined, children: translate(PRIVACY_PAGE.title, locale) }), _jsx(PreferencesLink, { label: translate(CONSENT.preferences, locale) }), _jsx(ComplaintsBookLink, { locale: locale })] }), _jsx("p", { className: styles.disputes, children: _jsx(DisputeNotice, { center: DISPUTE_RESOLUTION_CENTERS.algarve, locale: locale }) })] }), _jsx("div", { className: styles.back, children: _jsxs("a", { href: "#top", className: styles.top, children: [translate(FOOTER.top, locale), _jsx("span", { className: styles.circle, "aria-hidden": true, children: _jsx(Icon, { name: "chevron-up", strokeWidth: 1.8 }) })] }) })] })] }));
36
+ return (_jsxs("footer", { className: styles.footer, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("div", { className: styles.columns, children: [_jsxs("div", { className: styles.brand, children: [_jsxs("div", { className: styles.identity, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("p", { className: styles.slogan, children: translate(SLOGAN, locale) }), _jsx("a", { href: `mailto:${SITE.email}`, className: styles.email, children: SITE.email })] }), _jsxs("div", { className: styles.legal, children: [_jsxs("nav", { "aria-label": translate(FOOTER.legal, locale), className: styles.links, children: [_jsx("a", { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsx("a", { href: `/${locale}${PRIVACY_PAGE.path}`, "aria-current": path === PRIVACY_PAGE.path ? "page" : undefined, children: translate(PRIVACY_PAGE.title, locale) }), _jsx(PreferencesLink, { label: translate(CONSENT.preferences, locale) }), _jsx(ComplaintsBookLink, { locale: locale })] }), _jsx("p", { className: styles.disputes, children: _jsx(DisputeNotice, { center: DISPUTE_RESOLUTION_CENTERS.algarve, locale: locale }) }), _jsxs("p", { className: `monospace ${styles.copyright}`, children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] })] })] }), _jsxs("nav", { "aria-label": translate(SECTION.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(SECTION.services, locale) }), SERVICES.items.map((service) => (_jsx("a", { href: `${home}#${service.key}`, children: translate(service.title, locale) }, service.key)))] }), _jsxs("nav", { "aria-label": translate(FOOTER.studio, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.studio, locale) }), studio.map((section) => (_jsx("a", { href: `${home}#${section.id}`, children: translate(section, locale) }, section.id))), _jsx(Button, { href: `${home}#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.start, children: translate(ACTION.startProject, locale) })] }), _jsxs("div", { className: styles.settings, children: [_jsx("h2", { className: "monospace", children: translate(LANGUAGE.label, locale) }), _jsx("span", { className: styles.languages, children: LOCALES.locales.map((other) => (_jsx(LocaleLink, { locale: other, href: `/${other}${path}`, current: other === locale, children: LANGUAGE.names[other] }, other))) }), _jsx("h2", { className: "monospace", children: translate(STYLE.label, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsxs("a", { href: "#top", className: styles.top, children: [translate(FOOTER.top, locale), _jsx("span", { className: styles.circle, "aria-hidden": true, children: _jsx(Icon, { name: "chevron-up", strokeWidth: 1.8 }) })] })] })] })] }));
37
37
  }
38
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,Q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K,KAAK,MAAM,YACvF,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,IADP,KAAK,CAET,CACd,CAAC,GACG,EACP,aAAI,SAAS,EAAC,WAAW,YAAE,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAC/D,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACxD,aAAG,IAAI,EAAC,MAAM,EAAC,SAAS,EAAE,MAAM,CAAC,GAAG,aACjC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,EAC9B,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,iCAC5B,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,WAAW,EAAE,GAAG,GAAI,GACvC,IACL,IACA,IACF,IACC,CACV,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .footer{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{position:relative;display:grid;align-content:start;gap:10px;padding:36px var(--padding) 40px;font-size:14px;color:var(--foreground-2)}.columns>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.columns h2{margin-bottom:6px;font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.columns a{width:fit-content}.columns a:not(.start){transition:color .2s}.columns a:not(.start):hover{color:var(--foreground)}@media(max-width: 900px){.columns{grid-template-columns:1fr 1fr}.columns>*:nth-child(2n)::after{display:none}.columns>*:nth-child(-n+2){border-bottom:1px dashed var(--line-2)}}@media(max-width: 520px){.columns{grid-template-columns:1fr}.columns>*::after{display:none}.columns>*:not(:last-child){border-bottom:1px dashed var(--line-2)}}.brand{gap:14px !important}.brand>a:first-child{color:var(--foreground)}.slogan{color:var(--foreground);font-size:1.05rem;font-weight:500;letter-spacing:-0.03em;max-width:24ch}.email{color:var(--foreground-2)}.languages{display:grid;gap:10px}.languages a[aria-current]{color:var(--foreground)}.style{width:fit-content}.settings h2:not(:first-child){margin-top:18px}.start{margin-top:10px}.legal{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line);font-size:13px;color:var(--foreground-2)}.legal>*{position:relative;display:grid;align-content:start;gap:12px;padding:28px var(--padding) 32px}.legal>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}@media(max-width: 900px){.legal{grid-template-columns:1fr 1fr}.legal .legalLinks{grid-column:1/-1;grid-row:1;border-bottom:1px dashed var(--line-2)}.legal .legalLinks::after{display:none}}@media(max-width: 520px){.legal{grid-template-columns:1fr}.legal>*::after{display:none}.legal .copyright{border-bottom:1px dashed var(--line-2)}}.legalLinks{grid-column:span 2}.legal>.back{padding-top:22px}.legal>.copyright{display:block}.copyright{font-size:12px;color:var(--foreground-3)}.links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}.links a,.links [data-preferences-link]{padding:0;border:0;background:none;font:inherit;color:var(--foreground-2);text-align:left;transition:color .2s}.links a:hover,.links [data-preferences-link]:hover,.links a[aria-current]{color:var(--foreground)}@media(max-width: 640px){.links{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}}.disputes{max-width:72ch;font-size:12px;line-height:1.6;color:var(--foreground-3);text-wrap:pretty}.disputes a{color:var(--foreground-2);transition:color .2s}.disputes a:hover{color:var(--foreground)}.top{display:inline-flex;align-items:center;width:fit-content;gap:10px;color:var(--foreground-2);transition:color .2s}.top:hover{color:var(--foreground)}.top:hover .circle{border-color:var(--foreground);transform:translateY(-2px)}.circle{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;transition:border-color .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
1
+ .footer{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{position:relative;display:grid;align-content:start;gap:10px;padding:36px var(--padding) 40px;font-size:14px;color:var(--foreground-2)}.columns>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.columns h2{margin-bottom:6px;font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.columns a{width:fit-content}.columns a:not(.start){transition:color .2s}.columns a:not(.start):hover{color:var(--foreground)}@media(max-width: 900px){.columns{grid-template-columns:1fr 1fr}.columns>*:nth-child(2n)::after{display:none}.columns>*:nth-child(-n+2){border-bottom:1px dashed var(--line-2)}}@media(max-width: 520px){.columns{grid-template-columns:1fr}.columns>*::after{display:none}.columns>*:not(:last-child){border-bottom:1px dashed var(--line-2)}}.brand{display:flex !important;flex-direction:column;gap:36px !important}.identity{display:grid;gap:14px}.identity>a:first-child{color:var(--foreground)}.legal{position:relative;display:grid;gap:14px;margin-top:auto;padding-top:24px;font-size:13px}.legal::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.slogan{color:var(--foreground);font-size:1.05rem;font-weight:500;letter-spacing:-0.03em;max-width:24ch}.email{color:var(--foreground-2)}.languages{display:grid;gap:10px}.languages a[aria-current]{color:var(--foreground)}.style{width:fit-content}.settings{display:flex !important;flex-direction:column;align-items:flex-start}.settings h2:not(:first-child){margin-top:18px}.start{margin-top:10px}.copyright{font-size:12px;color:var(--foreground-3)}.links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}.links a,.links [data-preferences-link]{padding:0;border:0;background:none;font:inherit;color:var(--foreground-2);text-align:left;transition:color .2s}.links a:hover,.links [data-preferences-link]:hover,.links a[aria-current]{color:var(--foreground)}@media(max-width: 640px){.links{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}}.disputes{max-width:72ch;font-size:12px;line-height:1.6;color:var(--foreground-3);text-wrap:pretty}.disputes a{color:var(--foreground-2);transition:color .2s}.disputes a:hover{color:var(--foreground)}.top{display:inline-flex;align-items:center;width:fit-content;gap:10px;margin-top:auto;padding-top:32px;color:var(--foreground-2);transition:color .2s}.top:hover{color:var(--foreground)}.top:hover .circle{border-color:var(--foreground);transform:translateY(-2px)}.circle{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;transition:border-color .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
@@ -65,12 +65,37 @@
65
65
  }
66
66
  }
67
67
  }
68
+ /* The brand on top, everything legal at the bottom: the two ends of the column line up with the other columns' tops
69
+ and the way back up. */
68
70
  .brand {
69
- gap: 14px !important;
71
+ display: flex !important;
72
+ flex-direction: column;
73
+ gap: 36px !important;
74
+ }
75
+ .identity {
76
+ display: grid;
77
+ gap: 14px;
70
78
  > a:first-child {
71
79
  color: var(--foreground);
72
80
  }
73
81
  }
82
+ .legal {
83
+ position: relative;
84
+ display: grid;
85
+ gap: 14px;
86
+ margin-top: auto;
87
+ padding-top: 24px;
88
+ font-size: 13px;
89
+ &::before {
90
+ content: "";
91
+ position: absolute;
92
+ left: 0;
93
+ right: 0;
94
+ top: 0;
95
+ height: 1px;
96
+ @include dashed(horizontal);
97
+ }
98
+ }
74
99
  .slogan {
75
100
  color: var(--foreground);
76
101
  font-size: 1.05rem;
@@ -91,67 +116,17 @@
91
116
  .style {
92
117
  width: fit-content;
93
118
  }
94
- .settings h2:not(:first-child) {
95
- margin-top: 18px;
119
+ .settings {
120
+ display: flex !important;
121
+ flex-direction: column;
122
+ align-items: flex-start;
123
+ h2:not(:first-child) {
124
+ margin-top: 18px;
125
+ }
96
126
  }
97
127
  .start {
98
128
  margin-top: 10px;
99
129
  }
100
- /* Everything legal in one row on the columns above (the same widths, dividers and padding), so every line meets. */
101
- .legal {
102
- display: grid;
103
- grid-template-columns: 1.6fr 1fr 1fr 1fr;
104
- border-bottom: 1px solid var(--line);
105
- font-size: 13px;
106
- color: var(--foreground-2);
107
- > * {
108
- position: relative;
109
- display: grid;
110
- align-content: start;
111
- gap: 12px;
112
- padding: 28px var(--padding) 32px;
113
- }
114
- > *:not(:last-child)::after {
115
- content: "";
116
- position: absolute;
117
- top: 0;
118
- bottom: 0;
119
- right: 0;
120
- width: 1px;
121
- @include dashed(vertical);
122
- }
123
- @include below(900px) {
124
- grid-template-columns: 1fr 1fr;
125
- .legalLinks {
126
- grid-column: 1 / -1;
127
- grid-row: 1;
128
- border-bottom: 1px dashed var(--line-2);
129
- &::after {
130
- display: none;
131
- }
132
- }
133
- }
134
- @include below(520px) {
135
- grid-template-columns: 1fr;
136
- > *::after {
137
- display: none;
138
- }
139
- .copyright {
140
- border-bottom: 1px dashed var(--line-2);
141
- }
142
- }
143
- }
144
- .legalLinks {
145
- grid-column: span 2;
146
- }
147
- /* The circle is taller than a line of text: start it higher, so its words sit on the row's first line. */
148
- .legal > .back {
149
- padding-top: 22px;
150
- }
151
- /* One line of text, not a grid of its pieces. */
152
- .legal > .copyright {
153
- display: block;
154
- }
155
130
  .copyright {
156
131
  font-size: 12px;
157
132
  color: var(--foreground-3);
@@ -197,11 +172,14 @@
197
172
  color: var(--foreground);
198
173
  }
199
174
  }
175
+ /* Under the style switch, at the foot of the column, level with the copyright. */
200
176
  .top {
201
177
  display: inline-flex;
202
178
  align-items: center;
203
179
  width: fit-content;
204
180
  gap: 10px;
181
+ margin-top: auto;
182
+ padding-top: 32px;
205
183
  color: var(--foreground-2);
206
184
  transition: color 0.2s;
207
185
  &:hover {
package/llms.txt CHANGED
@@ -25,3 +25,4 @@
25
25
  - 0.20.1: same as 0.20.0, published again (0.20.0's npm publish failed at the provenance log)
26
26
  - 0.21.0: Services: Web Applications adds Content Management Systems (CMS) and APIs; Mobile Applications becomes Desktop and Mobile Applications with one PWA card (wide, numbered points: no store in between, one codebase for every platform, less to pay and wait; its object sends one codebase to a computer, a tablet and a phone); Creative becomes Creative Services with plain-language descriptions of branding, branding design and rebranding; Marketing becomes Marketing Campaigns; a new social media object (feed, likes, posting calendar, followers chart); new CMS and API objects; ServiceUnlisted ("Didn't find what you were looking for?", ticks "not-listed"). Contact form: phone field under email (email or phone or both), chips "I don't know what I need" and "What I need is not listed" replace "Others", checks before sending (utility/contact-problem: name, email or phone, a choice, 20+ characters) with messages under each field; sendContact applies the same rules (form-web-library 0.3.0: requireChoice, minimumMessageLength) and the daily cap of 50 emails. Footer: the legal row sits on the same columns as above (copyright, links and dispute notice, Back to top), without the Legal label or dots. Organization logo is /profile-picture.png
27
27
  - 0.22.0: Creative Services adds Print Design (business cards, flyers, brochures, menus, posters, stickers; object: a business card flipping off its stack in front of a flyer) and Merchandise (T-shirts, hoodies, caps, bottles, mugs, tote bags; object: a branded T-shirt beside a turning bottle), each with its contact choice; 16 cards in all
28
+ - 0.23.0: footer in four columns only: the legal links, the consumer dispute notice and the copyright sit under the brand (behind a dashed line, at the foot of the column), and Back to top under the style switch, level with the copyright; the separate legal row is gone
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/sharadox-web-library",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "Sharadox's own website building blocks: content, components, brand and actions for sharadox-web-application, plus the preview notice and agency credit used on client demos.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENCA.md",