@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,104 +1 @@
1
- .visual {
2
- position: absolute;
3
- inset: 0;
4
- display: grid;
5
- place-items: center;
6
- }
7
-
8
- .phone {
9
- position: relative;
10
- width: 168px;
11
- height: 300px;
12
- margin-top: 70px;
13
- border-radius: 30px;
14
- border: 1px solid var(--line-2);
15
- background: linear-gradient(180deg, var(--surface), var(--card));
16
- box-shadow: 0 40px 80px -20px color-mix(in srgb, var(--background) 90%, transparent);
17
- transform: rotateY(-14deg) rotateX(8deg) rotateZ(2deg);
18
- transform-style: preserve-3d;
19
- animation: hover 8s ease-in-out infinite;
20
- padding: 34px 10px 0;
21
- }
22
-
23
- .notch {
24
- position: absolute;
25
- top: 9px;
26
- left: 50%;
27
- width: 56px;
28
- height: 16px;
29
- margin-left: -28px;
30
- border-radius: 10px;
31
- background: var(--background);
32
- border: 1px solid var(--line-2);
33
- }
34
-
35
- .time {
36
- text-align: center;
37
- font-size: 26px;
38
- font-weight: 500;
39
- letter-spacing: -0.04em;
40
- margin: 4px 0 12px;
41
- }
42
-
43
- .notes {
44
- display: grid;
45
- gap: 7px;
46
- }
47
-
48
- .note {
49
- display: flex;
50
- gap: 8px;
51
- align-items: center;
52
- padding: 8px 9px;
53
- border-radius: 12px;
54
- background: color-mix(in srgb, var(--foreground) 7%, transparent);
55
- backdrop-filter: blur(4px);
56
- border: 1px solid var(--line);
57
- animation: note-in 0.6s var(--ease) both;
58
- }
59
-
60
- .note1 {
61
- opacity: 0.7;
62
- }
63
-
64
- .note2 {
65
- opacity: 0.4;
66
- }
67
-
68
- .icon {
69
- width: 20px;
70
- height: 20px;
71
- border-radius: 6px;
72
- background: var(--foreground);
73
- flex: none;
74
- }
75
-
76
- .text {
77
- display: grid;
78
- line-height: 1.25;
79
- min-width: 0;
80
- }
81
- .text b {
82
- font-size: 10.5px;
83
- font-weight: 600;
84
- }
85
- .text em {
86
- font-style: normal;
87
- font-size: 9.5px;
88
- color: var(--foreground-2);
89
- white-space: nowrap;
90
- overflow: hidden;
91
- text-overflow: ellipsis;
92
- }
93
-
94
- @keyframes note-in {
95
- from {
96
- opacity: 0;
97
- transform: translateY(-12px) scale(0.96);
98
- }
99
- }
100
- @keyframes hover {
101
- 50% {
102
- transform: rotateY(-8deg) rotateX(4deg) rotateZ(1deg) translateY(-8px);
103
- }
104
- }
1
+ .visual{position:absolute;inset:0;display:grid;place-items:center}.phone{position:relative;width:168px;height:300px;margin-top:70px;border-radius:30px;border:1px solid var(--line-2);background:linear-gradient(180deg, var(--surface), var(--card));box-shadow:0 40px 80px -20px color-mix(in srgb, var(--background) 90%, transparent);transform:rotateY(-14deg) rotateX(8deg) rotateZ(2deg);transform-style:preserve-3d;animation:hover 8s ease-in-out infinite;padding:34px 10px 0}.notch{position:absolute;top:9px;left:50%;width:56px;height:16px;margin-left:-28px;border-radius:10px;background:var(--background);border:1px solid var(--line-2)}.time{text-align:center;font-size:26px;font-weight:500;letter-spacing:-0.04em;margin:4px 0 12px}.notes{display:grid;gap:7px}.note{display:flex;gap:8px;align-items:center;padding:8px 9px;border-radius:12px;background:color-mix(in srgb, var(--foreground) 7%, transparent);backdrop-filter:blur(4px);border:1px solid var(--line);animation:note-in .6s var(--ease) both}.note1{opacity:.7}.note2{opacity:.4}.icon{width:20px;height:20px;border-radius:6px;background:var(--foreground);flex:none}.text{display:grid;line-height:1.25;min-width:0}.text b{font-size:10.5px;font-weight:600}.text em{font-style:normal;font-size:9.5px;color:var(--foreground-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@keyframes note-in{from{opacity:0;transform:translateY(-12px) scale(0.96)}}@keyframes hover{50%{transform:rotateY(-8deg) rotateX(4deg) rotateZ(1deg) translateY(-8px)}}
@@ -0,0 +1,93 @@
1
+ @use "style/token" as *;
2
+
3
+ .visual {
4
+ @include fill-center;
5
+ }
6
+ .phone {
7
+ position: relative;
8
+ width: 168px;
9
+ height: 300px;
10
+ margin-top: 70px;
11
+ border-radius: 30px;
12
+ border: 1px solid var(--line-2);
13
+ background: linear-gradient(180deg, var(--surface), var(--card));
14
+ box-shadow: 0 40px 80px -20px shade(90%);
15
+ transform: rotateY(-14deg) rotateX(8deg) rotateZ(2deg);
16
+ transform-style: preserve-3d;
17
+ animation: hover 8s ease-in-out infinite;
18
+ padding: 34px 10px 0;
19
+ }
20
+ .notch {
21
+ position: absolute;
22
+ top: 9px;
23
+ left: 50%;
24
+ width: 56px;
25
+ height: 16px;
26
+ margin-left: -28px;
27
+ border-radius: 10px;
28
+ background: var(--background);
29
+ border: 1px solid var(--line-2);
30
+ }
31
+ .time {
32
+ text-align: center;
33
+ font-size: 26px;
34
+ font-weight: 500;
35
+ letter-spacing: -0.04em;
36
+ margin: 4px 0 12px;
37
+ }
38
+ .notes {
39
+ display: grid;
40
+ gap: 7px;
41
+ }
42
+ .note {
43
+ display: flex;
44
+ gap: 8px;
45
+ align-items: center;
46
+ padding: 8px 9px;
47
+ border-radius: 12px;
48
+ background: tint(7%);
49
+ backdrop-filter: blur(4px);
50
+ border: 1px solid var(--line);
51
+ animation: note-in 0.6s var(--ease) both;
52
+ }
53
+ .note1 {
54
+ opacity: 0.7;
55
+ }
56
+ .note2 {
57
+ opacity: 0.4;
58
+ }
59
+ .icon {
60
+ width: 20px;
61
+ height: 20px;
62
+ border-radius: 6px;
63
+ background: var(--foreground);
64
+ flex: none;
65
+ }
66
+ .text {
67
+ display: grid;
68
+ line-height: 1.25;
69
+ min-width: 0;
70
+ b {
71
+ font-size: 10.5px;
72
+ font-weight: 600;
73
+ }
74
+ em {
75
+ font-style: normal;
76
+ font-size: 9.5px;
77
+ color: var(--foreground-2);
78
+ white-space: nowrap;
79
+ overflow: hidden;
80
+ text-overflow: ellipsis;
81
+ }
82
+ }
83
+ @keyframes note-in {
84
+ from {
85
+ opacity: 0;
86
+ transform: translateY(-12px) scale(0.96);
87
+ }
88
+ }
89
+ @keyframes hover {
90
+ 50% {
91
+ transform: rotateY(-8deg) rotateX(4deg) rotateZ(1deg) translateY(-8px);
92
+ }
93
+ }
@@ -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 MobileVisualProperties {
3
3
  locale: Locale;
4
4
  }
@@ -1,46 +1 @@
1
- .visual {
2
- position: absolute;
3
- inset: 0;
4
- display: grid;
5
- place-items: center;
6
- }
7
- .visual svg {
8
- width: min(92%, 420px);
9
- height: auto;
10
- overflow: visible;
11
- }
12
-
13
- .edge {
14
- fill: none;
15
- stroke: var(--line-2);
16
- stroke-width: 1;
17
- stroke-dasharray: 3 4;
18
- }
19
-
20
- .packet {
21
- fill: var(--foreground);
22
- filter: drop-shadow(0 0 4px var(--foreground));
23
- }
24
-
25
- .core {
26
- fill: var(--surface);
27
- stroke: var(--foreground-3);
28
- }
29
-
30
- .coreLabel {
31
- fill: var(--foreground);
32
- font: 500 11px var(--monospace);
33
- text-anchor: middle;
34
- }
35
-
36
- .node {
37
- fill: var(--background);
38
- stroke: var(--foreground);
39
- stroke-width: 1.4;
40
- }
41
-
42
- .nodeLabel {
43
- fill: var(--foreground-2);
44
- font: 400 10.5px var(--monospace);
45
- text-anchor: middle;
46
- }
1
+ .visual{position:absolute;inset:0;display:grid;place-items:center}.visual svg{width:min(92%,420px);height:auto;overflow:visible}.edge{fill:none;stroke:var(--line-2);stroke-width:1;stroke-dasharray:3 4}.packet{fill:var(--foreground);filter:drop-shadow(0 0 4px var(--foreground))}.core{fill:var(--surface);stroke:var(--foreground-3)}.coreLabel{fill:var(--foreground);font:500 11px var(--monospace);text-anchor:middle}.node{fill:var(--background);stroke:var(--foreground);stroke-width:1.4}.nodeLabel{fill:var(--foreground-2);font:400 10.5px var(--monospace);text-anchor:middle}
@@ -0,0 +1,39 @@
1
+ @use "style/token" as *;
2
+
3
+ .visual {
4
+ @include fill-center;
5
+ svg {
6
+ width: min(92%, 420px);
7
+ height: auto;
8
+ overflow: visible;
9
+ }
10
+ }
11
+ .edge {
12
+ fill: none;
13
+ stroke: var(--line-2);
14
+ stroke-width: 1;
15
+ stroke-dasharray: 3 4;
16
+ }
17
+ .packet {
18
+ fill: var(--foreground);
19
+ filter: drop-shadow(0 0 4px var(--foreground));
20
+ }
21
+ .core {
22
+ fill: var(--surface);
23
+ stroke: var(--foreground-3);
24
+ }
25
+ .coreLabel {
26
+ fill: var(--foreground);
27
+ font: 500 11px var(--monospace);
28
+ text-anchor: middle;
29
+ }
30
+ .node {
31
+ fill: var(--background);
32
+ stroke: var(--foreground);
33
+ stroke-width: 1.4;
34
+ }
35
+ .nodeLabel {
36
+ fill: var(--foreground-2);
37
+ font: 400 10.5px var(--monospace);
38
+ text-anchor: middle;
39
+ }
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useCountUp } from "@sharadox/web-library/animation/count-up";
4
- import { useInView } from "@sharadox/web-library/animation/in-view";
5
- import { languageTag } from "@sharadox/web-library/internationalization/locale";
6
- import { translate } from "@sharadox/web-library/internationalization/translate";
3
+ import { useCountUp } from "@sharadox/animation-web-library/count-up";
4
+ import { useInView } from "@sharadox/animation-web-library/in-view";
5
+ import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
6
+ import { translate } from "@sharadox/internationalization-web-library/translate";
7
7
  import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
8
8
  import styles from "./index.module.css";
9
9
  const LINE = "M0 86 C 30 84, 46 74, 70 70 S 112 66, 132 52 S 170 40, 196 30 S 232 14, 260 8";
@@ -12,6 +12,6 @@ const POSTS = Array.from({ length: 9 }, (_, index) => index);
12
12
  export function SocialVisual({ locale }) {
13
13
  const [container, on] = useInView();
14
14
  const followers = useCountUp(12480, on, 2200);
15
- return (_jsxs("div", { ref: container, className: [styles.visual, on && styles.on].filter(Boolean).join(" "), "aria-hidden": true, children: [_jsx("div", { className: styles.feed, children: POSTS.map((post) => (_jsx("span", { style: { animationDelay: `${0.2 + post * 0.09}s` } }, post))) }), _jsxs("div", { className: styles.panel, children: [_jsxs("div", { className: styles.header, children: [_jsx("span", { className: `${styles.label} monospace`, children: translate(SERVICES.visual.followers, locale) }), _jsx("span", { className: `${styles.growth} monospace`, children: "+38%" })] }), _jsx("span", { className: styles.count, children: followers.toLocaleString(languageTag(locale)) }), _jsxs("svg", { viewBox: "0 0 260 96", className: styles.chart, children: [_jsx("defs", { children: _jsxs("linearGradient", { id: "social-area", x1: "0", x2: "0", y1: "0", y2: "1", children: [_jsx("stop", { offset: "0", stopColor: "var(--foreground)", stopOpacity: "0.22" }), _jsx("stop", { offset: "1", stopColor: "var(--foreground)", stopOpacity: "0" })] }) }), [24, 48, 72].map((y) => (_jsx("line", { x1: "0", x2: "260", y1: y, y2: y, className: styles.gridLine }, y))), _jsx("path", { d: `${LINE} L 260 96 L 0 96 Z`, className: styles.area, fill: "url(#social-area)" }), _jsx("path", { d: LINE, className: styles.line, pathLength: 1 }), _jsx("circle", { cx: "260", cy: "8", r: "3.5", className: styles.dot })] })] })] }));
15
+ return (_jsxs("div", { ref: container, className: [styles.visual, on && styles.on].filter(Boolean).join(" "), "aria-hidden": true, children: [_jsx("div", { className: styles.feed, children: POSTS.map((post) => (_jsx("span", { style: { animationDelay: `${0.2 + post * 0.09}s` } }, post))) }), _jsxs("div", { className: styles.panel, children: [_jsxs("div", { className: styles.header, children: [_jsx("span", { className: `${styles.label} monospace`, children: translate(SERVICES.visual.followers, locale) }), _jsx("span", { className: `${styles.growth} monospace`, children: "+38%" })] }), _jsx("span", { className: styles.count, children: followers.toLocaleString(LOCALES.languageTag(locale)) }), _jsxs("svg", { viewBox: "0 0 260 96", className: styles.chart, children: [_jsx("defs", { children: _jsxs("linearGradient", { id: "social-area", x1: "0", x2: "0", y1: "0", y2: "1", children: [_jsx("stop", { offset: "0", stopColor: "var(--foreground)", stopOpacity: "0.22" }), _jsx("stop", { offset: "1", stopColor: "var(--foreground)", stopOpacity: "0" })] }) }), [24, 48, 72].map((y) => (_jsx("line", { x1: "0", x2: "260", y1: y, y2: y, className: styles.gridLine }, y))), _jsx("path", { d: `${LINE} L 260 96 L 0 96 Z`, className: styles.area, fill: "url(#social-area)" }), _jsx("path", { d: LINE, className: styles.line, pathLength: 1 }), _jsx("circle", { cx: "260", cy: "8", r: "3.5", className: styles.dot })] })] })] }));
16
16
  }
17
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/social-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAC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AAI,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,GAAI,EACxD,iBAAQ,EAAE,EAAC,KAAK,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,KAAK,EAAC,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,IACrD,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -1,131 +1 @@
1
- .visual {
2
- position: absolute;
3
- inset: 0;
4
- display: grid;
5
- place-items: center;
6
- perspective: 900px;
7
- }
8
-
9
- .feed {
10
- position: absolute;
11
- right: 6%;
12
- top: 50%;
13
- width: 132px;
14
- display: grid;
15
- grid-template-columns: repeat(3, 1fr);
16
- gap: 5px;
17
- transform: translateY(-56%) rotateY(-28deg) rotateX(10deg) translateZ(-40px);
18
- }
19
- .feed span {
20
- aspect-ratio: 1;
21
- border-radius: 5px;
22
- border: 1px solid var(--line-2);
23
- background: linear-gradient(135deg, color-mix(in srgb, var(--foreground) 14%, transparent), color-mix(in srgb, var(--foreground) 3%, transparent));
24
- }
25
- .on .feed span {
26
- animation: pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
27
- }
28
- .feed span:nth-child(3n+2) {
29
- background: linear-gradient(135deg, color-mix(in srgb, var(--foreground) 28%, transparent), color-mix(in srgb, var(--foreground) 8%, transparent));
30
- }
31
-
32
- @keyframes pop {
33
- from {
34
- opacity: 0;
35
- transform: scale(0.6);
36
- }
37
- }
38
- .panel {
39
- position: relative;
40
- width: min(72%, 290px);
41
- margin-right: 22%;
42
- padding: 16px 16px 10px;
43
- border-radius: 14px;
44
- border: 1px solid var(--line-2);
45
- background: color-mix(in srgb, var(--background) 80%, transparent);
46
- backdrop-filter: blur(8px);
47
- box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--background) 90%, transparent);
48
- transform: rotateY(10deg) rotateX(6deg) translateZ(30px);
49
- }
50
-
51
- .header {
52
- display: flex;
53
- justify-content: space-between;
54
- align-items: center;
55
- }
56
-
57
- .label {
58
- font-size: 10.5px;
59
- text-transform: uppercase;
60
- letter-spacing: 0.05em;
61
- color: var(--foreground-3);
62
- }
63
-
64
- .growth {
65
- font-size: 10.5px;
66
- padding: 2px 7px;
67
- border-radius: 99px;
68
- background: color-mix(in srgb, var(--foreground) 10%, transparent);
69
- }
70
-
71
- .count {
72
- display: block;
73
- margin: 2px 0 6px;
74
- font-size: 30px;
75
- font-weight: 600;
76
- letter-spacing: -0.04em;
77
- font-variant-numeric: tabular-nums;
78
- }
79
-
80
- .chart {
81
- display: block;
82
- width: 100%;
83
- height: auto;
84
- overflow: visible;
85
- }
86
-
87
- .gridLine {
88
- stroke: var(--line);
89
- stroke-dasharray: 3 3;
90
- }
91
-
92
- .line {
93
- fill: none;
94
- stroke: var(--foreground);
95
- stroke-width: 1.8;
96
- stroke-linecap: round;
97
- stroke-dasharray: 1;
98
- }
99
- .on .line {
100
- animation: draw-line 2.2s cubic-bezier(0.22, 1, 0.36, 1) both;
101
- }
102
-
103
- .on .area {
104
- animation: fade 2.2s ease both;
105
- }
106
-
107
- @keyframes draw-line {
108
- from {
109
- stroke-dashoffset: 1;
110
- }
111
- }
112
- @keyframes fade {
113
- from {
114
- opacity: 0;
115
- }
116
- }
117
- .dot {
118
- fill: var(--foreground);
119
- }
120
- .on .dot {
121
- animation: pulse 2s 2.2s ease-out infinite;
122
- }
123
-
124
- @keyframes pulse {
125
- 0% {
126
- filter: drop-shadow(0 0 0 var(--foreground));
127
- }
128
- 50% {
129
- filter: drop-shadow(0 0 6px var(--foreground));
130
- }
131
- }
1
+ .visual{position:absolute;inset:0;display:grid;place-items:center;perspective:900px}.feed{position:absolute;right:6%;top:50%;width:132px;display:grid;grid-template-columns:repeat(3, 1fr);gap:5px;transform:translateY(-56%) rotateY(-28deg) rotateX(10deg) translateZ(-40px)}.feed span{aspect-ratio:1;border-radius:5px;border:1px solid var(--line-2);background:linear-gradient(135deg, color-mix(in srgb, var(--foreground) 14%, transparent), color-mix(in srgb, var(--foreground) 3%, transparent))}.on .feed span{animation:pop .6s cubic-bezier(0.22, 1, 0.36, 1) both}.feed span:nth-child(3n+2){background:linear-gradient(135deg, color-mix(in srgb, var(--foreground) 28%, transparent), color-mix(in srgb, var(--foreground) 8%, transparent))}@keyframes pop{from{opacity:0;transform:scale(0.6)}}.panel{position:relative;width:min(72%,290px);margin-right:22%;padding:16px 16px 10px;border-radius:14px;border:1px solid var(--line-2);background:color-mix(in srgb, var(--background) 80%, transparent);backdrop-filter:blur(8px);box-shadow:0 30px 60px -24px color-mix(in srgb, var(--background) 90%, transparent);transform:rotateY(10deg) rotateX(6deg) translateZ(30px)}.header{display:flex;justify-content:space-between;align-items:center}.label{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--foreground-3)}.growth{font-size:10.5px;padding:2px 7px;border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, transparent)}.count{display:block;margin:2px 0 6px;font-size:30px;font-weight:600;letter-spacing:-0.04em;font-variant-numeric:tabular-nums}.chart{display:block;width:100%;height:auto;overflow:visible}.gridLine{stroke:var(--line);stroke-dasharray:3 3}.line{fill:none;stroke:var(--foreground);stroke-width:1.8;stroke-linecap:round;stroke-dasharray:1}.on .line{animation:draw-line 2.2s cubic-bezier(0.22, 1, 0.36, 1) both}.on .area{animation:fade 2.2s ease both}@keyframes draw-line{from{stroke-dashoffset:1}}@keyframes fade{from{opacity:0}}.dot{fill:var(--foreground)}.on .dot{animation:pulse 2s 2.2s ease-out infinite}@keyframes pulse{0%{filter:drop-shadow(0 0 0 var(--foreground))}50%{filter:drop-shadow(0 0 6px var(--foreground))}}
@@ -0,0 +1,120 @@
1
+ @use "style/token" as *;
2
+
3
+ .visual {
4
+ @include fill-center;
5
+ perspective: 900px;
6
+ }
7
+ .feed {
8
+ position: absolute;
9
+ right: 6%;
10
+ top: 50%;
11
+ width: 132px;
12
+ display: grid;
13
+ grid-template-columns: repeat(3, 1fr);
14
+ gap: 5px;
15
+ transform: translateY(-56%) rotateY(-28deg) rotateX(10deg) translateZ(-40px);
16
+ span {
17
+ aspect-ratio: 1;
18
+ border-radius: 5px;
19
+ border: 1px solid var(--line-2);
20
+ background: linear-gradient(135deg, tint(14%), tint(3%));
21
+ .on & {
22
+ animation: pop 0.6s $ease both;
23
+ }
24
+ }
25
+ span:nth-child(3n + 2) {
26
+ background: linear-gradient(135deg, tint(28%), tint(8%));
27
+ }
28
+ }
29
+ @keyframes pop {
30
+ from {
31
+ opacity: 0;
32
+ transform: scale(0.6);
33
+ }
34
+ }
35
+ .panel {
36
+ position: relative;
37
+ width: min(72%, 290px);
38
+ margin-right: 22%;
39
+ padding: 16px 16px 10px;
40
+ border-radius: 14px;
41
+ border: 1px solid var(--line-2);
42
+ background: shade(80%);
43
+ backdrop-filter: blur(8px);
44
+ box-shadow: 0 30px 60px -24px shade(90%);
45
+ transform: rotateY(10deg) rotateX(6deg) translateZ(30px);
46
+ }
47
+ .header {
48
+ display: flex;
49
+ justify-content: space-between;
50
+ align-items: center;
51
+ }
52
+ .label {
53
+ font-size: 10.5px;
54
+ text-transform: uppercase;
55
+ letter-spacing: 0.05em;
56
+ color: var(--foreground-3);
57
+ }
58
+ .growth {
59
+ font-size: 10.5px;
60
+ padding: 2px 7px;
61
+ border-radius: 99px;
62
+ background: tint(10%);
63
+ }
64
+ .count {
65
+ display: block;
66
+ margin: 2px 0 6px;
67
+ font-size: 30px;
68
+ font-weight: 600;
69
+ letter-spacing: -0.04em;
70
+ font-variant-numeric: tabular-nums;
71
+ }
72
+ .chart {
73
+ display: block;
74
+ width: 100%;
75
+ height: auto;
76
+ overflow: visible;
77
+ }
78
+ .gridLine {
79
+ stroke: var(--line);
80
+ stroke-dasharray: 3 3;
81
+ }
82
+ .line {
83
+ fill: none;
84
+ stroke: var(--foreground);
85
+ stroke-width: 1.8;
86
+ stroke-linecap: round;
87
+ stroke-dasharray: 1;
88
+ .on & {
89
+ animation: draw-line 2.2s $ease both;
90
+ }
91
+ }
92
+ .area {
93
+ .on & {
94
+ animation: fade 2.2s ease both;
95
+ }
96
+ }
97
+ @keyframes draw-line {
98
+ from {
99
+ stroke-dashoffset: 1;
100
+ }
101
+ }
102
+ @keyframes fade {
103
+ from {
104
+ opacity: 0;
105
+ }
106
+ }
107
+ .dot {
108
+ fill: var(--foreground);
109
+ .on & {
110
+ animation: pulse 2s 2.2s ease-out infinite;
111
+ }
112
+ }
113
+ @keyframes pulse {
114
+ 0% {
115
+ filter: drop-shadow(0 0 0 var(--foreground));
116
+ }
117
+ 50% {
118
+ filter: drop-shadow(0 0 6px var(--foreground));
119
+ }
120
+ }
@@ -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 SocialVisualProperties {
3
3
  locale: Locale;
4
4
  }
@@ -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 ServicesProperties {
3
3
  locale: Locale;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from "react";
4
- import { useInView } from "@sharadox/web-library/animation/in-view";
4
+ import { useInView } from "@sharadox/animation-web-library/in-view";
5
5
  import styles from "./index.module.css";
6
6
  const CIRCUMFERENCE = 2 * Math.PI * 22;
7
7
  /** A browser whose layout assembles itself, with a performance score counting to 100. */