@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,3 +1,4 @@
1
+ import { defineStyles } from "@sharadox/style-web-library/definition";
1
2
  /** Black: the Sharadox dark style. White is its exact inverse. */
2
3
  const BLACK = {
3
4
  background: "#000000",
@@ -26,21 +27,27 @@ const WHITE = {
26
27
  "globe-rim": "#adadad",
27
28
  };
28
29
  /**
29
- * Every Sharadox style (what other projects call a theme). Add a dark or light style here — name, scheme and the
30
- * same palette keys — and it appears in the style switch; `defaults` picks the one "System" uses for each scheme.
31
- * The site opens in Black (`defaultChoice`); set it to "system" to follow the device instead. Dark is the fallback
32
- * when the device's preference is unknown.
30
+ * Every Sharadox style (what other projects call a theme), as style groups. The colour group holds Black (dark,
31
+ * where the site opens) and White (its exact inverse); add a dark or light option there — name, scheme and the same
32
+ * palette keys — and it appears in the style switch. `systemDefaults` picks what "System" uses for each scheme;
33
+ * set `defaultChoice` to "system" to follow the device from the start. More groups (corners, fonts…) go next to it.
34
+ * The colour choice stays under the "style" storage key, so visitors keep the choice they made before.
33
35
  */
34
- export const STYLE_CONFIGURATION = {
35
- styles: [
36
- { name: "black", scheme: "dark", palette: BLACK },
37
- { name: "white", scheme: "light", palette: WHITE },
36
+ export const STYLES = defineStyles({
37
+ groups: [
38
+ {
39
+ name: "color",
40
+ defaultChoice: "black",
41
+ systemDefaults: { dark: "black", light: "white" },
42
+ fallbackScheme: "dark",
43
+ storageKey: "style",
44
+ options: [
45
+ { name: "black", scheme: "dark", palette: BLACK },
46
+ { name: "white", scheme: "light", palette: WHITE },
47
+ ],
48
+ },
38
49
  ],
39
- defaults: { dark: "black", light: "white" },
40
- fallback: "dark",
41
- storageKey: "style",
42
- defaultChoice: "black",
43
- };
50
+ });
44
51
  /** Names shown in the style switch. Style names are proper names, the same in every language. */
45
52
  export const STYLE = {
46
53
  label: { en: "Style", pt: "Estilo" },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/style/index.ts"],"names":[],"mappings":"AAEA,kEAAkE;AAClE,MAAM,KAAK,GAAG;IACZ,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,cAAc,EAAE,SAAS;IACzB,cAAc,EAAE,SAAS;IACzB,IAAI,EAAE,2BAA2B;IACjC,QAAQ,EAAE,2BAA2B;IACrC,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAChB,YAAY,EAAE,SAAS;IACvB,WAAW,EAAE,SAAS;CACvB,CAAC;AACF,MAAM,KAAK,GAAG;IACZ,UAAU,EA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}
@@ -1,3 +1,8 @@
1
- /** Joins the parts that are set with the Sharadox separator, spaced: separate("01", "Web") → "01 · Web". */
1
+ /**
2
+ * Joins the parts that are set with the Sharadox separator (•), spaced on both sides.
3
+ *
4
+ * @example
5
+ * separate("Contact", "Ana (Café)"); // "Contact • Ana (Café)"
6
+ */
2
7
  export declare function separate(...parts: (string | false | null | undefined)[]): string;
3
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/utility/separate/index.ts"],"names":[],"mappings":"AAEA,4GAA4G;AAC5G,wBAAgB,QAAQ,CAAC,GAAG,KAAK,EAAE,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,GAAG,MAAM,CAEhF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/utility/separate/index.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,KAAK,EAAE,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,GAAG,MAAM,CAEhF"}
@@ -1,6 +1,12 @@
1
+ import { separate as join } from "@sharadox/web-library/text/separate";
1
2
  import { SEPARATOR } from "@sharadox/sharadox-web-library/content/separator";
2
- /** Joins the parts that are set with the Sharadox separator, spaced: separate("01", "Web") → "01 · Web". */
3
+ /**
4
+ * Joins the parts that are set with the Sharadox separator (•), spaced on both sides.
5
+ *
6
+ * @example
7
+ * separate("Contact", "Ana (Café)"); // "Contact • Ana (Café)"
8
+ */
3
9
  export function separate(...parts) {
4
- return parts.filter(Boolean).join(` ${SEPARATOR} `);
10
+ return join(SEPARATOR, ...parts);
5
11
  }
6
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/utility/separate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAE7E,4GAA4G;AAC5G,MAAM,UAAU,QAAQ,CAAC,GAAG,KAA4C;IACtE,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,SAAS,GAAG,CAAC,CAAC;AACtD,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/utility/separate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,IAAI,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAE7E;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,GAAG,KAA4C;IACtE,OAAO,IAAI,CAAC,SAAS,EAAE,GAAG,KAAK,CAAC,CAAC;AACnC,CAAC"}
package/llms.txt ADDED
@@ -0,0 +1,10 @@
1
+ # @sharadox/sharadox-web-library
2
+
3
+ > Sharadox's own website library (verifiable source, not open source): content, branded components, styles and contact configuration for sharadox.com, built on the open-source @sharadox/*-web-library topic libraries.
4
+
5
+ - content/locale LOCALES (defineLocales en/pt); content/style STYLES (colour group: black default, white, system; storageKey "style"); content/separator SEPARATOR "•"
6
+ - utility/separate separate(...parts) with the Sharadox separator
7
+ - action/send-contact sendContact(form, ip) — createContactAction to contact@sharadox.com, subject "Contact • Name (Company)"
8
+ - component/*: navigation, hero (+ lazy globe), service-index, statement, services (+ visuals), touchpoint, capability, marquee, process, contact (+ form), footer, section-indicator, style-switch, consent (shared ConsentPanel), structured-data, share-image (renderShareImage)
9
+ - style/token Sass helpers: tint, shade, dashed, on-scroll, below, fill-center
10
+ - Licence: Sharadox Verifiable Source Licence 0.1.0 (read and verify only)
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@sharadox/sharadox-web-library",
3
- "version": "0.6.5",
3
+ "version": "0.7.0",
4
4
  "description": "Sharadox's own website building blocks: content, components, brand and actions for sharadox-web-application, plus the preview notice and agency credit used on client demos.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENCA.md",
7
- "author": "Sharadox <email@sharadox.com>",
7
+ "author": "Sharadox <contact@sharadox.com>",
8
8
  "type": "module",
9
9
  "exports": {
10
10
  "./*/type": {
@@ -24,13 +24,14 @@
24
24
  "distribution",
25
25
  "LICENCA.md",
26
26
  "LICENSE.md",
27
- "NOTICE.md"
27
+ "NOTICE.md",
28
+ "llms.txt"
28
29
  ],
29
30
  "sideEffects": [
30
31
  "**/*.css"
31
32
  ],
32
33
  "engines": {
33
- "node": ">=20"
34
+ "node": ">=24"
34
35
  },
35
36
  "publishConfig": {
36
37
  "access": "public"
@@ -47,55 +48,63 @@
47
48
  ],
48
49
  "*.{json,md,yml,yaml,scss}": "prettier --write"
49
50
  },
