@sharadox/sharadox-web-library 0.36.1 → 0.38.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 (66) hide show
  1. package/README.md +2 -2
  2. package/distribution/component/about/brand-parts/index.d.ts +7 -0
  3. package/distribution/component/about/brand-parts/index.d.ts.map +1 -0
  4. package/distribution/component/about/brand-parts/index.js +12 -0
  5. package/distribution/component/about/brand-parts/index.js.map +1 -0
  6. package/distribution/component/about/brand-parts/index.module.css +1 -0
  7. package/distribution/component/about/brand-parts/index.module.scss +225 -0
  8. package/distribution/component/about/{feed → brand-parts}/type.d.ts +1 -1
  9. package/distribution/component/about/brand-parts/type.d.ts.map +1 -0
  10. package/distribution/component/about/brand-parts/type.js.map +1 -0
  11. package/distribution/component/about/index.d.ts +3 -4
  12. package/distribution/component/about/index.d.ts.map +1 -1
  13. package/distribution/component/about/index.js +10 -7
  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 +42 -130
  17. package/distribution/component/about/platform-flow/index.d.ts +8 -0
  18. package/distribution/component/about/platform-flow/index.d.ts.map +1 -0
  19. package/distribution/component/about/platform-flow/index.js +17 -0
  20. package/distribution/component/about/platform-flow/index.js.map +1 -0
  21. package/distribution/component/about/platform-flow/index.module.css +1 -0
  22. package/distribution/component/about/platform-flow/index.module.scss +341 -0
  23. package/distribution/component/about/platform-flow/type.d.ts +5 -0
  24. package/distribution/component/about/platform-flow/type.d.ts.map +1 -0
  25. package/distribution/component/about/platform-flow/type.js +2 -0
  26. package/distribution/component/about/platform-flow/type.js.map +1 -0
  27. package/distribution/component/capability/index.d.ts +2 -2
  28. package/distribution/component/capability/index.d.ts.map +1 -1
  29. package/distribution/component/capability/index.js +4 -4
  30. package/distribution/component/capability/index.js.map +1 -1
  31. package/distribution/component/capability/index.module.css +1 -1
  32. package/distribution/component/capability/index.module.scss +4 -15
  33. package/distribution/component/footer/index.module.css +1 -1
  34. package/distribution/component/footer/index.module.scss +1 -11
  35. package/distribution/component/hero/index.module.css +1 -1
  36. package/distribution/component/hero/index.module.scss +3 -2
  37. package/distribution/component/service-index/index.d.ts.map +1 -1
  38. package/distribution/component/service-index/index.js +2 -4
  39. package/distribution/component/service-index/index.js.map +1 -1
  40. package/distribution/component/service-index/index.module.css +1 -1
  41. package/distribution/component/service-index/index.module.scss +11 -54
  42. package/distribution/component/service-shortcut/index.d.ts +7 -0
  43. package/distribution/component/service-shortcut/index.d.ts.map +1 -0
  44. package/distribution/component/service-shortcut/index.js +15 -0
  45. package/distribution/component/service-shortcut/index.js.map +1 -0
  46. package/distribution/component/service-shortcut/index.module.css +1 -0
  47. package/distribution/component/service-shortcut/index.module.scss +53 -0
  48. package/distribution/component/service-shortcut/type.d.ts +13 -0
  49. package/distribution/component/service-shortcut/type.d.ts.map +1 -0
  50. package/distribution/component/service-shortcut/type.js +2 -0
  51. package/distribution/component/service-shortcut/type.js.map +1 -0
  52. package/distribution/content/about/index.d.ts +129 -63
  53. package/distribution/content/about/index.d.ts.map +1 -1
  54. package/distribution/content/about/index.js +76 -50
  55. package/distribution/content/about/index.js.map +1 -1
  56. package/llms.txt +3 -1
  57. package/package.json +1 -1
  58. package/distribution/component/about/feed/index.d.ts +0 -9
  59. package/distribution/component/about/feed/index.d.ts.map +0 -1
  60. package/distribution/component/about/feed/index.js +0 -17
  61. package/distribution/component/about/feed/index.js.map +0 -1
  62. package/distribution/component/about/feed/index.module.css +0 -1
  63. package/distribution/component/about/feed/index.module.scss +0 -206
  64. package/distribution/component/about/feed/type.d.ts.map +0 -1
  65. package/distribution/component/about/feed/type.js.map +0 -1
  66. /package/distribution/component/about/{feed → brand-parts}/type.js +0 -0
