@sharadox/sharadox-web-library 0.19.0 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/README.md +2 -2
  2. package/distribution/component/capability/index.d.ts +1 -1
  3. package/distribution/component/capability/index.d.ts.map +1 -1
  4. package/distribution/component/capability/index.js +1 -1
  5. package/distribution/component/capability/index.js.map +1 -1
  6. package/distribution/component/capability/index.module.css +1 -1
  7. package/distribution/component/capability/index.module.scss +1 -1
  8. package/distribution/component/contact/form/chip/index.d.ts +4 -0
  9. package/distribution/component/contact/form/chip/index.d.ts.map +1 -0
  10. package/distribution/component/contact/form/chip/index.js +7 -0
  11. package/distribution/component/contact/form/chip/index.js.map +1 -0
  12. package/distribution/component/contact/form/chip/index.module.css +1 -0
  13. package/distribution/component/contact/form/chip/index.module.scss +59 -0
  14. package/distribution/component/contact/form/chip/type.d.ts +7 -0
  15. package/distribution/component/contact/form/chip/type.d.ts.map +1 -0
  16. package/distribution/component/contact/form/chip/type.js.map +1 -0
  17. package/distribution/component/contact/form/index.d.ts.map +1 -1
  18. package/distribution/component/contact/form/index.js +2 -1
  19. package/distribution/component/contact/form/index.js.map +1 -1
  20. package/distribution/component/contact/form/index.module.css +1 -1
  21. package/distribution/component/contact/form/index.module.scss +17 -60
  22. package/distribution/component/footer/index.d.ts +2 -3
  23. package/distribution/component/footer/index.d.ts.map +1 -1
  24. package/distribution/component/footer/index.js +4 -4
  25. package/distribution/component/footer/index.js.map +1 -1
  26. package/distribution/component/footer/index.module.css +1 -1
  27. package/distribution/component/footer/index.module.scss +66 -65
  28. package/distribution/component/process/index.d.ts.map +1 -1
  29. package/distribution/component/process/index.js +3 -2
  30. package/distribution/component/process/index.js.map +1 -1
  31. package/distribution/component/process/index.module.css +1 -1
  32. package/distribution/component/process/index.module.scss +4 -2
  33. package/distribution/component/service-card/index.d.ts +10 -0
  34. package/distribution/component/service-card/index.d.ts.map +1 -0
  35. package/distribution/component/service-card/index.js +23 -0
  36. package/distribution/component/service-card/index.js.map +1 -0
  37. package/distribution/component/service-card/index.module.css +1 -0
  38. package/distribution/component/service-card/index.module.scss +59 -0
  39. package/distribution/component/service-card/type.d.ts +8 -0
  40. package/distribution/component/service-card/type.d.ts.map +1 -0
  41. package/distribution/component/service-card/type.js.map +1 -0
  42. package/distribution/component/service-index/index.d.ts +1 -1
  43. package/distribution/component/service-index/index.d.ts.map +1 -1
  44. package/distribution/component/service-index/index.js +3 -2
  45. package/distribution/component/service-index/index.js.map +1 -1
  46. package/distribution/component/service-index/index.module.css +1 -1
  47. package/distribution/component/service-index/index.module.scss +4 -5
  48. package/distribution/component/service-object/android-application/index.d.ts +3 -0
  49. package/distribution/component/service-object/android-application/index.d.ts.map +1 -0
  50. package/distribution/component/service-object/android-application/index.js +8 -0
  51. package/distribution/component/service-object/android-application/index.js.map +1 -0
  52. package/distribution/component/service-object/android-application/index.module.css +1 -0
  53. package/distribution/component/service-object/android-application/index.module.scss +90 -0
  54. package/distribution/component/service-object/brand-awareness/index.d.ts +3 -0
  55. package/distribution/component/service-object/brand-awareness/index.d.ts.map +1 -0
  56. package/distribution/component/service-object/brand-awareness/index.js +8 -0
  57. package/distribution/component/service-object/brand-awareness/index.js.map +1 -0
  58. package/distribution/component/service-object/brand-awareness/index.module.css +1 -0
  59. package/distribution/component/service-object/brand-awareness/index.module.scss +89 -0
  60. package/distribution/component/service-object/branding/index.d.ts +3 -0
  61. package/distribution/component/service-object/branding/index.d.ts.map +1 -0
  62. package/distribution/component/service-object/branding/index.js +7 -0
  63. package/distribution/component/service-object/branding/index.js.map +1 -0
  64. package/distribution/component/service-object/branding/index.module.css +1 -0
  65. package/distribution/component/service-object/branding/index.module.scss +63 -0
  66. package/distribution/component/service-object/branding-design/index.d.ts +3 -0
  67. package/distribution/component/service-object/branding-design/index.d.ts.map +1 -0
  68. package/distribution/component/service-object/branding-design/index.js +7 -0
  69. package/distribution/component/service-object/branding-design/index.js.map +1 -0
  70. package/distribution/component/service-object/branding-design/index.module.css +1 -0
  71. package/distribution/component/service-object/branding-design/index.module.scss +61 -0
  72. package/distribution/component/service-object/cuboid/index.d.ts +11 -0
  73. package/distribution/component/service-object/cuboid/index.d.ts.map +1 -0
  74. package/distribution/component/service-object/cuboid/index.js +15 -0
  75. package/distribution/component/service-object/cuboid/index.js.map +1 -0
  76. package/distribution/component/service-object/cuboid/index.module.css +1 -0
  77. package/distribution/component/service-object/cuboid/index.module.scss +61 -0
  78. package/distribution/component/service-object/cuboid/type.d.ts +10 -0
  79. package/distribution/component/service-object/cuboid/type.d.ts.map +1 -0
  80. package/distribution/component/service-object/cuboid/type.js.map +1 -0
  81. package/distribution/component/service-object/e-commerce/index.d.ts +3 -0
  82. package/distribution/component/service-object/e-commerce/index.d.ts.map +1 -0
  83. package/distribution/component/service-object/e-commerce/index.js +8 -0
  84. package/distribution/component/service-object/e-commerce/index.js.map +1 -0
  85. package/distribution/component/service-object/e-commerce/index.module.css +1 -0
  86. package/distribution/component/service-object/e-commerce/index.module.scss +78 -0
  87. package/distribution/component/service-object/index.d.ts +10 -0
  88. package/distribution/component/service-object/index.d.ts.map +1 -0
  89. package/distribution/component/service-object/index.js +45 -0
  90. package/distribution/component/service-object/index.js.map +1 -0
  91. package/distribution/component/service-object/index.module.css +1 -0
  92. package/distribution/component/service-object/index.module.scss +16 -0
  93. package/distribution/component/service-object/ios-application/index.d.ts +3 -0
  94. package/distribution/component/service-object/ios-application/index.d.ts.map +1 -0
  95. package/distribution/component/service-object/ios-application/index.js +8 -0
  96. package/distribution/component/service-object/ios-application/index.js.map +1 -0
  97. package/distribution/component/service-object/ios-application/index.module.css +1 -0
  98. package/distribution/component/service-object/ios-application/index.module.scss +93 -0
  99. package/distribution/component/service-object/lead-generation/index.d.ts +3 -0
  100. package/distribution/component/service-object/lead-generation/index.d.ts.map +1 -0
  101. package/distribution/component/service-object/lead-generation/index.js +7 -0
  102. package/distribution/component/service-object/lead-generation/index.js.map +1 -0
  103. package/distribution/component/service-object/lead-generation/index.module.css +1 -0
  104. package/distribution/component/service-object/lead-generation/index.module.scss +82 -0
  105. package/distribution/component/service-object/platform/index.d.ts +3 -0
  106. package/distribution/component/service-object/platform/index.d.ts.map +1 -0
  107. package/distribution/component/service-object/platform/index.js +8 -0
  108. package/distribution/component/service-object/platform/index.js.map +1 -0
  109. package/distribution/component/service-object/platform/index.module.css +1 -0
  110. package/distribution/component/service-object/platform/index.module.scss +54 -0
  111. package/distribution/component/service-object/product-launch/index.d.ts +3 -0
  112. package/distribution/component/service-object/product-launch/index.d.ts.map +1 -0
  113. package/distribution/component/service-object/product-launch/index.js +8 -0
  114. package/distribution/component/service-object/product-launch/index.js.map +1 -0
  115. package/distribution/component/service-object/product-launch/index.module.css +1 -0
  116. package/distribution/component/service-object/product-launch/index.module.scss +110 -0
  117. package/distribution/component/service-object/progressive-web-application/index.d.ts +3 -0
  118. package/distribution/component/service-object/progressive-web-application/index.d.ts.map +1 -0
  119. package/distribution/component/service-object/progressive-web-application/index.js +8 -0
  120. package/distribution/component/service-object/progressive-web-application/index.js.map +1 -0
  121. package/distribution/component/service-object/progressive-web-application/index.module.css +1 -0
  122. package/distribution/component/service-object/progressive-web-application/index.module.scss +91 -0
  123. package/distribution/component/service-object/rebranding/index.d.ts +3 -0
  124. package/distribution/component/service-object/rebranding/index.d.ts.map +1 -0
  125. package/distribution/component/service-object/rebranding/index.js +8 -0
  126. package/distribution/component/service-object/rebranding/index.js.map +1 -0
  127. package/distribution/component/service-object/rebranding/index.module.css +1 -0
  128. package/distribution/component/service-object/rebranding/index.module.scss +76 -0
  129. package/distribution/component/service-object/sales-generation/index.d.ts +3 -0
  130. package/distribution/component/service-object/sales-generation/index.d.ts.map +1 -0
  131. package/distribution/component/service-object/sales-generation/index.js +8 -0
  132. package/distribution/component/service-object/sales-generation/index.js.map +1 -0
  133. package/distribution/component/service-object/sales-generation/index.module.css +1 -0
  134. package/distribution/component/service-object/sales-generation/index.module.scss +65 -0
  135. package/distribution/component/service-object/social-media-strategy/index.d.ts +3 -0
  136. package/distribution/component/service-object/social-media-strategy/index.d.ts.map +1 -0
  137. package/distribution/component/service-object/social-media-strategy/index.js +7 -0
  138. package/distribution/component/service-object/social-media-strategy/index.js.map +1 -0
  139. package/distribution/component/service-object/social-media-strategy/index.module.css +1 -0
  140. package/distribution/component/service-object/social-media-strategy/index.module.scss +77 -0
  141. package/distribution/component/service-object/type.d.ts +6 -0
  142. package/distribution/component/service-object/type.d.ts.map +1 -0
  143. package/distribution/component/service-object/type.js.map +1 -0
  144. package/distribution/component/service-object/website/index.d.ts +3 -0
  145. package/distribution/component/service-object/website/index.d.ts.map +1 -0
  146. package/distribution/component/service-object/website/index.js +7 -0
  147. package/distribution/component/service-object/website/index.js.map +1 -0
  148. package/distribution/component/service-object/website/index.module.css +1 -0
  149. package/distribution/component/service-object/website/index.module.scss +73 -0
  150. package/distribution/component/services/index.d.ts +4 -1
  151. package/distribution/component/services/index.d.ts.map +1 -1
  152. package/distribution/component/services/index.js +6 -17
  153. package/distribution/component/services/index.js.map +1 -1
  154. package/distribution/component/services/index.module.css +1 -1
  155. package/distribution/component/services/index.module.scss +49 -43
  156. package/distribution/component/structured-data/index.d.ts +1 -1
  157. package/distribution/component/structured-data/index.d.ts.map +1 -1
  158. package/distribution/component/structured-data/index.js +13 -10
  159. package/distribution/component/structured-data/index.js.map +1 -1
  160. package/distribution/content/contact/index.d.ts +85 -29
  161. package/distribution/content/contact/index.d.ts.map +1 -1
  162. package/distribution/content/contact/index.js +10 -7
  163. package/distribution/content/contact/index.js.map +1 -1
  164. package/distribution/content/hero/index.d.ts +1 -1
  165. package/distribution/content/hero/index.js +1 -1
  166. package/distribution/content/hero/index.js.map +1 -1
  167. package/distribution/content/services/index.d.ts +286 -132
  168. package/distribution/content/services/index.d.ts.map +1 -1
  169. package/distribution/content/services/index.js +172 -105
  170. package/distribution/content/services/index.js.map +1 -1
  171. package/distribution/content/site/index.d.ts.map +1 -1
  172. package/distribution/content/site/index.js +12 -8
  173. package/distribution/content/site/index.js.map +1 -1
  174. package/distribution/style/object/index.scss +28 -0
  175. package/distribution/utility/llms-text/index.js +1 -1
  176. package/distribution/utility/llms-text/index.js.map +1 -1
  177. package/llms.txt +4 -2
  178. package/package.json +1 -1
  179. package/distribution/component/service-action/index.d.ts +0 -10
  180. package/distribution/component/service-action/index.d.ts.map +0 -1
  181. package/distribution/component/service-action/index.js +0 -18
  182. package/distribution/component/service-action/index.js.map +0 -1
  183. package/distribution/component/service-action/index.module.css +0 -1
  184. package/distribution/component/service-action/index.module.scss +0 -6
  185. package/distribution/component/service-action/type.d.ts +0 -7
  186. package/distribution/component/service-action/type.d.ts.map +0 -1
  187. package/distribution/component/service-action/type.js.map +0 -1
  188. package/distribution/component/services/campaign-visual/index.d.ts +0 -4
  189. package/distribution/component/services/campaign-visual/index.d.ts.map +0 -1
  190. package/distribution/component/services/campaign-visual/index.js +0 -19
  191. package/distribution/component/services/campaign-visual/index.js.map +0 -1
  192. package/distribution/component/services/campaign-visual/index.module.css +0 -1
  193. package/distribution/component/services/campaign-visual/index.module.scss +0 -125
  194. package/distribution/component/services/campaign-visual/stage/index.d.ts +0 -4
  195. package/distribution/component/services/campaign-visual/stage/index.d.ts.map +0 -1
  196. package/distribution/component/services/campaign-visual/stage/index.js +0 -11
  197. package/distribution/component/services/campaign-visual/stage/index.js.map +0 -1
  198. package/distribution/component/services/campaign-visual/stage/type.d.ts +0 -10
  199. package/distribution/component/services/campaign-visual/stage/type.d.ts.map +0 -1
  200. package/distribution/component/services/campaign-visual/stage/type.js.map +0 -1
  201. package/distribution/component/services/campaign-visual/type.d.ts +0 -5
  202. package/distribution/component/services/campaign-visual/type.d.ts.map +0 -1
  203. package/distribution/component/services/campaign-visual/type.js.map +0 -1
  204. package/distribution/component/services/cell/index.d.ts +0 -7
  205. package/distribution/component/services/cell/index.d.ts.map +0 -1
  206. package/distribution/component/services/cell/index.js +0 -16
  207. package/distribution/component/services/cell/index.js.map +0 -1
  208. package/distribution/component/services/cell/index.module.css +0 -1
  209. package/distribution/component/services/cell/index.module.scss +0 -81
  210. package/distribution/component/services/cell/type.d.ts +0 -16
  211. package/distribution/component/services/cell/type.d.ts.map +0 -1
  212. package/distribution/component/services/cell/type.js.map +0 -1
  213. package/distribution/component/services/design-visual/index.d.ts +0 -5
  214. package/distribution/component/services/design-visual/index.d.ts.map +0 -1
  215. package/distribution/component/services/design-visual/index.js +0 -21
  216. package/distribution/component/services/design-visual/index.js.map +0 -1
  217. package/distribution/component/services/design-visual/index.module.css +0 -1
  218. package/distribution/component/services/design-visual/index.module.scss +0 -119
  219. package/distribution/component/services/mobile-visual/index.d.ts +0 -4
  220. package/distribution/component/services/mobile-visual/index.d.ts.map +0 -1
  221. package/distribution/component/services/mobile-visual/index.js +0 -18
  222. package/distribution/component/services/mobile-visual/index.js.map +0 -1
  223. package/distribution/component/services/mobile-visual/index.module.css +0 -1
  224. package/distribution/component/services/mobile-visual/index.module.scss +0 -93
  225. package/distribution/component/services/mobile-visual/type.d.ts +0 -5
  226. package/distribution/component/services/mobile-visual/type.d.ts.map +0 -1
  227. package/distribution/component/services/mobile-visual/type.js +0 -2
  228. package/distribution/component/services/mobile-visual/type.js.map +0 -1
  229. package/distribution/component/services/platform-visual/index.d.ts +0 -3
  230. package/distribution/component/services/platform-visual/index.d.ts.map +0 -1
  231. package/distribution/component/services/platform-visual/index.js +0 -16
  232. package/distribution/component/services/platform-visual/index.js.map +0 -1
  233. package/distribution/component/services/platform-visual/index.module.css +0 -1
  234. package/distribution/component/services/platform-visual/index.module.scss +0 -39
  235. package/distribution/component/services/social-visual/index.d.ts +0 -4
  236. package/distribution/component/services/social-visual/index.d.ts.map +0 -1
  237. package/distribution/component/services/social-visual/index.js +0 -18
  238. package/distribution/component/services/social-visual/index.js.map +0 -1
  239. package/distribution/component/services/social-visual/index.module.css +0 -1
  240. package/distribution/component/services/social-visual/index.module.scss +0 -123
  241. package/distribution/component/services/social-visual/type.d.ts +0 -5
  242. package/distribution/component/services/social-visual/type.d.ts.map +0 -1
  243. package/distribution/component/services/social-visual/type.js +0 -2
  244. package/distribution/component/services/social-visual/type.js.map +0 -1
  245. package/distribution/component/services/web-visual/index.d.ts +0 -3
  246. package/distribution/component/services/web-visual/index.d.ts.map +0 -1
  247. package/distribution/component/services/web-visual/index.js +0 -26
  248. package/distribution/component/services/web-visual/index.js.map +0 -1
  249. package/distribution/component/services/web-visual/index.module.css +0 -1
  250. package/distribution/component/services/web-visual/index.module.scss +0 -133
  251. package/distribution/content/services/type.d.ts +0 -8
  252. package/distribution/content/services/type.d.ts.map +0 -1
  253. package/distribution/content/services/type.js +0 -2
  254. package/distribution/content/services/type.js.map +0 -1
  255. /package/distribution/component/{service-action → contact/form/chip}/type.js +0 -0
  256. /package/distribution/component/{services/campaign-visual/stage → service-card}/type.js +0 -0
  257. /package/distribution/component/{services/campaign-visual → service-object/cuboid}/type.js +0 -0
  258. /package/distribution/component/{services/cell → service-object}/type.js +0 -0