51
+ "repository": {
52
+ "type": "git",
53
+ "url": "git+https://github.com/Sharadox/sharadox-web-library.git"
54
+ },
55
+ "homepage": "https://github.com/Sharadox/sharadox-web-library#readme",
56
+ "dependencies": {
57
+ "@sharadox/animation-web-library": "^0.1.0",
58
+ "@sharadox/consent-web-library": "^0.1.0",
59
+ "@sharadox/form-web-library": "^0.1.0",
60
+ "@sharadox/globe-web-library": "^0.1.0",
61
+ "@sharadox/internationalization-web-library": "^0.1.0",
62
+ "@sharadox/metadata-web-library": "^0.1.0",
63
+ "@sharadox/pointer-web-library": "^0.1.0",
64
+ "@sharadox/scroll-web-library": "^0.1.0",
65
+ "@sharadox/style-web-library": "^0.1.0",
66
+ "@sharadox/web-library": "^0.5.0",
67
+ "motion": "^12.43.0"
68
+ },
50
69
  "devDependencies": {
51
- "@eslint/js": "^9.39.5",
70
+ "@sharadox/email-web-library": "^0.2.1",
71
+ "@sharadox/es-lint-configuration-web-library": "^0.1.1",
72
+ "@sharadox/library-build-web-library": "^0.1.1",
73
+ "@sharadox/prettier-configuration-web-library": "^0.1.0",
74
+ "@sharadox/turborepo-configuration-web-library": "^0.1.0",
75
+ "@sharadox/type-script-configuration-web-library": "^0.2.0",
76
+ "@sharadox/vitest-configuration-web-library": "^0.1.3",
52
77
  "@testing-library/dom": "^10.4.2",
53
78
  "@testing-library/react": "^16.3.3",
54
79
  "@types/node": "^24.19.2",
55
80
  "@types/react": "^19.3.0",
56
81
  "@types/react-dom": "^19.3.0",
57
82
  "@types/smtp-server": "^3.5.13",
58
- "@types/three": "^0.187.0",
59
- "@vitejs/plugin-react": "^6.3.0",
83
+ "@vitest/coverage-v8": "^5.1.0",
60
84
  "eslint": "9.39.5",
61
- "eslint-config-prettier": "^10.1.8",
62
- "eslint-plugin-react-hooks": "^7.1.1",
63
85
  "happy-dom": "^21.0.4",
64
86
  "husky": "^9.1.7",
65
87
  "lint-staged": "^17.6.0",
66
88
  "next": "16.4.5",
67
- "prettier": "^3.9.10",
89
+ "prettier": "^3.10.0",
68
90
  "react": "^19.3.1",
69
91
  "react-dom": "^19.3.1",
70
- "sass": "^1.108.1",
71
- "smtp-server": "^3.21.3",
92
+ "sass": "^1.108.2",
93
+ "smtp-server": "^3.21.4",
72
94
  "turbo": "^2.11.10",
73
95
  "typedoc": "^0.28.20",
74
96
  "typescript": "6.0.3",
75
- "typescript-eslint": "^8.72.2",
76
97
  "vitest": "^5.1.0"
77
98
  },
