@sharadox/sharadox-web-library 0.14.0 → 0.15.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.
package/README.md CHANGED
@@ -33,6 +33,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
33
33
  - hero and its guides, service index, statement, the five service cells and their live visuals
34
34
  - the 3D touchpoint stack, capabilities sheet, process, contact, section indicator, style switch
35
35
  - the Sharadox wrapper around the shared globe, structured data, share image, `llmsText()` for `/llms.txt`
36
+ - `PrivacyPage`: the privacy policy's body (`content/privacy`, written by `@sharadox/privacy-web-library`), at `/<locale>/privacy`, linked from the footer
36
37
  - `License`: the license page's body, rendered from the license's Markdown
37
38
  - `NotFound`: the 404 screen, a giant 404 whose zero is the live globe, with the failed request and the way back (put `ServiceIndex base="/<locale>"` under it)
38
39
  - **Service card buttons:** each card's `actions` (in `content/services`) scroll to the contact form and tick the matching choice (`requestContactNeeds`), which glows for a moment.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,mHAAmH;AACnH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BAqD7D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,mHAAmH;AACnH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BAwD7D"}
@@ -6,6 +6,7 @@ import { LocaleLink } from "@sharadox/internationalization-web-library/locale-li
6
6
  import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-switch";
7
7
  import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
8
8
  import { FOOTER } from "@sharadox/sharadox-web-library/content/footer";
9
+ import { PRIVACY_PAGE } from "@sharadox/sharadox-web-library/content/privacy";
9
10
  import { LICENSE } from "@sharadox/sharadox-web-library/content/license";
10
11
  import { LANGUAGE } from "@sharadox/sharadox-web-library/content/language";
11
12
  import { SECTION } from "@sharadox/sharadox-web-library/content/section";
@@ -19,6 +20,6 @@ import styles from "./index.module.css";
19
20
  /** Columns of links in the grid, the style and language switches, the big gradient wordmark and the legal line. */
