@sharadox/sharadox-web-library 0.38.0 → 0.40.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 (48) hide show
  1. package/README.md +1 -1
  2. package/distribution/component/about/feed/index.d.ts +15 -0
  3. package/distribution/component/about/feed/index.d.ts.map +1 -0
  4. package/distribution/component/about/feed/index.js +30 -0
  5. package/distribution/component/about/feed/index.js.map +1 -0
  6. package/distribution/component/about/feed/index.module.css +1 -0
  7. package/distribution/component/about/feed/index.module.scss +472 -0
  8. package/distribution/component/about/{brand-parts → feed}/type.d.ts +1 -1
  9. package/distribution/component/about/feed/type.d.ts.map +1 -0
  10. package/distribution/component/about/feed/type.js.map +1 -0
  11. package/distribution/component/about/index.d.ts +4 -3
  12. package/distribution/component/about/index.d.ts.map +1 -1
  13. package/distribution/component/about/index.js +7 -10
  14. package/distribution/component/about/index.js.map +1 -1
  15. package/distribution/component/about/index.module.css +1 -1
  16. package/distribution/component/about/index.module.scss +130 -42
  17. package/distribution/component/capability/index.js +1 -1
  18. package/distribution/component/capability/index.js.map +1 -1
  19. package/distribution/component/capability/index.module.css +1 -1
  20. package/distribution/component/capability/index.module.scss +7 -1
  21. package/distribution/component/contact/form/index.d.ts.map +1 -1
  22. package/distribution/component/contact/form/index.js +9 -1
  23. package/distribution/component/contact/form/index.js.map +1 -1
  24. package/distribution/content/about/index.d.ts +167 -127
  25. package/distribution/content/about/index.d.ts.map +1 -1
  26. package/distribution/content/about/index.js +92 -75
  27. package/distribution/content/about/index.js.map +1 -1
  28. package/llms.txt +3 -1
  29. package/package.json +2 -2
  30. package/distribution/component/about/brand-parts/index.d.ts +0 -7
  31. package/distribution/component/about/brand-parts/index.d.ts.map +0 -1
  32. package/distribution/component/about/brand-parts/index.js +0 -12
  33. package/distribution/component/about/brand-parts/index.js.map +0 -1
  34. package/distribution/component/about/brand-parts/index.module.css +0 -1
  35. package/distribution/component/about/brand-parts/index.module.scss +0 -225
  36. package/distribution/component/about/brand-parts/type.d.ts.map +0 -1
  37. package/distribution/component/about/brand-parts/type.js.map +0 -1
  38. package/distribution/component/about/platform-flow/index.d.ts +0 -8
  39. package/distribution/component/about/platform-flow/index.d.ts.map +0 -1
  40. package/distribution/component/about/platform-flow/index.js +0 -17
  41. package/distribution/component/about/platform-flow/index.js.map +0 -1
  42. package/distribution/component/about/platform-flow/index.module.css +0 -1
  43. package/distribution/component/about/platform-flow/index.module.scss +0 -341
  44. package/distribution/component/about/platform-flow/type.d.ts +0 -5
  45. package/distribution/component/about/platform-flow/type.d.ts.map +0 -1
  46. package/distribution/component/about/platform-flow/type.js +0 -2
  47. package/distribution/component/about/platform-flow/type.js.map +0 -1
  48. /package/distribution/component/about/{brand-parts → feed}/type.js +0 -0
