@sharadox/sharadox-web-library 0.4.0 → 0.6.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.
Files changed (95) hide show
  1. package/distribution/action/send-contact/index.d.ts.map +1 -1
  2. package/distribution/action/send-contact/index.js +4 -5
  3. package/distribution/action/send-contact/index.js.map +1 -1
  4. package/distribution/component/capability/index.d.ts.map +1 -1
  5. package/distribution/component/capability/index.js +2 -1
  6. package/distribution/component/capability/index.js.map +1 -1
  7. package/distribution/component/capability/index.module.css +14 -3
  8. package/distribution/component/consent/index.d.ts +7 -0
  9. package/distribution/component/consent/index.d.ts.map +1 -0
  10. package/distribution/component/consent/index.js +40 -0
  11. package/distribution/component/consent/index.js.map +1 -0
  12. package/distribution/component/consent/index.module.css +182 -0
  13. package/distribution/component/consent/preferences-link/index.d.ts +4 -0
  14. package/distribution/component/consent/preferences-link/index.d.ts.map +1 -0
  15. package/distribution/component/consent/preferences-link/index.js +8 -0
  16. package/distribution/component/consent/preferences-link/index.js.map +1 -0
  17. package/distribution/component/consent/preferences-link/type.d.ts +4 -0
  18. package/distribution/component/consent/preferences-link/type.d.ts.map +1 -0
  19. package/distribution/component/consent/preferences-link/type.js +2 -0
  20. package/distribution/component/consent/preferences-link/type.js.map +1 -0
  21. package/distribution/component/consent/toggle/index.d.ts +4 -0
  22. package/distribution/component/consent/toggle/index.d.ts.map +1 -0
  23. package/distribution/component/consent/toggle/index.js +7 -0
  24. package/distribution/component/consent/toggle/index.js.map +1 -0
  25. package/distribution/component/consent/toggle/type.d.ts +10 -0
  26. package/distribution/component/consent/toggle/type.d.ts.map +1 -0
  27. package/distribution/component/consent/toggle/type.js +2 -0
  28. package/distribution/component/consent/toggle/type.js.map +1 -0
  29. package/distribution/component/consent/type.d.ts +5 -0
  30. package/distribution/component/consent/type.d.ts.map +1 -0
  31. package/distribution/component/consent/type.js +2 -0
  32. package/distribution/component/consent/type.js.map +1 -0
  33. package/distribution/component/contact/form/index.d.ts.map +1 -1
  34. package/distribution/component/contact/form/index.js +1 -2
  35. package/distribution/component/contact/form/index.js.map +1 -1
  36. package/distribution/component/cursor/index.js +1 -1
  37. package/distribution/component/cursor/index.js.map +1 -1
  38. package/distribution/component/cursor/index.module.css +2 -1
  39. package/distribution/component/footer/index.d.ts.map +1 -1
  40. package/distribution/component/footer/index.js +3 -1
  41. package/distribution/component/footer/index.js.map +1 -1
  42. package/distribution/component/footer/index.module.css +12 -2
  43. package/distribution/component/hero/index.js +1 -1
  44. package/distribution/component/hero/index.js.map +1 -1
  45. package/distribution/component/hero/index.module.css +4 -1
  46. package/distribution/component/marquee/index.d.ts +2 -2
  47. package/distribution/component/marquee/index.d.ts.map +1 -1
  48. package/distribution/component/marquee/index.js +6 -3
  49. package/distribution/component/marquee/index.js.map +1 -1
  50. package/distribution/component/marquee/index.module.css +15 -16
  51. package/distribution/component/section-indicator/index.d.ts +8 -0
  52. package/distribution/component/section-indicator/index.d.ts.map +1 -0
  53. package/distribution/component/section-indicator/index.js +20 -0
  54. package/distribution/component/section-indicator/index.js.map +1 -0
  55. package/distribution/component/section-indicator/index.module.css +145 -0
  56. package/distribution/component/section-indicator/type.d.ts +5 -0
  57. package/distribution/component/section-indicator/type.d.ts.map +1 -0
  58. package/distribution/component/section-indicator/type.js +2 -0
  59. package/distribution/component/section-indicator/type.js.map +1 -0
  60. package/distribution/component/service-index/index.module.css +1 -1
  61. package/distribution/component/style-switch/index.d.ts +2 -2
  62. package/distribution/component/style-switch/index.d.ts.map +1 -1
  63. package/distribution/component/style-switch/index.js +20 -10
  64. package/distribution/component/style-switch/index.js.map +1 -1
  65. package/distribution/component/style-switch/index.module.css +2 -11
  66. package/distribution/component/touchpoint/index.module.css +0 -1
  67. package/distribution/content/consent/index.d.ts +92 -0
  68. package/distribution/content/consent/index.d.ts.map +1 -0
  69. package/distribution/content/consent/index.js +46 -0
  70. package/distribution/content/consent/index.js.map +1 -0
  71. package/distribution/content/contact/index.d.ts +39 -5
  72. package/distribution/content/contact/index.d.ts.map +1 -1
  73. package/distribution/content/contact/index.js +14 -2
  74. package/distribution/content/contact/index.js.map +1 -1
  75. package/distribution/content/hero/index.d.ts +4 -4
  76. package/distribution/content/hero/index.js +2 -2
  77. package/distribution/content/navigation/index.d.ts +2 -2
  78. package/distribution/content/navigation/index.js +1 -1
  79. package/distribution/content/section-indicator/index.d.ts +33 -0
  80. package/distribution/content/section-indicator/index.d.ts.map +1 -0
  81. package/distribution/content/section-indicator/index.js +13 -0
  82. package/distribution/content/section-indicator/index.js.map +1 -0
  83. package/distribution/content/services/index.d.ts +4 -4
  84. package/distribution/content/services/index.js +4 -4
  85. package/distribution/content/services/index.js.map +1 -1
  86. package/distribution/content/style/index.d.ts +3 -1
  87. package/distribution/content/style/index.d.ts.map +1 -1
  88. package/distribution/content/style/index.js +3 -1
  89. package/distribution/content/style/index.js.map +1 -1
  90. package/distribution/utility/parse-contact/index.d.ts.map +1 -1
  91. package/distribution/utility/parse-contact/index.js +4 -4
  92. package/distribution/utility/parse-contact/index.js.map +1 -1
  93. package/distribution/utility/parse-contact/type.d.ts +3 -3
  94. package/distribution/utility/parse-contact/type.d.ts.map +1 -1
  95. package/package.json +2 -2
