@sharadox/sharadox-web-library 0.6.6 → 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 +36 -27
  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,142 +1 @@
1
- .visual {
2
- position: absolute;
3
- inset: 0;
4
- display: grid;
5
- place-items: center;
6
- }
7
-
8
- .browser {
9
- width: min(78%, 520px);
10
- border-radius: 12px;
11
- border: 1px solid var(--line-2);
12
- background: var(--card);
13
- overflow: hidden;
14
- box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--background) 90%, transparent), 0 0 0 1px color-mix(in srgb, var(--foreground) 2%, transparent);
15
- transform: perspective(900px) rotateX(10deg) rotateY(-8deg) translateZ(20px);
16
- animation: float 7s ease-in-out infinite;
17
- }
18
-
19
- .bar {
20
- display: flex;
21
- align-items: center;
22
- gap: 6px;
23
- height: 32px;
24
- padding: 0 12px;
25
- border-bottom: 1px solid var(--line);
26
- }
27
- .bar i {
28
- width: 8px;
29
- height: 8px;
30
- border-radius: 50%;
31
- background: var(--line-2);
32
- }
33
-
34
- .url {
35
- margin-left: 12px;
36
- font-size: 11px;
37
- color: var(--foreground-3);
38
- padding: 3px 10px;
39
- border-radius: 6px;
40
- background: var(--surface);
41
- }
42
-
43
- .body {
44
- padding: 16px;
45
- display: grid;
46
- gap: 10px;
47
- }
48
-
49
- .skeleton {
50
- border-radius: 6px;
51
- background: linear-gradient(90deg, var(--surface), color-mix(in srgb, var(--foreground) 14%, transparent), var(--surface));
52
- background-size: 200% 100%;
53
- opacity: 0;
54
- transform: translateY(8px);
55
- }
56
- .on .skeleton {
57
- animation: skin 0.7s var(--ease) forwards, shimmer 2.4s linear infinite;
58
- }
59
-
60
- .navigation {
61
- height: 12px;
62
- width: 40%;
63
- }
64
-
65
- .hero {
66
- height: 70px;
67
- animation-delay: 0.15s !important;
68
- }
69
-
70
- .row {
71
- display: grid;
72
- grid-template-columns: repeat(3, 1fr);
73
- gap: 10px;
74
- }
75
- .row .skeleton:nth-child(1) {
76
- animation-delay: 0.3s, 0s !important;
77
- }
78
- .row .skeleton:nth-child(2) {
79
- animation-delay: 0.42s, 0s !important;
80
- }
81
- .row .skeleton:nth-child(3) {
82
- animation-delay: 0.54s, 0s !important;
83
- }
84
-
85
- .card {
86
- height: 44px;
87
- }
88
-
89
- @keyframes skin {
90
- to {
91
- opacity: 1;
92
- transform: none;
93
- }
94
- }
95
- @keyframes shimmer {
96
- to {
97
- background-position: -200% 0;
98
- }
99
- }
100
- .score {
101
- position: absolute;
102
- right: 7%;
103
- bottom: 10%;
104
- transform: translateZ(60px);
105
- width: 74px;
106
- height: 74px;
107
- display: grid;
108
- place-items: center;
109
- border-radius: 50%;
110
- background: color-mix(in srgb, var(--background) 90%, transparent);
111
- border: 1px solid var(--line-2);
112
- backdrop-filter: blur(8px);
113
- }
114
- .score svg {
115
- position: absolute;
116
- inset: 8px;
117
- transform: rotate(-90deg);
118
- }
119
- .score span {
120
- font-size: 17px;
121
- font-weight: 500;
122
- }
123
-
124
- .track {
125
- fill: none;
126
- stroke: var(--line-2);
127
- stroke-width: 3;
128
- }
129
-
130
- .progress {
131
- fill: none;
132
- stroke: var(--foreground);
133
- stroke-width: 3;
134
- stroke-linecap: round;
135
- transition: stroke-dashoffset 0.1s linear;
136
- }
137
-
138
- @keyframes float {
139
- 50% {
140
- transform: perspective(900px) rotateX(6deg) rotateY(-4deg) translateZ(20px) translateY(-6px);
141
- }
142
- }
1
+ .visual{position:absolute;inset:0;display:grid;place-items:center}.browser{width:min(78%,520px);border-radius:12px;border:1px solid var(--line-2);background:var(--card);overflow:hidden;box-shadow:0 30px 80px -20px color-mix(in srgb, var(--background) 90%, transparent),0 0 0 1px color-mix(in srgb, var(--foreground) 2%, transparent);transform:perspective(900px) rotateX(10deg) rotateY(-8deg) translateZ(20px);animation:float 7s ease-in-out infinite}.bar{display:flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-bottom:1px solid var(--line)}.bar i{width:8px;height:8px;border-radius:50%;background:var(--line-2)}.url{margin-left:12px;font-size:11px;color:var(--foreground-3);padding:3px 10px;border-radius:6px;background:var(--surface)}.body{padding:16px;display:grid;gap:10px}.skeleton{border-radius:6px;background:linear-gradient(90deg, var(--surface), color-mix(in srgb, var(--foreground) 14%, transparent), var(--surface));background-size:200% 100%;opacity:0;transform:translateY(8px)}.on .skeleton{animation:skin .7s var(--ease) forwards,shimmer 2.4s linear infinite}.navigation{height:12px;width:40%}.hero{height:70px;animation-delay:.15s !important}.row{display:grid;grid-template-columns:repeat(3, 1fr);gap:10px}.row .skeleton:nth-child(1){animation-delay:.3s,0s !important}.row .skeleton:nth-child(2){animation-delay:.42s,0s !important}.row .skeleton:nth-child(3){animation-delay:.54s,0s !important}.card{height:44px}@keyframes skin{to{opacity:1;transform:none}}@keyframes shimmer{to{background-position:-200% 0}}.score{position:absolute;right:7%;bottom:10%;transform:translateZ(60px);width:74px;height:74px;display:grid;place-items:center;border-radius:50%;background:color-mix(in srgb, var(--background) 90%, transparent);border:1px solid var(--line-2);backdrop-filter:blur(8px)}.score svg{position:absolute;inset:8px;transform:rotate(-90deg)}.score span{font-size:17px;font-weight:500}.track{fill:none;stroke:var(--line-2);stroke-width:3}.progress{fill:none;stroke:var(--foreground);stroke-width:3;stroke-linecap:round;transition:stroke-dashoffset .1s linear}@keyframes float{50%{transform:perspective(900px) rotateX(6deg) rotateY(-4deg) translateZ(20px) translateY(-6px)}}
@@ -0,0 +1,132 @@
1
+ @use "style/token" as *;
2
+
3
+ .visual {
4
+ @include fill-center;
5
+ }
6
+ .browser {
7
+ width: min(78%, 520px);
8
+ border-radius: 12px;
9
+ border: 1px solid var(--line-2);
10
+ background: var(--card);
11
+ overflow: hidden;
12
+ box-shadow:
13
+ 0 30px 80px -20px shade(90%),
14
+ 0 0 0 1px tint(2%);
15
+ transform: perspective(900px) rotateX(10deg) rotateY(-8deg) translateZ(20px);
16
+ animation: float 7s ease-in-out infinite;
17
+ }
18
+ .bar {
19
+ display: flex;
20
+ align-items: center;
21
+ gap: 6px;
22
+ height: 32px;
23
+ padding: 0 12px;
24
+ border-bottom: 1px solid var(--line);
25
+ i {
26
+ width: 8px;
27
+ height: 8px;
28
+ border-radius: 50%;
29
+ background: var(--line-2);
30
+ }
31
+ }
32
+ .url {
33
+ margin-left: 12px;
34
+ font-size: 11px;
35
+ color: var(--foreground-3);
36
+ padding: 3px 10px;
37
+ border-radius: 6px;
38
+ background: var(--surface);
39
+ }
40
+ .body {
41
+ padding: 16px;
42
+ display: grid;
43
+ gap: 10px;
44
+ }
45
+ .skeleton {
46
+ border-radius: 6px;
47
+ background: linear-gradient(90deg, var(--surface), tint(14%), var(--surface));
48
+ background-size: 200% 100%;
49
+ opacity: 0;
50
+ transform: translateY(8px);
51
+ .on & {
52
+ animation:
53
+ skin 0.7s var(--ease) forwards,
54
+ shimmer 2.4s linear infinite;
55
+ }
56
+ }
57
+ .navigation {
58
+ height: 12px;
59
+ width: 40%;
60
+ }
61
+ .hero {
62
+ height: 70px;
63
+ animation-delay: 0.15s !important;
64
+ }
65
+ .row {
66
+ display: grid;
67
+ grid-template-columns: repeat(3, 1fr);
68
+ gap: 10px;
69
+ .skeleton:nth-child(1) {
70
+ animation-delay: 0.3s, 0s !important;
71
+ }
72
+ .skeleton:nth-child(2) {
73
+ animation-delay: 0.42s, 0s !important;
74
+ }
75
+ .skeleton:nth-child(3) {
76
+ animation-delay: 0.54s, 0s !important;
77
+ }
78
+ }
79
+ .card {
80
+ height: 44px;
81
+ }
82
+ @keyframes skin {
83
+ to {
84
+ opacity: 1;
85
+ transform: none;
86
+ }
87
+ }
88
+ @keyframes shimmer {
89
+ to {
90
+ background-position: -200% 0;
91
+ }
92
+ }
93
+ .score {
94
+ position: absolute;
95
+ right: 7%;
96
+ bottom: 10%;
97
+ transform: translateZ(60px);
98
+ width: 74px;
99
+ height: 74px;
100
+ display: grid;
101
+ place-items: center;
102
+ border-radius: 50%;
103
+ background: shade(90%);
104
+ border: 1px solid var(--line-2);
105
+ backdrop-filter: blur(8px);
106
+ svg {
107
+ position: absolute;
108
+ inset: 8px;
109
+ transform: rotate(-90deg);
110
+ }
111
+ span {
112
+ font-size: 17px;
113
+ font-weight: 500;
114
+ }
115
+ }
116
+ .track {
117
+ fill: none;
118
+ stroke: var(--line-2);
119
+ stroke-width: 3;
120
+ }
121
+ .progress {
122
+ fill: none;
123
+ stroke: var(--foreground);
124
+ stroke-width: 3;
125
+ stroke-linecap: round;
126
+ transition: stroke-dashoffset 0.1s linear;
127
+ }
128
+ @keyframes float {
129
+ 50% {
130
+ transform: perspective(900px) rotateX(6deg) rotateY(-4deg) translateZ(20px) translateY(-6px);
131
+ }
132
+ }
@@ -1,5 +1,4 @@
1
- import { ImageResponse } from "next/og";
2
1
  import type { ShareImageOptions } from "@sharadox/sharadox-web-library/component/share-image/type";
