@sharadox/sharadox-web-library 0.6.5 → 0.7.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 (280) hide show
  1. package/README.md +46 -8
  2. package/distribution/action/send-contact/index.d.ts +5 -6
  3. package/distribution/action/send-contact/index.d.ts.map +1 -1
  4. package/distribution/action/send-contact/index.js +13 -49
  5. package/distribution/action/send-contact/index.js.map +1 -1
  6. package/distribution/action/send-contact/type.d.ts +1 -3
  7. package/distribution/action/send-contact/type.d.ts.map +1 -1
  8. package/distribution/component/button/index.module.css +1 -58
  9. package/distribution/component/button/index.module.scss +60 -0
  10. package/distribution/component/capability/index.js +2 -2
  11. package/distribution/component/capability/index.module.css +1 -94
  12. package/distribution/component/capability/index.module.scss +85 -0
  13. package/distribution/component/capability/type.d.ts +1 -1
  14. package/distribution/component/consent/index.d.ts +1 -4
  15. package/distribution/component/consent/index.d.ts.map +1 -1
  16. package/distribution/component/consent/index.js +19 -32
  17. package/distribution/component/consent/index.js.map +1 -1
  18. package/distribution/component/consent/index.module.css +1 -183
  19. package/distribution/component/consent/index.module.scss +45 -0
  20. package/distribution/component/consent/preferences-link/index.js +1 -1
  21. package/distribution/component/consent/type.d.ts +1 -1
  22. package/distribution/component/contact/form/index.d.ts.map +1 -1
  23. package/distribution/component/contact/form/index.js +4 -4
  24. package/distribution/component/contact/form/index.js.map +1 -1
  25. package/distribution/component/contact/form/index.module.css +1 -168
  26. package/distribution/component/contact/form/index.module.scss +163 -0
  27. package/distribution/component/contact/form/type.d.ts +1 -1
  28. package/distribution/component/contact/index.js +2 -2
  29. package/distribution/component/contact/index.module.css +1 -56
  30. package/distribution/component/contact/index.module.scss +52 -0
  31. package/distribution/component/contact/type.d.ts +1 -1
  32. package/distribution/component/cross/index.module.css +1 -53
  33. package/distribution/component/cross/index.module.scss +50 -0
  34. package/distribution/component/eyebrow/index.module.css +1 -9
  35. package/distribution/component/eyebrow/index.module.scss +9 -0
  36. package/distribution/component/footer/index.js +4 -4
  37. package/distribution/component/footer/index.js.map +1 -1
  38. package/distribution/component/footer/index.module.css +1 -138
  39. package/distribution/component/footer/index.module.scss +125 -0
  40. package/distribution/component/footer/type.d.ts +1 -1
  41. package/distribution/component/globe/index.d.ts +2 -2
  42. package/distribution/component/globe/index.d.ts.map +1 -1
  43. package/distribution/component/globe/index.js +23 -32
  44. package/distribution/component/globe/index.js.map +1 -1
  45. package/distribution/component/globe/index.module.css +1 -25
  46. package/distribution/component/globe/index.module.scss +7 -0
  47. package/distribution/component/hero/guide/index.module.css +1 -97
  48. package/distribution/component/hero/guide/index.module.scss +94 -0
  49. package/distribution/component/hero/index.js +1 -1
  50. package/distribution/component/hero/index.module.css +1 -124
  51. package/distribution/component/hero/index.module.scss +109 -0
  52. package/distribution/component/hero/type.d.ts +1 -1
  53. package/distribution/component/language-switch/index.js +4 -4
  54. package/distribution/component/language-switch/index.js.map +1 -1
  55. package/distribution/component/language-switch/index.module.css +1 -20
  56. package/distribution/component/language-switch/index.module.scss +22 -0
  57. package/distribution/component/language-switch/type.d.ts +1 -1
  58. package/distribution/component/marquee/index.js +1 -1
  59. package/distribution/component/marquee/index.module.css +1 -43
  60. package/distribution/component/marquee/index.module.scss +39 -0
  61. package/distribution/component/navigation/index.js +1 -1
  62. package/distribution/component/navigation/index.module.css +1 -81
  63. package/distribution/component/navigation/index.module.scss +76 -0
  64. package/distribution/component/navigation/type.d.ts +1 -1
  65. package/distribution/component/process/index.js +1 -1
  66. package/distribution/component/process/index.module.css +1 -43
  67. package/distribution/component/process/index.module.scss +40 -0
  68. package/distribution/component/process/step/index.module.css +1 -33
  69. package/distribution/component/process/step/index.module.scss +31 -0
  70. package/distribution/component/process/type.d.ts +1 -1
  71. package/distribution/component/section/index.module.css +1 -35
  72. package/distribution/component/section/index.module.scss +32 -0
  73. package/distribution/component/section-heading/index.js +1 -1
  74. package/distribution/component/section-heading/index.module.css +1 -7
  75. package/distribution/component/section-heading/index.module.scss +7 -0
  76. package/distribution/component/section-indicator/index.js +2 -2
  77. package/distribution/component/section-indicator/index.module.css +1 -145
  78. package/distribution/component/section-indicator/index.module.scss +143 -0
  79. package/distribution/component/section-indicator/type.d.ts +1 -1
  80. package/distribution/component/service-index/index.js +1 -1
  81. package/distribution/component/service-index/index.module.css +1 -88
  82. package/distribution/component/service-index/index.module.scss +83 -0
  83. package/distribution/component/service-index/type.d.ts +1 -1
  84. package/distribution/component/services/campaign-visual/index.js +2 -2
  85. package/distribution/component/services/campaign-visual/index.module.css +1 -128
  86. package/distribution/component/services/campaign-visual/index.module.scss +122 -0
  87. package/distribution/component/services/campaign-visual/stage/index.js +3 -3
  88. package/distribution/component/services/campaign-visual/stage/index.js.map +1 -1
  89. package/distribution/component/services/campaign-visual/stage/type.d.ts +1 -1
  90. package/distribution/component/services/campaign-visual/type.d.ts +1 -1
  91. package/distribution/component/services/cell/index.js +2 -2
  92. package/distribution/component/services/cell/index.module.css +1 -86
  93. package/distribution/component/services/cell/index.module.scss +81 -0
  94. package/distribution/component/services/design-visual/index.js +1 -1
  95. package/distribution/component/services/design-visual/index.module.css +1 -130
  96. package/distribution/component/services/design-visual/index.module.scss +117 -0
  97. package/distribution/component/services/index.js +2 -2
  98. package/distribution/component/services/index.module.css +1 -84
  99. package/distribution/component/services/index.module.scss +66 -0
  100. package/distribution/component/services/mobile-visual/index.d.ts.map +1 -1
  101. package/distribution/component/services/mobile-visual/index.js +2 -1
  102. package/distribution/component/services/mobile-visual/index.js.map +1 -1
  103. package/distribution/component/services/mobile-visual/index.module.css +1 -104
  104. package/distribution/component/services/mobile-visual/index.module.scss +93 -0
  105. package/distribution/component/services/mobile-visual/type.d.ts +1 -1
  106. package/distribution/component/services/platform-visual/index.module.css +1 -46
  107. package/distribution/component/services/platform-visual/index.module.scss +39 -0
  108. package/distribution/component/services/social-visual/index.js +5 -5
  109. package/distribution/component/services/social-visual/index.js.map +1 -1
  110. package/distribution/component/services/social-visual/index.module.css +1 -131
  111. package/distribution/component/services/social-visual/index.module.scss +120 -0
  112. package/distribution/component/services/social-visual/type.d.ts +1 -1
  113. package/distribution/component/services/type.d.ts +1 -1
  114. package/distribution/component/services/web-visual/index.js +1 -1
  115. package/distribution/component/services/web-visual/index.module.css +1 -142
  116. package/distribution/component/services/web-visual/index.module.scss +132 -0
  117. package/distribution/component/share-image/index.d.ts +1 -2
  118. package/distribution/component/share-image/index.d.ts.map +1 -1
  119. package/distribution/component/share-image/index.js +3 -3
  120. package/distribution/component/share-image/index.js.map +1 -1
  121. package/distribution/component/share-image/type.d.ts +1 -1
  122. package/distribution/component/statement/index.js +1 -1
  123. package/distribution/component/statement/index.module.css +1 -11
  124. package/distribution/component/statement/index.module.scss +10 -0
  125. package/distribution/component/structured-data/index.d.ts.map +1 -1
  126. package/distribution/component/structured-data/index.js +48 -53
  127. package/distribution/component/structured-data/index.js.map +1 -1
  128. package/distribution/component/structured-data/type.d.ts +1 -1
  129. package/distribution/component/style-switch/index.d.ts +2 -2
  130. package/distribution/component/style-switch/index.d.ts.map +1 -1
  131. package/distribution/component/style-switch/index.js +11 -18
  132. package/distribution/component/style-switch/index.js.map +1 -1
  133. package/distribution/component/style-switch/index.module.css +1 -36
  134. package/distribution/component/style-switch/index.module.scss +37 -0
  135. package/distribution/component/style-switch/type.d.ts +1 -1
  136. package/distribution/component/touchpoint/index.js +3 -3
  137. package/distribution/component/touchpoint/index.module.css +1 -85
  138. package/distribution/component/touchpoint/index.module.scss +75 -0
  139. package/distribution/component/touchpoint/plate/index.module.css +1 -136
  140. package/distribution/component/touchpoint/plate/index.module.scss +129 -0
  141. package/distribution/component/touchpoint/type.d.ts +1 -1
  142. package/distribution/component/wordmark/index.module.css +1 -23
  143. package/distribution/component/wordmark/index.module.scss +22 -0
  144. package/distribution/content/locale/index.d.ts +6 -0
  145. package/distribution/content/locale/index.d.ts.map +1 -0
  146. package/distribution/content/locale/index.js +7 -0
  147. package/distribution/content/locale/index.js.map +1 -0
  148. package/distribution/{utility → content}/locale/type.d.ts +3 -2
  149. package/distribution/content/locale/type.d.ts.map +1 -0
  150. package/distribution/{utility → content}/locale/type.js.map +1 -1
  151. package/distribution/content/style/index.d.ts +47 -43
  152. package/distribution/content/style/index.d.ts.map +1 -1
  153. package/distribution/content/style/index.js +20 -13
  154. package/distribution/content/style/index.js.map +1 -1
  155. package/distribution/utility/separate/index.d.ts +6 -1
  156. package/distribution/utility/separate/index.d.ts.map +1 -1
  157. package/distribution/utility/separate/index.js +8 -2
  158. package/distribution/utility/separate/index.js.map +1 -1
  159. package/llms.txt +10 -0
  160. package/package.json +37 -28
  161. package/distribution/component/consent/toggle/index.d.ts +0 -4
  162. package/distribution/component/consent/toggle/index.d.ts.map +0 -1
  163. package/distribution/component/consent/toggle/index.js +0 -7
  164. package/distribution/component/consent/toggle/index.js.map +0 -1
  165. package/distribution/component/consent/toggle/type.d.ts +0 -10
  166. package/distribution/component/consent/toggle/type.d.ts.map +0 -1
  167. package/distribution/component/consent/toggle/type.js.map +0 -1
  168. package/distribution/component/cursor/index.d.ts +0 -3
  169. package/distribution/component/cursor/index.d.ts.map +0 -1
  170. package/distribution/component/cursor/index.js +0 -45
  171. package/distribution/component/cursor/index.js.map +0 -1
  172. package/distribution/component/cursor/index.module.css +0 -55
  173. package/distribution/component/globe/arc/index.d.ts +0 -4
  174. package/distribution/component/globe/arc/index.d.ts.map +0 -1
  175. package/distribution/component/globe/arc/index.js +0 -29
  176. package/distribution/component/globe/arc/index.js.map +0 -1
  177. package/distribution/component/globe/arc/type.d.ts +0 -12
  178. package/distribution/component/globe/arc/type.d.ts.map +0 -1
  179. package/distribution/component/globe/arc/type.js +0 -2
  180. package/distribution/component/globe/arc/type.js.map +0 -1
  181. package/distribution/component/globe/color/index.d.ts +0 -4
  182. package/distribution/component/globe/color/index.d.ts.map +0 -1
  183. package/distribution/component/globe/color/index.js +0 -16
  184. package/distribution/component/globe/color/index.js.map +0 -1
  185. package/distribution/component/globe/color/type.d.ts +0 -13
  186. package/distribution/component/globe/color/type.d.ts.map +0 -1
  187. package/distribution/component/globe/color/type.js +0 -2
  188. package/distribution/component/globe/color/type.js.map +0 -1
  189. package/distribution/component/globe/dots/index.d.ts +0 -4
  190. package/distribution/component/globe/dots/index.d.ts.map +0 -1
  191. package/distribution/component/globe/dots/index.js +0 -38
  192. package/distribution/component/globe/dots/index.js.map +0 -1
  193. package/distribution/component/globe/dots/type.d.ts +0 -7
  194. package/distribution/component/globe/dots/type.d.ts.map +0 -1
  195. package/distribution/component/globe/dots/type.js +0 -2
  196. package/distribution/component/globe/dots/type.js.map +0 -1
  197. package/distribution/component/globe/marker/index.d.ts +0 -4
  198. package/distribution/component/globe/marker/index.d.ts.map +0 -1
  199. package/distribution/component/globe/marker/index.js +0 -21
  200. package/distribution/component/globe/marker/index.js.map +0 -1
  201. package/distribution/component/globe/marker/type.d.ts +0 -9
  202. package/distribution/component/globe/marker/type.d.ts.map +0 -1
  203. package/distribution/component/globe/marker/type.js +0 -2
  204. package/distribution/component/globe/marker/type.js.map +0 -1
  205. package/distribution/component/globe/shader/arc/index.d.ts +0 -6
  206. package/distribution/component/globe/shader/arc/index.d.ts.map +0 -1
  207. package/distribution/component/globe/shader/arc/index.js +0 -24
  208. package/distribution/component/globe/shader/arc/index.js.map +0 -1
  209. package/distribution/component/globe/shader/atmosphere/index.d.ts +0 -6
  210. package/distribution/component/globe/shader/atmosphere/index.d.ts.map +0 -1
  211. package/distribution/component/globe/shader/atmosphere/index.js +0 -15
  212. package/distribution/component/globe/shader/atmosphere/index.js.map +0 -1
  213. package/distribution/component/globe/shader/body/index.d.ts +0 -6
  214. package/distribution/component/globe/shader/body/index.d.ts.map +0 -1
  215. package/distribution/component/globe/shader/body/index.js +0 -15
  216. package/distribution/component/globe/shader/body/index.js.map +0 -1
  217. package/distribution/component/globe/shader/dot/index.d.ts +0 -6
  218. package/distribution/component/globe/shader/dot/index.d.ts.map +0 -1
  219. package/distribution/component/globe/shader/dot/index.js +0 -29
  220. package/distribution/component/globe/shader/dot/index.js.map +0 -1
  221. package/distribution/component/globe/shader/glow-vertex/index.d.ts +0 -3
  222. package/distribution/component/globe/shader/glow-vertex/index.d.ts.map +0 -1
  223. package/distribution/component/globe/shader/glow-vertex/index.js +0 -9
  224. package/distribution/component/globe/shader/glow-vertex/index.js.map +0 -1
  225. package/distribution/component/globe/world/index.d.ts +0 -4
  226. package/distribution/component/globe/world/index.d.ts.map +0 -1
  227. package/distribution/component/globe/world/index.js +0 -39
  228. package/distribution/component/globe/world/index.js.map +0 -1
  229. package/distribution/component/globe/world/type.d.ts +0 -10
  230. package/distribution/component/globe/world/type.d.ts.map +0 -1
  231. package/distribution/component/globe/world/type.js +0 -2
  232. package/distribution/component/globe/world/type.js.map +0 -1
  233. package/distribution/component/locale-link/index.d.ts +0 -4
  234. package/distribution/component/locale-link/index.d.ts.map +0 -1
  235. package/distribution/component/locale-link/index.js +0 -9
  236. package/distribution/component/locale-link/index.js.map +0 -1
  237. package/distribution/component/locale-link/type.d.ts +0 -10
  238. package/distribution/component/locale-link/type.d.ts.map +0 -1
  239. package/distribution/component/locale-link/type.js +0 -2
  240. package/distribution/component/locale-link/type.js.map +0 -1
  241. package/distribution/hook/globe-drag/index.d.ts +0 -10
  242. package/distribution/hook/globe-drag/index.d.ts.map +0 -1
  243. package/distribution/hook/globe-drag/index.js +0 -99
  244. package/distribution/hook/globe-drag/index.js.map +0 -1
  245. package/distribution/hook/globe-drag/type.d.ts +0 -11
  246. package/distribution/hook/globe-drag/type.d.ts.map +0 -1
  247. package/distribution/hook/globe-drag/type.js +0 -2
  248. package/distribution/hook/globe-drag/type.js.map +0 -1
  249. package/distribution/hook/land-points/index.d.ts +0 -3
  250. package/distribution/hook/land-points/index.d.ts.map +0 -1
  251. package/distribution/hook/land-points/index.js +0 -17
  252. package/distribution/hook/land-points/index.js.map +0 -1
  253. package/distribution/style/token/index.css +0 -1
  254. package/distribution/utility/hex-channel/index.d.ts +0 -3
  255. package/distribution/utility/hex-channel/index.d.ts.map +0 -1
  256. package/distribution/utility/hex-channel/index.js +0 -8
  257. package/distribution/utility/hex-channel/index.js.map +0 -1
  258. package/distribution/utility/latitude-longitude-to-vector/index.d.ts +0 -7
  259. package/distribution/utility/latitude-longitude-to-vector/index.d.ts.map +0 -1
  260. package/distribution/utility/latitude-longitude-to-vector/index.js +0 -12
  261. package/distribution/utility/latitude-longitude-to-vector/index.js.map +0 -1
  262. package/distribution/utility/locale/index.d.ts +0 -6
  263. package/distribution/utility/locale/index.d.ts.map +0 -1
  264. package/distribution/utility/locale/index.js +0 -8
  265. package/distribution/utility/locale/index.js.map +0 -1
  266. package/distribution/utility/locale/type.d.ts.map +0 -1
  267. package/distribution/utility/locale/type.js +0 -2
  268. package/distribution/utility/parse-contact/index.d.ts +0 -4
  269. package/distribution/utility/parse-contact/index.d.ts.map +0 -1
  270. package/distribution/utility/parse-contact/index.js +0 -23
  271. package/distribution/utility/parse-contact/index.js.map +0 -1
  272. package/distribution/utility/parse-contact/type.d.ts +0 -20
  273. package/distribution/utility/parse-contact/type.d.ts.map +0 -1
  274. package/distribution/utility/parse-contact/type.js +0 -2
  275. package/distribution/utility/parse-contact/type.js.map +0 -1
  276. package/distribution/utility/web-gl-support/index.d.ts +0 -3
  277. package/distribution/utility/web-gl-support/index.d.ts.map +0 -1
  278. package/distribution/utility/web-gl-support/index.js +0 -11
  279. package/distribution/utility/web-gl-support/index.js.map +0 -1
  280. /package/distribution/{component/consent/toggle → content/locale}/type.js +0 -0