@@ -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,sDAAsD,CAAC;AAClF,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,UAAU,EAAE,MAAM,mDA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AE,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,GAAK,EAC9D,KAAC,eAAe,IAAC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,GAAI,EAClE,aAAG,IAAI,EAAC,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,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAM,EACnE,eAAM,SAAS,EAAE,MAAM,CAAC,SAAS,YAC9B,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACtB,KAAC,UAAU,IAAa,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,KAAK,MAAM,YAC7D,cAAc,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,YAAG,SAAS,EAAE,GAAG,MAAM,CAAC,KAAK,YAAY,YACtC,QAAQ,CAAC,KAAK,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACnF,IACG,CACV,CAAC;AACJ,CAAC"}
@@ -37,11 +37,21 @@
37
37
  text-transform: uppercase;
38
38
  color: var(--foreground-3);
39
39
  }
40
- .columns a {
40
+ .columns a,
41
+ .columns button {
41
42
  width: fit-content;
42
43
  transition: color 0.2s;
43
44
  }
44
- .columns a:hover {
45
+ .columns button {
46
+ padding: 0;
47
+ border: 0;
48
+ background: none;
49
+ font-size: inherit;
50
+ color: inherit;
51
+ text-align: left;
52
+ }
53
+ .columns a:hover,
54
+ .columns button:hover {
45
55
  color: var(--foreground);
46
56
  }
47
57
  @media (max-width: 900px) {
@@ -18,6 +18,6 @@ const EASE = [0.22, 1, 0.36, 1];
18
18
  /** First screen, inside the grid frame: the slogan rising line by line beside the interactive globe. */
19
19
  export function Hero({ locale }) {
20
20
  const lines = HERO.lines[locale];
21
- return (_jsxs("section", { className: styles.hero, children: [_jsx(HeroGuide, {}), _jsx(Cross, { corner: "bottom-left" }), _jsx(Cross, { corner: "bottom-right" }), _jsxs("div", { className: styles.copy, children: [_jsx(motion.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { duration: 1, delay: 0.1 }, children: _jsxs(Eyebrow, { className: styles.eyebrow, children: [_jsx("span", { className: styles.live, "aria-hidden": true }), " ", translate(HERO.eyebrow, locale)] }) }), _jsx("h1", { className: styles.title, children: lines.map((line, index) => (_jsx("span", { className: styles.line, children: _jsx(motion.span, { className: index === lines.length - 1 ? `${styles.lineInner} ${styles.dim}` : styles.lineInner, initial: { y: "110%" }, animate: { y: "0%" }, transition: { duration: 1.1, delay: 0.2 + index * 0.12, ease: EASE }, children: line }) }, index))) }), _jsx(motion.p, { className: styles.subtitle, initial: { opacity: 0, y: 14 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.9, delay: 0.75, ease: EASE }, children: translate(HERO.subtitle, locale) }), _jsxs(motion.div, { className: styles.actions, initial: { opacity: 0, y: 14 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.9, delay: 0.9, ease: EASE }, children: [_jsx(Button, { href: "#contact", arrow: true, children: translate(HERO.primary, locale) }), _jsx(Button, { href: "#services", variant: "ghost", children: translate(HERO.secondary, locale) })] })] }), _jsxs(motion.div, { className: styles.globe, initial: { opacity: 0, scale: 0.92 }, animate: { opacity: 1, scale: 1 }, transition: { duration: 1.8, delay: 0.3, ease: EASE }, children: [_jsx(Globe, {}), _jsx("span", { className: `${styles.hint} monospace`, "aria-hidden": true, children: translate(HERO.drag, locale) })] })] }));
21
+ return (_jsxs("section", { id: "home", className: styles.hero, children: [_jsx(HeroGuide, {}), _jsx(Cross, { corner: "bottom-left" }), _jsx(Cross, { corner: "bottom-right" }), _jsxs("div", { className: styles.copy, children: [_jsx(motion.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { duration: 1, delay: 0.1 }, children: _jsxs(Eyebrow, { className: styles.eyebrow, children: [_jsx("span", { className: styles.live, "aria-hidden": true }), " ", translate(HERO.eyebrow, locale)] }) }), _jsx("h1", { className: styles.title, children: lines.map((line, index) => (_jsx("span", { className: styles.line, children: _jsx(motion.span, { className: index === lines.length - 1 ? `${styles.lineInner} ${styles.dim}` : styles.lineInner, initial: { y: "110%" }, animate: { y: "0%" }, transition: { duration: 1.1, delay: 0.2 + index * 0.12, ease: EASE }, children: line }) }, index))) }), _jsx(motion.p, { className: styles.subtitle, initial: { opacity: 0, y: 14 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.9, delay: 0.75, ease: EASE }, children: translate(HERO.subtitle, locale) }), _jsxs(motion.div, { className: styles.actions, initial: { opacity: 0, y: 14 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.9, delay: 0.9, ease: EASE }, children: [_jsx(Button, { href: "#contact", arrow: true, children: translate(HERO.primary, locale) }), _jsx(Button, { href: "#services", variant: "ghost", children: translate(HERO.secondary, locale) })] })] }), _jsxs(motion.div, { className: styles.globe, initial: { opacity: 0, scale: 0.92 }, animate: { opacity: 1, scale: 1 }, transition: { duration: 1.8, delay: 0.3, ease: EASE }, children: [_jsx(Globe, {}), _jsx("span", { className: `${styles.hint} monospace`, "aria-hidden": true, children: translate(HERO.drag, locale) })] })] }));
22
22
  }
23
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/hero/index.tsx"],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AE,MAAM,CAAC,OAAO,EACzB,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAC9B,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAC7B,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,aAErD,KAAC,MAAM,IAAC,IAAI,EAAC,UAAU,EAAC,KAAK,kBAC1B,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,GACzB,EACT,KAAC,MAAM,IAAC,IAAI,EAAC,WAAW,EAAC,OAAO,EAAC,OAAO,YACrC,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAC3B,IACE,IACT,EACN,MAAC,MAAM,CAAC,GAAG,IACT,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EACpC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EACjC,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,aAErD,KAAC,KAAK,KAAG,EACT,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY,iCACxC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GACxB,IACI,IACL,CACX,CAAC;AACJ,CAAC"}
@@ -21,6 +21,7 @@
21
21
  .copy {
22
22
  position: relative;
23
23
  z-index: 2;
24
+ container-type: inline-size;
24
25
  }