20
21
  export function Footer({ locale, path = "" }) {
21
22
  const home = path ? `/${locale}` : "";
22
- 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) }), _jsx("a", { href: `${home}#${SECTION.capabilities.id}`, children: translate(SECTION.capabilities, locale) }), _jsx("a", { href: `${home}#${SECTION.process.id}`, children: translate(SECTION.process, locale) }), _jsx("a", { href: `${home}#${SECTION.contact.id}`, children: translate(SECTION.contact, locale) }), _jsx("a", { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsxs("a", { href: "#top", children: [translate(FOOTER.top, locale), " \u2191"] })] }), _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 })] })] }), _jsx("div", { className: styles.mark, "aria-hidden": true, children: "Sharadox" }), _jsxs("p", { className: `${styles.legal} monospace`, children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] })] }));
23
+ 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) }), _jsx("a", { href: `${home}#${SECTION.capabilities.id}`, children: translate(SECTION.capabilities, locale) }), _jsx("a", { href: `${home}#${SECTION.process.id}`, children: translate(SECTION.process, locale) }), _jsx("a", { href: `${home}#${SECTION.contact.id}`, children: translate(SECTION.contact, locale) }), _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) }), _jsxs("a", { href: "#top", children: [translate(FOOTER.top, locale), " \u2191"] })] }), _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 })] })] }), _jsx("div", { className: styles.mark, "aria-hidden": true, children: "Sharadox" }), _jsxs("p", { className: `${styles.legal} monospace`, children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] })] }));
23
24
  }
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5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MAAM,aAAE,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,eAAO,IAChD,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC7B,aAAI,SAAS,EAAC,WAAW,YAAE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAClE,eAAM,SAAS,EAAE,MAAM,CAAC,SAAS,YAC9B,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9B,KAAC,UAAU,IAAa,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,KAAK,GAAG,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,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,IACpD,IACF,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,8CAErB,EACN,aAAG,SAAS,EAAE,GAAG,MAAM,CAAC,KAAK,YAAY,wBACrC,KAAC,cAAc,IAAC,KAAK,EAAE,OAAO,GAAI,OAAE,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,IAC1F,IACG,CACV,CAAC;AACJ,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { PrivacyPageProperties } from "@sharadox/sharadox-web-library/component/privacy-page/type";
2
+ /** The privacy policy page's body, in the grid frame: eyebrow, title, then the policy set for reading. */
3
+ export declare function PrivacyPage({ locale }: PrivacyPageProperties): import("react").JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/privacy-page/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG,0GAA0G;AAC1G,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,EAAE,qBAAqB,+BAS5D"}
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { translate } from "@sharadox/internationalization-web-library/translate";
3
+ import { privacyPolicy } from "@sharadox/privacy-web-library/privacy-policy";
4
+ import { PrivacyPolicyView } from "@sharadox/privacy-web-library/privacy-policy-view";
5
+ import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
6
+ import { Section } from "@sharadox/sharadox-web-library/component/section";
7
+ import { PRIVACY, PRIVACY_PAGE } from "@sharadox/sharadox-web-library/content/privacy";
8
+ import styles from "./index.module.css";
9
+ /** The privacy policy page's body, in the grid frame: eyebrow, title, then the policy set for reading. */
10
+ export function PrivacyPage({ locale }) {
11
+ const policy = privacyPolicy(PRIVACY, locale);
12
+ return (_jsxs(Section, { className: styles.page, children: [_jsx(Eyebrow, { children: translate(PRIVACY_PAGE.eyebrow, locale) }), _jsx("h1", { className: styles.title, children: policy.title }), _jsx(PrivacyPolicyView, { policy: policy, className: styles.text })] }));
13
+ }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/privacy-page/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AACtF,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,0GAA0G;AAC1G,MAAM,UAAU,WAAW,CAAC,EAAE,MAAM,EAAyB;IAC3D,MAAM,MAAM,GAAG,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC9C,OAAO,CACL,MAAC,OAAO,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,aAC7B,KAAC,OAAO,cAAE,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,GAAW,EAC5D,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,MAAM,CAAC,KAAK,GAAM,EAChD,KAAC,iBAAiB,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IACrD,CACX,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .page{padding-top:clamp(140px,16vw,200px)}.title{margin:28px 0 0;font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-0.03em}.text{max-width:72ch;margin-top:12px;color:var(--foreground-2);line-height:1.7}.text small{font-family:var(--monospace);font-size:12px}.text h2{margin:56px 0 14px;padding-top:28px;color:var(--foreground);font-size:clamp(20px,2.4vw,26px);letter-spacing:-0.01em;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.text p,.text ul{margin:0 0 16px}.text ul{padding-left:22px}.text li{margin-bottom:8px}
@@ -0,0 +1,39 @@
1
+ @use "style/token" as *;
2
+
3
+ .page {
4
+ padding-top: clamp(140px, 16vw, 200px);
5
+ }
6
+ .title {
7
+ margin: 28px 0 0;
8
+ font-size: clamp(36px, 6vw, 64px);
9
+ line-height: 1.05;
10
+ letter-spacing: -0.03em;
11
+ }
12
+ .text {
13
+ max-width: 72ch;
14
+ margin-top: 12px;
15
+ color: var(--foreground-2);
16
+ line-height: 1.7;
17
+ small {
18
+ font-family: var(--monospace);
19
+ font-size: 12px;
20
+ }
21
+ h2 {
22
+ margin: 56px 0 14px;
23
+ padding-top: 28px;
24
+ color: var(--foreground);
25
+ font-size: clamp(20px, 2.4vw, 26px);
26
+ letter-spacing: -0.01em;
27
+ @include dashed(horizontal);
28
+ }
29
+ p,
30
+ ul {
31
+ margin: 0 0 16px;
32
+ }
33
+ ul {
34
+ padding-left: 22px;
35
+ }
36
+ li {
37
+ margin-bottom: 8px;
38
+ }
39
+ }
@@ -0,0 +1,5 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
+ export interface PrivacyPageProperties {
3
+ locale: Locale;
4
+ }
5
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/privacy-page/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/privacy-page/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ import type { PrivacyOptions } from "@sharadox/privacy-web-library/privacy-policy/type";
2
+ /** The privacy policy page: its path after the locale, title and description. */
3
+ export declare const PRIVACY_PAGE: {
4
+ readonly path: "/privacy";
5
+ readonly title: {
6
+ readonly en: "Privacy Policy";
7
+ readonly pt: "Política de Privacidade";
8
+ };
9
+ readonly eyebrow: {
10
+ readonly en: "Your data";
11
+ readonly pt: "Os seus dados";
12
+ };
13
+ readonly description: {
14
+ readonly en: "What sharadox.com collects, why, who handles it, and your rights.";
15
+ readonly pt: "O que o sharadox.com recolhe, porquê, quem o trata, e os seus direitos.";
16
+ };
17
+ };
18
+ /**
19
+ * What sharadox.com really collects and who handles it: the contact form, and the language and style it remembers.
20
+ * Change it whenever any of that changes, and move `updated` to that day. The registered name, tax number and full
21
+ * address of the business belong in `controller` once confirmed.
22
+ */
23
+ export declare const PRIVACY: PrivacyOptions;
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/privacy/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AAGxF,iFAAiF;AACjF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;CAQf,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,cAyCrB,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { SITE } from "@sharadox/sharadox-web-library/content/site";
2
+ /** The privacy policy page: its path after the locale, title and description. */
3
+ export const PRIVACY_PAGE = {
4
+ path: "/privacy",
5
+ title: { en: "Privacy Policy", pt: "Política de Privacidade" },
6
+ eyebrow: { en: "Your data", pt: "Os seus dados" },
7
+ description: {
8
+ en: "What sharadox.com collects, why, who handles it, and your rights.",
9
+ pt: "O que o sharadox.com recolhe, porquê, quem o trata, e os seus direitos.",
10
+ },
11
+ };
12
+ /**
13
+ * What sharadox.com really collects and who handles it: the contact form, and the language and style it remembers.
14
+ * Change it whenever any of that changes, and move `updated` to that day. The registered name, tax number and full
15
+ * address of the business belong in `controller` once confirmed.
16
+ */
17
+ export const PRIVACY = {
18
+ controller: {
19
+ name: SITE.name,
20
+ address: "Algarve, Portugal",
21
+ email: SITE.email,
22
+ website: SITE.url,
23
+ },
24
+ updated: "2026-11-13",
25
+ contactForm: {
26
+ fields: [
27
+ { en: "your name", pt: "o seu nome" },
28
+ { en: "company", pt: "empresa" },
29
+ { en: "email", pt: "email" },
30
+ { en: "what you need", pt: "o que precisa" },
31
+ { en: "your message", pt: "a sua mensagem" },
32
+ ],
33
+ },
34
+ remembered: [
35
+ { en: "the language you chose", pt: "o idioma que escolheu" },
36
+ { en: "the style you chose", pt: "o estilo que escolheu" },
37
+ ],
38
+ recipients: [
39
+ {
40
+ name: "Vercel",
41
+ purpose: { en: "hosts the website", pt: "aloja o website" },
42
+ location: { en: "United States", pt: "Estados Unidos" },
43
+ },
44
+ {
45
+ name: "Amazon Web Services",
46
+ purpose: { en: "sends the form's messages by email", pt: "envia as mensagens do formulário por email" },
47
+ location: { en: "United States", pt: "Estados Unidos" },
48
+ },
49
+ {
50
+ name: "Proton",
51
+ purpose: {
52
+ en: "hosts the mailbox the messages arrive in",
53
+ pt: "aloja a caixa de correio onde chegam as mensagens",
54
+ },
55
+ location: { en: "Switzerland", pt: "Suíça" },
56
+ },
57
+ ],
58
+ };
59
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/privacy/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AAEnE,iFAAiF;AACjF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,EAAE,EAAE,yBAAyB,EAAE;IAC9D,OAAO,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,eAAe,EAAE;IACjD,WAAW,EAAE;QACX,EAAE,EAAE,mEAAmE;QACvE,EAAE,EAAE,yEAAyE;KAC9E;CACO,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAmB;IACrC,UAAU,EAAE;QACV,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,OAAO,EAAE,mBAAmB;QAC5B,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,OAAO,EAAE,IAAI,CAAC,GAAG;KAClB;IACD,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE;QACX,MAAM,EAAE;YACN,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE;YACrC,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE;YAChC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE;YAC5B,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,eAAe,EAAE;YAC5C,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,gBAAgB,EAAE;SAC7C;KACF;IACD,UAAU,EAAE;QACV,EAAE,EAAE,EAAE,wBAAwB,EAAE,EAAE,EAAE,uBAAuB,EAAE;QAC7D,EAAE,EAAE,EAAE,qBAAqB,EAAE,EAAE,EAAE,uBAAuB,EAAE;KAC3D;IACD,UAAU,EAAE;QACV;YACE,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE,iBAAiB,EAAE;YAC3D,QAAQ,EAAE,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,gBAAgB,EAAE;SACxD;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,OAAO,EAAE,EAAE,EAAE,EAAE,oCAAoC,EAAE,EAAE,EAAE,4CAA4C,EAAE;YACvG,QAAQ,EAAE,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,gBAAgB,EAAE;SACxD;QACD;YACE,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,EAAE,EAAE,0CAA0C;gBAC9C,EAAE,EAAE,mDAAmD;aACxD;YACD,QAAQ,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,OAAO,EAAE;SAC7C;KACF;CACF,CAAC"}
package/llms.txt CHANGED
@@ -16,3 +16,4 @@
16
16
  - Service card actions: SERVICES.items[].actions [{ need, label }] render as ServiceActions (component/service-action) linking to #contact and calling requestContactNeeds (utility/contact-need, window event CONTACT_NEED_EVENT); ContactForm ticks the chips with a glow. Contact choices: website, platform, mobile-app, brand-identity, social-media, marketing-campaign, other
17
17
  - content/site FOUNDED 2026; the footer's copyright years come from CopyrightYears (@sharadox/time-web-library): "2026", then "2026–<current year>" as years pass
18
18
  - utility/llms-text llmsText() → sharadox.com's llms.txt (shared shape from @sharadox/metadata-web-library). The cookie panel was removed in 0.14.0: the site stores only what it needs (language, style), which needs no consent.
19
+ - content/privacy PRIVACY (privacy-web-library options) and PRIVACY_PAGE { path "/privacy", title, eyebrow, description }; component/privacy-page PrivacyPage({ locale }); the footer links it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/sharadox-web-library",
3
- "version": "0.14.0",
3
+ "version": "0.15.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",
@@ -60,6 +60,7 @@
60
60
  "@sharadox/internationalization-web-library": "^0.2.3",
61
61
  "@sharadox/metadata-web-library": "^0.2.0",
62
62
  "@sharadox/pointer-web-library": "^0.1.0",
63
+ "@sharadox/privacy-web-library": "^0.1.1",
63
64
  "@sharadox/scroll-web-library": "^0.2.0",
64
65
  "@sharadox/style-web-library": "^0.2.0",
65
66
  "@sharadox/time-web-library": "^0.2.0",