@@ -1,25 +1 @@
1
- .globe {
2
- position: absolute;
3
- inset: 0;
4
- }
5
- .globe canvas {
6
- display: block;
7
- touch-action: pan-y;
8
- }
9
-
10
- .halo {
11
- position: absolute;
12
- inset: 14%;
13
- border-radius: 50%;
14
- background: radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 14%, transparent), color-mix(in srgb, var(--foreground) 4%, transparent) 60%, transparent);
15
- filter: blur(30px);
16
- pointer-events: none;
17
- }
18
-
19
- .fallback {
20
- position: absolute;
21
- inset: 18%;
22
- border-radius: 50%;
23
- background: radial-gradient(circle at 35% 30%, var(--surface), var(--background) 70%);
24
- box-shadow: 0 0 120px 10px color-mix(in srgb, var(--foreground) 8%, transparent), inset 0 0 40px color-mix(in srgb, var(--foreground) 8%, transparent);
25
- }
1
+ .globe{--globe-glow: var(--foreground);--globe-surface: var(--background);position:absolute;inset:0}
@@ -0,0 +1,7 @@
1
+ /* The shared globe's halo and fallback follow the Sharadox style. */
2
+ .globe {
3
+ --globe-glow: var(--foreground);
4
+ --globe-surface: var(--background);
5
+ position: absolute;
6
+ inset: 0;
7
+ }
@@ -1,97 +1 @@
1
- .guide {
2
- position: absolute;
3
- inset: 0;
4
- z-index: 0;
5
- overflow: hidden;
6
- pointer-events: none;
7
- mask-image: radial-gradient(75% 70% at 60% 45%, #000 30%, transparent 85%);
8
- }
9
-
10
- .column {
11
- position: absolute;
12
- top: 0;
13
- bottom: 0;
14
- width: 1px;
15
- background: linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 10px repeat-y;
16
- transform-origin: top;
17
- animation: grow-down 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
18
- }
19
-
20
- .row {
21
- position: absolute;
22
- left: 0;
23
- right: 0;
24
- height: 1px;
25
- background: linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/10px 1px repeat-x;
26
- transform-origin: left;
27
- animation: grow-across 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
28
- }
29
-
30
- @keyframes grow-down {
31
- from {
32
- transform: scaleY(0);
33
- }
34
- }
35
- @keyframes grow-across {
36
- from {
37
- transform: scaleX(0);
38
- }
39
- }
40
- .beam {
41
- position: absolute;
42
- opacity: 0;
43
- }
44
-
45
- .down {
46
- top: 0;
47
- width: 1px;
48
- height: 120px;
49
- margin-left: -0.5px;
50
- background: linear-gradient(180deg, transparent, var(--foreground));
51
- animation: beam-down 7s 1.4s linear infinite;
52
- }
53
-
54
- .across {
55
- left: 0;
56
- height: 1px;
57
- width: 160px;
58
- margin-top: -0.5px;
59
- background: linear-gradient(90deg, transparent, var(--foreground));
60
- animation: beam-across 9s 2.2s linear infinite;
61
- }
62
-
63
- .late {
64
- animation-delay: 4.6s;
65
- }
66
-
67
- @keyframes beam-down {
68
- 0% {
69
- opacity: 0;
70
- transform: translateY(-120px);
71
- }
72
- 8% {
73
- opacity: 1;
74
- }
75
- 45%, 100% {
76
- opacity: 0;
77
- transform: translateY(100vh);
78
- }
79
- }
80
- @keyframes beam-across {
81
- 0% {
82
- opacity: 0;
83
- transform: translateX(-160px);
84
- }
85
- 8% {
86
- opacity: 1;
87
- }
88
- 50%, 100% {
89
- opacity: 0;
90
- transform: translateX(100vw);
91
- }
92
- }
93
- @media (prefers-reduced-motion: reduce) {
94
- .beam {
95
- display: none;
96
- }
97
- }
1
+ .guide{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;mask-image:radial-gradient(75% 70% at 60% 45%, #000 30%, transparent 85%)}.column{position:absolute;top:0;bottom:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 10px repeat-y;transform-origin:top;animation:grow-down 1.6s cubic-bezier(0.22, 1, 0.36, 1) both}.row{position:absolute;left:0;right:0;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/10px 1px repeat-x;transform-origin:left;animation:grow-across 1.6s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes grow-down{from{transform:scaleY(0)}}@keyframes grow-across{from{transform:scaleX(0)}}.beam{position:absolute;opacity:0}.down{top:0;width:1px;height:120px;margin-left:-0.5px;background:linear-gradient(180deg, transparent, var(--foreground));animation:beam-down 7s 1.4s linear infinite}.across{left:0;height:1px;width:160px;margin-top:-0.5px;background:linear-gradient(90deg, transparent, var(--foreground));animation:beam-across 9s 2.2s linear infinite}.late{animation-delay:4.6s}@keyframes beam-down{0%{opacity:0;transform:translateY(-120px)}8%{opacity:1}45%,100%{opacity:0;transform:translateY(100vh)}}@keyframes beam-across{0%{opacity:0;transform:translateX(-160px)}8%{opacity:1}50%,100%{opacity:0;transform:translateX(100vw)}}@media(prefers-reduced-motion: reduce){.beam{display:none}}
@@ -0,0 +1,94 @@
1
+ @use "style/token" as *;
2
+
3
+ .guide {
4
+ position: absolute;
5
+ inset: 0;
6
+ z-index: 0;
7
+ overflow: hidden;
8
+ pointer-events: none;
9
+ mask-image: radial-gradient(75% 70% at 60% 45%, #000 30%, transparent 85%);
10
+ }
11
+ .column {
12
+ position: absolute;
13
+ top: 0;
14
+ bottom: 0;
15
+ width: 1px;
16
+ @include dashed(vertical, var(--line-2), 5px, 5px);
17
+ transform-origin: top;
18
+ animation: grow-down 1.6s $ease both;
19
+ }
20
+ .row {
21
+ position: absolute;
22
+ left: 0;
23
+ right: 0;
24
+ height: 1px;
25
+ @include dashed(horizontal, var(--line-2), 5px, 5px);
26
+ transform-origin: left;
27
+ animation: grow-across 1.6s $ease both;
28
+ }
29
+ @keyframes grow-down {
30
+ from {
31
+ transform: scaleY(0);
32
+ }
33
+ }
34
+ @keyframes grow-across {
35
+ from {
36
+ transform: scaleX(0);
37
+ }
38
+ }
39
+ .beam {
40
+ position: absolute;
41
+ opacity: 0;
42
+ }
43
+ .down {
44
+ top: 0;
45
+ width: 1px;
46
+ height: 120px;
47
+ margin-left: -0.5px;
48
+ background: linear-gradient(180deg, transparent, var(--foreground));
49
+ animation: beam-down 7s 1.4s linear infinite;
50
+ }
51
+ .across {
52
+ left: 0;
53
+ height: 1px;
54
+ width: 160px;
55
+ margin-top: -0.5px;
56
+ background: linear-gradient(90deg, transparent, var(--foreground));
57
+ animation: beam-across 9s 2.2s linear infinite;
58
+ }
59
+ .late {
60
+ animation-delay: 4.6s;
61
+ }
62
+ @keyframes beam-down {
63
+ 0% {
64
+ opacity: 0;
65
+ transform: translateY(-120px);
66
+ }
67
+ 8% {
68
+ opacity: 1;
69
+ }
70
+ 45%,
71
+ 100% {
72
+ opacity: 0;
73
+ transform: translateY(100vh);
74
+ }
75
+ }
76
+ @keyframes beam-across {
77
+ 0% {
78
+ opacity: 0;
79
+ transform: translateX(-160px);
80
+ }
81
+ 8% {
82
+ opacity: 1;
83
+ }
84
+ 50%,
85
+ 100% {
86
+ opacity: 0;
87
+ transform: translateX(100vw);
88
+ }
89
+ }
90
+ @media (prefers-reduced-motion: reduce) {
91
+ .beam {
92
+ display: none;
93
+ }
94
+ }
@@ -8,7 +8,7 @@ import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
8
8
  import { GlobePlaceholder } from "@sharadox/sharadox-web-library/component/globe/placeholder";
9
9
  import { HeroGuide } from "@sharadox/sharadox-web-library/component/hero/guide";
10
10
  import { HERO } from "@sharadox/sharadox-web-library/content/hero";
11
- import { translate } from "@sharadox/web-library/internationalization/translate";
11
+ import { translate } from "@sharadox/internationalization-web-library/translate";
12
12
  import styles from "./index.module.css";
13
13
  const Globe = dynamic(() => import("@sharadox/sharadox-web-library/component/globe"), {
14
14
  ssr: false,
@@ -1,124 +1 @@
1
- .hero {
2
- position: relative;
3
- min-height: min(100svh, 980px);
4
- width: min(100% - 2 * var(--gutter), var(--maximum-width));
5
- margin: 0 auto;
6
- padding: 104px var(--padding) 56px;
7
- border-inline: 1px solid var(--line);
8
- display: grid;
9
- grid-template-columns: 1fr 1fr;
10
- align-items: center;
11
- gap: 24px;
12
- }
13
- @media (max-width: 900px) {
14
- .hero {
15
- grid-template-columns: 1fr;
16
- padding-top: 72px;
17
- gap: 0;
18
- }
19
- }
20
-
21
- .copy {
22
- position: relative;
23
- z-index: 2;
24
- container-type: inline-size;
25
- }
26
-
27
- .eyebrow {
28
- padding: 6px 12px 6px 10px;
29
- border: 1px solid var(--line-2);
30
- border-radius: 99px;
31
- background: color-mix(in srgb, var(--background) 60%, transparent);
32
- backdrop-filter: blur(6px);
33
- }
34
-
35
- .live {
36
- width: 7px;
37
- height: 7px;
38
- border-radius: 50%;
39
- background: var(--foreground);
40
- box-shadow: 0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);
41
- animation: live 2.4s infinite;
42
- }
43
-
44
- @keyframes live {
45
- 70% {
46
- box-shadow: 0 0 0 9px color-mix(in srgb, var(--foreground) 0%, transparent);
47
- }
48
- 100% {
49
- box-shadow: 0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent);
50
- }
51
- }
52
- .title {
53
- margin: 26px 0 26px;
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;
57
- letter-spacing: -0.06em;
58
- line-height: 0.95;
59
- }
60
- @media (max-width: 900px) {
61
- .title {
62
- margin-top: 18px;
63
- }
64
- }
65
-
66
- .line {
67
- display: block;
68
- overflow: hidden;
69
- padding-bottom: 0.06em;
70
- }
71
-
72
- .lineInner {
73
- display: inline-block;
74
- }
75
-
76
- .dim {
77
- background: linear-gradient(180deg, var(--foreground) 10%, var(--foreground-3) 120%);
78
- -webkit-background-clip: text;
79
- background-clip: text;
80
- color: transparent;
81
- }
82
-
83
- .subtitle {
84
- max-width: 31rem;
85
- font-size: clamp(1.05rem, 1.4vw, 1.2rem);
86
- color: var(--foreground-2);
87
- line-height: 1.55;
88
- }
89
-
90
- .actions {
91
- display: flex;
92
- flex-wrap: wrap;
93
- gap: 12px;
94
- margin-top: 34px;
95
- }
96
-
97
- .globe {
98
- position: relative;
99
- z-index: 1;
100
- aspect-ratio: 1;
101
- width: 128%;
102
- margin: -6% -24% -6% 0;
103
- justify-self: end;
104
- }
105
- @media (max-width: 900px) {
106
- .globe {
107
- order: -1;
108
- width: 112%;
109
- margin: 0 -6%;
110
- justify-self: center;
111
- }
112
- }
113
-
114
- .hint {
115
- position: absolute;
116
- left: 50%;
117
- bottom: 13%;
118
- transform: translateX(-50%);
119
- font-size: 11.5px;
120
- letter-spacing: 0.06em;
121
- text-transform: uppercase;
122
- color: var(--foreground-3);
123
- pointer-events: none;
124
- }
1
+ .hero{position:relative;min-height:min(100svh,980px);width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;padding:104px var(--padding) 56px;border-inline:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px}@media(max-width: 900px){.hero{grid-template-columns:1fr;padding-top:72px;gap:0}}.copy{position:relative;z-index:2;container-type:inline-size}.eyebrow{padding:6px 12px 6px 10px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--background) 60%, transparent);backdrop-filter:blur(6px)}.live{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:live 2.4s infinite}@keyframes live{70%{box-shadow:0 0 0 9px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.title{margin:26px 0 26px;font-size:min(clamp(3rem,7vw,6.4rem),14.6cqi);white-space:nowrap;letter-spacing:-0.06em;line-height:.95}@media(max-width: 900px){.title{margin-top:18px}}.line{display:block;overflow:hidden;padding-bottom:.06em}.lineInner{display:inline-block}.dim{background:linear-gradient(180deg, var(--foreground) 10%, var(--foreground-3) 120%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.subtitle{max-width:31rem;font-size:clamp(1.05rem,1.4vw,1.2rem);color:var(--foreground-2);line-height:1.55}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.globe{position:relative;z-index:1;aspect-ratio:1;width:128%;margin:-6% -24% -6% 0;justify-self:end}@media(max-width: 900px){.globe{order:-1;width:112%;margin:0 -6%;justify-self:center}}.hint{position:absolute;left:50%;bottom:13%;transform:translateX(-50%);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--foreground-3);pointer-events:none}
@@ -0,0 +1,109 @@
1
+ @use "style/token" as *;
2
+
3
+ .hero {
4
+ position: relative;
5
+ min-height: min(100svh, 980px);
6
+ width: min(100% - 2 * var(--gutter), var(--maximum-width));
7
+ margin: 0 auto;
8
+ padding: 104px var(--padding) 56px;
9
+ border-inline: 1px solid var(--line);
10
+ display: grid;
11
+ grid-template-columns: 1fr 1fr;
12
+ align-items: center;
13
+ gap: 24px;
14
+ @include below(900px) {
15
+ grid-template-columns: 1fr;
16
+ padding-top: 72px;
17
+ gap: 0;
18
+ }
19
+ }
20
+ .copy {
21
+ position: relative;
22
+ z-index: 2;
23
+ container-type: inline-size;
24
+ }
25
+ .eyebrow {
26
+ padding: 6px 12px 6px 10px;
27
+ border: 1px solid var(--line-2);
28
+ border-radius: 99px;
29
+ background: shade(60%);
30
+ backdrop-filter: blur(6px);
31
+ }
32
+ .live {
33
+ width: 7px;
34
+ height: 7px;
35
+ border-radius: 50%;
36
+ background: var(--foreground);
37
+ box-shadow: 0 0 0 0 tint(60%);
38
+ animation: live 2.4s infinite;
39
+ }
40
+ @keyframes live {
41
+ 70% {
42
+ box-shadow: 0 0 0 9px tint(0%);
43
+ }
44
+ 100% {
45
+ box-shadow: 0 0 0 0 tint(0%);
46
+ }
47
+ }
48
+ .title {
49
+ margin: 26px 0 26px;
50
+ /* Each line stays on one line: the size follows the column so the longest line ("que simplificam") fits. */
51
+ font-size: min(clamp(3rem, 7vw, 6.4rem), 14.6cqi);
52
+ white-space: nowrap;
53
+ letter-spacing: -0.06em;
54
+ line-height: 0.95;
55
+ @include below(900px) {
56
+ margin-top: 18px;
57
+ }
58
+ }
59
+ .line {
60
+ display: block;
61
+ overflow: hidden;
62
+ padding-bottom: 0.06em;
63
+ }
64
+ .lineInner {
65
+ display: inline-block;
66
+ }
67
+ .dim {
68
+ background: linear-gradient(180deg, var(--foreground) 10%, var(--foreground-3) 120%);
69
+ -webkit-background-clip: text;
70
+ background-clip: text;
71
+ color: transparent;
72
+ }
73
+ .subtitle {
74
+ max-width: 31rem;
75
+ font-size: clamp(1.05rem, 1.4vw, 1.2rem);
76
+ color: var(--foreground-2);
77
+ line-height: 1.55;
78
+ }
79
+ .actions {
80
+ display: flex;
81
+ flex-wrap: wrap;
82
+ gap: 12px;
83
+ margin-top: 34px;
84
+ }
85
+ .globe {
86
+ position: relative;
87
+ z-index: 1;
88
+ aspect-ratio: 1;
89
+ width: 128%;
90
+ margin: -6% -24% -6% 0;
91
+ justify-self: end;
92
+ @include below(900px) {
93
+ order: -1;
94
+ width: 112%;
95
+ margin: 0 -6%;
96
+ justify-self: center;
97
+ }
98
+ }
99
+ .hint {
100
+ position: absolute;
101
+ left: 50%;
102
+ bottom: 13%;
103
+ transform: translateX(-50%);
104
+ font-size: 11.5px;
105
+ letter-spacing: 0.06em;
106
+ text-transform: uppercase;
107
+ color: var(--foreground-3);
108
+ pointer-events: none;
109
+ }
@@ -1,4 +1,4 @@
1
- import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
1
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
2
  export interface HeroProperties {
3
3
  locale: Locale;
4
4
  }
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { translate } from "@sharadox/web-library/internationalization/translate";
3
- import { LocaleLink } from "@sharadox/sharadox-web-library/component/locale-link";
2
+ import { translate } from "@sharadox/internationalization-web-library/translate";
3
+ import { LocaleLink } from "@sharadox/internationalization-web-library/locale-link";
4
4
  import { NAVIGATION } from "@sharadox/sharadox-web-library/content/navigation";
5
- import { LOCALES } from "@sharadox/sharadox-web-library/utility/locale";
5
+ import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
6
6
  import styles from "./index.module.css";
7
7
  /** EN/PT pill toggle. A manual choice is remembered, so sharadox.com opens in that language next time. */
8
8
  export function LanguageSwitch({ locale }) {
9
- return (_jsx("div", { className: styles.switch, role: "group", "aria-label": translate(NAVIGATION.language, locale), children: LOCALES.map((other) => (_jsx(LocaleLink, { locale: other, current: other === locale, children: other.toUpperCase() }, other))) }));
9
+ return (_jsx("div", { className: styles.switch, role: "group", "aria-label": translate(NAVIGATION.language, locale), children: LOCALES.locales.map((other) => (_jsx(LocaleLink, { locale: other, current: other === locale, children: other.toUpperCase() }, other))) }));
10
10
  }
11
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/language-switch/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AACxE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,0GAA0G;AAC1G,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAA4B;IACjE,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAC,OAAO,gBAAa,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,YAC3F,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACtB,KAAC,UAAU,IAAa,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,KAAK,MAAM,YAC7D,KAAK,CAAC,WAAW,EAAE,IADL,KAAK,CAET,CACd,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/language-switch/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AACxE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,0GAA0G;AAC1G,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAA4B;IACjE,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAC,OAAO,gBAAa,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,YAC3F,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9B,KAAC,UAAU,IAAa,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,KAAK,MAAM,YAC7D,KAAK,CAAC,WAAW,EAAE,IADL,KAAK,CAET,CACd,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -1,20 +1 @@
1
- .switch {
2
- display: flex;
3
- padding: 3px;
4
- border: 1px solid var(--line-2);
5
- border-radius: 99px;
6
- }
7
- .switch a {
8
- font: 500 11px/1 var(--monospace);
9
- padding: 7.5px 9px;
10
- border-radius: 99px;
11
- color: var(--foreground-3);
12
- transition: color 0.2s, background 0.2s;
13
- }
14
- .switch a:hover {
15
- color: var(--foreground);
16
- }
17
- .switch a[aria-current] {
18
- background: var(--foreground);
19
- color: var(--background);
20
- }
1
+ .switch{display:flex;padding:3px;border:1px solid var(--line-2);border-radius:99px}.switch a{font:500 11px/1 var(--monospace);padding:7.5px 9px;border-radius:99px;color:var(--foreground-3);transition:color .2s,background .2s}.switch a:hover{color:var(--foreground)}.switch a[aria-current]{background:var(--foreground);color:var(--background)}
@@ -0,0 +1,22 @@
1
+ .switch {
2
+ display: flex;
3
+ padding: 3px;
4
+ border: 1px solid var(--line-2);
5
+ border-radius: 99px;
6
+ a {
7
+ font: 500 11px/1 var(--monospace);
8
+ padding: 7.5px 9px;
9
+ border-radius: 99px;
10
+ color: var(--foreground-3);
11
+ transition:
12
+ color 0.2s,
13
+ background 0.2s;
14
+ &:hover {
15
+ color: var(--foreground);
16
+ }
17
+ }
18
+ a[aria-current] {
19
+ background: var(--foreground);
20
+ color: var(--background);
21
+ }
22
+ }
@@ -1,4 +1,4 @@
1
- import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
1
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
2
  export interface LanguageSwitchProperties {
3
3
  locale: Locale;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useMarquee } from "@sharadox/web-library/animation/marquee";
3
+ import { useMarquee } from "@sharadox/animation-web-library/marquee";
4
4
  import { STACK } from "@sharadox/sharadox-web-library/content/stack";
5
5
  import styles from "./index.module.css";
6
6
  /** Times the list repeats inside one group, so a group is always wider than the widest screen. */
@@ -1,43 +1 @@
1
- /* The frame carries the grid's rails and top line; the strip inside fades at its edges. */
2
- .frame {
3
- position: relative;
4
- width: min(100% - 2 * var(--gutter), var(--maximum-width));
5
- margin-inline: auto;
6
- border: 1px solid var(--line);
7
- border-bottom: 0;
8
- }
9
-
10
- .marquee {
11
- --marquee-gap: 12px;
12
- overflow: hidden;
13
- padding: 22px 0;
14
- mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
15
- }
16
-
17
- .track {
18
- display: flex;
19
- width: max-content;
20
- cursor: grab;
21
- touch-action: pan-y;
22
- user-select: none;
23
- will-change: transform;
24
- }
25
- .track:active {
26
- cursor: grabbing;
27
- }
28
-
29
- /* Each group ends with the same gap that separates the pills, so both groups are exactly the same width. */
30
- .group {
31
- display: flex;
32
- gap: var(--marquee-gap);
33
- padding-right: var(--marquee-gap);
34
- }
35
-
36
- .pill {
37
- padding: 9px 16px;
38
- border-radius: 99px;
39
- border: 1px solid var(--line-2);
40
- font-size: 13px;
41
- color: var(--foreground-2);
42
- white-space: nowrap;
43
- }
1
+ .frame{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border:1px solid var(--line);border-bottom:0}.marquee{--marquee-gap: 12px;overflow:hidden;padding:22px 0;mask-image:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent)}.track{display:flex;width:max-content;cursor:grab;touch-action:pan-y;user-select:none;will-change:transform}.track:active{cursor:grabbing}.group{display:flex;gap:var(--marquee-gap);padding-right:var(--marquee-gap)}.pill{padding:9px 16px;border-radius:99px;border:1px solid var(--line-2);font-size:13px;color:var(--foreground-2);white-space:nowrap}
@@ -0,0 +1,39 @@
1
+ /* The frame carries the grid's rails and top line; the strip inside fades at its edges. */
2
+ .frame {
3
+ position: relative;
4
+ width: min(100% - 2 * var(--gutter), var(--maximum-width));
5
+ margin-inline: auto;
6
+ border: 1px solid var(--line);
7
+ border-bottom: 0;
8
+ }
9
+ .marquee {
10
+ --marquee-gap: 12px;
11
+ overflow: hidden;
12
+ padding: 22px 0;
13
+ mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
14
+ }
15
+ .track {
16
+ display: flex;
17
+ width: max-content;
18
+ cursor: grab;
19
+ touch-action: pan-y;
20
+ user-select: none;
21
+ will-change: transform;
22
+ &:active {
23
+ cursor: grabbing;
24
+ }
25
+ }
26
+ /* Each group ends with the same gap that separates the pills, so both groups are exactly the same width. */
27
+ .group {
28
+ display: flex;
29
+ gap: var(--marquee-gap);
30
+ padding-right: var(--marquee-gap);
31
+ }
32
+ .pill {
33
+ padding: 9px 16px;
34
+ border-radius: 99px;
35
+ border: 1px solid var(--line-2);
36
+ font-size: 13px;
37
+ color: var(--foreground-2);
38
+ white-space: nowrap;
39
+ }
@@ -6,7 +6,7 @@ import { LanguageSwitch } from "@sharadox/sharadox-web-library/component/languag
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 { NAVIGATION } from "@sharadox/sharadox-web-library/content/navigation";
9
- import { translate } from "@sharadox/web-library/internationalization/translate";
9
+ import { translate } from "@sharadox/internationalization-web-library/translate";
10
10
  import styles from "./index.module.css";
11
11
  const LINKS = ["services", "capabilities", "process", "contact"];
12
12
  /** Fixed top bar that frosts once the page scrolls, with the style and language switches. */