78
- "repository": {
79
- "type": "git",
80
- "url": "git+https://github.com/Sharadox/sharadox-web-library.git"
81
- },
82
- "homepage": "https://github.com/Sharadox/sharadox-web-library#readme",
83
- "dependencies": {
84
- "@react-three/fiber": "^9.8.2",
85
- "@sharadox/email-web-library": "^0.2.0",
86
- "@sharadox/web-library": "^0.4.0",
87
- "motion": "^12.43.0",
88
- "three": "^0.180.0"
89
- },
90
99
  "scripts": {
91
- "build": "rm -rf distribution && tsc -p tsconfig.build.json && sass --no-source-map --load-path=source source:distribution && node script/rewrite-style-import/index.ts && node script/copy-asset/index.ts",
100
+ "build": "library-build",
92
101
  "lint": "eslint --max-warnings=0 .",
93
102
  "format": "prettier --write .",
94
103
  "format:check": "prettier --check .",
95
104
  "type-check": "tsc --noEmit",
96
- "test:unit": "vitest run",
105
+ "test:unit": "vitest run --coverage",
97
106
  "test:benchmark": "vitest bench --run --passWithNoTests",
98
107
  "documentation": "typedoc",
99
- "verify": "turbo run format:check lint type-check test:unit test:benchmark build"
108
+ "verify": "turbo run format:check lint type-check test:unit build"
100
109
  }
101
110
  }
