@sharadox/sharadox-web-library 0.54.9-development.166 → 0.54.9-development.173
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 +2 -0
- package/README.md +1 -1
- package/distribution/action/send-contact/index.d.ts +3 -1
- package/distribution/action/send-contact/index.d.ts.map +1 -1
- package/distribution/action/send-contact/index.js +3 -1
- package/distribution/action/send-contact/index.js.map +1 -1
- package/distribution/component/section/index.module.css +1 -1
- package/distribution/component/section/index.module.scss +3 -1
- package/distribution/content/privacy/index.d.ts +2 -1
- package/distribution/content/privacy/index.d.ts.map +1 -1
- package/distribution/content/privacy/index.js +7 -3
- package/distribution/content/privacy/index.js.map +1 -1
- package/llms.txt +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,8 @@ What changed in each version of `@sharadox/sharadox-web-library`, newest first.
|
|
|
4
4
|
|
|
5
5
|
## 0.54.9
|
|
6
6
|
|
|
7
|
+
Contact form behind Vercel BotID (through form-web-library 0.9.0): bots are refused before anything is counted or sent. The privacy policy says Vercel checks that the form is sent by a person (updated 2026-12-06). Section's default padding has no specificity (`:where`), so a section's own padding (About, the license page) wins whatever order the stylesheets load in; before, the winner changed with the bundle's chunking.
|
|
8
|
+
|
|
7
9
|
PrivacyPage takes remembered: what else a site of the family keeps in the browser.
|
|
8
10
|
|
|
9
11
|
## 0.54.8
|
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
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).
|
|
44
44
|
- **Contact form checks:** it needs a name, an email or a phone (or both, each valid), at least one choice and a message of at least 20 characters (`utility/contact-problem`, the same rules the server applies). It says what's missing under each field before anything is sent.
|
|
45
|
-
- **`action/send-contact`:** `sendContact(form, ip)`, the shared contact action set up for Sharadox ("Contact · Name (Company)" subjects, sent to contact@sharadox.com as "Sharadox"), with the form's rules, 5 messages an hour per address and 50 emails a day from everyone together, so a flood can't run up the email bill.
|
|
45
|
+
- **`action/send-contact`:** `sendContact(form, ip)`, the shared contact action set up for Sharadox ("Contact · Name (Company)" subjects, sent to contact@sharadox.com as "Sharadox"), with the form's rules, 5 messages an hour per address and 50 emails a day from everyone together, so a flood can't run up the email bill. What Vercel BotID calls a bot is refused before anything is counted or sent; the site protects the form's submissions with form-web-library's `protectFormSubmissions` in `src/instrumentation-client.ts`.
|
|
46
46
|
- **`utility/`:** `brandedEmail()` and `brandedEmailImages()` (any email in email-web-library's one layout, with Sharadox's globe and name at the top left: black, white in dark themes), `contactProblems()` (what the contact form still lacks), `requestContactNeeds()` and the share card's horizon dots.
|
|
47
47
|
- **`style/token`:** Sass helpers (`tint()`, `shade()`, `dashed()`, `on-scroll()`, `below()`, `skip-entrance()`) used by every component's styles. `skip-entrance` marks a time-based entrance animation so it shows its final state at once after a language switch.
|
|
48
48
|
- **`style/object`:** the 3D objects' helpers (`centered()`, `face()`, `loop()`) and their one palette, so every object reads alike in every style: opaque surfaces (`surface()`, `$surface`, `$raised`) with one hairline `$edge`, and details by role (`$hint`, `$faint`, `$detail`, `$strong`, `$glow`); the point of the moment is the full foreground color.
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
* ("Contacto · …" when the visitor used Portuguese), and it thanks the visitor, lists every detail and signs off from
|
|
7
7
|
* Sharadox (form-web-library's createContactAction, in SHARADOX_EMAIL). It needs a name, an email or a phone, at
|
|
8
8
|
* least one choice and a message of at least `CONTACT.minimumMessageLength` characters. Each address may send 5
|
|
9
|
-
* messages an hour and everyone together 50 emails a day, which caps what a flood can cost.
|
|
9
|
+
* messages an hour and everyone together 50 emails a day, which caps what a flood can cost. What Vercel BotID calls a
|
|
10
|
+
* bot is refused before anything is counted or sent (the site protects the form's submissions in
|
|
11
|
+
* `src/instrumentation-client.ts`).
|
|
10
12
|
*/
|
|
11
13
|
export declare const sendContact: (form: FormData, ip: string) => Promise<import("@sharadox/form-web-library/contact-action/type").ContactState>;
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAQA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,WAAW,gHAWtB,CAAC"}
|
|
@@ -13,7 +13,9 @@ import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
|
13
13
|
* ("Contacto · …" when the visitor used Portuguese), and it thanks the visitor, lists every detail and signs off from
|
|
14
14
|
* Sharadox (form-web-library's createContactAction, in SHARADOX_EMAIL). It needs a name, an email or a phone, at
|
|
15
15
|
* least one choice and a message of at least `CONTACT.minimumMessageLength` characters. Each address may send 5
|
|
16
|
-
* messages an hour and everyone together 50 emails a day, which caps what a flood can cost.
|
|
16
|
+
* messages an hour and everyone together 50 emails a day, which caps what a flood can cost. What Vercel BotID calls a
|
|
17
|
+
* bot is refused before anything is counted or sent (the site protects the form's submissions in
|
|
18
|
+
* `src/instrumentation-client.ts`).
|
|
17
19
|
*/
|
|
18
20
|
export const sendContact = createContactAction({
|
|
19
21
|
to: SITE.email,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,O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AAC,EAAE,EAAE,CAAC,CAAC,CAAC;IAC1G,iDAAiD;IACjD,KAAK,EAAE,gBAAgB;IACvB,aAAa,EAAE,IAAI;IACnB,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;CACnD,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:where(.section){text-align:left}.section{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border-inline:1px solid var(--line)}.padded{padding:clamp(72px,10vw,128px) var(--padding)}.line{position:absolute;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));top:-0.5px;height:1px;background:linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);transform-origin:left}@media(prefers-reduced-motion: no-preference){@supports(animation-timeline: view()){.line{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}}@keyframes draw{from{transform:scaleX(0)}}
|
|
1
|
+
:where(.section){text-align:left}.section{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border-inline:1px solid var(--line)}:where(.padded){padding:clamp(72px,10vw,128px) var(--padding)}.line{position:absolute;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));top:-0.5px;height:1px;background:linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);transform-origin:left}@media(prefers-reduced-motion: no-preference){@supports(animation-timeline: view()){.line{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}}@keyframes draw{from{transform:scaleX(0)}}
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
margin-inline: auto;
|
|
12
12
|
border-inline: 1px solid var(--line);
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
/* The default padding, also without specificity: a section's own padding (the about section's, the license page's)
|
|
15
|
+
wins whatever order the stylesheets load in. */
|
|
16
|
+
:where(.padded) {
|
|
15
17
|
padding: clamp(72px, 10vw, 128px) var(--padding);
|
|
16
18
|
}
|
|
17
19
|
.line {
|
|
@@ -16,7 +16,8 @@ export declare const PRIVACY_PAGE: {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
|
-
* What sharadox.com really collects and who handles it: the contact form
|
|
19
|
+
* What sharadox.com really collects and who handles it: the contact form (checked for bots by Vercel BotID), and the
|
|
20
|
+
* language and style it remembers.
|
|
20
21
|
* Change it whenever any of that changes, and move `updated` to that day. The registered name, tax number and full
|
|
21
22
|
* address of the business belong in `controller` once confirmed.
|
|
22
23
|
*/
|
|
@@ -1 +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
|
|
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;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,cA6CrB,CAAC"}
|
|
@@ -10,7 +10,8 @@ export const PRIVACY_PAGE = {
|
|
|
10
10
|
},
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
|
-
* What sharadox.com really collects and who handles it: the contact form
|
|
13
|
+
* What sharadox.com really collects and who handles it: the contact form (checked for bots by Vercel BotID), and the
|
|
14
|
+
* language and style it remembers.
|
|
14
15
|
* Change it whenever any of that changes, and move `updated` to that day. The registered name, tax number and full
|
|
15
16
|
* address of the business belong in `controller` once confirmed.
|
|
16
17
|
*/
|
|
@@ -21,7 +22,7 @@ export const PRIVACY = {
|
|
|
21
22
|
email: SITE.email,
|
|
22
23
|
website: SITE.url,
|
|
23
24
|
},
|
|
24
|
-
updated: "2026-
|
|
25
|
+
updated: "2026-12-06",
|
|
25
26
|
consentRecord: true,
|
|
26
27
|
contactForm: {
|
|
27
28
|
fields: [
|
|
@@ -39,7 +40,10 @@ export const PRIVACY = {
|
|
|
39
40
|
recipients: [
|
|
40
41
|
{
|
|
41
42
|
name: "Vercel",
|
|
42
|
-
purpose: {
|
|
43
|
+
purpose: {
|
|
44
|
+
en: "hosts the website, and checks that the form is sent by a person, not a bot",
|
|
45
|
+
pt: "aloja o website, e verifica que o formulário é enviado por uma pessoa, e não por um robô",
|
|
46
|
+
},
|
|
43
47
|
location: { en: "United States", pt: "Estados Unidos" },
|
|
44
48
|
},
|
|
45
49
|
{
|
|
@@ -1 +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
|
|
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,E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Ae,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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- content/locale LOCALES (defineLocales en/pt); content/style STYLES (color group: black default, white, system; storageKey "style")
|
|
6
6
|
- utility/branded-email brandedEmail(content) (any email Sharadox sends, in SHARADOX_EMAIL's design) and brandedEmailImages() (the mark as inline image "logo")
|
|
7
|
-
- action/send-contact sendContact(form, ip) — createContactAction to contact@sharadox.com, subject "Contact · Name (Company)", email or phone, at least one choice, 20+ character message, 5/hour per address, 50/day overall
|
|
7
|
+
- action/send-contact sendContact(form, ip) — createContactAction to contact@sharadox.com, subject "Contact · Name (Company)", email or phone, at least one choice, 20+ character message, 5/hour per address, 50/day overall; Vercel BotID bots refused ("failed") before counting or sending (the site calls form-web-library protectFormSubmissions in instrumentation-client.ts)
|
|
8
8
|
- component/*: navigation, hero (+ lazy globe), service-index, about (+ feed: activity, project, client, script), services (four groups of service-card, each with a service-object), capability, service-unlisted, marquee, portfolio (+ project, screens, service-name, launch-date), project-page (+ chapter), process, faq, contact (+ form), footer, section-indicator, style-switch, structured-data, share-image (renderShareImage)
|
|
9
9
|
- style/token Sass helpers: tint, shade, dashed, on-scroll, below, fill-center
|
|
10
10
|
- License: Sharadox Verifiable Source License 0.1.0 (read and verify only)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.54.9-development.
|
|
3
|
+
"version": "0.54.9-development.173",
|
|
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 LICENSE.md",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@sharadox/animation-web-library": "^0.4.2",
|
|
58
58
|
"@sharadox/consent-web-library": "^0.4.2",
|
|
59
59
|
"@sharadox/email-web-library": "^0.7.1",
|
|
60
|
-
"@sharadox/form-web-library": "
|
|
60
|
+
"@sharadox/form-web-library": "0.9.0-development.65",
|
|
61
61
|
"@sharadox/globe-web-library": "^0.2.4",
|
|
62
62
|
"@sharadox/icon-web-library": "^0.6.2",
|
|
63
63
|
"@sharadox/internationalization-web-library": "^0.4.1",
|