@@ -0,0 +1,89 @@
1
+ @use "sass:math";
2
+ @use "style/token" as *;
3
+ @use "style/object" as *;
4
+
5
+ .object {
6
+ @include centered(0px, 0px);
7
+ @include loop(awareness-turn 30s linear infinite);
8
+ transform: translateY(20px) rotateX(-30deg) rotateY(20deg);
9
+ }
10
+ @keyframes awareness-turn {
11
+ to {
12
+ transform: translateY(20px) rotateX(-30deg) rotateY(380deg);
13
+ }
14
+ }
15
+ .floor {
16
+ @include centered(180px, 180px);
17
+ border-radius: 50%;
18
+ transform: translateY(30px) rotateX(90deg);
19
+ background: radial-gradient(circle, tint(20%) 1px, transparent 1.5px) 0 0 / 12px 12px;
20
+ mask: radial-gradient(circle, #000 55%, transparent 71%);
21
+ i {
22
+ position: absolute;
23
+ inset: 46%;
24
+ border-radius: 50%;
25
+ border: 1.5px solid tint(70%);
26
+ opacity: 0;
27
+ @include loop(awareness-wave 3.6s ease-out infinite);
28
+ &:nth-child(2) {
29
+ animation-delay: 1.2s;
30
+ }
31
+ &:nth-child(3) {
32
+ animation-delay: 2.4s;
33
+ }
34
+ }
35
+ b {
36
+ position: absolute;
37
+ width: 9px;
38
+ height: 9px;
39
+ margin: -4.5px 0 0 -4.5px;
40
+ border-radius: 50%;
41
+ background: tint(25%);
42
+ @include loop(awareness-reach 1.2s ease-out infinite);
43
+ @for $index from 0 through 7 {
44
+ &[data-person="#{$index}"] {
45
+ $angle: $index * 45deg + 20deg;
46
+ $radius: 30% + ($index % 2) * 10%;
47
+ left: calc(50% + #{math.cos($angle)} * #{$radius});
48
+ top: calc(50% + #{math.sin($angle)} * #{$radius});
49
+ animation-delay: 0.35s + ($index % 2) * 0.25s;
50
+ }
51
+ }
52
+ }
53
+ }
54
+ @keyframes awareness-wave {
55
+ 0% {
56
+ inset: 46%;
57
+ opacity: 1;
58
+ }
59
+ 100% {
60
+ inset: 0%;
61
+ opacity: 0;
62
+ }
63
+ }
64
+ @keyframes awareness-reach {
65
+ 0%,
66
+ 100% {
67
+ background: tint(25%);
68
+ box-shadow: none;
69
+ }
70
+ 12% {
71
+ background: var(--foreground);
72
+ box-shadow: 0 0 10px tint(70%);
73
+ }
74
+ }
75
+ .beacon {
76
+ --width: 22px;
77
+ --height: 64px;
78
+ --depth: 22px;
79
+ --fill-amount: 10%;
80
+ --edge-amount: 70%;
81
+ transform: translateY(-2px);
82
+ }
83
+ .light {
84
+ position: absolute;
85
+ inset: 4px;
86
+ border-radius: 50%;
87
+ background: var(--foreground);
88
+ box-shadow: 0 0 16px 4px tint(60%);
89
+ }
@@ -0,0 +1,3 @@
1
+ /** Branding: a solid seal with the brand's mark, spinning like a coin. */
2
+ export declare function Branding(): import("react").JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/branding/index.tsx"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,wBAAgB,QAAQ,gCAYvB"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from "./index.module.css";
3
+ /** Branding: a solid seal with the brand's mark, spinning like a coin. */
4
+ export function Branding() {
5
+ return (_jsx("div", { className: styles.object, children: _jsx("div", { className: styles.seal, children: Array.from({ length: 12 }, (_, layer) => (_jsx("span", { className: styles.layer, style: { transform: `translateZ(${layer - 5.5}px)` }, children: (layer === 0 || layer === 11) && _jsx("i", { className: styles.mark }) }, layer))) }) }));
6
+ }
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/branding/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,0EAA0E;AAC1E,MAAM,UAAU,QAAQ;IACtB,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,YACxB,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxC,eAAkB,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,cAAc,KAAK,GAAG,GAAG,KAAK,EAAE,YAC5F,CAAC,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC,IAAI,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IADtD,KAAK,CAET,CACR,CAAC,GACE,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:rotateX(-10deg)}.seal{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:branding-spin 9s cubic-bezier(0.65, 0, 0.35, 1) infinite}@media(prefers-reduced-motion: reduce){.seal{animation:none}}.seal{transform:rotateY(-30deg)}@keyframes branding-spin{0%{transform:rotateY(-30deg)}50%{transform:rotateY(150deg)}100%{transform:rotateY(330deg)}}.layer{position:absolute;left:50%;top:50%;width:128px;height:128px;margin:-64px 0 0 -64px;transform-style:preserve-3d;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 30%, transparent)}.layer:first-child,.layer:last-child{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 60%, transparent);border-radius:50%;background:radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--foreground) 22%, transparent), color-mix(in srgb, var(--foreground) 4%, transparent) 70%)}.mark{position:absolute;inset:22px;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent)}.mark::before{content:"";position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;background:var(--foreground);transform:rotate(45deg);border-radius:4px}.mark::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;background:var(--background);border-radius:50%}
@@ -0,0 +1,63 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ .object {
5
+ @include centered(0px, 0px);
6
+ transform: rotateX(-10deg);
7
+ }
8
+ .seal {
9
+ @include centered(0px, 0px);
10
+ @include loop(branding-spin 9s cubic-bezier(0.65, 0, 0.35, 1) infinite);
11
+ transform: rotateY(-30deg);
12
+ }
13
+ @keyframes branding-spin {
14
+ 0% {
15
+ transform: rotateY(-30deg);
16
+ }
17
+ 50% {
18
+ transform: rotateY(150deg);
19
+ }
20
+ 100% {
21
+ transform: rotateY(330deg);
22
+ }
23
+ }
24
+ .layer {
25
+ @include centered(128px, 128px);
26
+ border-radius: 50%;
27
+ border: 1px solid tint(30%);
28
+ &:first-child,
29
+ &:last-child {
30
+ @include face(9%, 60%);
31
+ border-radius: 50%;
32
+ background: radial-gradient(circle at 35% 30%, tint(22%), tint(4%) 70%);
33
+ }
34
+ }
35
+ .mark {
36
+ position: absolute;
37
+ inset: 22px;
38
+ border-radius: 50%;
39
+ border: 1px solid tint(50%);
40
+ &::before {
41
+ content: "";
42
+ position: absolute;
43
+ left: 50%;
44
+ top: 50%;
45
+ width: 34px;
46
+ height: 34px;
47
+ margin: -17px 0 0 -17px;
48
+ background: var(--foreground);
49
+ transform: rotate(45deg);
50
+ border-radius: 4px;
51
+ }
52
+ &::after {
53
+ content: "";
54
+ position: absolute;
55
+ left: 50%;
56
+ top: 50%;
57
+ width: 14px;
58
+ height: 14px;
59
+ margin: -7px 0 0 -7px;
60
+ background: var(--background);
61
+ border-radius: 50%;
62
+ }
63
+ }
@@ -0,0 +1,3 @@
1
+ /** Branding design: a swatch book of the brand's colors and type, fanning open and closing. */
2
+ export declare function BrandingDesign(): import("react").JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/branding-design/index.tsx"],"names":[],"mappings":"AAEA,+FAA+F;AAC/F,wBAAgB,cAAc,gCAY7B"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import styles from "./index.module.css";
3
+ /** Branding design: a swatch book of the brand's colors and type, fanning open and closing. */
4
+ export function BrandingDesign() {
5
+ return (_jsx("div", { className: styles.object, children: [0, 1, 2, 3, 4, 5].map((swatch) => (_jsxs("div", { className: styles.swatch, "data-swatch": swatch, children: [_jsx("span", { className: styles.color }), _jsx("span", { className: styles.type, children: "Aa" }), _jsx("span", { className: styles.line })] }, swatch))) }));
6
+ }
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/branding-design/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,+FAA+F;AAC/F,MAAM,UAAU,cAAc;IAC5B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC1B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAClC,eAAkB,SAAS,EAAE,MAAM,CAAC,MAAM,iBAAe,MAAM,aAC7D,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACjC,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,mBAAW,EACvC,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,KAHxB,MAAM,CAIV,CACP,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ @property --swatch-fan{syntax:"<angle>";inherits:true;initial-value:12deg}.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:swatch-fan 6s cubic-bezier(0.65, 0, 0.35, 1) infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(14px) rotateX(-12deg) rotateY(-18deg)}@keyframes swatch-fan{0%,100%{--swatch-fan: 2deg}45%,60%{--swatch-fan: 15deg}}.swatch{position:absolute;left:50%;top:50%;width:56px;height:150px;margin:-75px 0 0 -28px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 2%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:var(--background);border-radius:6px;transform-origin:50% 86%;overflow:hidden}.swatch[data-swatch="0"]{transform:translateZ(-12px) rotateZ(calc(var(--swatch-fan) * -2.5))}.swatch[data-swatch="0"] .color{background:color-mix(in srgb, var(--foreground) 100%, transparent)}.swatch[data-swatch="1"]{transform:translateZ(-7px) rotateZ(calc(var(--swatch-fan) * -1.5))}.swatch[data-swatch="1"] .color{background:color-mix(in srgb, var(--foreground) 72%, transparent)}.swatch[data-swatch="2"]{transform:translateZ(-2px) rotateZ(calc(var(--swatch-fan) * -0.5))}.swatch[data-swatch="2"] .color{background:color-mix(in srgb, var(--foreground) 50%, transparent)}.swatch[data-swatch="3"]{transform:translateZ(3px) rotateZ(calc(var(--swatch-fan) * 0.5))}.swatch[data-swatch="3"] .color{background:color-mix(in srgb, var(--foreground) 32%, transparent)}.swatch[data-swatch="4"]{transform:translateZ(8px) rotateZ(calc(var(--swatch-fan) * 1.5))}.swatch[data-swatch="4"] .color{background:color-mix(in srgb, var(--foreground) 18%, transparent)}.swatch[data-swatch="5"]{transform:translateZ(13px) rotateZ(calc(var(--swatch-fan) * 2.5))}.swatch[data-swatch="5"] .color{background:color-mix(in srgb, var(--foreground) 8%, transparent)}.color{display:block;height:86px}.type{display:block;padding:8px 8px 4px;font-size:15px;font-weight:600;letter-spacing:-0.03em;color:var(--foreground)}.line{display:block;height:3px;margin:0 8px;width:60%;border-radius:2px;background:color-mix(in srgb, var(--foreground) 30%, transparent)}
@@ -0,0 +1,61 @@
1
+ @use "sass:list";
2
+ @use "style/token" as *;
3
+ @use "style/object" as *;
4
+
5
+ @property --swatch-fan {
6
+ syntax: "<angle>";
7
+ inherits: true;
8
+ initial-value: 12deg;
9
+ }
10
+ .object {
11
+ @include centered(0px, 0px);
12
+ @include loop(swatch-fan 6s cubic-bezier(0.65, 0, 0.35, 1) infinite);
13
+ transform: translateY(14px) rotateX(-12deg) rotateY(-18deg);
14
+ }
15
+ @keyframes swatch-fan {
16
+ 0%,
17
+ 100% {
18
+ --swatch-fan: 2deg;
19
+ }
20
+ 45%,
21
+ 60% {
22
+ --swatch-fan: 15deg;
23
+ }
24
+ }
25
+ $amounts: 100%, 72%, 50%, 32%, 18%, 8%;
26
+ .swatch {
27
+ @include centered(56px, 150px);
28
+ @include face(2%, 45%);
29
+ background: var(--background);
30
+ border-radius: 6px;
31
+ transform-origin: 50% 86%;
32
+ overflow: hidden;
33
+ @for $index from 0 through 5 {
34
+ &[data-swatch="#{$index}"] {
35
+ transform: translateZ(#{$index * 5 - 12}px) rotateZ(calc(var(--swatch-fan) * #{$index - 2.5}));
36
+ .color {
37
+ background: tint(list.nth($amounts, $index + 1));
38
+ }
39
+ }
40
+ }
41
+ }
42
+ .color {
43
+ display: block;
44
+ height: 86px;
45
+ }
46
+ .type {
47
+ display: block;
48
+ padding: 8px 8px 4px;
49
+ font-size: 15px;
50
+ font-weight: 600;
51
+ letter-spacing: -0.03em;
52
+ color: var(--foreground);
53
+ }
54
+ .line {
55
+ display: block;
56
+ height: 3px;
57
+ margin: 0 8px;
58
+ width: 60%;
59
+ border-radius: 2px;
60
+ background: tint(30%);
61
+ }
@@ -0,0 +1,11 @@
1
+ import type { CuboidProperties } from "@sharadox/sharadox-web-library/component/service-object/cuboid/type";
2
+ /**
3
+ * A solid box in CSS 3D, centered where it is placed: six faces in the style's colors. Size it with `--width`,
4
+ * `--height` and `--depth` (lengths) in `className`, which can also move it with `transform`. `front` and `top` are
5
+ * drawn on those faces.
6
+ *
7
+ * @example
8
+ * <Cuboid className={styles.slab} top={<span className={styles.glow} />} />
9
+ */
10
+ export declare function Cuboid({ className, front, top }: CuboidProperties): import("react").JSX.Element;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/cuboid/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qEAAqE,CAAC;AAE5G;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,gBAAgB,+BAWjE"}
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { classNames } from "@sharadox/web-library/class-name";
3
+ import styles from "./index.module.css";
4
+ /**
5
+ * A solid box in CSS 3D, centered where it is placed: six faces in the style's colors. Size it with `--width`,
6
+ * `--height` and `--depth` (lengths) in `className`, which can also move it with `transform`. `front` and `top` are
7
+ * drawn on those faces.
8
+ *
9
+ * @example
10
+ * <Cuboid className={styles.slab} top={<span className={styles.glow} />} />
11
+ */
12
+ export function Cuboid({ className, front, top }) {
13
+ return (_jsxs("div", { className: classNames(styles.cuboid, className), children: [_jsx("div", { className: classNames(styles.face, styles.front), children: front }), _jsx("div", { className: classNames(styles.face, styles.back) }), _jsx("div", { className: classNames(styles.face, styles.right) }), _jsx("div", { className: classNames(styles.face, styles.left) }), _jsx("div", { className: classNames(styles.face, styles.top), children: top }), _jsx("div", { className: classNames(styles.face, styles.bottom) })] }));
14
+ }
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/cuboid/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;;GAOG;AACH,MAAM,UAAU,MAAM,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAoB;IAChE,OAAO,CACL,eAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,aAClD,cAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,YAAG,KAAK,GAAO,EACpE,cAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,GAAI,EACxD,cAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,GAAI,EACzD,cAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,GAAI,EACxD,cAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,YAAG,GAAG,GAAO,EAChE,cAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,GAAI,IACtD,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .cuboid{--width: 40px;--height: 40px;--depth: 40px;position:absolute;left:50%;top:50%;width:var(--width);height:var(--height);margin:calc(var(--height)/-2) 0 0 calc(var(--width)/-2);transform-style:preserve-3d}.face{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) var(--fill-amount, 6%), transparent);border:1px solid color-mix(in srgb, var(--foreground) var(--edge-amount, 40%), transparent);position:absolute;transform-style:preserve-3d}.front,.back{inset:0;border-radius:var(--radius, 0)}.front{transform:translateZ(calc(var(--depth) / 2));background:color-mix(in srgb, var(--foreground) var(--front-amount, 8%), transparent)}.back{transform:rotateY(180deg) translateZ(calc(var(--depth) / 2))}.right,.left{top:0;left:50%;width:var(--depth);height:100%;margin-left:calc(var(--depth)/-2)}.right{transform:rotateY(90deg) translateZ(calc(var(--width) / 2))}.left{transform:rotateY(-90deg) translateZ(calc(var(--width) / 2))}.top,.bottom{left:0;top:50%;width:100%;height:var(--depth);margin-top:calc(var(--depth)/-2)}.top{transform:rotateX(90deg) translateZ(calc(var(--height) / 2));background:color-mix(in srgb, var(--foreground) var(--top-amount, 12%), transparent)}.bottom{transform:rotateX(-90deg) translateZ(calc(var(--height) / 2))}
@@ -0,0 +1,61 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ .cuboid {
5
+ --width: 40px;
6
+ --height: 40px;
7
+ --depth: 40px;
8
+ position: absolute;
9
+ left: 50%;
10
+ top: 50%;
11
+ width: var(--width);
12
+ height: var(--height);
13
+ margin: calc(var(--height) / -2) 0 0 calc(var(--width) / -2);
14
+ transform-style: preserve-3d;
15
+ }
16
+ .face {
17
+ @include face(var(--fill-amount, 6%), var(--edge-amount, 40%));
18
+ position: absolute;
19
+ transform-style: preserve-3d;
20
+ }
21
+ .front,
22
+ .back {
23
+ inset: 0;
24
+ border-radius: var(--radius, 0);
25
+ }
26
+ .front {
27
+ transform: translateZ(calc(var(--depth) / 2));
28
+ background: tint(var(--front-amount, 8%));
29
+ }
30
+ .back {
31
+ transform: rotateY(180deg) translateZ(calc(var(--depth) / 2));
32
+ }
33
+ .right,
34
+ .left {
35
+ top: 0;
36
+ left: 50%;
37
+ width: var(--depth);
38
+ height: 100%;
39
+ margin-left: calc(var(--depth) / -2);
40
+ }
41
+ .right {
42
+ transform: rotateY(90deg) translateZ(calc(var(--width) / 2));
43
+ }
44
+ .left {
45
+ transform: rotateY(-90deg) translateZ(calc(var(--width) / 2));
46
+ }
47
+ .top,
48
+ .bottom {
49
+ left: 0;
50
+ top: 50%;
51
+ width: 100%;
52
+ height: var(--depth);
53
+ margin-top: calc(var(--depth) / -2);
54
+ }
55
+ .top {
56
+ transform: rotateX(90deg) translateZ(calc(var(--height) / 2));
57
+ background: tint(var(--top-amount, 12%));
58
+ }
59
+ .bottom {
60
+ transform: rotateX(-90deg) translateZ(calc(var(--height) / 2));
61
+ }
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from "react";
2
+ export interface CuboidProperties {
3
+ /** Sets `--width`, `--height`, `--depth`, and may move it with `transform`. */
4
+ className?: string;
5
+ /** Drawn on the front face. */
6
+ front?: ReactNode;
7
+ /** Drawn on the top face. */
8
+ top?: ReactNode;
9
+ }
10
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/cuboid/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,gBAAgB;IAC/B,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,6BAA6B;IAC7B,GAAG,CAAC,EAAE,SAAS,CAAC;CACjB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/service-object/cuboid/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ /** E-commerce: a shopping bag, swaying, with products dropping into it one after another. */
2
+ export declare function ECommerce(): import("react").JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/e-commerce/index.tsx"],"names":[],"mappings":"AAGA,6FAA6F;AAC7F,wBAAgB,SAAS,gCAYxB"}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
3
+ import styles from "./index.module.css";
4
+ /** E-commerce: a shopping bag, swaying, with products dropping into it one after another. */
5
+ export function ECommerce() {
6
+ return (_jsxs("div", { className: styles.object, children: [[0, 1, 2].map((item) => (_jsx("div", { className: styles.drop, style: { animationDelay: `${item * 1.1}s` }, children: _jsx(Cuboid, { className: styles.item }) }, item))), _jsx("div", { className: styles.handle }), _jsx(Cuboid, { className: styles.bag, front: _jsx("span", { className: styles.tag }) })] }));
7
+ }
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/e-commerce/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,6FAA6F;AAC7F,MAAM,UAAU,SAAS;IACvB,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC1B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACvB,cAAgB,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,IAAI,GAAG,GAAG,GAAG,EAAE,YACjF,KAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IAD1B,IAAI,CAER,CACP,CAAC,EACF,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,EACjC,KAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,eAAM,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,GAAI,IACrE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:commerce-sway 8s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(18px) rotateX(-16deg) rotateY(-28deg)}@keyframes commerce-sway{0%,100%{transform:translateY(18px) rotateX(-16deg) rotateY(-34deg)}50%{transform:translateY(18px) rotateX(-12deg) rotateY(26deg)}}.bag{--width: 104px;--height: 112px;--depth: 52px;--front-amount: 10%;--top-amount: 2%}.tag{position:absolute;left:50%;top:30px;width:30px;height:30px;margin-left:-15px;border:1px solid color-mix(in srgb, var(--foreground) 60%, transparent);border-radius:50%}.tag::after{content:"";position:absolute;inset:8px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 60%, transparent)}.handle{position:absolute;left:50%;top:50%;width:48px;height:34px;margin:-17px 0 0 -24px;transform-style:preserve-3d;transform:translate3d(0, -72px, 0);border:2px solid color-mix(in srgb, var(--foreground) 65%, transparent);border-bottom:0;border-radius:24px 24px 0 0}.drop{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translateY(-170px) scale(0);animation:commerce-drop 3.3s cubic-bezier(0.5, 0, 0.75, 0) infinite}@media(prefers-reduced-motion: reduce){.drop{animation:none}}.drop:nth-child(2){left:calc(50% - 18px)}.drop:nth-child(3){left:calc(50% + 16px)}@keyframes commerce-drop{0%{transform:translateY(-170px) rotateY(0deg) scale(1)}55%{transform:translateY(-40px) rotateY(160deg) scale(1)}65%,100%{transform:translateY(-10px) rotateY(180deg) scale(0)}}.item{--width: 22px;--height: 22px;--depth: 22px;--fill-amount: 16%;--edge-amount: 70%}
@@ -0,0 +1,78 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ .object {
5
+ @include centered(0px, 0px);
6
+ @include loop(commerce-sway 8s ease-in-out infinite);
7
+ transform: translateY(18px) rotateX(-16deg) rotateY(-28deg);
8
+ }
9
+ @keyframes commerce-sway {
10
+ 0%,
11
+ 100% {
12
+ transform: translateY(18px) rotateX(-16deg) rotateY(-34deg);
13
+ }
14
+ 50% {
15
+ transform: translateY(18px) rotateX(-12deg) rotateY(26deg);
16
+ }
17
+ }
18
+ .bag {
19
+ --width: 104px;
20
+ --height: 112px;
21
+ --depth: 52px;
22
+ --front-amount: 10%;
23
+ --top-amount: 2%;
24
+ }
25
+ .tag {
26
+ position: absolute;
27
+ left: 50%;
28
+ top: 30px;
29
+ width: 30px;
30
+ height: 30px;
31
+ margin-left: -15px;
32
+ border: 1px solid tint(60%);
33
+ border-radius: 50%;
34
+ &::after {
35
+ content: "";
36
+ position: absolute;
37
+ inset: 8px;
38
+ border-radius: 50%;
39
+ background: tint(60%);
40
+ }
41
+ }
42
+ .handle {
43
+ @include centered(48px, 34px);
44
+ transform: translate3d(0, -72px, 0);
45
+ border: 2px solid tint(65%);
46
+ border-bottom: 0;
47
+ border-radius: 24px 24px 0 0;
48
+ }
49
+ .drop {
50
+ @include centered(0px, 0px);
51
+ transform: translateY(-170px) scale(0);
52
+ @include loop(commerce-drop 3.3s cubic-bezier(0.5, 0, 0.75, 0) infinite);
53
+ &:nth-child(2) {
54
+ left: calc(50% - 18px);
55
+ }
56
+ &:nth-child(3) {
57
+ left: calc(50% + 16px);
58
+ }
59
+ }
60
+ @keyframes commerce-drop {
61
+ 0% {
62
+ transform: translateY(-170px) rotateY(0deg) scale(1);
63
+ }
64
+ 55% {
65
+ transform: translateY(-40px) rotateY(160deg) scale(1);
66
+ }
67
+ 65%,
68
+ 100% {
69
+ transform: translateY(-10px) rotateY(180deg) scale(0);
70
+ }
71
+ }
72
+ .item {
73
+ --width: 22px;
74
+ --height: 22px;
75
+ --depth: 22px;
76
+ --fill-amount: 16%;
77
+ --edge-amount: 70%;
78
+ }
@@ -0,0 +1,10 @@
1
+ import type { ServiceObjectProperties } from "@sharadox/sharadox-web-library/component/service-object/type";
2
+ /**
3
+ * A service card's animated 3D object, in CSS 3D and the style's colors. It turns towards the pointer through the
4
+ * `--tilt-x` and `--tilt-y` its card sets (`useTilt`), on top of its own animation, which holds still with reduced motion.
5
+ *
6
+ * @example
7
+ * <ServiceObject kind="website" />
8
+ */
9
+ export declare function ServiceObject({ kind }: ServiceObjectProperties): import("react").JSX.Element;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AAoB5G;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,uBAAuB,+BAS9D"}
@@ -0,0 +1,45 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AndroidApplication } from "@sharadox/sharadox-web-library/component/service-object/android-application";
3
+ import { BrandAwareness } from "@sharadox/sharadox-web-library/component/service-object/brand-awareness";
4
+ import { Branding } from "@sharadox/sharadox-web-library/component/service-object/branding";
5
+ import { BrandingDesign } from "@sharadox/sharadox-web-library/component/service-object/branding-design";
6
+ import { ECommerce } from "@sharadox/sharadox-web-library/component/service-object/e-commerce";
7
+ import { IosApplication } from "@sharadox/sharadox-web-library/component/service-object/ios-application";
8
+ import { LeadGeneration } from "@sharadox/sharadox-web-library/component/service-object/lead-generation";
9
+ import { Platform } from "@sharadox/sharadox-web-library/component/service-object/platform";
10
+ import { ProductLaunch } from "@sharadox/sharadox-web-library/component/service-object/product-launch";
11
+ import { ProgressiveWebApplication } from "@sharadox/sharadox-web-library/component/service-object/progressive-web-application";
12
+ import { Rebranding } from "@sharadox/sharadox-web-library/component/service-object/rebranding";
13
+ import { SalesGeneration } from "@sharadox/sharadox-web-library/component/service-object/sales-generation";
14
+ import { SocialMediaStrategy } from "@sharadox/sharadox-web-library/component/service-object/social-media-strategy";
15
+ import { Website } from "@sharadox/sharadox-web-library/component/service-object/website";
16
+ import styles from "./index.module.css";
17
+ /** Each service card's own object. */
18
+ const OBJECTS = {
19
+ website: Website,
20
+ platform: Platform,
21
+ "e-commerce": ECommerce,
22
+ "android-application": AndroidApplication,
23
+ "ios-application": IosApplication,
24
+ "progressive-web-application": ProgressiveWebApplication,
25
+ branding: Branding,
26
+ rebranding: Rebranding,
27
+ "branding-design": BrandingDesign,
28
+ "product-launch": ProductLaunch,
29
+ "lead-generation": LeadGeneration,
30
+ "sales-generation": SalesGeneration,
31
+ "brand-awareness": BrandAwareness,
32
+ "social-media-strategy": SocialMediaStrategy,
33
+ };
34
+ /**
35
+ * A service card's animated 3D object, in CSS 3D and the style's colors. It turns towards the pointer through the
36
+ * `--tilt-x` and `--tilt-y` its card sets (`useTilt`), on top of its own animation, which holds still with reduced motion.
37
+ *
38
+ * @example
39
+ * <ServiceObject kind="website" />
40
+ */
41
+ export function ServiceObject({ kind }) {
42
+ const Shape = OBJECTS[kind];
43
+ return (_jsx("div", { className: styles.stage, "aria-hidden": true, children: _jsx("div", { className: styles.view, children: _jsx(Shape, {}) }) }));
44
+ }
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6EAA6E,CAAC;AACjH,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,oEAAoE,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,qFAAqF,CAAC;AAChI,OAAO,EAAE,UAAU,EAAE,MAAM,oEAAoE,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,0EAA0E,CAAC;AAC3G,OAAO,EAAE,mBAAmB,EAAE,MAAM,+EAA+E,CAAC;AACpH,OAAO,EAAE,OAAO,EAAE,MAAM,iEAAiE,CAAC;AAE1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,sCAAsC;AACtC,MAAM,OAAO,GAA0C;IACrD,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,QAAQ;IAClB,YAAY,EAAE,SAAS;IACvB,qBAAqB,EAAE,kBAAkB;IACzC,iBAAiB,EAAE,cAAc;IACjC,6BAA6B,EAAE,yBAAyB;IACxD,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,UAAU;IACtB,iBAAiB,EAAE,cAAc;IACjC,gBAAgB,EAAE,aAAa;IAC/B,iBAAiB,EAAE,cAAc;IACjC,kBAAkB,EAAE,eAAe;IACnC,iBAAiB,EAAE,cAAc;IACjC,uBAAuB,EAAE,mBAAmB;CAC7C,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,EAAE,IAAI,EAA2B;IAC7D,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,iCAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,YACzB,KAAC,KAAK,KAAG,GACL,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .stage{position:absolute;inset:0;perspective:900px;overflow:hidden}.view{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));transition:transform .7s cubic-bezier(0.22, 1, 0.36, 1)}
@@ -0,0 +1,16 @@
1
+ @use "style/token" as *;
2
+
3
+ .stage {
4
+ position: absolute;
5
+ inset: 0;
6
+ perspective: 900px;
7
+ overflow: hidden;
8
+ }
9
+ /* Turns towards the pointer (from the card's tilt), easing there and back. */
10
+ .view {
11
+ position: absolute;
12
+ inset: 0;
13
+ transform-style: preserve-3d;
14
+ transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
15
+ transition: transform 0.7s $ease;
16
+ }
@@ -0,0 +1,3 @@
1
+ /** iOS applications: a phone with its island opening up, and widgets floating off the screen towards you. */
2
+ export declare function IosApplication(): import("react").JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/ios-application/index.tsx"],"names":[],"mappings":"AAGA,6GAA6G;AAC7G,wBAAgB,cAAc,gCAmB7B"}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
3
+ import styles from "./index.module.css";
4
+ /** iOS applications: a phone with its island opening up, and widgets floating off the screen towards you. */
5
+ export function IosApplication() {
6
+ return (_jsx("div", { className: styles.object, children: _jsx(Cuboid, { className: styles.phone, front: _jsxs(_Fragment, { children: [_jsx("span", { className: styles.island }), _jsxs("span", { className: styles.widgets, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: styles.indicator })] }) }) }));
7
+ }
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/ios-application/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,6GAA6G;AAC7G,MAAM,UAAU,cAAc;IAC5B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,KAAC,MAAM,IACL,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,KAAK,EACH,8BACE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,EAClC,gBAAM,SAAS,EAAE,MAAM,CAAC,OAAO,aAC7B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,SAAS,GAAI,IACpC,GAEL,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:ios-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-6deg) rotateY(26deg)}@keyframes ios-turn{0%,100%{transform:rotateX(-6deg) rotateY(30deg)}50%{transform:rotateX(-2deg) rotateY(-22deg)}}.phone{--width: 88px;--height: 176px;--depth: 9px;--radius: 20px;--front-amount: 4%;--edge-amount: 55%}.island{position:absolute;left:50%;top:9px;width:28px;height:9px;border-radius:9px;background:color-mix(in srgb, var(--foreground) 70%, transparent);transform:translateX(-50%);animation:ios-island 4s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.island{animation:none}}@keyframes ios-island{0%,40%,100%{width:28px;height:9px}55%,80%{width:62px;height:16px}}.widgets{position:absolute;inset:34px 10px 26px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr 1.2fr;gap:8px;transform-style:preserve-3d}.widgets i{border-radius:9px;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:color-mix(in srgb, var(--foreground) 12%, transparent);animation:ios-float 4.6s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.widgets i{animation:none}}.widgets i:nth-child(1){grid-column:span 2;background:linear-gradient(135deg, color-mix(in srgb, var(--foreground) 38%, transparent), color-mix(in srgb, var(--foreground) 8%, transparent))}.widgets i:nth-child(2){animation-delay:-1.5s}.widgets i:nth-child(3){animation-delay:-3s}@keyframes ios-float{0%,100%{transform:translateZ(4px)}50%{transform:translateZ(24px)}}.indicator{position:absolute;left:50%;bottom:8px;width:34px;height:3px;margin-left:-17px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 55%, transparent)}