@sharadox/sharadox-web-library 0.54.8-development.160 → 0.54.9-interface-refinement.162
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/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/distribution/component/privacy-page/index.d.ts +8 -2
- package/distribution/component/privacy-page/index.d.ts.map +1 -1
- package/distribution/component/privacy-page/index.js +9 -3
- package/distribution/component/privacy-page/index.js.map +1 -1
- package/distribution/component/privacy-page/type.d.ts +3 -1
- package/distribution/component/privacy-page/type.d.ts.map +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
What changed in each version of `@sharadox/sharadox-web-library`, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.54.9
|
|
6
|
+
|
|
7
|
+
PrivacyPage takes remembered: what else a site of the family keeps in the browser.
|
|
8
|
+
|
|
5
9
|
## 0.54.8
|
|
6
10
|
|
|
7
11
|
Headings are back in sentence case (the slogan, page and section titles, questions, project chapters); buttons, menus and labels stay in Title Case.
|
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
37
37
|
- capabilities sheet (headed by the same `ServiceShortcut`s as under the hero, which stay in view under the bar, and shorter columns run on in empty ruled cells; with what's always included under it), `Faq` (questions that open to their answers, native `details`, with their FAQPage structured data), process (each dot lights as the line reaches it, measured by `process/measure-stops`), contact (the invitation and the direct email over a wide form: the visitor's details, the message and Send on the left, the choices on the right), section indicator (in the margin right of the frame: the rail along the line, ticks and numbers out from it, names to the right, ending at the window's edge when there isn't room; nothing shifts when the section changes; ticks only where the margin is narrow), style switch
|
|
38
38
|
- `Consent`, the Sharadox cookie panel (reopened by the footer's Cookie Preferences), and the footer's legal parts: Portugal's complaints book and the Algarve's consumer dispute notice (CIMAAL)
|
|
39
39
|
- the Sharadox wrapper around the shared globe, structured data, share image, `renderSocialImage()` (images to post on social media: the mark on black, landscape and portrait, alone or with the hero's three lines; the application serves them at `/<locale>/social/<name>`), `llmsText()` for `/llms.txt`
|
|
40
|
-
- `PrivacyPage`: the privacy policy's body (`content/privacy`, written by `@sharadox/privacy-web-library`), at `/<locale>/privacy`, linked from the footer
|
|
40
|
+
- `PrivacyPage`: the privacy policy's body (`content/privacy`, written by `@sharadox/privacy-web-library`), at `/<locale>/privacy`, linked from the footer; `remembered` adds what else a site of the family keeps in the browser
|
|
41
41
|
- `License`: the license page's body, rendered from the license's Markdown
|
|
42
42
|
- `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)
|
|
43
43
|
- **Service card buttons:** each card's button scrolls to the contact form and ticks that card's choice (`requestContactNeeds`, the card's `key` in `content/services`), which glows for a moment. The form's choices come from the same cards, grouped like the services, then Something Else ("I don't know what I need", "What I need is not listed", which the invitation after the services ticks).
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { PrivacyPageProperties } from "@sharadox/sharadox-web-library/component/privacy-page/type";
|
|
2
|
-
/**
|
|
3
|
-
|
|
2
|
+
/**
|
|
3
|
+
* The privacy policy page's body, in the grid frame: eyebrow, title, then the policy set for reading. A site of the
|
|
4
|
+
* family that keeps more in the browser lists it in `remembered`.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <PrivacyPage locale="en" remembered={[{ en: "the options you chose", pt: "as opções que escolheu" }]} />
|
|
8
|
+
*/
|
|
9
|
+
export declare function PrivacyPage({ locale, remembered }: PrivacyPageProperties): import("react").JSX.Element;
|
|
4
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,UAAe,EAAE,EAAE,qBAAqB,+BAS7E"}
|
|
@@ -6,9 +6,15 @@ import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
|
|
|
6
6
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
7
7
|
import { PRIVACY, PRIVACY_PAGE } from "@sharadox/sharadox-web-library/content/privacy";
|
|
8
8
|
import styles from "./index.module.css";
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
/**
|
|
10
|
+
* The privacy policy page's body, in the grid frame: eyebrow, title, then the policy set for reading. A site of the
|
|
11
|
+
* family that keeps more in the browser lists it in `remembered`.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* <PrivacyPage locale="en" remembered={[{ en: "the options you chose", pt: "as opções que escolheu" }]} />
|
|
15
|
+
*/
|
|
16
|
+
export function PrivacyPage({ locale, remembered = [] }) {
|
|
17
|
+
const policy = privacyPolicy({ ...PRIVACY, remembered: [...PRIVACY.remembered, ...remembered] }, locale);
|
|
12
18
|
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
19
|
}
|
|
14
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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;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EAAE,MAAM,CAAC,IAAI,GAAI,IACrD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
1
|
+
import type { Locale, Translated } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
2
|
export interface PrivacyPageProperties {
|
|
3
3
|
locale: Locale;
|
|
4
|
+
/** What else this site keeps in the browser, after the language and style. */
|
|
5
|
+
remembered?: readonly Translated[];
|
|
4
6
|
}
|
|
5
7
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/privacy-page/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAE7F,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,8EAA8E;IAC9E,UAAU,CAAC,EAAE,SAAS,UAAU,EAAE,CAAC;CACpC"}
|
package/llms.txt
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
- Service cards: SERVICES.items (groups web-application, mobile-application, creative, marketing; anchors; titled Web, Desktop & Mobile, Creative, Marketing) each with cards [{ key, title, text, action, chip }]; a card's key is its contact choice and its 3D object; ServiceCard's button links to #contact and calls requestContactNeeds([key]) (utility/contact-need, window event CONTACT_NEED_EVENT); ContactForm ticks the chip with a glow. CONTACT.needs.groups (chips grouped like the services) + other, and options (flat). Choices: website, platform, e-commerce, hosting, professional-email, progressive-web-application, android-application, ios-application, branding, rebranding, branding-design, print-design, merchandise, product-launch, lead-generation, sales-generation, brand-awareness, social-media-strategy, unsure, not-listed
|
|
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
|
|
19
|
+
- content/privacy PRIVACY (privacy-web-library options) and PRIVACY_PAGE { path "/privacy", title, eyebrow, description }; component/privacy-page PrivacyPage({ locale, remembered?: Translated[] (added to what the browser keeps) }); the footer links it
|
|
20
20
|
- Changes by version: CHANGELOG.md (in the package)
|
|
21
21
|
- component/page-frame <PageFrame locale path? before? aside? after?>{page}</PageFrame>: navigation, <main>, footer and the site-wide behavior around every page
|
|
22
22
|
- utility/site-metadata siteMetadata({ locale, path?, title, description }) → Next.js Metadata with the site's name after the title, its addresses in every language and its share image
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.9-interface-refinement.162",
|
|
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",
|