@@ -1 +0,0 @@
1
- .feed{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;gap:14px;padding:18px;border-radius:14px;box-shadow:0 30px 60px -30px color-mix(in srgb, var(--foreground) 35%, transparent)}.header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-bottom:12px;border-bottom:1px dashed var(--line-2);font-family:var(--monospace);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}.live{display:inline-flex;align-items:center;gap:8px}.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:feed-live 2.4s infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes feed-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)}}.viewing{display:inline-flex;align-items:center;gap:6px}.places{display:inline-grid;justify-items:start}.places b{grid-area:1/1;font-weight:400;color:var(--foreground);opacity:0}.places b:nth-child(1){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 0s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(1){animation:none}}.places b:nth-child(2){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 3s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(2){animation:none}}.places b:nth-child(3){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 6s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(3){animation:none}}.places b:nth-child(4){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 9s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(4){animation:none}}@media(prefers-reduced-motion: reduce){.places b:first-child{opacity:1}}@keyframes feed-place{0%{opacity:0;transform:translateY(6px)}6%,22%{opacity:1;transform:none}28%,100%{opacity:0;transform:translateY(-6px)}}.events{display:grid;justify-content:stretch;gap:8px;margin:0;padding:0;list-style:none}.events li{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:14px}.events li:nth-child(1){animation:feed-event-1 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(1){animation:none}}.events li:nth-child(1) .check,.events li:nth-child(1) .person{animation:feed-check-1 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(1) .check,.events li:nth-child(1) .person{animation:none}}.events li:nth-child(2){animation:feed-event-2 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(2){animation:none}}.events li:nth-child(2) .check,.events li:nth-child(2) .person{animation:feed-check-2 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(2) .check,.events li:nth-child(2) .person{animation:none}}.events li:nth-child(3){animation:feed-event-3 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(3){animation:none}}.events li:nth-child(3) .check,.events li:nth-child(3) .person{animation:feed-check-3 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(3) .check,.events li:nth-child(3) .person{animation:none}}.events li:nth-child(4){animation:feed-event-4 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(4){animation:none}}.events li:nth-child(4) .check,.events li:nth-child(4) .person{animation:feed-check-4 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(4) .check,.events li:nth-child(4) .person{animation:none}}.events li:nth-child(5){animation:feed-event-5 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(5){animation:none}}.events li:nth-child(5) .check,.events li:nth-child(5) .person{animation:feed-check-5 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(5) .check,.events li:nth-child(5) .person{animation:none}}.events li:nth-child(6){animation:feed-event-6 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(6){animation:none}}.events li:nth-child(6) .check,.events li:nth-child(6) .person{animation:feed-check-6 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(6) .check,.events li:nth-child(6) .person{animation:none}}.events span{flex:1}.events time{font-size:11px;color:var(--foreground-3)}@keyframes feed-event-1{0%,4%{opacity:.25;transform:translateX(-8px)}9%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-1{0%,8%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}12%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-2{0%,16%{opacity:.25;transform:translateX(-8px)}21%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-2{0%,20%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}24%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-3{0%,28%{opacity:.25;transform:translateX(-8px)}33%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-3{0%,32%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}36%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-4{0%,40%{opacity:.25;transform:translateX(-8px)}45%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-4{0%,44%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}48%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-5{0%,52%{opacity:.25;transform:translateX(-8px)}57%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-5{0%,56%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}60%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-6{0%,64%{opacity:.25;transform:translateX(-8px)}69%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-6{0%,68%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}72%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}.check{position:relative;flex:none;width:18px;height:18px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%;color:var(--background);background:var(--foreground)}.check::after{content:"";position:absolute;left:5.5px;top:3px;width:4px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.person{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%;font-family:var(--monospace);font-size:10px;font-style:normal;font-weight:600;line-height:1}
@@ -1,206 +0,0 @@
1
- @use "style/token" as *;
2
- @use "style/object" as *;
3
-
4
- /* One round: the events tick in one after another, hold, and clear for the next round. */
5
- $round: 10s;
6
- $events: 6;
7
- /* The places it's viewed from, one after another. */
8
- $places: 4;
9
- $place: 3s;
10
-
11
- .feed {
12
- @include face;
13
- display: grid;
14
- justify-content: stretch;
15
- gap: 14px;
16
- padding: 18px;
17
- border-radius: 14px;
18
- box-shadow: 0 30px 60px -30px tint($glow);
19
- }
20
- .header {
21
- display: flex;
22
- flex-wrap: wrap;
23
- align-items: center;
24
- justify-content: space-between;
25
- gap: 8px 16px;
26
- padding-bottom: 12px;
27
- border-bottom: 1px dashed var(--line-2);
28
- font-family: var(--monospace);
29
- font-size: 11.5px;
30
- letter-spacing: 0.04em;
31
- text-transform: uppercase;
32
- color: var(--foreground-2);
33
- }
34
- .live {
35
- display: inline-flex;
36
- align-items: center;
37
- gap: 8px;
38
- i {
39
- width: 7px;
40
- height: 7px;
41
- border-radius: 50%;
42
- background: var(--foreground);
43
- box-shadow: 0 0 0 0 tint(60%);
44
- @include loop(feed-live 2.4s infinite);
45
- }
46
- }
47
- @keyframes feed-live {
48
- 70% {
49
- box-shadow: 0 0 0 8px tint(0%);
50
- }
51
- 100% {
52
- box-shadow: 0 0 0 0 tint(0%);
53
- }
54
- }
55
- .viewing {
56
- display: inline-flex;
57
- align-items: center;
58
- gap: 6px;
59
- }
60
- /* The places share one spot, each showing in turn. */
61
- .places {
62
- display: inline-grid;
63
- justify-items: start;
64
- b {
65
- grid-area: 1 / 1;
66
- font-weight: 400;
67
- color: var(--foreground);
68
- opacity: 0;
69
- @for $index from 1 through $places {
70
- &:nth-child(#{$index}) {
71
- @include loop(feed-place ($place * $places) $ease infinite ($place * ($index - 1)) backwards);
72
- }
73
- }
74
- }
75
- @media (prefers-reduced-motion: reduce) {
76
- b:first-child {
77
- opacity: 1;
78
- }
79
- }
80
- }
81
- @keyframes feed-place {
82
- 0% {
83
- opacity: 0;
84
- transform: translateY(6px);
85
- }
86
- 6%,
87
- 22% {
88
- opacity: 1;
89
- transform: none;
90
- }
91
- 28%,
92
- 100% {
93
- opacity: 0;
94
- transform: translateY(-6px);
95
- }
96
- }
97
- .events {
98
- display: grid;
99
- justify-content: stretch;
100
- gap: 8px;
101
- margin: 0;
102
- padding: 0;
103
- list-style: none;
104
- li {
105
- display: flex;
106
- align-items: center;
107
- justify-content: flex-start;
108
- gap: 12px;
109
- padding: 10px 12px;
110
- border: 1px solid var(--line-2);
111
- border-radius: 10px;
112
- background: surface($hint);
113
- font-size: 14px;
114
- @for $index from 1 through $events {
115
- &:nth-child(#{$index}) {
116
- @include loop(feed-event-#{$index} $round $ease infinite);
117
- .check,
118
- .person {
119
- @include loop(feed-check-#{$index} $round $ease infinite);
120
- }
121
- }
122
- }
123
- }
124
- span {
125
- flex: 1;
126
- }
127
- time {
128
- font-size: 11px;
129
- color: var(--foreground-3);
130
- }
131
- }
132
- /* Each event slides in at its turn, its tick filling a moment later; they all clear together at the end. */
133
- @for $index from 1 through $events {
134
- $start: 4% + ($index - 1) * 12%;
135
- @keyframes feed-event-#{$index} {
136
- 0%,
137
- #{$start} {
138
- opacity: 0.25;
139
- transform: translateX(-8px);
140
- }
141
- #{$start + 5%},
142
- 90% {
143
- opacity: 1;
144
- transform: none;
145
- }
146
- 97%,
147
- 100% {
148
- opacity: 0.25;
149
- transform: none;
150
- }
151
- }
152
- @keyframes feed-check-#{$index} {
153
- 0%,
154
- #{$start + 4%} {
155
- background: transparent;
156
- color: transparent;
157
- }
158
- #{$start + 8%},
159
- 90% {
160
- background: var(--foreground);
161
- color: var(--background);
162
- }
163
- 97%,
164
- 100% {
165
- background: transparent;
166
- color: transparent;
167
- }
168
- }
169
- }
170
- /* A tick in a circle: the circle fills and the tick shows once the event is done. */
171
- .check {
172
- position: relative;
173
- flex: none;
174
- width: 18px;
175
- height: 18px;
176
- border: 1px solid tint($edge);
177
- border-radius: 50%;
178
- color: var(--background);
179
- background: var(--foreground);
180
- &::after {
181
- content: "";
182
- position: absolute;
183
- left: 5.5px;
184
- top: 3px;
185
- width: 4px;
186
- height: 8px;
187
- border-right: 1.5px solid currentColor;
188
- border-bottom: 1.5px solid currentColor;
189
- transform: rotate(45deg);
190
- }
191
- }
192
- /* A person's initial in a circle, in place of the tick: this one was done by hand, and ticked off on a phone. */
193
- .person {
194
- display: grid;
195
- place-items: center;
196
- flex: none;
197
- width: 18px;
198
- height: 18px;
199
- border: 1px solid tint($edge);
200
- border-radius: 50%;
201
- font-family: var(--monospace);
202
- font-size: 10px;
203
- font-style: normal;
204
- font-weight: 600;
205
- line-height: 1;
206
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/about/feed/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/about/feed/type.ts"],"names":[],"mappings":""}