@@ -1,4 +0,0 @@
1
- import type { ToggleProperties } from "@sharadox/sharadox-web-library/component/consent/toggle/type";
2
- /** One cookie category with its on/off switch. */
3
- export declare function Toggle({ title, text, checked, locked, lockedLabel, onChange }: ToggleProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/consent/toggle/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8DAA8D,CAAC;AAErG,kDAAkD;AAClD,wBAAgB,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,gBAAgB,+BAkB/F"}
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from "../index.module.css";
3
- /** One cookie category with its on/off switch. */
4
- export function Toggle({ title, text, checked, locked, lockedLabel, onChange }) {
5
- return (_jsxs("label", { className: styles.category, children: [_jsxs("span", { className: styles.categoryCopy, children: [_jsx("b", { children: title }), _jsx("span", { children: text })] }), locked && _jsx("span", { className: `${styles.always} monospace`, children: lockedLabel }), _jsx("input", { type: "checkbox", role: "switch", checked: checked, disabled: locked, onChange: (event) => onChange(event.target.checked), className: styles.switch })] }));
6
- }
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/consent/toggle/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAG1C,kDAAkD;AAClD,MAAM,UAAU,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAoB;IAC9F,OAAO,CACL,iBAAO,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC/B,gBAAM,SAAS,EAAE,MAAM,CAAC,YAAY,aAClC,sBAAI,KAAK,GAAK,EACd,yBAAO,IAAI,GAAQ,IACd,EACN,MAAM,IAAI,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,YAAY,YAAG,WAAW,GAAQ,EAC9E,gBACE,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EACnD,SAAS,EAAE,MAAM,CAAC,MAAM,GACxB,IACI,CACT,CAAC;AACJ,CAAC"}
@@ -1,10 +0,0 @@
1
- export interface ToggleProperties {
2
- title: string;
3
- text: string;
4
- checked: boolean;
5
- /** Required categories show as on and can't be switched off. */
6
- locked?: boolean;
7
- lockedLabel?: string;
8
- onChange: (checked: boolean) => void;
9
- }
10
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/consent/toggle/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/consent/toggle/type.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- /** Custom cursor on fine pointers: a dot plus a lagging ring that grows over links and the globe. */
2
- export declare function Cursor(): import("react").JSX.Element;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/cursor/index.tsx"],"names":[],"mappings":"AAIA,qGAAqG;AACrG,wBAAgB,MAAM,gCAwCrB"}
@@ -1,45 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useEffect, useRef } from "react";
4
- import styles from "./index.module.css";
5
- /** Custom cursor on fine pointers: a dot plus a lagging ring that grows over links and the globe. */
6
- export function Cursor() {
7
- const dot = useRef(null);
8
- const ring = useRef(null);
9
- useEffect(() => {
10
- if (!window.matchMedia("(pointer: fine)").matches)
11
- return;
12
- const root = document.documentElement;
13
- root.classList.add("has-cursor");
14
- let x = innerWidth / 2;
15
- let y = innerHeight / 2;
16
- let ringX = x;
17
- let ringY = y;
18
- let frame = 0;
19
- const move = (event) => {
20
- x = event.clientX;
21
- y = event.clientY;
22
- const target = event.target;
23
- ring.current?.classList.toggle(styles.hot, !!target.closest("a, button, input, textarea, label, [data-hot]"));
24
- ring.current?.classList.toggle(styles.grab, !!target.closest("canvas, [data-grab]"));
25
- };
26
- const loop = () => {
27
- ringX += (x - ringX) * 0.18;
28
- ringY += (y - ringY) * 0.18;
29
- if (dot.current)
30
- dot.current.style.transform = `translate3d(${x}px, ${y}px, 0)`;
31
- if (ring.current)
32
- ring.current.style.transform = `translate3d(${ringX}px, ${ringY}px, 0)`;
33
- frame = requestAnimationFrame(loop);
34
- };
35
- addEventListener("pointermove", move);
36
- frame = requestAnimationFrame(loop);
37
- return () => {
38
- removeEventListener("pointermove", move);
39
- cancelAnimationFrame(frame);
40
- root.classList.remove("has-cursor");
41
- };
42
- }, []);
43
- return (_jsxs(_Fragment, { children: [_jsx("div", { ref: ring, className: styles.ring, "aria-hidden": true }), _jsx("div", { ref: dot, className: styles.dot, "aria-hidden": true })] }));
44
- }
45
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/cursor/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,qGAAqG;AACrG,MAAM,UAAU,MAAM;IACpB,MAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IACzC,MAAM,IAAI,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC1C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC,OAAO;YAAE,OAAO;QAC1D,MAAM,IAAI,GAAG,QAAQ,CAAC,eAAe,CAAC;QACtC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,UAAU,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,GAAG,WAAW,GAAG,CAAC,CAAC;QACxB,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,MAAM,IAAI,GAAG,CAAC,KAAmB,EAAE,EAAE;YACnC,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC;YAClB,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC;YAClB,MAAM,MAAM,GAAG,KAAK,CAAC,MAAqB,CAAC;YAC3C,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,GAAI,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,+CAA+C,CAAC,CAAC,CAAC;YAC/G,IAAI,CAAC,OA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;
5
- }
6
-
7
- :global(.has-cursor) canvas,
8
- :global(.has-cursor) [data-grab] {
9
- cursor: none !important;
10
- }
11
-
12
- .dot,
13
- .ring {
14
- position: fixed;
15
- left: 0;
16
- top: 0;
17
- z-index: 1000;
18
- pointer-events: none;
19
- border-radius: 50%;
20
- mix-blend-mode: difference;
21
- }
22
- :global(html:not(.has-cursor)) .dot,
23
- :global(html:not(.has-cursor)) .ring {
24
- display: none;
25
- }
26
-
27
- .dot {
28
- width: 6px;
29
- height: 6px;
30
- margin: -3px 0 0 -3px;
31
- background: #fff;
32
- }
33
-
34
- /* White with "difference" blending inverts whatever is underneath, so the cursor shows on every style. */
35
- .ring {
36
- width: 34px;
37
- height: 34px;
38
- margin: -17px 0 0 -17px;
39
- border: 1px solid rgba(255, 255, 255, 0.6);
40
- transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s;
41
- }
42
-
43
- .hot {
44
- width: 60px;
45
- height: 60px;
46
- margin: -30px 0 0 -30px;
47
- background: rgba(255, 255, 255, 0.12);
48
- }
49
-
50
- .grab {
51
- width: 76px;
52
- height: 76px;
53
- margin: -38px 0 0 -38px;
54
- border-style: dashed;
55
- }
@@ -1,4 +0,0 @@
1
- import type { ArcProperties } from "@sharadox/sharadox-web-library/component/globe/arc/type";
2
- /** A light arc lifting off the surface between two places, with a pulse running along it. */
3
- export declare function Arc({ from, to, offset, colors }: ArcProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/arc/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAC;AAE7F,6FAA6F;AAC7F,wBAAgB,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,aAAa,+BAiC9D"}
@@ -1,29 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useFrame } from "@react-three/fiber";
4
- import { useMemo, useRef } from "react";
5
- import { AdditiveBlending, NormalBlending, QuadraticBezierCurve3, TubeGeometry } from "three";
6
- import { ARC_SHADER } from "@sharadox/sharadox-web-library/component/globe/shader/arc";
7
- import { latitudeLongitudeToVector } from "@sharadox/sharadox-web-library/utility/latitude-longitude-to-vector";
8
- /** A light arc lifting off the surface between two places, with a pulse running along it. */
9
- export function Arc({ from, to, offset, colors }) {
10
- const material = useRef(null);
11
- const geometry = useMemo(() => {
12
- const start = latitudeLongitudeToVector(from.latitude, from.longitude, 1.002);
13
- const end = latitudeLongitudeToVector(to[0], to[1], 1.002);
14
- const middle = start
15
- .clone()
16
- .add(end)
17
- .multiplyScalar(0.5)
18
- .normalize()
19
- .multiplyScalar(1 + start.distanceTo(end) * 0.38);
20
- return new TubeGeometry(new QuadraticBezierCurve3(start, middle, end), 90, 0.0032, 6, false);
21
- }, [from, to]);
22
- const uniforms = useMemo(() => ({ time: { value: 0 }, offset: { value: offset }, color: { value: colors.ink } }), [offset, colors]);
23
- useFrame((_, deltaSeconds) => {
24
- if (material.current)
25
- material.current.uniforms.time.value += deltaSeconds;
26
- });
27
- return (_jsx("mesh", { geometry: geometry, children: _jsx("shaderMaterial", { ref: material, vertexShader: ARC_SHADER.vertex, fragmentShader: ARC_SHADER.fragment, uniforms: uniforms, transparent: true, depthWrite: false, blending: colors.additive ? AdditiveBlending : NormalBlending }) }));
28
- }
29
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/globe/arc/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,qBAAqB,EAAE,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,MAAM,EAAE,MAAM,CAAC,CACjB,CAAC;IACF,QAAQ,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE;QAC3B,IAAI,QAAQ,CAAC,OAAO;YAAE,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAK,CAAC,KAAK,IAAI,YAAY,CAAC;IAC9E,CAAC,CAAC,CAAC;IACH,OAAO,CACL,eAAM,QAAQ,EAAE,QAAQ,YACtB,yBACE,GAAG,EAAE,QAAQ,EACb,YAAY,EAAE,UAAU,CAAC,MAAM,EAC/B,cAAc,EAAE,UAAU,CAAC,QAAQ,EACnC,QAAQ,EAAE,QAAQ,EAClB,WAAW,QACX,UAAU,EAAE,KAAK,EACjB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,cAAc,GAC7D,GACG,CACR,CAAC;AACJ,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { GlobeColors } from "@sharadox/sharadox-web-library/component/globe/color/type";
2
- export interface ArcProperties {
3
- colors: GlobeColors;
4
- from: {
5
- latitude: number;
6
- longitude: number;
7
- };
8
- to: readonly [number, number];
9
- /** Phase of the travelling pulse, 0–1, so arcs don't pulse in sync. */
10
- offset: number;
11
- }
12
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/arc/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AAE7F,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,WAAW,CAAC;IACpB,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,EAAE,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,uEAAuE;IACvE,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/globe/arc/type.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { GlobeColors } from "@sharadox/sharadox-web-library/component/globe/color/type";
2
- /** The globe's colours, taken from a style's palette (`foreground`, `globe-body`, `globe-rim`). */
3
- export declare function globeColors(styleName: string): GlobeColors;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/color/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AAE7F,mGAAmG;AACnG,wBAAgB,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAW1D"}
@@ -1,16 +0,0 @@
1
- import { findStyle } from "@sharadox/web-library/style/definition";
2
- import { STYLE_CONFIGURATION } from "@sharadox/sharadox-web-library/content/style";
3
- import { hexChannel } from "@sharadox/sharadox-web-library/utility/hex-channel";
4
- /** The globe's colours, taken from a style's palette (`foreground`, `globe-body`, `globe-rim`). */
5
- export function globeColors(styleName) {
6
- const style = findStyle(STYLE_CONFIGURATION, styleName) ?? findStyle(STYLE_CONFIGURATION, STYLE_CONFIGURATION.defaults.dark);
7
- const palette = style.palette;
8
- return {
9
- ink: hexChannel(palette.foreground),
10
- inkHex: palette.foreground,
11
- body: hexChannel(palette["globe-body"]),
12
- rim: hexChannel(palette["globe-rim"]),
13
- additive: style.scheme === "dark",
14
- };
15
- }
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/globe/color/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAGhF,mGAAmG;AACnG,MAAM,UAAU,WAAW,CAAC,SAAiB;IAC3C,MAAM,KAAK,GACT,SAAS,CAAC,mBAAmB,EAAE,SAAS,CAAC,IAAI,SAAS,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAE,CAAC;IAClH,MAAM,OAAO,GAAG,KAAK,CAAC,OAAiC,CAAC;IACxD,OAAO;QACL,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,UAAW,CAAC;QACpC,MAAM,EAAE,OAAO,CAAC,UAAW;QAC3B,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,YAAY,CAAE,CAAC;QACxC,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,WAAW,CAAE,CAAC;QACtC,QAAQ,EAAE,KAAK,CAAC,MAAM,KAAK,MAAM;KAClC,CAAC;AACJ,CAAC"}
@@ -1,13 +0,0 @@
1
- /** The globe's colours for the style in use. Channels run from 0 to 1. */
2
- export interface GlobeColors {
3
- /** Land dots, arcs and markers: the style's foreground. */
4
- ink: [number, number, number];
5
- /** The same, as "#rrggbb", for standard three.js materials. */
6
- inkHex: string;
7
- /** The planet body, and its rim where it turns away. */
8
- body: [number, number, number];
9
- rim: [number, number, number];
10
- /** Light adds up on dark styles; on light styles the ink is drawn normally (dark on light). */
11
- additive: boolean;
12
- }
13
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/color/type.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,MAAM,WAAW,WAAW;IAC1B,2DAA2D;IAC3D,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,+FAA+F;IAC/F,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/globe/color/type.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { DotsProperties } from "@sharadox/sharadox-web-library/component/globe/dots/type";
2
- /** The land, drawn as twinkling points that fade towards the globe's edge. */
3
- export declare function Dots({ data, colors }: DotsProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/dots/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAE/F,8EAA8E;AAC9E,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,cAAc,+BAwCpD"}
@@ -1,38 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { pseudoRandom } from "@sharadox/web-library/math/pseudo-random";
4
- import { useFrame, useThree } from "@react-three/fiber";
5
- import { useMemo, useRef } from "react";
6
- import { BufferAttribute, BufferGeometry } from "three";
7
- import { DOT_SHADER } from "@sharadox/sharadox-web-library/component/globe/shader/dot";
8
- import { latitudeLongitudeToVector } from "@sharadox/sharadox-web-library/utility/latitude-longitude-to-vector";
9
- /** The land, drawn as twinkling points that fade towards the globe's edge. */
10
- export function Dots({ data, colors }) {
11
- const { gl } = useThree();
12
- const material = useRef(null);
13
- const geometry = useMemo(() => {
14
- const count = data.length / 2;
15
- const position = new Float32Array(count * 3);
16
- const seed = new Float32Array(count);
17
- for (let index = 0; index < count; index++) {
18
- const point = latitudeLongitudeToVector(data[index * 2], data[index * 2 + 1], 1.001);
19
- position.set([point.x, point.y, point.z], index * 3);
20
- seed[index] = pseudoRandom(index);
21
- }
22
- const points = new BufferGeometry();
23
- points.setAttribute("position", new BufferAttribute(position, 3));
24
- points.setAttribute("seed", new BufferAttribute(seed, 1));
25
- return points;
26
- }, [data]);
27
- const uniforms = useMemo(() => ({
28
- time: { value: 0 },
29
- pointSize: { value: 2.6 * Math.min(gl.getPixelRatio(), 2) },
30
- color: { value: colors.ink },
31
- }), [gl, colors]);
32
- useFrame((_, deltaSeconds) => {
33
- if (material.current)
34
- material.current.uniforms.time.value += deltaSeconds;
35
- });
36
- return (_jsx("points", { geometry: geometry, children: _jsx("shaderMaterial", { ref: material, vertexShader: DOT_SHADER.vertex, fragmentShader: DOT_SHADER.fragment, uniforms: uniforms, transparent: true, depthWrite: false }) }));
37
- }
38
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/globe/dots/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,2DAA2D,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,qEAAqE,CAAC;AAGhH,8EAA8E;AAC9E,MAAM,UAAU,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAkB;IACnD,MAAM,EAAE,EAAE,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC1B,MAAM,QAAQ,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC9C,MAAM,QAAQ,GAAG,OAAO,CAAC,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EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,GAAG,EAAE;KAC7B,CAAC,EACF,CAAC,EAAE,EAAE,MAAM,CAAC,CACb,CAAC;IACF,QAAQ,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE;QAC3B,IAAI,QAAQ,CAAC,OAAO;YAAE,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAK,CAAC,KAAK,IAAI,YAAY,CAAC;IAC9E,CAAC,CAAC,CAAC;IACH,OAAO,CACL,iBAAQ,QAAQ,EAAE,QAAQ,YACxB,yBACE,GAAG,EAAE,QAAQ,EACb,YAAY,EAAE,UAAU,CAAC,MAAM,EAC/B,cAAc,EAAE,UAAU,CAAC,QAAQ,EACnC,QAAQ,EAAE,QAAQ,EAClB,WAAW,QACX,UAAU,EAAE,KAAK,GACjB,GACK,CACV,CAAC;AACJ,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { GlobeColors } from "@sharadox/sharadox-web-library/component/globe/color/type";
2
- export interface DotsProperties {
3
- colors: GlobeColors;
4
- /** Float32 [latitude, longitude] pairs. */
5
- data: Float32Array;
6
- }
7
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/dots/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AAE7F,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,WAAW,CAAC;IACpB,2CAA2C;IAC3C,IAAI,EAAE,YAAY,CAAC;CACpB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/globe/dots/type.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { MarkerProperties } from "@sharadox/sharadox-web-library/component/globe/marker/type";
2
- /** A city dot lying flat on the surface. */
3
- export declare function Marker({ latitude, longitude, color, home }: MarkerProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/marker/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAEnG,4CAA4C;AAC5C,wBAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,IAAY,EAAE,EAAE,gBAAgB,+BA2BpF"}