@@ -1,12 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { translate } from "@sharadox/internationalization-web-library/translate";
3
- import { ABOUT } from "@sharadox/sharadox-web-library/content/about";
4
- import styles from "./index.module.css";
5
- /**
6
- * Everything the brand reaches, as five tiles: each a small drawing (the mark, a website, a phone, a post, a rising
7
- * chart) over its name and a line on what it does. The drawings are decoration, hidden from assistive technology.
8
- */
9
- export function BrandParts({ locale }) {
10
- return (_jsx("ul", { className: styles.parts, role: "list", children: ABOUT.brand.parts.map((part) => (_jsxs("li", { className: styles.part, children: [_jsxs("span", { className: styles.drawing, "data-part": part.key, "aria-hidden": true, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("b", { children: translate(part.title, locale) }), _jsx("span", { className: styles.note, children: translate(part.note, locale) })] }, part.key))) }));
11
- }
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/about/brand-parts/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAwB;IACzD,OAAO,CACL,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAC,MAAM,YACrC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC/B,cAAmB,SAAS,EAAE,MAAM,CAAC,IAAI,aACvC,gBAAM,SAAS,EAAE,MAAM,CAAC,OAAO,eAAa,IAAI,CAAC,GAAG,kCAClD,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,sBAAI,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,GAAK,EACtC,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GAAQ,KAP5D,IAAI,CAAC,GAAG,CAQZ,CACN,CAAC,GACC,CACN,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- .parts{display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));align-items:stretch;gap:1px;margin:0;padding:0;list-style:none;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden}@media(max-width: 1000px){.parts{grid-template-columns:repeat(3, minmax(0, 1fr))}}@media(max-width: 600px){.parts{grid-template-columns:repeat(2, minmax(0, 1fr))}}.part{display:grid;grid-template-rows:auto auto 1fr;justify-content:stretch;justify-items:start;align-content:start;gap:6px;padding:18px 18px 22px;background:var(--background);transition:background .3s}.part b{margin-top:12px;font-weight:600;letter-spacing:-0.02em}.part:hover{background:color-mix(in srgb, var(--foreground) 10%, var(--background))}.part:hover .drawing{transform:translateY(-3px)}.note{align-self:start;font-size:13.5px;line-height:1.45;color:var(--foreground-2)}.drawing{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);position:relative;display:block;justify-self:stretch;height:92px;border-radius:12px;transition:transform .5s cubic-bezier(0.22, 1, 0.36, 1)}.drawing i{position:absolute;display:block}.drawing[data-part=identity] i:nth-child(1){left:50%;top:18px;width:34px;height:34px;margin-left:-17px;border:1.5px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%}.drawing[data-part=identity] i:nth-child(2){left:50%;top:27px;width:16px;height:16px;margin-left:-8px;border:3.5px solid var(--foreground);border-radius:2px;transform:rotate(45deg)}.drawing[data-part=identity] i:nth-child(3){left:50%;bottom:12px;width:46px;height:10px;margin-left:-23px;background:radial-gradient(circle, var(--foreground) 4px, transparent 4.5px) 0 0/15px 10px no-repeat,radial-gradient(circle, color-mix(in srgb, var(--foreground) 45%, transparent) 4px, transparent 4.5px) 15px 0/15px 10px no-repeat,radial-gradient(circle, color-mix(in srgb, var(--foreground) 20%, transparent) 4px, transparent 4.5px) 30px 0/15px 10px no-repeat}.drawing[data-part=website] i:nth-child(1){inset:14px 18px 12px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:6px;background:linear-gradient(color-mix(in srgb, var(--foreground) 20%, transparent), color-mix(in srgb, var(--foreground) 20%, transparent)) 0 0/100% 10px no-repeat}.drawing[data-part=website] i:nth-child(2){left:26px;right:26px;top:32px;height:20px;border-radius:3px;background:linear-gradient(120deg, color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent))}.drawing[data-part=website] i:nth-child(3){left:26px;width:46%;top:58px;height:4px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 20%, transparent);box-shadow:0 8px 0 color-mix(in srgb, var(--foreground) 20%, transparent)}.drawing[data-part=apps] i:nth-child(1){left:50%;top:10px;width:40px;height:72px;margin-left:-20px;border:1.5px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:9px}.drawing[data-part=apps] i:nth-child(2){left:50%;top:22px;width:26px;height:26px;margin-left:-13px;background:radial-gradient(circle, var(--foreground) 3.5px, transparent 4px) 0 0/13px 13px,radial-gradient(circle, color-mix(in srgb, var(--foreground) 45%, transparent) 3.5px, transparent 4px) 6.5px 6.5px/13px 13px}.drawing[data-part=apps] i:nth-child(3){left:50%;top:68px;width:14px;height:3px;margin-left:-7px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.drawing[data-part=social] i:nth-child(1){left:50%;top:12px;width:58px;height:68px;margin-left:-29px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:7px}.drawing[data-part=social] i:nth-child(2){left:50%;top:22px;width:46px;height:32px;margin-left:-23px;border-radius:4px;background:linear-gradient(150deg, color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent))}.drawing[data-part=social] i:nth-child(3){left:calc(50% - 21px);top:61px;width:9px;height:9px;background:var(--foreground);transform:rotate(45deg)}.drawing[data-part=social] i:nth-child(3)::before,.drawing[data-part=social] i:nth-child(3)::after{content:"";position:absolute;width:9px;height:9px;border-radius:50%;background:var(--foreground)}.drawing[data-part=social] i:nth-child(3)::before{left:-4.5px;top:0}.drawing[data-part=social] i:nth-child(3)::after{left:0;top:-4.5px}.drawing[data-part=campaigns] i{bottom:16px;width:12px;border-radius:3px 3px 0 0}.drawing[data-part=campaigns] i:nth-child(1){left:calc(50% - 26px);height:22px;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.drawing[data-part=campaigns] i:nth-child(2){left:calc(50% - 6px);height:38px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.drawing[data-part=campaigns] i:nth-child(3){left:calc(50% + 14px);height:58px;background:var(--foreground);box-shadow:0 0 16px color-mix(in srgb, var(--foreground) 35%, transparent)}
@@ -1,225 +0,0 @@
1
- @use "style/token" as *;
2
- @use "style/object" as *;
3
-
4
- /* Five tiles in a row, hairlines between them (three and two on tablets, one under another on phones). */
5
- .parts {
6
- display: grid;
7
- grid-template-columns: repeat(5, minmax(0, 1fr));
8
- align-items: stretch;
9
- gap: 1px;
10
- margin: 0;
11
- padding: 0;
12
- list-style: none;
13
- background: var(--line);
14
- border: 1px solid var(--line);
15
- border-radius: 16px;
16
- overflow: hidden;
17
- @include below(1000px) {
18
- grid-template-columns: repeat(3, minmax(0, 1fr));
19
- }
20
- @include below(600px) {
21
- grid-template-columns: repeat(2, minmax(0, 1fr));
22
- }
23
- }
24
- .part {
25
- display: grid;
26
- grid-template-rows: auto auto 1fr;
27
- justify-content: stretch;
28
- justify-items: start;
29
- align-content: start;
30
- gap: 6px;
31
- padding: 18px 18px 22px;
32
- background: var(--background);
33
- transition: background 0.3s;
34
- b {
35
- margin-top: 12px;
36
- font-weight: 600;
37
- letter-spacing: -0.02em;
38
- }
39
- &:hover {
40
- background: surface($hint);
41
- }
42
- &:hover .drawing {
43
- transform: translateY(-3px);
44
- }
45
- }
46
- .note {
47
- align-self: start;
48
- font-size: 13.5px;
49
- line-height: 1.45;
50
- color: var(--foreground-2);
51
- }
52
- /* A small drawing on a soft panel; its three pieces make a different thing for each part. */
53
- .drawing {
54
- @include face;
55
- position: relative;
56
- display: block;
57
- justify-self: stretch;
58
- height: 92px;
59
- border-radius: 12px;
60
- transition: transform 0.5s $ease;
61
- i {
62
- position: absolute;
63
- display: block;
64
- }
65
- /* Identity: the mark in a ring, and a row of color swatches. */
66
- &[data-part="identity"] {
67
- i:nth-child(1) {
68
- left: 50%;
69
- top: 18px;
70
- width: 34px;
71
- height: 34px;
72
- margin-left: -17px;
73
- border: 1.5px solid tint($edge);
74
- border-radius: 50%;
75
- }
76
- i:nth-child(2) {
77
- left: 50%;
78
- top: 27px;
79
- width: 16px;
80
- height: 16px;
81
- margin-left: -8px;
82
- border: 3.5px solid var(--foreground);
83
- border-radius: 2px;
84
- transform: rotate(45deg);
85
- }
86
- i:nth-child(3) {
87
- left: 50%;
88
- bottom: 12px;
89
- width: 46px;
90
- height: 10px;
91
- margin-left: -23px;
92
- background:
93
- radial-gradient(circle, var(--foreground) 4px, transparent 4.5px) 0 0 / 15px 10px no-repeat,
94
- radial-gradient(circle, tint($detail) 4px, transparent 4.5px) 15px 0 / 15px 10px no-repeat,
95
- radial-gradient(circle, tint($faint) 4px, transparent 4.5px) 30px 0 / 15px 10px no-repeat;
96
- }
97
- }
98
- /* Website: a browser window with a picture and lines. */
99
- &[data-part="website"] {
100
- i:nth-child(1) {
101
- inset: 14px 18px 12px;
102
- border: 1px solid tint($edge);
103
- border-radius: 6px;
104
- background: linear-gradient(tint($faint), tint($faint)) 0 0 / 100% 10px no-repeat;
105
- }
106
- i:nth-child(2) {
107
- left: 26px;
108
- right: 26px;
109
- top: 32px;
110
- height: 20px;
111
- border-radius: 3px;
112
- background: linear-gradient(120deg, tint($detail), tint($hint));
113
- }
114
- i:nth-child(3) {
115
- left: 26px;
116
- width: 46%;
117
- top: 58px;
118
- height: 4px;
119
- border-radius: 2px;
120
- background: tint($faint);
121
- box-shadow: 0 8px 0 tint($faint);
122
- }
123
- }
124
- /* Apps: a phone with app icons. */
125
- &[data-part="apps"] {
126
- i:nth-child(1) {
127
- left: 50%;
128
- top: 10px;
129
- width: 40px;
130
- height: 72px;
131
- margin-left: -20px;
132
- border: 1.5px solid tint($edge);
133
- border-radius: 9px;
134
- }
135
- i:nth-child(2) {
136
- left: 50%;
137
- top: 22px;
138
- width: 26px;
139
- height: 26px;
140
- margin-left: -13px;
141
- background:
142
- radial-gradient(circle, var(--foreground) 3.5px, transparent 4px) 0 0 / 13px 13px,
143
- radial-gradient(circle, tint($detail) 3.5px, transparent 4px) 6.5px 6.5px / 13px 13px;
144
- }
145
- i:nth-child(3) {
146
- left: 50%;
147
- top: 68px;
148
- width: 14px;
149
- height: 3px;
150
- margin-left: -7px;
151
- border-radius: 2px;
152
- background: tint($detail);
153
- }
154
- }
155
- /* Social media: a post with a picture and a heart. */
156
- &[data-part="social"] {
157
- i:nth-child(1) {
158
- left: 50%;
159
- top: 12px;
160
- width: 58px;
161
- height: 68px;
162
- margin-left: -29px;
163
- border: 1px solid tint($edge);
164
- border-radius: 7px;
165
- }
166
- i:nth-child(2) {
167
- left: 50%;
168
- top: 22px;
169
- width: 46px;
170
- height: 32px;
171
- margin-left: -23px;
172
- border-radius: 4px;
173
- background: linear-gradient(150deg, tint($detail), tint($hint));
174
- }
175
- i:nth-child(3) {
176
- left: calc(50% - 21px);
177
- top: 61px;
178
- width: 9px;
179
- height: 9px;
180
- background: var(--foreground);
181
- transform: rotate(45deg);
182
- &::before,
183
- &::after {
184
- content: "";
185
- position: absolute;
186
- width: 9px;
187
- height: 9px;
188
- border-radius: 50%;
189
- background: var(--foreground);
190
- }
191
- &::before {
192
- left: -4.5px;
193
- top: 0;
194
- }
195
- &::after {
196
- left: 0;
197
- top: -4.5px;
198
- }
199
- }
200
- }
201
- /* Campaigns: bars rising to a peak. */
202
- &[data-part="campaigns"] {
203
- i {
204
- bottom: 16px;
205
- width: 12px;
206
- border-radius: 3px 3px 0 0;
207
- }
208
- i:nth-child(1) {
209
- left: calc(50% - 26px);
210
- height: 22px;
211
- background: tint($faint);
212
- }
213
- i:nth-child(2) {
214
- left: calc(50% - 6px);
215
- height: 38px;
216
- background: tint($detail);
217
- }
218
- i:nth-child(3) {
219
- left: calc(50% + 14px);
220
- height: 58px;
221
- background: var(--foreground);
222
- box-shadow: 0 0 16px tint($glow);
223
- }
224
- }
225
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/about/brand-parts/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/about/brand-parts/type.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- import type { PlatformFlowProperties } from "@sharadox/sharadox-web-library/component/about/platform-flow/type";
2
- /**
3
- * How a platform runs a business, as a flow read left to right (top to bottom on phones): the customers' steps, the
4
- * platform's own (the one that matters most, lit), the team's on their phone, each ticking off in turn while a pulse
5
- * travels between them; under it all, the owner, watching live from wherever they are.
6
- */
7
- export declare function PlatformFlow({ locale }: PlatformFlowProperties): import("react").JSX.Element;
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/about/platform-flow/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mEAAmE,CAAC;AAEhH;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,sBAAsB,+BAiD9D"}
@@ -1,17 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Fragment } from "react";
3
- import { translate } from "@sharadox/internationalization-web-library/translate";
4
- import { ABOUT } from "@sharadox/sharadox-web-library/content/about";
5
- import styles from "./index.module.css";
6
- /**
7
- * How a platform runs a business, as a flow read left to right (top to bottom on phones): the customers' steps, the
8
- * platform's own (the one that matters most, lit), the team's on their phone, each ticking off in turn while a pulse
9
- * travels between them; under it all, the owner, watching live from wherever they are.
10
- */
11
- export function PlatformFlow({ locale }) {
12
- const { lanes, you } = ABOUT.platform;
13
- // Every step's place in the whole flow, so they tick off one after another, lane after lane.
14
- const offsets = lanes.map((_, index) => lanes.slice(0, index).reduce((sum, lane) => sum + lane.steps.length, 0));
15
- return (_jsxs("div", { className: styles.flow, children: [_jsx("div", { className: styles.lanes, children: lanes.map((lane, index) => (_jsxs(Fragment, { children: [index > 0 && (_jsx("span", { className: styles.link, "aria-hidden": true, children: _jsx("i", {}) })), _jsxs("section", { className: styles.lane, "data-lane": lane.key, "aria-label": translate(lane.title, locale), children: [_jsxs("header", { className: styles.header, children: [_jsx("span", { className: styles.badge, "aria-hidden": true }), _jsxs("span", { children: [_jsx("b", { children: translate(lane.title, locale) }), _jsx("span", { className: styles.note, children: translate(lane.note, locale) })] })] }), _jsx("ol", { className: styles.steps, children: lane.steps.map((step, position) => (_jsxs("li", { style: { "--order": offsets[index] + position }, children: [_jsx("i", { className: styles.tick, "aria-hidden": true }), translate(step, locale)] }, step.en))) })] })] }, lane.key))) }), _jsxs("div", { className: styles.you, children: [_jsxs("span", { className: styles.live, children: [_jsx("i", { "aria-hidden": true }), translate(you.live, locale)] }), _jsx("b", { children: translate(you.title, locale) }), _jsx("span", { className: styles.text, children: translate(you.text, locale) }), _jsx("span", { className: styles.places, "aria-hidden": true, children: you.places[locale].map((place) => (_jsx("span", { children: place }, place))) })] })] }));
16
- }
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/about/platform-flow/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAsB,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,EAAE,MAAM,EAA0B;IAC7D,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC;IACtC,6FAA6F;IAC7F,MAAM,OAAO,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;IACjH,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YACzB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,MAAC,QAAQ,eACN,KAAK,GAAG,CAAC,IAAI,CACZ,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,iCAC1B,aAAK,GACA,CACR,EACD,mBAAS,SAAS,EAAE,MAAM,CAAC,IAAI,eAAa,IAAI,CAAC,GAAG,gBAAc,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,aAC7F,kBAAQ,SAAS,EAAE,MAAM,CAAC,MAAM,aAC9B,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,wBAAgB,EAC7C,2BACE,sBAAI,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,GAAK,EACtC,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GAAQ,IAC9D,IACA,EACT,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,YACxB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,CAAC,CAClC,cAAkB,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,KAAK,CAAE,GAAG,QAAQ,EAAmB,aACjF,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,wBAAgB,EACxC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,KAFjB,IAAI,CAAC,EAAE,CAGX,CACN,CAAC,GACC,IACG,KAtBG,IAAI,CAAC,GAAG,CAuBZ,CACZ,CAAC,GACE,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,kCAAiB,EAChB,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,IACvB,EACP,sBAAI,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,GAAK,EACrC,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,GAAQ,EAClE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,iCAC3B,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACjC,yBAAmB,KAAK,IAAb,KAAK,CAAgB,CACjC,CAAC,GACG,IACH,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- .flow{display:grid;justify-content:stretch;gap:16px}.lanes{display:grid;grid-template-columns:minmax(0, 1fr) 56px minmax(0, 1.2fr) 56px minmax(0, 1fr);align-items:stretch}@media(max-width: 1000px){.lanes{grid-template-columns:minmax(0, 1fr)}}.lane{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);display:grid;justify-content:stretch;align-content:start;gap:16px;padding:20px;border-radius:16px}.lane[data-lane=platform]{border-color:color-mix(in srgb, var(--foreground) 70%, transparent);background:radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--foreground) 20%, transparent), transparent 70%),color-mix(in srgb, var(--foreground) 9%, var(--background));box-shadow:0 30px 70px -36px color-mix(in srgb, var(--foreground) 35%, transparent)}.header{display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left}.header b{display:block;font-weight:600;letter-spacing:-0.02em}.note{display:block;font-family:var(--monospace);font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.badge{position:relative;flex:none;width:36px;height:36px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:10px;background:var(--background)}.badge::before,.badge::after{content:"";position:absolute;left:50%}[data-lane=customers] .badge::before{top:8px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 70%, transparent)}[data-lane=customers] .badge::after{top:19px;width:18px;height:9px;margin-left:-9px;border-radius:9px 9px 2px 2px;background:color-mix(in srgb, var(--foreground) 70%, transparent)}[data-lane=platform] .badge::before{top:50%;width:13px;height:13px;margin:-6.5px 0 0 -6.5px;border:3px solid var(--foreground);border-radius:2px;transform:rotate(45deg)}[data-lane=team] .badge::before{top:7px;width:14px;height:22px;margin-left:-7px;border:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);border-radius:4px}[data-lane=team] .badge::after{top:24px;width:4px;height:1.5px;margin-left:-2px;background:color-mix(in srgb, var(--foreground) 70%, transparent)}.steps{display:grid;justify-content:stretch;gap:8px;margin:0;padding:0;list-style:none}.steps li{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:var(--background);font-size:14px;text-align:left;animation:flow-step 10s cubic-bezier(0.22, 1, 0.36, 1) infinite calc(var(--order)*0.8s - 10s)}@media(prefers-reduced-motion: reduce){.steps li{animation:none}}@keyframes flow-step{0%,4%{opacity:.35}10%,86%{opacity:1}94%,100%{opacity:.35}}.tick{position:relative;flex:none;width:16px;height:16px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%;animation:flow-tick 10s cubic-bezier(0.22, 1, 0.36, 1) infinite calc(var(--order)*0.8s - 10s)}@media(prefers-reduced-motion: reduce){.tick{animation:none}}.tick::after{content:"";position:absolute;left:5px;top:2.5px;width:3.5px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}@keyframes flow-tick{0%,6%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}12%,86%{background:var(--foreground);color:var(--background)}94%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}.link{position:relative;align-self:center;height:1px;margin:0 6px;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 50%, transparent) 50%, transparent 0) 0 0/8px 1px repeat-x}.link i{position:absolute;top:-3px;left:0;width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 10px color-mix(in srgb, var(--foreground) 35%, transparent);animation:flow-pulse 2.2s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.link i{animation:none}}@media(max-width: 1000px){.link{justify-self:center;width:1px;height:32px;margin:6px 0;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 50%, transparent) 50%, transparent 0) 0 0/1px 8px repeat-y}.link i{left:-3px;top:0;animation-name:flow-pulse-down}}@keyframes flow-pulse{0%{left:0;opacity:0}15%,85%{opacity:1}100%{left:calc(100% - 7px);opacity:0}}@keyframes flow-pulse-down{0%{top:0;opacity:0}15%,85%{opacity:1}100%{top:calc(100% - 7px);opacity:0}}.you{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px 16px;padding:16px 20px;border-radius:16px;text-align:left}.you b{font-weight:600;letter-spacing:-0.02em}.text{flex:1 1 260px;color:var(--foreground-2)}.live{display:inline-flex;align-items:center;gap:8px;padding:4px 10px;border:1px solid var(--line-2);border-radius:99px;font-family:var(--monospace);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--foreground-2)}.live i{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:flow-live 2.4s infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes flow-live{70%{box-shadow:0 0 0 8px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.places{display:inline-grid;justify-items:end;font-family:var(--monospace);font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground)}.places span{grid-area:1/1;opacity:0}.places span:nth-child(1){animation:flow-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 0s backwards}@media(prefers-reduced-motion: reduce){.places span:nth-child(1){animation:none}}.places span:nth-child(2){animation:flow-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 3s backwards}@media(prefers-reduced-motion: reduce){.places span:nth-child(2){animation:none}}.places span:nth-child(3){animation:flow-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 6s backwards}@media(prefers-reduced-motion: reduce){.places span:nth-child(3){animation:none}}.places span:nth-child(4){animation:flow-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 9s backwards}@media(prefers-reduced-motion: reduce){.places span:nth-child(4){animation:none}}@media(prefers-reduced-motion: reduce){.places span:first-child{opacity:1}}@keyframes flow-place{0%{opacity:0;transform:translateY(6px)}6%,22%{opacity:1;transform:none}28%,100%{opacity:0;transform:translateY(-6px)}}
@@ -1,341 +0,0 @@
1
- @use "style/token" as *;
2
- @use "style/object" as *;
3
-
4
- /* One round of the flow: every step ticks off in turn (0.8s apart), stays done, and clears for the next round. */
5
- $round: 10s;
6
- $step: 0.8s;
7
- /* The places the owner looks from, one after another. */
8
- $places: 4;
9
- $place: 3s;
10
-
11
- .flow {
12
- display: grid;
13
- justify-content: stretch;
14
- gap: 16px;
15
- }
16
- /* Three lanes joined by two links; the platform, in the middle, a little wider and lit. */
17
- .lanes {
18
- display: grid;
19
- grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.2fr) 56px minmax(0, 1fr);
20
- align-items: stretch;
21
- @include below(1000px) {
22
- grid-template-columns: minmax(0, 1fr);
23
- }
24
- }
25
- .lane {
26
- @include face;
27
- display: grid;
28
- justify-content: stretch;
29
- align-content: start;
30
- gap: 16px;
31
- padding: 20px;
32
- border-radius: 16px;
33
- &[data-lane="platform"] {
34
- border-color: tint($strong);
35
- background: radial-gradient(120% 90% at 50% 0%, tint($faint), transparent 70%), surface($surface);
36
- box-shadow: 0 30px 70px -36px tint($glow);
37
- }
38
- }
39
- .header {
40
- display: flex;
41
- align-items: center;
42
- justify-content: flex-start;
43
- gap: 12px;
44
- text-align: left;
45
- b {
46
- display: block;
47
- font-weight: 600;
48
- letter-spacing: -0.02em;
49
- }
50
- }
51
- .note {
52
- display: block;
53
- font-family: var(--monospace);
54
- font-size: 11px;
55
- letter-spacing: 0.04em;
56
- text-transform: uppercase;
57
- color: var(--foreground-3);
58
- }
59
- /* Each lane's sign: a person for the customers, the mark for the platform, a phone for the team. */
60
- .badge {
61
- position: relative;
62
- flex: none;
63
- width: 36px;
64
- height: 36px;
65
- border: 1px solid tint($edge);
66
- border-radius: 10px;
67
- background: var(--background);
68
- &::before,
69
- &::after {
70
- content: "";
71
- position: absolute;
72
- left: 50%;
73
- }
74
- [data-lane="customers"] & {
75
- &::before {
76
- top: 8px;
77
- width: 9px;
78
- height: 9px;
79
- margin-left: -4.5px;
80
- border-radius: 50%;
81
- background: tint($strong);
82
- }
83
- &::after {
84
- top: 19px;
85
- width: 18px;
86
- height: 9px;
87
- margin-left: -9px;
88
- border-radius: 9px 9px 2px 2px;
89
- background: tint($strong);
90
- }
91
- }
92
- [data-lane="platform"] & {
93
- &::before {
94
- top: 50%;
95
- width: 13px;
96
- height: 13px;
97
- margin: -6.5px 0 0 -6.5px;
98
- border: 3px solid var(--foreground);
99
- border-radius: 2px;
100
- transform: rotate(45deg);
101
- }
102
- }
103
- [data-lane="team"] & {
104
- &::before {
105
- top: 7px;
106
- width: 14px;
107
- height: 22px;
108
- margin-left: -7px;
109
- border: 1.5px solid tint($strong);
110
- border-radius: 4px;
111
- }
112
- &::after {
113
- top: 24px;
114
- width: 4px;
115
- height: 1.5px;
116
- margin-left: -2px;
117
- background: tint($strong);
118
- }
119
- }
120
- }
121
- .steps {
122
- display: grid;
123
- justify-content: stretch;
124
- gap: 8px;
125
- margin: 0;
126
- padding: 0;
127
- list-style: none;
128
- li {
129
- display: flex;
130
- align-items: center;
131
- justify-content: flex-start;
132
- gap: 10px;
133
- padding: 10px 12px;
134
- border: 1px solid var(--line-2);
135
- border-radius: 10px;
136
- background: var(--background);
137
- font-size: 14px;
138
- text-align: left;
139
- @include loop(flow-step $round $ease infinite calc(var(--order) * #{$step} - #{$round}));
140
- }
141
- }
142
- /* Each step dims until its turn, then lights with its tick filled, and holds until the round clears. */
143
- @keyframes flow-step {
144
- 0%,
145
- 4% {
146
- opacity: 0.35;
147
- }
148
- 10%,
149
- 86% {
150
- opacity: 1;
151
- }
152
- 94%,
153
- 100% {
154
- opacity: 0.35;
155
- }
156
- }
157
- .tick {
158
- position: relative;
159
- flex: none;
160
- width: 16px;
161
- height: 16px;
162
- border: 1px solid tint($edge);
163
- border-radius: 50%;
164
- @include loop(flow-tick $round $ease infinite calc(var(--order) * #{$step} - #{$round}));
165
- &::after {
166
- content: "";
167
- position: absolute;
168
- left: 5px;
169
- top: 2.5px;
170
- width: 3.5px;
171
- height: 7px;
172
- border-right: 1.5px solid currentColor;
173
- border-bottom: 1.5px solid currentColor;
174
- transform: rotate(45deg);
175
- }
176
- }
177
- @keyframes flow-tick {
178
- 0%,
179
- 6% {
180
- background: transparent;
181
- color: transparent;
182
- }
183
- 12%,
184
- 86% {
185
- background: var(--foreground);
186
- color: var(--background);
187
- }
188
- 94%,
189
- 100% {
190
- background: transparent;
191
- color: transparent;
192
- }
193
- }
194
- /* A link between two lanes: a line with a pulse running along it, the way the work goes. */
195
- .link {
196
- position: relative;
197
- align-self: center;
198
- height: 1px;
199
- margin: 0 6px;
200
- @include dashed(horizontal, tint($edge));
201
- i {
202
- position: absolute;
203
- top: -3px;
204
- left: 0;
205
- width: 7px;
206
- height: 7px;
207
- border-radius: 50%;
208
- background: var(--foreground);
209
- box-shadow: 0 0 10px tint($glow);
210
- @include loop(flow-pulse 2.2s ease-in-out infinite);
211
- }
212
- @include below(1000px) {
213
- justify-self: center;
214
- width: 1px;
215
- height: 32px;
216
- margin: 6px 0;
217
- @include dashed(vertical, tint($edge));
218
- i {
219
- left: -3px;
220
- top: 0;
221
- animation-name: flow-pulse-down;
222
- }
223
- }
224
- }
225
- @keyframes flow-pulse {
226
- 0% {
227
- left: 0;
228
- opacity: 0;
229
- }
230
- 15%,
231
- 85% {
232
- opacity: 1;
233
- }
234
- 100% {
235
- left: calc(100% - 7px);
236
- opacity: 0;
237
- }
238
- }
239
- @keyframes flow-pulse-down {
240
- 0% {
241
- top: 0;
242
- opacity: 0;
243
- }
244
- 15%,
245
- 85% {
246
- opacity: 1;
247
- }
248
- 100% {
249
- top: calc(100% - 7px);
250
- opacity: 0;
251
- }
252
- }
253
- /* The owner, under everything: live, from wherever they are. */
254
- .you {
255
- @include face;
256
- display: flex;
257
- flex-wrap: wrap;
258
- align-items: center;
259
- justify-content: flex-start;
260
- gap: 10px 16px;
261
- padding: 16px 20px;
262
- border-radius: 16px;
263
- text-align: left;
264
- b {
265
- font-weight: 600;
266
- letter-spacing: -0.02em;
267
- }
268
- }
269
- .text {
270
- flex: 1 1 260px;
271
- color: var(--foreground-2);
272
- }
273
- .live {
274
- display: inline-flex;
275
- align-items: center;
276
- gap: 8px;
277
- padding: 4px 10px;
278
- border: 1px solid var(--line-2);
279
- border-radius: 99px;
280
- font-family: var(--monospace);
281
- font-size: 11px;
282
- letter-spacing: 0.06em;
283
- text-transform: uppercase;
284
- color: var(--foreground-2);
285
- i {
286
- width: 7px;
287
- height: 7px;
288
- border-radius: 50%;
289
- background: var(--foreground);
290
- box-shadow: 0 0 0 0 tint(60%);
291
- @include loop(flow-live 2.4s infinite);
292
- }
293
- }
294
- @keyframes flow-live {
295
- 70% {
296
- box-shadow: 0 0 0 8px tint(0%);
297
- }
298
- 100% {
299
- box-shadow: 0 0 0 0 tint(0%);
300
- }
301
- }
302
- /* The places share one spot, each showing in turn. */
303
- .places {
304
- display: inline-grid;
305
- justify-items: end;
306
- font-family: var(--monospace);
307
- font-size: 12px;
308
- letter-spacing: 0.04em;
309
- text-transform: uppercase;
310
- color: var(--foreground);
311
- span {
312
- grid-area: 1 / 1;
313
- opacity: 0;
314
- @for $index from 1 through $places {
315
- &:nth-child(#{$index}) {
316
- @include loop(flow-place ($place * $places) $ease infinite ($place * ($index - 1)) backwards);
317
- }
318
- }
319
- }
320
- @media (prefers-reduced-motion: reduce) {
321
- span:first-child {
322
- opacity: 1;
323
- }
324
- }
325
- }
326
- @keyframes flow-place {
327
- 0% {
328
- opacity: 0;
329
- transform: translateY(6px);
330
- }
331
- 6%,
332
- 22% {
333
- opacity: 1;
334
- transform: none;
335
- }
336
- 28%,
337
- 100% {
338
- opacity: 0;
339
- transform: translateY(-6px);
340
- }
341
- }
@@ -1,5 +0,0 @@
1
- import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
- export interface PlatformFlowProperties {
3
- locale: Locale;
4
- }
5
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/about/platform-flow/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/about/platform-flow/type.ts"],"names":[],"mappings":""}