25
26
 
26
27
  .eyebrow {
@@ -50,7 +51,9 @@
50
51
  }
51
52
  .title {
52
53
  margin: 26px 0 26px;
53
- font-size: clamp(3rem, 7vw, 6.4rem);
54
+ /* Each line stays on one line: the size follows the column so the longest line ("que simplificam") fits. */
55
+ font-size: min(clamp(3rem, 7vw, 6.4rem), 14.6cqi);
56
+ white-space: nowrap;
54
57
  letter-spacing: -0.06em;
55
58
  line-height: 0.95;
56
59
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Endless strip of the technologies we work with. Two identical groups slide left by exactly one group's width, so
3
- * the second group lands where the first started and the loop has no gap or jump.
2
+ * Technologies and tools sliding endlessly between the grid's side rails. It can be grabbed and flung by hand; two
3
+ * identical groups let it loop without a seam.
4
4
  */
5
5
  export declare function Marquee(): import("react").JSX.Element;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/marquee/index.tsx"],"names":[],"mappings":"AAMA;;;GAGG;AACH,wBAAgB,OAAO,gCAiBtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/marquee/index.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AACH,wBAAgB,OAAO,gCAoBtB"}
@@ -1,14 +1,17 @@
1
+ "use client";
1
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { useMarquee } from "@sharadox/web-library/animation/marquee";
2
4
  import { STACK } from "@sharadox/sharadox-web-library/content/stack";
3
5
  import styles from "./index.module.css";
4
6
  /** Times the list repeats inside one group, so a group is always wider than the widest screen. */
5
7
  const REPEAT = 3;
6
8
  /**
7
- * Endless strip of the technologies we work with. Two identical groups slide left by exactly one group's width, so
8
- * the second group lands where the first started and the loop has no gap or jump.
9
+ * Technologies and tools sliding endlessly between the grid's side rails. It can be grabbed and flung by hand; two
10
+ * identical groups let it loop without a seam.
9
11
  */
10
12
  export function Marquee() {
13
+ const track = useMarquee({ speed: 36 });
11
14
  const group = Array.from({ length: REPEAT }, () => STACK).flat();
12
- return (_jsx("div", { className: styles.marquee, "aria-label": STACK.join(", "), children: _jsx("div", { className: styles.track, "aria-hidden": true, children: [0, 1].map((copy) => (_jsx("div", { className: styles.group, children: group.map((technology, index) => (_jsx("span", { className: `${styles.pill} monospace`, children: technology }, index))) }, copy))) }) }));
15
+ return (_jsx("div", { className: styles.frame, children: _jsx("div", { className: styles.marquee, "aria-label": STACK.join(", "), role: "img", children: _jsx("div", { ref: track, className: styles.track, "data-grab": true, "aria-hidden": true, children: [0, 1].map((copy) => (_jsx("div", { className: styles.group, children: group.map((technology, index) => (_jsx("span", { className: `${styles.pill} monospace`, children: technology }, index))) }, copy))) }) }) }));
13
16
  }
14
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/marquee/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,kGAAkG;AAClG,MAAM,MAAM,GAAG,CAAC,CAAC;AAEjB;;;GAGG;AACH,MAAM,UAAU,OAAO;IACrB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;IACjE,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,gBAAc,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,YAC1D,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,iCACzB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACpB,cAAgB,SAAS,EAAE,MAAM,CAAC,KAAK,YACpC,KAAK,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,CAChC,eAAkB,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY,YACpD,UAAU,IADF,KAAK,CAET,CACR,CAAC,IALM,IAAI,CAMR,CACP,CAAC,GACE,GACF,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/marquee/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,kGAAkG;AAClG,MAAM,MAAM,GAAG,CAAC,CAAC;AAEjB;;;GAGG;AACH,MAAM,UAAU,OAAO;IACrB,MAAM,KAAK,GAAG,UAAU,CAAiB,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACxD,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;IACjE,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,gBAAc,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAC,KAAK,YACtE,cAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,oDACrC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACpB,cAAgB,SAAS,EAAE,MAAM,CAAC,KAAK,YACpC,KAAK,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,CAChC,eAAkB,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY,YACpD,UAAU,IADF,KAAK,CAET,CACR,CAAC,IALM,IAAI,CAMR,CACP,CAAC,GACE,GACF,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -1,19 +1,29 @@
1
- .marquee {
2
- --marquee-gap: 12px;
1
+ /* The frame carries the grid's rails and top line; the strip inside fades at its edges. */
2
+ .frame {
3
3
  position: relative;
4
4
  width: min(100% - 2 * var(--gutter), var(--maximum-width));
5
5
  margin-inline: auto;
6
- overflow: hidden;
7
6
  border: 1px solid var(--line);
8
7
  border-bottom: 0;
8
+ }
9
+
10
+ .marquee {
11
+ --marquee-gap: 12px;
12
+ overflow: hidden;
9
13
  padding: 22px 0;
10
- mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
14
+ mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
11
15
  }
12
16
 
13
17
  .track {
14
18
  display: flex;
15
19
  width: max-content;
16
- animation: marquee 120s linear infinite;
20
+ cursor: grab;
21
+ touch-action: pan-y;
22
+ user-select: none;
23
+ will-change: transform;
24
+ }
25
+ .track:active {
26
+ cursor: grabbing;
17
27
  }
18
28
 
19
29
  /* Each group ends with the same gap that separates the pills, so both groups are exactly the same width. */
@@ -31,14 +41,3 @@
31
41
  color: var(--foreground-2);
32
42
  white-space: nowrap;
33
43
  }
34
-
35
- @keyframes marquee {
36
- to {
37
- transform: translateX(-50%);
38
- }
39
- }
40
- @media (prefers-reduced-motion: reduce) {
41
- .track {
42
- animation: none;
43
- }
44
- }
@@ -0,0 +1,8 @@
1
+ import type { SectionIndicatorProperties } from "@sharadox/sharadox-web-library/component/section-indicator/type";
2
+ /**
3
+ * The side indicator: a rail that fills as the page scrolls, a tick and number per section, the current one
4
+ * lit with its own progress, and its name flashing in whenever it changes. Every entry jumps to its section; all
5
+ * names show while the pointer is over it.
6
+ */
7
+ export declare function SectionIndicator({ locale }: SectionIndicatorProperties): import("react").JSX.Element;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section-indicator/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iEAAiE,CAAC;AAIlH;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,0BAA0B,+BAoCtE"}
@@ -0,0 +1,20 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { translate } from "@sharadox/web-library/internationalization/translate";
4
+ import { useActiveSection } from "@sharadox/web-library/scroll/active-section";
5
+ import { SECTION_INDICATOR } from "@sharadox/sharadox-web-library/content/section-indicator";
6
+ import styles from "./index.module.css";
7
+ const IDS = SECTION_INDICATOR.sections.map((section) => section.id);
8
+ /**
9
+ * The side indicator: a rail that fills as the page scrolls, a tick and number per section, the current one
10
+ * lit with its own progress, and its name flashing in whenever it changes. Every entry jumps to its section; all
11
+ * names show while the pointer is over it.
12
+ */
13
+ export function SectionIndicator({ locale }) {
14
+ const { active, within, page } = useActiveSection(IDS);
15
+ return (_jsxs("nav", { className: styles.indicator, "aria-label": translate(SECTION_INDICATOR.label, locale), style: { "--page": page, "--within": within }, children: [_jsx("span", { className: styles.rail, "aria-hidden": true, children: _jsx("span", {}) }), _jsx("ol", { children: SECTION_INDICATOR.sections.map((section, index) => {
16
+ const current = section.id === active;
17
+ return (_jsx("li", { children: _jsxs("a", { href: `#${section.id}`, className: current ? styles.current : undefined, "aria-current": current ? "location" : undefined, children: [_jsx("span", { className: styles.name, children: section[locale] }, current ? `${section.id}-on` : section.id), _jsx("span", { className: `${styles.number} monospace`, children: String(index + 1).padStart(2, "0") }), _jsx("span", { className: styles.tick, "aria-hidden": true, children: _jsx("span", {}) })] }) }, section.id));
18
+ }) })] }));
19
+ }
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section-indicator/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAC7F,OAAO,MAAM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C,GAAQ,EAC1F,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,iCAC1B,gBAAQ,GACH,IACL,IAdG,OAAO,CAAC,EAAE,CAed,CACN,CAAC;gBACJ,CAAC,CAAC,GACC,IACD,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,145 @@
1
+ .indicator {
2
+ --page: 0;
3
+ --within: 0;
4
+ position: fixed;
5
+ z-index: 40;
6
+ right: max(14px, (100vw - var(--maximum-width)) / 2 - 92px);
7
+ top: 50%;
8
+ transform: translateY(-50%);
9
+ padding: 14px 0;
10
+ animation: enter 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
11
+ }
12
+ .indicator ol {
13
+ position: relative;
14
+ display: grid;
15
+ gap: 6px;
16
+ margin: 0;
17
+ padding: 0;
18
+ list-style: none;
19
+ }
20
+ @media (max-width: 1180px) {
21
+ .indicator {
22
+ display: none;
23
+ }
24
+ }
25
+
26
+ @keyframes enter {
27
+ from {
28
+ opacity: 0;
29
+ transform: translate(16px, -50%);
30
+ }
31
+ }
32
+ /* The rail fills with the page's progress. */
33
+ .rail {
34
+ position: absolute;
35
+ right: 0;
36
+ top: 0;
37
+ bottom: 0;
38
+ width: 1px;
39
+ background: linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 6px repeat-y;
40
+ }
41
+ .rail span {
42
+ position: absolute;
43
+ inset: 0 0 auto;
44
+ height: calc(var(--page) * 100%);
45
+ background: linear-gradient(180deg, transparent, var(--foreground));
46
+ box-shadow: 0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent);
47
+ }
48
+
49
+ .indicator a {
50
+ position: relative;
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: flex-end;
54
+ gap: 10px;
55
+ height: 26px;
56
+ padding-right: 0;
57
+ color: var(--foreground-3);
58
+ transition: color 0.3s;
59
+ }
60
+ .indicator a:hover {
61
+ color: var(--foreground);
62
+ }
63
+
64
+ .number {
65
+ font-size: 10.5px;
66
+ letter-spacing: 0.04em;
67
+ transition: color 0.3s;
68
+ }
69
+
70
+ .tick {
71
+ position: relative;
72
+ width: 12px;
73
+ height: 1px;
74
+ background: var(--line-2);
75
+ transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
76
+ }
77
+ .tick span {
78
+ position: absolute;
79
+ inset: 0 auto 0 0;
80
+ width: 0;
81
+ background: var(--foreground);
82
+ }
83
+
84
+ /* Names sit to the left in a frosted pill: hidden until hovered, flashing in when their section becomes current. */
85
+ .name {
86
+ position: absolute;
87
+ right: 64px;
88
+ padding: 5px 11px;
89
+ border-radius: 99px;
90
+ border: 1px solid var(--line-2);
91
+ background: color-mix(in srgb, var(--background) 75%, transparent);
92
+ backdrop-filter: blur(10px);
93
+ color: var(--foreground);
94
+ font-size: 12.5px;
95
+ font-weight: 500;
96
+ letter-spacing: -0.01em;
97
+ white-space: nowrap;
98
+ opacity: 0;
99
+ transform: translateX(8px);
100
+ filter: blur(4px);
101
+ pointer-events: none;
102
+ transition: opacity 0.35s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
103
+ }
104
+
105
+ .indicator:hover .name {
106
+ opacity: 1;
107
+ transform: none;
108
+ filter: none;
109
+ }
110
+
111
+ .current {
112
+ color: var(--foreground) !important;
113
+ }
114
+ .current .tick {
115
+ width: 34px;
116
+ background: color-mix(in srgb, var(--foreground) 25%, transparent);
117
+ }
118
+ .current .tick span {
119
+ width: calc(var(--within) * 100%);
120
+ box-shadow: 0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent);
121
+ }
122
+ .current .name {
123
+ animation: flash 2.2s cubic-bezier(0.22, 1, 0.36, 1) both;
124
+ }
125
+
126
+ @keyframes flash {
127
+ 0% {
128
+ opacity: 0;
129
+ transform: translateX(10px);
130
+ filter: blur(4px);
131
+ }
132
+ 15%, 70% {
133
+ opacity: 1;
134
+ transform: none;
135
+ filter: none;
136
+ }
137
+ 100% {
138
+ opacity: 0;
139
+ transform: translateX(4px);
140
+ filter: blur(2px);
141
+ }
142
+ }
143
+ .indicator:hover .current .name {
144
+ animation: none;
145
+ }
@@ -0,0 +1,5 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
2
+ export interface SectionIndicatorProperties {
3
+ locale: Locale;
4
+ }
5
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/section-indicator/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,0BAA0B;IACzC,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/section-indicator/type.ts"],"names":[],"mappings":""}
@@ -5,7 +5,6 @@
5
5
  display: grid;
