@sharadox/sharadox-web-library 0.6.6 → 0.7.1

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 (300) 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.d.ts.map +1 -1
  33. package/distribution/component/cross/index.js +2 -1
  34. package/distribution/component/cross/index.js.map +1 -1
  35. package/distribution/component/cross/index.module.css +1 -53
  36. package/distribution/component/cross/index.module.scss +50 -0
  37. package/distribution/component/eyebrow/index.d.ts.map +1 -1
  38. package/distribution/component/eyebrow/index.js +2 -1
  39. package/distribution/component/eyebrow/index.js.map +1 -1
  40. package/distribution/component/eyebrow/index.module.css +1 -9
  41. package/distribution/component/eyebrow/index.module.scss +9 -0
  42. package/distribution/component/footer/index.js +4 -4
  43. package/distribution/component/footer/index.js.map +1 -1
  44. package/distribution/component/footer/index.module.css +1 -138
  45. package/distribution/component/footer/index.module.scss +125 -0
  46. package/distribution/component/footer/type.d.ts +1 -1
  47. package/distribution/component/globe/index.d.ts +2 -2
  48. package/distribution/component/globe/index.d.ts.map +1 -1
  49. package/distribution/component/globe/index.js +23 -32
  50. package/distribution/component/globe/index.js.map +1 -1
  51. package/distribution/component/globe/index.module.css +1 -25
  52. package/distribution/component/globe/index.module.scss +7 -0
  53. package/distribution/component/hero/guide/index.module.css +1 -97
  54. package/distribution/component/hero/guide/index.module.scss +94 -0
  55. package/distribution/component/hero/index.js +1 -1
  56. package/distribution/component/hero/index.module.css +1 -124
  57. package/distribution/component/hero/index.module.scss +109 -0
  58. package/distribution/component/hero/type.d.ts +1 -1
  59. package/distribution/component/language-switch/index.js +4 -4
  60. package/distribution/component/language-switch/index.js.map +1 -1
  61. package/distribution/component/language-switch/index.module.css +1 -20
  62. package/distribution/component/language-switch/index.module.scss +22 -0
  63. package/distribution/component/language-switch/type.d.ts +1 -1
  64. package/distribution/component/marquee/index.js +1 -1
  65. package/distribution/component/marquee/index.module.css +1 -43
  66. package/distribution/component/marquee/index.module.scss +39 -0
  67. package/distribution/component/navigation/index.d.ts.map +1 -1
  68. package/distribution/component/navigation/index.js +3 -2
  69. package/distribution/component/navigation/index.js.map +1 -1
  70. package/distribution/component/navigation/index.module.css +1 -81
  71. package/distribution/component/navigation/index.module.scss +76 -0
  72. package/distribution/component/navigation/type.d.ts +1 -1
  73. package/distribution/component/process/index.js +1 -1
  74. package/distribution/component/process/index.module.css +1 -43
  75. package/distribution/component/process/index.module.scss +40 -0
  76. package/distribution/component/process/step/index.module.css +1 -33
  77. package/distribution/component/process/step/index.module.scss +31 -0
  78. package/distribution/component/process/type.d.ts +1 -1
  79. package/distribution/component/section/index.d.ts.map +1 -1
  80. package/distribution/component/section/index.js +2 -1
  81. package/distribution/component/section/index.js.map +1 -1
  82. package/distribution/component/section/index.module.css +1 -35
  83. package/distribution/component/section/index.module.scss +32 -0
  84. package/distribution/component/section-heading/index.js +1 -1
  85. package/distribution/component/section-heading/index.module.css +1 -7
  86. package/distribution/component/section-heading/index.module.scss +7 -0
  87. package/distribution/component/section-indicator/index.js +2 -2
  88. package/distribution/component/section-indicator/index.module.css +1 -145
  89. package/distribution/component/section-indicator/index.module.scss +143 -0
  90. package/distribution/component/section-indicator/type.d.ts +1 -1
  91. package/distribution/component/service-index/index.js +1 -1
  92. package/distribution/component/service-index/index.module.css +1 -88
  93. package/distribution/component/service-index/index.module.scss +83 -0
  94. package/distribution/component/service-index/type.d.ts +1 -1
  95. package/distribution/component/services/campaign-visual/index.d.ts.map +1 -1
  96. package/distribution/component/services/campaign-visual/index.js +4 -3
  97. package/distribution/component/services/campaign-visual/index.js.map +1 -1
  98. package/distribution/component/services/campaign-visual/index.module.css +1 -128
  99. package/distribution/component/services/campaign-visual/index.module.scss +122 -0
  100. package/distribution/component/services/campaign-visual/stage/index.js +3 -3
  101. package/distribution/component/services/campaign-visual/stage/index.js.map +1 -1
  102. package/distribution/component/services/campaign-visual/stage/type.d.ts +1 -1
  103. package/distribution/component/services/campaign-visual/type.d.ts +1 -1
  104. package/distribution/component/services/cell/index.d.ts.map +1 -1
  105. package/distribution/component/services/cell/index.js +4 -3
  106. package/distribution/component/services/cell/index.js.map +1 -1
  107. package/distribution/component/services/cell/index.module.css +1 -86
  108. package/distribution/component/services/cell/index.module.scss +81 -0
  109. package/distribution/component/services/design-visual/index.d.ts.map +1 -1
  110. package/distribution/component/services/design-visual/index.js +3 -2
  111. package/distribution/component/services/design-visual/index.js.map +1 -1
  112. package/distribution/component/services/design-visual/index.module.css +1 -130
  113. package/distribution/component/services/design-visual/index.module.scss +117 -0
  114. package/distribution/component/services/index.js +2 -2
  115. package/distribution/component/services/index.module.css +1 -84
  116. package/distribution/component/services/index.module.scss +66 -0
  117. package/distribution/component/services/mobile-visual/index.d.ts.map +1 -1
  118. package/distribution/component/services/mobile-visual/index.js +2 -1
  119. package/distribution/component/services/mobile-visual/index.js.map +1 -1
  120. package/distribution/component/services/mobile-visual/index.module.css +1 -104
  121. package/distribution/component/services/mobile-visual/index.module.scss +93 -0
  122. package/distribution/component/services/mobile-visual/type.d.ts +1 -1
  123. package/distribution/component/services/platform-visual/index.module.css +1 -46
  124. package/distribution/component/services/platform-visual/index.module.scss +39 -0
  125. package/distribution/component/services/social-visual/index.d.ts.map +1 -1
  126. package/distribution/component/services/social-visual/index.js +6 -5
  127. package/distribution/component/services/social-visual/index.js.map +1 -1
  128. package/distribution/component/services/social-visual/index.module.css +1 -131
  129. package/distribution/component/services/social-visual/index.module.scss +120 -0
  130. package/distribution/component/services/social-visual/type.d.ts +1 -1
  131. package/distribution/component/services/type.d.ts +1 -1
  132. package/distribution/component/services/web-visual/index.d.ts.map +1 -1
  133. package/distribution/component/services/web-visual/index.js +3 -2
  134. package/distribution/component/services/web-visual/index.js.map +1 -1
  135. package/distribution/component/services/web-visual/index.module.css +1 -142
  136. package/distribution/component/services/web-visual/index.module.scss +132 -0
  137. package/distribution/component/share-image/index.d.ts +1 -2
  138. package/distribution/component/share-image/index.d.ts.map +1 -1
  139. package/distribution/component/share-image/index.js +3 -3
  140. package/distribution/component/share-image/index.js.map +1 -1
  141. package/distribution/component/share-image/type.d.ts +1 -1
  142. package/distribution/component/statement/index.js +1 -1
  143. package/distribution/component/statement/index.module.css +1 -11
  144. package/distribution/component/statement/index.module.scss +10 -0
  145. package/distribution/component/structured-data/index.d.ts.map +1 -1
  146. package/distribution/component/structured-data/index.js +48 -53
  147. package/distribution/component/structured-data/index.js.map +1 -1
  148. package/distribution/component/structured-data/type.d.ts +1 -1
  149. package/distribution/component/style-switch/index.d.ts +2 -2
  150. package/distribution/component/style-switch/index.d.ts.map +1 -1
  151. package/distribution/component/style-switch/index.js +11 -18
  152. package/distribution/component/style-switch/index.js.map +1 -1
  153. package/distribution/component/style-switch/index.module.css +1 -36
  154. package/distribution/component/style-switch/index.module.scss +37 -0
  155. package/distribution/component/style-switch/type.d.ts +1 -1
  156. package/distribution/component/touchpoint/index.js +3 -3
  157. package/distribution/component/touchpoint/index.module.css +1 -85
  158. package/distribution/component/touchpoint/index.module.scss +75 -0
  159. package/distribution/component/touchpoint/plate/index.module.css +1 -136
  160. package/distribution/component/touchpoint/plate/index.module.scss +129 -0
  161. package/distribution/component/touchpoint/type.d.ts +1 -1
  162. package/distribution/component/wordmark/index.module.css +1 -23
  163. package/distribution/component/wordmark/index.module.scss +22 -0
  164. package/distribution/content/locale/index.d.ts +6 -0
  165. package/distribution/content/locale/index.d.ts.map +1 -0
  166. package/distribution/content/locale/index.js +7 -0
  167. package/distribution/content/locale/index.js.map +1 -0
  168. package/distribution/{utility → content}/locale/type.d.ts +3 -2
  169. package/distribution/content/locale/type.d.ts.map +1 -0
  170. package/distribution/{utility → content}/locale/type.js.map +1 -1
  171. package/distribution/content/style/index.d.ts +47 -43
  172. package/distribution/content/style/index.d.ts.map +1 -1
  173. package/distribution/content/style/index.js +20 -13
  174. package/distribution/content/style/index.js.map +1 -1
  175. package/distribution/utility/separate/index.d.ts +6 -1
  176. package/distribution/utility/separate/index.d.ts.map +1 -1
  177. package/distribution/utility/separate/index.js +8 -2
  178. package/distribution/utility/separate/index.js.map +1 -1
  179. package/llms.txt +10 -0
  180. package/package.json +37 -27
  181. package/distribution/component/consent/toggle/index.d.ts +0 -4
  182. package/distribution/component/consent/toggle/index.d.ts.map +0 -1
  183. package/distribution/component/consent/toggle/index.js +0 -7
  184. package/distribution/component/consent/toggle/index.js.map +0 -1
  185. package/distribution/component/consent/toggle/type.d.ts +0 -10
  186. package/distribution/component/consent/toggle/type.d.ts.map +0 -1
  187. package/distribution/component/consent/toggle/type.js.map +0 -1
  188. package/distribution/component/cursor/index.d.ts +0 -3
  189. package/distribution/component/cursor/index.d.ts.map +0 -1
  190. package/distribution/component/cursor/index.js +0 -45
  191. package/distribution/component/cursor/index.js.map +0 -1
  192. package/distribution/component/cursor/index.module.css +0 -55
  193. package/distribution/component/globe/arc/index.d.ts +0 -4
  194. package/distribution/component/globe/arc/index.d.ts.map +0 -1
  195. package/distribution/component/globe/arc/index.js +0 -29
  196. package/distribution/component/globe/arc/index.js.map +0 -1
  197. package/distribution/component/globe/arc/type.d.ts +0 -12
  198. package/distribution/component/globe/arc/type.d.ts.map +0 -1
  199. package/distribution/component/globe/arc/type.js +0 -2
  200. package/distribution/component/globe/arc/type.js.map +0 -1
  201. package/distribution/component/globe/color/index.d.ts +0 -4
  202. package/distribution/component/globe/color/index.d.ts.map +0 -1
  203. package/distribution/component/globe/color/index.js +0 -16
  204. package/distribution/component/globe/color/index.js.map +0 -1
  205. package/distribution/component/globe/color/type.d.ts +0 -13
  206. package/distribution/component/globe/color/type.d.ts.map +0 -1
  207. package/distribution/component/globe/color/type.js +0 -2
  208. package/distribution/component/globe/color/type.js.map +0 -1
  209. package/distribution/component/globe/dots/index.d.ts +0 -4
  210. package/distribution/component/globe/dots/index.d.ts.map +0 -1
  211. package/distribution/component/globe/dots/index.js +0 -38
  212. package/distribution/component/globe/dots/index.js.map +0 -1
  213. package/distribution/component/globe/dots/type.d.ts +0 -7
  214. package/distribution/component/globe/dots/type.d.ts.map +0 -1
  215. package/distribution/component/globe/dots/type.js +0 -2
  216. package/distribution/component/globe/dots/type.js.map +0 -1
  217. package/distribution/component/globe/marker/index.d.ts +0 -4
  218. package/distribution/component/globe/marker/index.d.ts.map +0 -1
  219. package/distribution/component/globe/marker/index.js +0 -21
  220. package/distribution/component/globe/marker/index.js.map +0 -1
  221. package/distribution/component/globe/marker/type.d.ts +0 -9
  222. package/distribution/component/globe/marker/type.d.ts.map +0 -1
  223. package/distribution/component/globe/marker/type.js +0 -2
  224. package/distribution/component/globe/marker/type.js.map +0 -1
  225. package/distribution/component/globe/shader/arc/index.d.ts +0 -6
  226. package/distribution/component/globe/shader/arc/index.d.ts.map +0 -1
  227. package/distribution/component/globe/shader/arc/index.js +0 -24
  228. package/distribution/component/globe/shader/arc/index.js.map +0 -1
  229. package/distribution/component/globe/shader/atmosphere/index.d.ts +0 -6
  230. package/distribution/component/globe/shader/atmosphere/index.d.ts.map +0 -1
  231. package/distribution/component/globe/shader/atmosphere/index.js +0 -15
  232. package/distribution/component/globe/shader/atmosphere/index.js.map +0 -1
  233. package/distribution/component/globe/shader/body/index.d.ts +0 -6
  234. package/distribution/component/globe/shader/body/index.d.ts.map +0 -1
  235. package/distribution/component/globe/shader/body/index.js +0 -15
  236. package/distribution/component/globe/shader/body/index.js.map +0 -1
  237. package/distribution/component/globe/shader/dot/index.d.ts +0 -6
  238. package/distribution/component/globe/shader/dot/index.d.ts.map +0 -1
  239. package/distribution/component/globe/shader/dot/index.js +0 -29
  240. package/distribution/component/globe/shader/dot/index.js.map +0 -1
  241. package/distribution/component/globe/shader/glow-vertex/index.d.ts +0 -3
  242. package/distribution/component/globe/shader/glow-vertex/index.d.ts.map +0 -1
  243. package/distribution/component/globe/shader/glow-vertex/index.js +0 -9
  244. package/distribution/component/globe/shader/glow-vertex/index.js.map +0 -1
  245. package/distribution/component/globe/world/index.d.ts +0 -4
  246. package/distribution/component/globe/world/index.d.ts.map +0 -1
  247. package/distribution/component/globe/world/index.js +0 -39
  248. package/distribution/component/globe/world/index.js.map +0 -1
  249. package/distribution/component/globe/world/type.d.ts +0 -10
  250. package/distribution/component/globe/world/type.d.ts.map +0 -1
  251. package/distribution/component/globe/world/type.js +0 -2
  252. package/distribution/component/globe/world/type.js.map +0 -1
  253. package/distribution/component/locale-link/index.d.ts +0 -4
  254. package/distribution/component/locale-link/index.d.ts.map +0 -1
  255. package/distribution/component/locale-link/index.js +0 -9
  256. package/distribution/component/locale-link/index.js.map +0 -1
  257. package/distribution/component/locale-link/type.d.ts +0 -10
  258. package/distribution/component/locale-link/type.d.ts.map +0 -1
  259. package/distribution/component/locale-link/type.js +0 -2
  260. package/distribution/component/locale-link/type.js.map +0 -1
  261. package/distribution/hook/globe-drag/index.d.ts +0 -10
  262. package/distribution/hook/globe-drag/index.d.ts.map +0 -1
  263. package/distribution/hook/globe-drag/index.js +0 -99
  264. package/distribution/hook/globe-drag/index.js.map +0 -1
  265. package/distribution/hook/globe-drag/type.d.ts +0 -11
  266. package/distribution/hook/globe-drag/type.d.ts.map +0 -1
  267. package/distribution/hook/globe-drag/type.js +0 -2
  268. package/distribution/hook/globe-drag/type.js.map +0 -1
  269. package/distribution/hook/land-points/index.d.ts +0 -3
  270. package/distribution/hook/land-points/index.d.ts.map +0 -1
  271. package/distribution/hook/land-points/index.js +0 -17
  272. package/distribution/hook/land-points/index.js.map +0 -1
  273. package/distribution/style/token/index.css +0 -1
  274. package/distribution/utility/hex-channel/index.d.ts +0 -3
  275. package/distribution/utility/hex-channel/index.d.ts.map +0 -1
  276. package/distribution/utility/hex-channel/index.js +0 -8
  277. package/distribution/utility/hex-channel/index.js.map +0 -1
  278. package/distribution/utility/latitude-longitude-to-vector/index.d.ts +0 -7
  279. package/distribution/utility/latitude-longitude-to-vector/index.d.ts.map +0 -1
  280. package/distribution/utility/latitude-longitude-to-vector/index.js +0 -12
  281. package/distribution/utility/latitude-longitude-to-vector/index.js.map +0 -1
  282. package/distribution/utility/locale/index.d.ts +0 -6
  283. package/distribution/utility/locale/index.d.ts.map +0 -1
  284. package/distribution/utility/locale/index.js +0 -8
  285. package/distribution/utility/locale/index.js.map +0 -1
  286. package/distribution/utility/locale/type.d.ts.map +0 -1
  287. package/distribution/utility/locale/type.js +0 -2
  288. package/distribution/utility/parse-contact/index.d.ts +0 -4
  289. package/distribution/utility/parse-contact/index.d.ts.map +0 -1
  290. package/distribution/utility/parse-contact/index.js +0 -23
  291. package/distribution/utility/parse-contact/index.js.map +0 -1
  292. package/distribution/utility/parse-contact/type.d.ts +0 -20
  293. package/distribution/utility/parse-contact/type.d.ts.map +0 -1
  294. package/distribution/utility/parse-contact/type.js +0 -2
  295. package/distribution/utility/parse-contact/type.js.map +0 -1
  296. package/distribution/utility/web-gl-support/index.d.ts +0 -3
  297. package/distribution/utility/web-gl-support/index.d.ts.map +0 -1
  298. package/distribution/utility/web-gl-support/index.js +0 -11
  299. package/distribution/utility/web-gl-support/index.js.map +0 -1
  300. /package/distribution/{component/consent/toggle → content/locale}/type.js +0 -0