3
2
  /** Share card (Open Graph and Twitter): black canvas, a dotted planet rising from the bottom, the slogan in Geist. */
4
- export declare function renderShareImage({ locale, width, height }: ShareImageOptions): Promise<ImageResponse>;
3
+ export declare function renderShareImage({ locale, width, height }: ShareImageOptions): Promise<import("next/og").ImageResponse>;
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/share-image/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAKxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAKnG,sHAAsH;AACtH,wBAAsB,gBAAgB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,0BAoFlF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/share-image/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAKnG,sHAAsH;AACtH,wBAAsB,gBAAgB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,4CAoFlF"}
@@ -1,15 +1,15 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ImageResponse } from "next/og";
2
+ import { shareImage } from "@sharadox/metadata-web-library/share-image";
3
3
  import { readFile } from "node:fs/promises";
4
4
  import { SITE } from "@sharadox/sharadox-web-library/content/site";
5
5
  import { horizonDots } from "@sharadox/sharadox-web-library/utility/horizon-dots";
6
- import { translate } from "@sharadox/web-library/internationalization/translate";
6
+ import { translate } from "@sharadox/internationalization-web-library/translate";
7
7
  /** Fonts ship with the library (distribution/asset/font), found relative to this compiled file. */
8
8
  const font = (file) => readFile(new URL(`../../asset/font/${file}`, import.meta.url));