6
6
  grid-template-columns: repeat(5, 1fr);
7
7
  border: 1px solid var(--line);
8
- border-top: 0;
9
8
  }
10
9
  @media (max-width: 960px) {
11
10
  .index {
@@ -16,6 +15,7 @@
16
15
  .cell {
17
16
  position: relative;
18
17
  display: grid;
18
+ align-content: start;
19
19
  gap: 6px;
20
20
  padding: 22px 22px 24px;
21
21
  overflow: hidden;
@@ -1,7 +1,7 @@
1
1
  import type { StyleSwitchProperties } from "@sharadox/sharadox-web-library/component/style-switch/type";
2
2
  /**
3
- * Picks the style: System (the default, follows the device) or any style in content/style. Each style shows as a
4
- * swatch of its own background and foreground, so new styles need no new icons.
3
+ * Picks the style: light styles on the left, System (the default, follows the device) in the middle, dark styles on
4
+ * the right. Light styles show a sun and dark ones a moon; every style in content/style appears automatically.
5
5
  */
6
6
  export declare function StyleSwitch({ locale, className }: StyleSwitchProperties): import("react").JSX.Element;
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/style-switch/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BA0CvE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/style-switch/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAqBxG;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BAmCvE"}
@@ -1,24 +1,34 @@
1
1
  "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { SYSTEM_STYLE } from "@sharadox/web-library/style/definition";
4
4
  import { useStyle } from "@sharadox/web-library/style/use-style";
5
5
  import { translate } from "@sharadox/web-library/internationalization/translate";
6
6
  import { STYLE, STYLE_CONFIGURATION } from "@sharadox/sharadox-web-library/content/style";
7
7
  import styles from "./index.module.css";
8
+ const ICON = {
9
+ // A monitor: follow the device.
10
+ system: (_jsxs(_Fragment, { children: [_jsx("rect", { x: "1.5", y: "2.5", width: "13", height: "9", rx: "1.5" }), _jsx("path", { d: "M5.5 14h5M8 11.5V14" })] })),
11
+ // A sun for light styles.
12
+ light: (_jsxs(_Fragment, { children: [_jsx("circle", { cx: "8", cy: "8", r: "3" }), _jsx("path", { d: "M8 1.5v1.5M8 13v1.5M1.5 8H3M13 8h1.5M3.4 3.4l1.1 1.1M11.5 11.5l1.1 1.1M3.4 12.6l1.1-1.1M11.5 4.5l1.1-1.1" })] })),
13
+ // A moon for dark styles.
14
+ dark: _jsx("path", { d: "M13.5 9.6A5.8 5.8 0 0 1 6.4 2.5a5.8 5.8 0 1 0 7.1 7.1Z" }),
15
+ };
8
16
  /**
9
- * Picks the style: System (the default, follows the device) or any style in content/style. Each style shows as a
10
- * swatch of its own background and foreground, so new styles need no new icons.
17
+ * Picks the style: light styles on the left, System (the default, follows the device) in the middle, dark styles on
18
+ * the right. Light styles show a sun and dark ones a moon; every style in content/style appears automatically.
11
19
  */
12
20
  export function StyleSwitch({ locale, className }) {
13
21
  const { choice, choose } = useStyle(STYLE_CONFIGURATION);
22
+ const option = (style) => ({
23
+ name: style.name,
24
+ label: STYLE.names[style.name] ?? style.name,
25
+ icon: ICON[style.scheme],
26
+ });
14
27
  const options = [
15
- { name: SYSTEM_STYLE, label: translate(STYLE.system, locale), swatch: undefined },
16
- ...STYLE_CONFIGURATION.styles.map((style) => ({
17
- name: style.name,
18
- label: STYLE.names[style.name] ?? style.name,
19
- swatch: style.palette,
20
- })),
28
+ ...STYLE_CONFIGURATION.styles.filter((style) => style.scheme === "light").map(option),
29
+ { name: SYSTEM_STYLE, label: translate(STYLE.system, locale), icon: ICON.system },
30
+ ...STYLE_CONFIGURATION.styles.filter((style) => style.scheme === "dark").map(option),
21
31
  ];
22
- return (_jsx("div", { className: [styles.switch, className].filter(Boolean).join(" "), role: "radiogroup", "aria-label": translate(STYLE.label, locale), children: options.map((option) => (_jsx("button", { type: "button", role: "radio", "aria-checked": choice === option.name, "aria-label": option.label, title: option.label, onClick: () => choose(option.name), children: option.swatch ? (_jsx("span", { className: styles.swatch, style: { background: option.swatch.background, color: option.swatch.foreground }, "aria-hidden": true })) : (_jsxs("svg", { viewBox: "0 0 16 16", className: styles.system, "aria-hidden": true, children: [_jsx("rect", { x: "1.5", y: "2.5", width: "13", height: "9", rx: "1.5" }), _jsx("path", { d: "M5.5 14h5M8 11.5V14" })] })) }, option.name))) }));
32
+ return (_jsx("div", { className: [styles.switch, className].filter(Boolean).join(" "), role: "radiogroup", "aria-label": translate(STYLE.label, locale), children: options.map((item) => (_jsx("button", { type: "button", role: "radio", "aria-checked": choice === item.name, "aria-label": item.label, title: item.label, onClick: () => choose(item.name), children: _jsx("svg", { viewBox: "0 0 16 16", className: styles.icon, "aria-hidden": true, children: item.icon }) }, item.name))) }));
23
33
  }
24
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/style-switch/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,EAAyB;IACtE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACzD,MAAM,OAAO,GAAG;QACd,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE;QACjF,GAAG,mBAAmB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YAC5C,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,IAAI;YAC5C,MAAM,EAAE,KAAK,CAAC,OAAO;SACtB,CAAC,CAAC;KACJ,CAAC;IACF,OAAO,CACL,cACE,SAAS,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAC/D,IAAI,EAAC,Y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MAAM,EAAE;QACjF,GAAG,mBAAmB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC;KACrF,CAAC;IACF,OAAO,CACL,cACE,SAAS,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAC/D,IAAI,EAAC,YAAY,gBACL,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,YAEzC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACrB,iBAEE,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,OAAO,kBACE,MAAM,KAAK,IAAI,CAAC,IAAI,gBACtB,IAAI,CAAC,KAAK,EACtB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAEhC,cAAK,OAAO,EAAC,WAAW,EAAC,SAAS,EAAE,MAAM,CAAC,IAAI,iCAC5C,IAAI,CAAC,IAAI,GACN,IAVD,IAAI,CAAC,IAAI,CAWP,CACV,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -25,21 +25,12 @@
25
25
  color: var(--foreground);
26
26
  }
27
27
 
28
- .system {
28
+ .icon {
29
29
  width: 15px;
30
30
  height: 15px;
31
31
  fill: none;
32
32
  stroke: currentColor;
33
33
  stroke-width: 1.3;
34
34
  stroke-linecap: round;
35
- }
36
-
37
- /* Half background, half foreground of the style it stands for. */
38
- .swatch {
39
- width: 13px;
40
- height: 13px;
41
- border-radius: 50%;
42
- border: 1px solid var(--foreground-3);
43
- background-clip: padding-box;
44
- box-shadow: inset -6.5px 0 0 currentColor;
35
+ stroke-linejoin: round;
45
36
  }
@@ -3,7 +3,6 @@
3
3
  grid-template-columns: 1fr 1.15fr;
4
4
  gap: clamp(32px, 5vw, 72px);
5
5
  align-items: center;
6
- overflow: hidden;
7
6
  }
8
7
  @media (max-width: 900px) {
9
8
  .touchpoint {
@@ -0,0 +1,92 @@
1
+ /**
2
+ * The cookie categories. Raise `version` whenever they change, so every visitor is asked again. Required is always
3
+ * on; the others start off in the manual selection.
4
+ */
5
+ export declare const CONSENT_CONFIGURATION: {
6
+ readonly storageKey: "consent";
7
+ readonly version: 1;
8
+ readonly categories: readonly [{
9
+ readonly key: "required";
10
+ readonly required: true;
11
+ }, {
12
+ readonly key: "analytics";
13
+ }, {
14
+ readonly key: "marketing";
15
+ }];
16
+ };
17
+ /** Cookie panel copy. */
18
+ export declare const CONSENT: {
19
+ readonly title: {
20
+ readonly en: "Cookies";
21
+ readonly pt: "Cookies";
22
+ };
23
+ readonly text: {
24
+ readonly en: "We use required cookies to remember your language and style and to keep the contact form safe. With your permission, we would also measure visits and campaigns to improve the site.";
25
+ readonly pt: "Usamos cookies necessários para lembrar o idioma e o estilo e para proteger o formulário de contacto. Com a sua permissão, mediríamos também as visitas e as campanhas para melhorar o site.";
26
+ };
27
+ readonly acceptAll: {
28
+ readonly en: "Accept All";
29
+ readonly pt: "Aceitar Todos";
30
+ };
31
+ readonly deny: {
32
+ readonly en: "Deny";
33
+ readonly pt: "Recusar";
34
+ };
35
+ readonly customize: {
36
+ readonly en: "Customize";
37
+ readonly pt: "Personalizar";
38
+ };
39
+ readonly save: {
40
+ readonly en: "Save Choices";
41
+ readonly pt: "Guardar Escolhas";
42
+ };
43
+ readonly back: {
44
+ readonly en: "Back";
45
+ readonly pt: "Voltar";
46
+ };
47
+ readonly close: {
48
+ readonly en: "Close";
49
+ readonly pt: "Fechar";
50
+ };
51
+ readonly alwaysOn: {
52
+ readonly en: "Always on";
53
+ readonly pt: "Sempre ativos";
54
+ };
55
+ readonly preferences: {
56
+ readonly en: "Cookie Preferences";
57
+ readonly pt: "Preferências de Cookies";
58
+ };
59
+ readonly categories: {
60
+ readonly required: {
61
+ readonly title: {
62
+ readonly en: "Required";
63
+ readonly pt: "Necessários";
64
+ };
65
+ readonly text: {
66
+ readonly en: "Language, style and form security.";
67
+ readonly pt: "Idioma, estilo e segurança do formulário.";
68
+ };
69
+ };
70
+ readonly analytics: {
71
+ readonly title: {
72
+ readonly en: "Analytics";
73
+ readonly pt: "Análise";
74
+ };
75
+ readonly text: {
76
+ readonly en: "Anonymous visit statistics that help us improve the site.";
77
+ readonly pt: "Estatísticas anónimas de visitas que nos ajudam a melhorar o site.";
78
+ };
79
+ };
80
+ readonly marketing: {
81
+ readonly title: {
82
+ readonly en: "Marketing";
83
+ readonly pt: "Marketing";
84
+ };
85
+ readonly text: {
86
+ readonly en: "Measuring our campaigns on other platforms.";
87
+ readonly pt: "Medição das nossas campanhas noutras plataformas.";
88
+ };
89
+ };
90
+ };
91
+ };
92
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/consent/index.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;CAIO,CAAC;AAE1C,yBAAyB;AACzB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCV,CAAC"}