@@ -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
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAIrG,6FAA6F;AAC7F,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BA6B1D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAIrG,6FAA6F;AAC7F,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BA6B1D"}
@@ -1,12 +1,13 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { classNames } from "@sharadox/web-library/class-name";
3
4
  import { useEffect, useState } from "react";
4
5
  import { Button } from "@sharadox/sharadox-web-library/component/button";
5
6
  import { LanguageSwitch } from "@sharadox/sharadox-web-library/component/language-switch";
6
7
  import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-switch";
7
8
  import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
8
9
  import { NAVIGATION } from "@sharadox/sharadox-web-library/content/navigation";
9
- import { translate } from "@sharadox/web-library/internationalization/translate";
10
+ import { translate } from "@sharadox/internationalization-web-library/translate";
10
11
  import styles from "./index.module.css";
11
12
  const LINKS = ["services", "capabilities", "process", "contact"];
12
13
  /** Fixed top bar that frosts once the page scrolls, with the style and language switches. */
@@ -18,6 +19,6 @@ export function Navigation({ locale }) {
18
19
  addEventListener("scroll", update, { passive: true });
19
20
  return () => removeEventListener("scroll", update);
20
21
  }, []);
21
- return (_jsx("header", { className: [styles.navigation, scrolled && styles.scrolled].filter(Boolean).join(" "), children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": "Main", children: LINKS.map((link) => (_jsx("a", { href: `#${link}`, children: translate(NAVIGATION[link], locale) }, link))) }), _jsxs("div", { className: styles.end, children: [_jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsx(LanguageSwitch, { locale: locale }), _jsx(Button, { href: "#contact", size: "small", className: styles.callToAction, children: translate(NAVIGATION.callToAction, locale) })] })] }) }));
22
+ return (_jsx("header", { className: classNames(styles.navigation, scrolled && styles.scrolled), children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": "Main", children: LINKS.map((link) => (_jsx("a", { href: `#${link}`, children: translate(NAVIGATION[link], locale) }, link))) }), _jsxs("div", { className: styles.end, children: [_jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsx(LanguageSwitch, { locale: locale }), _jsx(Button, { href: "#contact", size: "small", className: styles.callToAction, children: translate(NAVIGATION.callToAction, locale) })] })] }) }));
22
23
  }
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,KAAK,GAAG,CAAC,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,CAAU,CAAC;AAE1E,6FAA6F;AAC7F,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAwB;IACzD,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,WAAW,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;QAC/C,MAAM,EAAE,CAAC;QACT,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QACtD,OAAO,GAAG,EAAE,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CACL,iBAAQ,SAAS,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,YAC3F,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,MAAM,EAAE,GAAI,EAChC,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,gBAAa,MAAM,YAC5C,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,YAAc,IAAI,EAAE,IAAI,IAAI,EAAE,YAC3B,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,IAD9B,IAAI,CAER,CACL,CAAC,GACE,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACxD,KAAC,cAAc,IAAC,MAAM,EAAE,MAAM,GAAI,EAClC,KAAC,MAAM,IAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,MAAM,CAAC,YAAY,YAChE,SAAS,CAAC,UAAU,CAAC,YAAY,EAAE,MAAM,CAAC,GACpC,IACL,IACF,GACC,CACV,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,KAAK,GAAG,CAAC,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,CAAU,CAAC;AAE1E,6FAA6F;AAC7F,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAwB;IACzD,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,WAAW,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;QAC/C,MAAM,EAAE,CAAC;QACT,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QACtD,OAAO,GAAG,EAAE,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CACL,iBAAQ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,YAC3E,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,MAAM,EAAE,GAAI,EAChC,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,gBAAa,MAAM,YAC5C,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,YAAc,IAAI,EAAE,IAAI,IAAI,EAAE,YAC3B,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,IAD9B,IAAI,CAER,CACL,CAAC,GACE,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACxD,KAAC,cAAc,IAAC,MAAM,EAAE,MAAM,GAAI,EAClC,KAAC,MAAM,IAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,MAAM,CAAC,YAAY,YAChE,SAAS,CAAC,UAAU,CAAC,YAAY,EAAE,MAAM,CAAC,GACpC,IACL,IACF,GACC,CACV,CAAC;AACJ,CAAC"}
@@ -1,81 +1 @@
1
- .navigation {
2
- position: fixed;
3
- z-index: 50;
4
- inset: 0 0 auto;
5
- border-bottom: 1px solid transparent;
6
- transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
7
- }
8
-
9
- .scrolled {
10
- background: color-mix(in srgb, var(--background) 65%, transparent);
11
- backdrop-filter: blur(16px) saturate(1.6);
12
- border-color: var(--line);
13
- }
14
-
15
- .inner {
16
- width: min(100% - 2 * var(--gutter), var(--maximum-width));
17
- margin: 0 auto;
18
- height: 64px;
19
- padding: 0 var(--padding);
20
- display: flex;
21
- align-items: center;
22
- justify-content: space-between;
23
- gap: 16px;
24
- }
25
- @media (max-width: 520px) {
26
- .inner {
27
- padding: 0 12px;
28
- }
29
- }
30
-
31
- .links {
32
- display: flex;
33
- gap: 28px;
34
- /* Next to the wordmark; the switches and button stay on the right. */
35
- margin: 0 auto 0 28px;
36
- font-size: 14px;
37
- color: var(--foreground-2);
38
- }
39
- .links a {
40
- position: relative;
41
- transition: color 0.2s;
42
- }
43
- .links a::after {
44
- content: "";
45
- position: absolute;
46
- left: 0;
47
- right: 0;
48
- bottom: -4px;
49
- height: 1px;
50
- background: var(--foreground);
51
- transform: scaleX(0);
52
- transform-origin: right;
53
- transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
54
- }
55
- .links a:hover {
56
- color: var(--foreground);
57
- }
58
- .links a:hover::after {
59
- transform: scaleX(1);
60
- transform-origin: left;
61
- }
62
- @media (max-width: 960px) {
63
- .links {
64
- display: none;
65
- }
66
- }
67
-
68
- .end {
69
- margin-left: auto;
70
- display: flex;
71
- align-items: center;
72
- gap: 10px;
73
- }
74
- @media (max-width: 520px) {
75
- .end {
76
- gap: 6px;
77
- }
78
- .end .callToAction {
79
- display: none;
80
- }
81
- }
1
+ .navigation{position:fixed;z-index:50;inset:0 0 auto;border-bottom:1px solid rgba(0,0,0,0);transition:background .4s,border-color .4s,backdrop-filter .4s}.scrolled{background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);border-color:var(--line)}.inner{width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;height:64px;padding:0 var(--padding);display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width: 520px){.inner{padding:0 12px}}.links{display:flex;gap:28px;margin:0 auto 0 28px;font-size:14px;color:var(--foreground-2)}.links a{position:relative;transition:color .2s}.links a::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:1px;background:var(--foreground);transform:scaleX(0);transform-origin:right;transition:transform .4s cubic-bezier(0.22, 1, 0.36, 1)}.links a:hover{color:var(--foreground)}.links a:hover::after{transform:scaleX(1);transform-origin:left}@media(max-width: 960px){.links{display:none}}.end{margin-left:auto;display:flex;align-items:center;gap:10px}@media(max-width: 520px){.end{gap:6px}.end .callToAction{display:none}}
@@ -0,0 +1,76 @@
1
+ @use "style/token" as *;
2
+
3
+ .navigation {
4
+ position: fixed;
5
+ z-index: 50;
6
+ inset: 0 0 auto;
7
+ border-bottom: 1px solid transparent;
8
+ transition:
9
+ background 0.4s,
10
+ border-color 0.4s,
11
+ backdrop-filter 0.4s;
12
+ }
13
+ .scrolled {
14
+ background: shade(65%);
15
+ backdrop-filter: blur(16px) saturate(1.6);
16
+ border-color: var(--line);
17
+ }
18
+ .inner {
19
+ width: min(100% - 2 * var(--gutter), var(--maximum-width));
20
+ margin: 0 auto;
21
+ height: 64px;
22
+ padding: 0 var(--padding);
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: space-between;
26
+ gap: 16px;
27
+ @include below(520px) {
28
+ padding: 0 12px;
29
+ }
30
+ }
31
+ .links {
32
+ display: flex;
33
+ gap: 28px;
34
+ /* Next to the wordmark; the switches and button stay on the right. */
35
+ margin: 0 auto 0 28px;
36
+ font-size: 14px;
37
+ color: var(--foreground-2);
38
+ a {
39
+ position: relative;
40
+ transition: color 0.2s;
41
+ &::after {
42
+ content: "";
43
+ position: absolute;
44
+ left: 0;
45
+ right: 0;
46
+ bottom: -4px;
47
+ height: 1px;
48
+ background: var(--foreground);
49
+ transform: scaleX(0);
50
+ transform-origin: right;
51
+ transition: transform 0.4s $ease;
52
+ }
53
+ }
54
+ a:hover {
55
+ color: var(--foreground);
56
+ &::after {
57
+ transform: scaleX(1);
58
+ transform-origin: left;
59
+ }
60
+ }
61
+ @include below(960px) {
62
+ display: none;
63
+ }
64
+ }
65
+ .end {
66
+ margin-left: auto;
67
+ display: flex;
68
+ align-items: center;
69
+ gap: 10px;
70
+ @include below(520px) {
71
+ gap: 6px;
72
+ .callToAction {
73
+ display: none;
74
+ }
75
+ }
76
+ }
@@ -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 NavigationProperties {
3
3
  locale: Locale;
4
4
  }
@@ -5,7 +5,7 @@ import { useRef } from "react";
5
5
  import { Section } from "@sharadox/sharadox-web-library/component/section";
6
6
  import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
7
7
  import { PROCESS } from "@sharadox/sharadox-web-library/content/process";
8
- import { translate } from "@sharadox/web-library/internationalization/translate";
8
+ import { translate } from "@sharadox/internationalization-web-library/translate";
9
9
  import styles from "./index.module.css";
10
10
  import { Step } from "@sharadox/sharadox-web-library/component/process/step";
11
11
  /** Four steps on a line that draws itself as you scroll through the section. */
@@ -1,43 +1 @@
1
- .process {
2
- position: relative;
3
- display: grid;
4
- grid-template-columns: repeat(4, 1fr);
5
- gap: 24px;
6
- padding-top: 34px;
7
- }
8
- @media (max-width: 860px) {
9
- .process {
10
- grid-template-columns: 1fr;
11
- gap: 44px;
12
- padding: 0 0 0 30px;
13
- }
14
- }
15
-
16
- .line {
17
- position: absolute;
18
- left: 0;
19
- right: 0;
20
- top: 6px;
21
- height: 1px;
22
- background: linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x;
23
- }
24
- .line span {
25
- display: block;
26
- height: 100%;
27
- background: linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));
28
- box-shadow: 0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent);
29
- }
30
- @media (max-width: 860px) {
31
- .line {
32
- left: 5px;
33
- right: auto;
34
- top: 0;
35
- bottom: 0;
36
- width: 1px;
37
- height: auto;
38
- }
39
- .line span {
40
- width: 100% !important;
41
- height: 100%;
42
- }
43
- }
1
+ .process{position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100% !important;height:100%}}
@@ -0,0 +1,40 @@
1
+ @use "style/token" as *;
2
+
3
+ .process {
4
+ position: relative;
5
+ display: grid;
6
+ grid-template-columns: repeat(4, 1fr);
7
+ gap: 24px;
8
+ padding-top: 34px;
9
+ @include below(860px) {
10
+ grid-template-columns: 1fr;
11
+ gap: 44px;
12
+ padding: 0 0 0 30px;
13
+ }
14
+ }
15
+ .line {
16
+ position: absolute;
17
+ left: 0;
18
+ right: 0;
19
+ top: 6px;
20
+ height: 1px;
21
+ @include dashed(horizontal);
22
+ span {
23
+ display: block;
24
+ height: 100%;
25
+ background: linear-gradient(90deg, tint(20%), var(--foreground));
26
+ box-shadow: 0 0 12px tint(60%);
27
+ }
28
+ @include below(860px) {
29
+ left: 5px;
30
+ right: auto;
31
+ top: 0;
32
+ bottom: 0;
33
+ width: 1px;
34
+ height: auto;
35
+ span {
36
+ width: 100% !important;
37
+ height: 100%;
38
+ }
39
+ }
40
+ }
@@ -1,33 +1 @@
1
- .step {
2
- position: relative;
3
- }
4
- .step h3 {
5
- margin: 14px 0 10px;
6
- font-size: clamp(1.5rem, 2.4vw, 2rem);
7
- }
8
- .step p {
9
- color: var(--foreground-2);
10
- max-width: 24ch;
11
- }
12
-
13
- .dot {
14
- position: absolute;
15
- top: -33px;
16
- left: 0;
17
- width: 11px;
18
- height: 11px;
19
- border-radius: 50%;
20
- background: var(--foreground);
21
- box-shadow: 0 0 14px 2px color-mix(in srgb, var(--foreground) 70%, transparent);
22
- }
23
- @media (max-width: 860px) {
24
- .dot {
25
- top: 4px;
26
- left: -30px;
27
- }
28
- }
29
-
30
- .number {
31
- font-size: 12px;
32
- color: var(--foreground-3);
33
- }
1
+ .step{position:relative}.step h3{margin:14px 0 10px;font-size:clamp(1.5rem,2.4vw,2rem)}.step p{color:var(--foreground-2);max-width:24ch}.dot{position:absolute;top:-33px;left:0;width:11px;height:11px;border-radius:50%;background:var(--foreground);box-shadow:0 0 14px 2px color-mix(in srgb, var(--foreground) 70%, transparent)}@media(max-width: 860px){.dot{top:4px;left:-30px}}.number{font-size:12px;color:var(--foreground-3)}
@@ -0,0 +1,31 @@
1
+ @use "style/token" as *;
2
+
3
+ .step {
4
+ position: relative;
5
+ h3 {
6
+ margin: 14px 0 10px;
7
+ font-size: clamp(1.5rem, 2.4vw, 2rem);
8
+ }
9
+ p {
10
+ color: var(--foreground-2);
11
+ max-width: 24ch;
12
+ }
13
+ }
14
+ .dot {
15
+ position: absolute;
16
+ top: -33px;
17
+ left: 0;
18
+ width: 11px;
19
+ height: 11px;
20
+ border-radius: 50%;
21
+ background: var(--foreground);
22
+ box-shadow: 0 0 14px 2px tint(70%);
23
+ @include below(860px) {
24
+ top: 4px;
25
+ left: -30px;
26
+ }
27
+ }
28
+ .number {
29
+ font-size: 12px;
30
+ color: var(--foreground-3);
31
+ }
@@ -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 ProcessProperties {
3
3
  locale: Locale;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAa,EAAE,OAAc,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAapG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAa,EAAE,OAAc,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAapG"}
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { classNames } from "@sharadox/web-library/class-name";
2
3
  import { Cross } from "@sharadox/sharadox-web-library/component/cross";
3
4
  import styles from "./index.module.css";
4
5
  /**
@@ -6,6 +7,6 @@ import styles from "./index.module.css";
6
7
  * and "+" marks where they meet.
7
8
  */
8
9
  export function Section({ id, className, padded = true, crosses = true, children }) {
9
- return (_jsxs("section", { id: id, className: [styles.section, padded && styles.padded, className].filter(Boolean).join(" "), children: [_jsx("span", { className: styles.line, "aria-hidden": true }), crosses && (_jsxs(_Fragment, { children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" })] })), children] }));
10
+ return (_jsxs("section", { id: id, className: classNames(styles.section, padded && styles.padded, className), children: [_jsx("span", { className: styles.line, "aria-hidden": true }), crosses && (_jsxs(_Fragment, { children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" })] })), children] }));
10
11
  }
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE,QAAQ,EAAqB;IACnG,OAAO,CACL,mBAAS,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aACxG,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,wBAAgB,EAC3C,OAAO,IAAI,CACV,8BACE,KAAC,KAAK,IAAC,MAAM,EAAC,UAAU,GAAG,EAC3B,KAAC,KAAK,IAAC,MAAM,EAAC,WAAW,GAAG,IAC3B,CACJ,EACA,QAAQ,IACD,CACX,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE,QAAQ,EAAqB;IACnG,OAAO,CACL,mBAAS,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,aACxF,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,wBAAgB,EAC3C,OAAO,IAAI,CACV,8BACE,KAAC,KAAK,IAAC,MAAM,EAAC,UAAU,GAAG,EAC3B,KAAC,KAAK,IAAC,MAAM,EAAC,WAAW,GAAG,IAC3B,CACJ,EACA,QAAQ,IACD,CACX,CAAC;AACJ,CAAC"}
@@ -1,35 +1 @@
1
- .section {
2
- position: relative;
3
- width: min(100% - 2 * var(--gutter), var(--maximum-width));
4
- margin-inline: auto;
5
- border-inline: 1px solid var(--line);
6
- }
7
-
8
- .padded {
9
- padding: clamp(72px, 10vw, 128px) var(--padding);
10
- }
11
-
12
- .line {
13
- position: absolute;
14
- left: calc(-1 * var(--gutter));
15
- right: calc(-1 * var(--gutter));
16
- top: -0.5px;
17
- height: 1px;
18
- background: linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);
19
- transform-origin: left;
20
- }
21
- @media (prefers-reduced-motion: no-preference) {
22
- @supports (animation-timeline: view()) {
23
- .line {
24
- animation: draw linear both;
25
- animation-timeline: view();
26
- animation-range: entry 0% entry 60%;
27
- }
28
- }
29
- }
30
-
31
- @keyframes draw {
32
- from {
33
- transform: scaleX(0);
34
- }
35
- }
1
+ .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)}}
@@ -0,0 +1,32 @@
1
+ @use "style/token" as *;
2
+
3
+ .section {
4
+ position: relative;
5
+ width: min(100% - 2 * var(--gutter), var(--maximum-width));
6
+ margin-inline: auto;
7
+ border-inline: 1px solid var(--line);
8
+ }
9
+ .padded {
10
+ padding: clamp(72px, 10vw, 128px) var(--padding);
11
+ }
12
+ .line {
13
+ position: absolute;
14
+ left: calc(-1 * var(--gutter));
15
+ right: calc(-1 * var(--gutter));
16
+ top: -0.5px;
17
+ height: 1px;
18
+ background: linear-gradient(
19
+ 90deg,
20
+ transparent,
21
+ var(--line) var(--gutter),
22
+ var(--line) calc(100% - var(--gutter)),
23
+ transparent
24
+ );
25
+ transform-origin: left;
26
+ @include on-scroll(draw, entry 0% entry 60%);
27
+ }
28
+ @keyframes draw {
29
+ from {
30
+ transform: scaleX(0);
31
+ }
32
+ }
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
3
- import { Reveal } from "@sharadox/web-library/animation/reveal";
3
+ import { Reveal } from "@sharadox/animation-web-library/reveal";
4
4
  import styles from "./index.module.css";
5
5
  /** Eyebrow and title that open a section. */
6
6
  export function SectionHeading({ eyebrow, title }) {
@@ -1,7 +1 @@
1
- .heading {
2
- margin-bottom: clamp(40px, 6vw, 72px);
3
- }
4
- .heading h2 {
5
- margin-top: 16px;
6
- max-width: 14ch;
7
- }
1
+ .heading{margin-bottom:clamp(40px,6vw,72px)}.heading h2{margin-top:16px;max-width:14ch}
@@ -0,0 +1,7 @@
1
+ .heading {
2
+ margin-bottom: clamp(40px, 6vw, 72px);
3
+ h2 {
4
+ margin-top: 16px;
5
+ max-width: 14ch;
6
+ }
7
+ }
@@ -1,7 +1,7 @@
1
1
  "use client";
2
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";
3
+ import { translate } from "@sharadox/internationalization-web-library/translate";
4
+ import { useActiveSection } from "@sharadox/scroll-web-library/active-section";
5
5
  import { SECTION_INDICATOR } from "@sharadox/sharadox-web-library/content/section-indicator";
6
6
  import styles from "./index.module.css";
7
7
  const IDS = SECTION_INDICATOR.sections.map((section) => section.id);