9
9
  /** Share card (Open Graph and Twitter): black canvas, a dotted planet rising from the bottom, the slogan in Geist. */
10
10
  export async function renderShareImage({ locale, width, height }) {
11
11
  const [semiBold, monospace] = await Promise.all([font("Geist-SemiBold.ttf"), font("GeistMono-Regular.ttf")]);
12
- return new ImageResponse(_jsxs("div", { style: {
12
+ return shareImage(_jsxs("div", { style: {
13
13
  width: "100%",
14
14
  height: "100%",
15
15
  display: "flex",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/share-image/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AAGjF,mGAAmG;AACnG,MAAM,IAAI,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,oBAAoB,IAAI,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAE9F,sHAAsH;AACtH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAqB;IACjF,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAC7G,OAAO,IAAI,aAAa,CACtB,eACE,KAAK,EAAE;YACL,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,MAAM;YAClB,KAAK,EAAE,MA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AE,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,GAAI,gBAElG,EACN,eACE,KAAK,EAAE;oBACL,OAAO,EAAE,MAAM;oBACf,aAAa,EAAE,QAAQ;oBACvB,SAAS,EAAE,EAAE;oBACb,UAAU,EAAE,OAAO;oBACnB,QAAQ,EAAE,EAAE;oBACZ,UAAU,EAAE,IAAI;oBAChB,aAAa,EAAE,CAAC,GAAG;oBACnB,QAAQ,EAAE,GAAG;iBACd,aAEA,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,SAC3B,EACN,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,6BAEjG,IACF,EACN;QACE,KAAK;QACL,MAAM;QACN,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE;YAC9C,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE;SACpD;KACF,CACF,CAAC;AACJ,CAAC"}
@@ -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 ShareImageOptions {
3
3
  locale: Locale;
4
4
  width: number;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
- import { ScrollWords } from "@sharadox/web-library/animation/scroll-word";
3
+ import { ScrollWords } from "@sharadox/animation-web-library/scroll-word";
4
4
  import { Section } from "@sharadox/sharadox-web-library/component/section";
5
5
  import styles from "./index.module.css";
6
6
  /** A large sentence that lights up word by word as it scrolls through the viewport. */
@@ -1,11 +1 @@
1
- .wrapper {
2
- padding-block: clamp(100px, 18vh, 200px);
3
- }
4
-
5
- .statement {
6
- font-size: clamp(1.9rem, 4.2vw, 3.8rem);
7
- font-weight: 500;
8
- letter-spacing: -0.045em;
9
- line-height: 1.08;
10
- max-width: 22ch;
11
- }
1
+ .wrapper{padding-block:clamp(100px,18vh,200px)}.statement{font-size:clamp(1.9rem,4.2vw,3.8rem);font-weight:500;letter-spacing:-0.045em;line-height:1.08;max-width:22ch}
@@ -0,0 +1,10 @@
1
+ .wrapper {
2
+ padding-block: clamp(100px, 18vh, 200px);
3
+ }
4
+ .statement {
5
+ font-size: clamp(1.9rem, 4.2vw, 3.8rem);
6
+ font-weight: 500;
7
+ letter-spacing: -0.045em;
8
+ line-height: 1.08;
9
+ max-width: 22ch;
10
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/structured-data/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAE9G,qGAAqG;AACrG,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BAqDlE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/structured-data/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAE9G,qGAAqG;AACrG,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BAkDlE"}
@@ -1,62 +1,57 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
3
3
  import { SITE } from "@sharadox/sharadox-web-library/content/site";
4
- import { languageTag } from "@sharadox/web-library/internationalization/locale";
5
- import { StructuredData as JsonLinkedData } from "@sharadox/web-library/search-engine/structured-data";
6
- import { translate } from "@sharadox/web-library/internationalization/translate";
4
+ import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
5
+ import { StructuredData as JsonLinkedData } from "@sharadox/metadata-web-library/structured-data";
6
+ import { structuredDataGraph } from "@sharadox/metadata-web-library/structured-data-graph";
7
+ import { translate } from "@sharadox/internationalization-web-library/translate";
7
8
  /** JSON-LD for search engines: the Sharadox organization with its five services, and the website. */
8
9
  export function StructuredData({ locale }) {
9
- const data = {
10
- "@context": "https://schema.org",
11
- "@graph": [
12
- {
13
- "@type": "Organization",
14
- "@id": `${SITE.url}/#organization`,
15
- name: SITE.name,
16
- url: SITE.url,
17
- email: SITE.email,
18
- slogan: translate(SITE.slogan, locale),
19
- description: translate(SITE.description, locale),
20
- logo: `${SITE.url}/icon.svg`,
21
- address: { "@type": "PostalAddress", addressRegion: "Algarve", addressCountry: "PT" },
22
- areaServed: "Worldwide",
23
- knowsAbout: [
24
- "Brand management",
25
- "Graphic design",
26
- "Web development",
27
- "Web design",
28
- "Software platforms",
29
- "Mobile applications",
30
- "Social media management",
31
- "Digital marketing",
32
- ],
33
- hasOfferCatalog: {
34
- "@type": "OfferCatalog",
35
- name: translate(SERVICES.eyebrow, locale),
36
- itemListElement: SERVICES.items.map((service) => ({
37
- "@type": "Offer",
38
- itemOffered: {
39
- "@type": "Service",
40
- "@id": `${SITE.url}/${locale}#${service.key}`,
41
- name: translate(service.title, locale),
42
- description: translate(service.text, locale),
43
- serviceType: service.kinds[locale].join(", "),
44
- provider: { "@id": `${SITE.url}/#organization` },
45
- areaServed: "Worldwide",
46
- },
47
- })),
48
- },
49
- },
50
- {
51
- "@type": "WebSite",
52
- "@id": `${SITE.url}/#website`,
53
- url: `${SITE.url}/${locale}`,
54
- name: SITE.name,
55
- inLanguage: languageTag(locale),
56
- publisher: { "@id": `${SITE.url}/#organization` },
57
- },
10
+ const data = structuredDataGraph({
11
+ "@type": "Organization",
12
+ "@id": `${SITE.url}/#organization`,
13
+ name: SITE.name,
14
+ url: SITE.url,
15
+ email: SITE.email,
16
+ slogan: translate(SITE.slogan, locale),
17
+ description: translate(SITE.description, locale),
18
+ logo: `${SITE.url}/icon.svg`,
19
+ address: { "@type": "PostalAddress", addressRegion: "Algarve", addressCountry: "PT" },
20
+ areaServed: "Worldwide",
21
+ knowsAbout: [
22
+ "Brand management",
23
+ "Graphic design",
24
+ "Web development",
25
+ "Web design",
26
+ "Software platforms",
27
+ "Mobile applications",
28
+ "Social media management",
29
+ "Digital marketing",
58
30
  ],
59
- };
31
+ hasOfferCatalog: {
32
+ "@type": "OfferCatalog",
33
+ name: translate(SERVICES.eyebrow, locale),
34
+ itemListElement: SERVICES.items.map((service) => ({
35
+ "@type": "Offer",
36
+ itemOffered: {
37
+ "@type": "Service",
38
+ "@id": `${SITE.url}/${locale}#${service.key}`,
39
+ name: translate(service.title, locale),
40
+ description: translate(service.text, locale),
41
+ serviceType: service.kinds[locale].join(", "),
42
+ provider: { "@id": `${SITE.url}/#organization` },
43
+ areaServed: "Worldwide",
44
+ },
45
+ })),
46
+ },
47
+ }, {
48
+ "@type": "WebSite",
49
+ "@id": `${SITE.url}/#website`,
50
+ url: `${SITE.url}/${locale}`,
51
+ name: SITE.name,
52
+ inLanguage: LOCALES.languageTag(locale),
53
+ publisher: { "@id": `${SITE.url}/#organization` },
54
+ });
60
55
  return _jsx(JsonLinkedData, { data: data });
61
56
  }
62
57
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/structured-data/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACvG,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AAGjF,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AC,CAAC;SACJ;KACF,EACD;QACE,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,WAAW;QAC7B,GAAG,EAAE,GAAG,IAAI,CAAC,GAAG,IAAI,MAAM,EAAE;QAC5B,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,UAAU,EAAE,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC;QACvC,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,gBAAgB,EAAE;KAClD,CACF,CAAC;IACF,OAAO,KAAC,cAAc,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AACxC,CAAC"}
@@ -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 StructuredDataProperties {
3
3
  locale: Locale;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import type { StyleSwitchProperties } from "@sharadox/sharadox-web-library/component/style-switch/type";
2
2
  /**
3
- * Picks the style: light styles on the left, System (the default, follows the device) in the middle, dark styles on
4
- * the right. Light styles show a sun and dark ones a moon; every style in content/style appears automatically.
3
+ * Picks the colour style: light styles on the left, System (follows the device) in the middle, dark styles on the
4
+ * right. Light styles show a sun and dark ones a moon; every option in content/style appears automatically.
5
5
  */
6
6
  export declare function StyleSwitch({ locale, className }: StyleSwitchProperties): import("react").JSX.Element;
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/style-switch/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAqBxG;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BAmCvE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/style-switch/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAqBxG;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BAwBvE"}
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { SYSTEM_STYLE } from "@sharadox/web-library/style/definition";
4
- import { useStyle } from "@sharadox/web-library/style/use-style";
5
- import { translate } from "@sharadox/web-library/internationalization/translate";
6
- import { STYLE, STYLE_CONFIGURATION } from "@sharadox/sharadox-web-library/content/style";
3
+ import { classNames } from "@sharadox/web-library/class-name";
4
+ import { useStyle } from "@sharadox/style-web-library/use-style";
5
+ import { translate } from "@sharadox/internationalization-web-library/translate";
6
+ import { STYLE, STYLES } from "@sharadox/sharadox-web-library/content/style";
7
7
  import styles from "./index.module.css";
8
8
  const ICON = {
9
9
  // A monitor: follow the device.
@@ -14,21 +14,14 @@ const ICON = {
14
14
  dark: _jsx("path", { d: "M13.5 9.6A5.8 5.8 0 0 1 6.4 2.5a5.8 5.8 0 1 0 7.1 7.1Z" }),
15
15
  };
16
16
  /**
17
- * Picks the style: light styles on the left, System (the default, follows the device) in the middle, dark styles on
18
- * the right. Light styles show a sun and dark ones a moon; every style in content/style appears automatically.
17
+ * Picks the colour style: light styles on the left, System (follows the device) in the middle, dark styles on the
18
+ * right. Light styles show a sun and dark ones a moon; every option in content/style appears automatically.
19
19
  */
20
20
  export function StyleSwitch({ locale, className }) {
21
- const { choice, choose } = useStyle(STYLE_CONFIGURATION);
22
- const option = (style) => ({
23
- name: style.name,
24
- label: STYLE.names[style.name] ?? style.name,
25
- icon: ICON[style.scheme],
26
- });
27
- const options = [
28
- ...STYLE_CONFIGURATION.styles.filter((style) => style.scheme === "light").map(option),
29
- { name: SYSTEM_STYLE, label: translate(STYLE.system, locale), icon: ICON.system },
30
- ...STYLE_CONFIGURATION.styles.filter((style) => style.scheme === "dark").map(option),
31
- ];
32
- return (_jsx("div", { className: [styles.switch, className].filter(Boolean).join(" "), role: "radiogroup", "aria-label": translate(STYLE.label, locale), children: options.map((item) => (_jsx("button", { type: "button", role: "radio", "aria-checked": choice === item.name, "aria-label": item.label, title: item.label, onClick: () => choose(item.name), children: _jsx("svg", { viewBox: "0 0 16 16", className: styles.icon, "aria-hidden": true, children: item.icon }) }, item.name))) }));
21
+ const { choice, choices, choose } = useStyle(STYLES, "color");
22
+ return (_jsx("div", { className: classNames(styles.switch, className), role: "radiogroup", "aria-label": translate(STYLE.label, locale), children: choices.map((item) => {
23
+ const label = item.kind === "system" ? translate(STYLE.system, locale) : STYLE.names[item.name];
24
+ return (_jsx("button", { type: "button", role: "radio", "aria-checked": choice === item.name, "aria-label": label, title: label, onClick: () => choose(item.name), children: _jsx("svg", { viewBox: "0 0 16 16", className: styles.icon, "aria-hidden": true, children: ICON[item.kind === "system" ? "system" : item.scheme] }) }, item.name));
25
+ }) }));
33
26
  }
34
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/style-switch/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,IAAI,GAAG;IACX,gCAAgC;IAChC,MAAM,EAAE,CACN,8BACE,eAAM,CAAC,EAAC,KAAK,EAAC,CAAC,EAAC,KAAK,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAC,EAAE,EAAC,KA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O,CAAC,GACnD,IAVD,IAAI,CAAC,IAAI,CAWP,CACV,CAAC;QACJ,CAAC,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -1,36 +1 @@
1
- .switch {
2
- display: flex;
3
- padding: 3px;
4
- gap: 2px;
5
- border: 1px solid var(--line-2);
6
- border-radius: 99px;
7
- }
8
- .switch button {
9
- display: grid;
10
- place-items: center;
11
- width: 26px;
12
- height: 26px;
13
- padding: 0;
14
- border: 0;
15
- border-radius: 99px;
16
- background: none;
17
- color: var(--foreground-3);
18
- transition: color 0.2s, background 0.2s;
19
- }
20
- .switch button:hover {
21
- color: var(--foreground);
22
- }
23
- .switch button[aria-checked=true] {
24
- background: var(--line-2);
25
- color: var(--foreground);
26
- }
27
-
28
- .icon {
29
- width: 15px;
30
- height: 15px;
31
- fill: none;
32
- stroke: currentColor;
33
- stroke-width: 1.3;
34
- stroke-linecap: round;
35
- stroke-linejoin: round;
36
- }
1
+ .switch{display:flex;padding:3px;gap:2px;border:1px solid var(--line-2);border-radius:99px}.switch button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:99px;background:none;color:var(--foreground-3);transition:color .2s,background .2s}.switch button:hover{color:var(--foreground)}.switch button[aria-checked=true]{background:var(--line-2);color:var(--foreground)}.icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
@@ -0,0 +1,37 @@
1
+ .switch {
2
+ display: flex;
3
+ padding: 3px;
4
+ gap: 2px;
5
+ border: 1px solid var(--line-2);
6
+ border-radius: 99px;
7
+ button {
8
+ display: grid;
9
+ place-items: center;
10
+ width: 26px;
11
+ height: 26px;
12
+ padding: 0;
13
+ border: 0;
14
+ border-radius: 99px;
15
+ background: none;
16
+ color: var(--foreground-3);
17
+ transition:
18
+ color 0.2s,
19
+ background 0.2s;
20
+ &:hover {
21
+ color: var(--foreground);
22
+ }
23
+ }
24
+ button[aria-checked="true"] {
25
+ background: var(--line-2);
26
+ color: var(--foreground);
27
+ }
28
+ }
29
+ .icon {
30
+ width: 15px;
31
+ height: 15px;
32
+ fill: none;
33
+ stroke: currentColor;
34
+ stroke-width: 1.3;
35
+ stroke-linecap: round;
36
+ stroke-linejoin: round;
37
+ }