scoobie 17.1.6 → 17.2.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.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "license": "MIT",
5
5
  "main": "src/index.ts",
6
6
  "sideEffects": false,
7
- "version": "17.1.6",
7
+ "version": "17.2.0",
8
8
  "dependencies": {
9
9
  "@capsizecss/core": "^4.0.0",
10
10
  "@mdx-js/react": "^1.6.22",
@@ -9,18 +9,57 @@
9
9
  /* https://github.com/seek-oss/braid-design-system/blob/braid-design-system%4032.23.1/packages/braid-design-system/src/lib/color/palette.ts */
10
10
  --braid-blue-100: #e3f2fb;
11
11
  --braid-blue-300: #98c9f1;
12
+ --braid-blue-500: #0d3880;
12
13
  --braid-blue-700: #1d559d;
13
14
  --braid-grey-50: #f7f8fb;
15
+ --braid-grey-75: #f3f5f7;
14
16
  --braid-grey-100: #eaecf1;
17
+ --braid-grey-200: #d2d7df;
15
18
  --braid-grey-300: #abb3c1;
16
19
  --braid-grey-500: #5a6881;
20
+ --braid-grey-700: #2e3849;
21
+ --braid-grey-800: #1c2330;
17
22
  --braid-mint-100: #e2f7f1;
18
23
  --braid-mint-300: #8bdec5;
24
+ --braid-mint-500: #28b888;
19
25
  --braid-mint-700: #12784f;
26
+ --braid-red-100: #ffe3e2;
20
27
  --braid-red-300: #fb999a;
28
+ --braid-red-500: #f94344;
21
29
  --braid-red-700: #b91e1e;
22
30
  --braid-yellow-100: #fef8de;
31
+ --braid-yellow-300: #fee384;
23
32
  --braid-yellow-500: #fdc221;
33
+ --braid-yellow-700: #b9800d;
34
+
35
+ --white: #fff;
36
+
37
+ /* https://github.com/seek-oss/braid-design-system/blob/braid-design-system%4032.23.1/packages/braid-design-system/src/lib/themes/seekJobs/tokens.ts#L140-L189 */
38
+ /* https://github.com/seek-oss/braid-design-system/blob/braid-design-system%4032.23.1/packages/braid-design-system/src/lib/themes/baseTokens/apac.ts#L194-L301 */
39
+
40
+ --critical-border: var(--braid-red-300);
41
+ --critical-foreground: var(--braid-red-700);
42
+
43
+ --info-background: var(--braid-blue-100);
44
+ --info-border: var(--braid-blue-300);
45
+ --info-foreground: var(--braid-blue-700);
46
+
47
+ --neutral-background: var(--braid-grey-75);
48
+ --neutral-border: var(--braid-grey-300);
49
+ --neutral-foreground: var(--braid-grey-700);
50
+ --neutral-line: var(--braid-grey-500);
51
+
52
+ --neutral-soft-background: var(--braid-grey-50);
53
+ --neutral-soft-border: var(--braid-grey-100);
54
+
55
+ --note-background: var(--braid-yellow-100);
56
+ --note-border: var(--braid-yellow-300);
57
+
58
+ --positive-background: var(--braid-mint-100);
59
+ --positive-border: var(--braid-mint-300);
60
+ --positive-foreground: var(--braid-mint-700);
61
+
62
+ --surface-background: var(--white);
24
63
  }
25
64
 
26
65
  /* shared */
@@ -34,8 +73,8 @@ text {
34
73
  /* er */
35
74
 
36
75
  path.er.entityBox {
37
- fill: var(--braid-grey-50);
38
- stroke: var(--braid-grey-100);
76
+ fill: var(--neutral-soft-background);
77
+ stroke: var(--neutral-soft-border);
39
78
  }
40
79
 
41
80
  path.er.relationshipLabelBox {
@@ -44,7 +83,7 @@ path.er.relationshipLabelBox {
44
83
 
45
84
  path.er.relationshipLine {
46
85
  fill: none;
47
- stroke: var(--braid-grey-500);
86
+ stroke: var(--neutral-line);
48
87
  }
49
88
 
50
89
  text.er {
@@ -52,9 +91,14 @@ text.er {
52
91
  text-anchor: middle;
53
92
  }
54
93
 
94
+ text.er.entityLabel,
95
+ text.er.relationshipLabel {
96
+ fill: var(--neutral-foreground);
97
+ }
98
+
55
99
  text.er.relationshipLabel {
56
100
  paint-order: stroke fill;
57
- stroke: #fff;
101
+ stroke: var(--surface-background);
58
102
  stroke-linejoin: round;
59
103
  stroke-width: 4px;
60
104
  }
@@ -65,38 +109,42 @@ text.er.relationshipLabel {
65
109
  g.cluster path,
66
110
  g.cluster rect {
67
111
  fill: none;
68
- stroke: var(--braid-grey-300);
112
+ stroke: var(--neutral-border);
69
113
  }
70
114
 
71
115
  .edge-thickness-normal {
72
116
  stroke-width: 1px;
73
117
  }
74
118
 
119
+ path.flowchart-link {
120
+ fill: none;
121
+ stroke: var(--neutral-line);
122
+ }
123
+
75
124
  g.cluster div,
125
+ g.cluster span.nodeLabel,
76
126
  g.edgeLabel foreignObject,
77
127
  g.edgeLabel span.edgeLabel,
78
128
  g.label div,
79
129
  g.node div,
80
130
  g.node span.nodeLabel {
131
+ color: var(--neutral-foreground);
132
+
81
133
  font-family: var(--mermaid-font-family);
82
134
  font-size: var(--mermaid-font-size);
83
135
  }
84
136
 
85
- g.node foreignObject.label {
86
- overflow-y: visible;
87
- }
88
-
89
137
  g.edgeLabel foreignObject,
90
- g.label foreignObject {
91
- overflow-x: visible;
92
- scrollbar-width: none;
138
+ g.label foreignObject,
139
+ g.node foreignObject.label {
140
+ overflow: visible;
93
141
  }
94
142
 
95
143
  .edgeLabel span.edgeLabel {
96
144
  background-color: transparent;
97
145
 
98
146
  paint-order: stroke fill;
99
- -webkit-text-stroke-color: #fff;
147
+ -webkit-text-stroke-color: var(--surface-background);
100
148
  -webkit-text-stroke-width: 4px;
101
149
  }
102
150
 
@@ -105,8 +153,8 @@ circle.label-container,
105
153
  .node path,
106
154
  .node polygon,
107
155
  .node rect {
108
- fill: var(--braid-grey-50);
109
- stroke: var(--braid-grey-100);
156
+ fill: var(--neutral-soft-background);
157
+ stroke: var(--neutral-soft-border);
110
158
  }
111
159
 
112
160
  .node div {
@@ -122,12 +170,13 @@ circle.label-container,
122
170
  .edgePath path.path,
123
171
  .edgePaths path.transition {
124
172
  fill: none;
125
- stroke: var(--braid-grey-500);
173
+ stroke: var(--neutral-line);
126
174
  }
127
175
 
128
176
  .edgePath marker path.arrowheadPath,
129
177
  path.arrowMarkerPath {
130
- fill: var(--braid-grey-500);
178
+ fill: var(--neutral-line);
179
+ stroke: var(--neutral-line);
131
180
  }
132
181
 
133
182
  /* gantt */
@@ -138,13 +187,23 @@ rect.task {
138
187
  }
139
188
 
140
189
  g.grid > g.tick > path {
141
- color: var(--braid-grey-100);
190
+ color: var(--neutral-soft-border);
142
191
  shape-rendering: crispEdges;
143
192
  }
144
193
 
145
194
  g.grid > g.tick > text,
146
195
  text.sectionTitle {
147
- fill: var(--braid-grey-500);
196
+ fill: var(--neutral-foreground);
197
+ }
198
+
199
+ g.grid > g.tick > text,
200
+ text.sectionTitle,
201
+ text.taskTextOutside0,
202
+ text.taskTextOutside1 {
203
+ paint-order: stroke fill;
204
+ stroke: var(--surface-background);
205
+ stroke-linejoin: round;
206
+ stroke-width: 4px;
148
207
  }
149
208
 
150
209
  path.section0,
@@ -153,36 +212,36 @@ path.section1 {
153
212
  }
154
213
 
155
214
  rect.task.active0 {
156
- fill: var(--braid-grey-50);
157
- stroke: var(--braid-grey-300);
215
+ fill: var(--neutral-soft-background);
216
+ stroke: var(--neutral-border);
158
217
  }
159
218
 
160
219
  rect.task.active1 {
161
- fill: var(--braid-blue-100);
162
- stroke: var(--braid-blue-300);
220
+ fill: var(--info-background);
221
+ stroke: var(--info-border);
163
222
  }
164
223
 
165
224
  rect.task.done0,
166
225
  rect.task.done1 {
167
- fill: var(--braid-mint-100);
168
- stroke: var(--braid-mint-300);
226
+ fill: var(--positive-background);
227
+ stroke: var(--positive-border);
169
228
  }
170
229
 
171
230
  rect.task.milestone {
172
- fill: var(--braid-blue-700);
173
- stroke: var(--braid-blue-300);
231
+ fill: var(--info-foreground);
232
+ stroke: var(--info-border);
174
233
  }
175
234
 
176
235
  rect.task.milestone.crit0,
177
236
  rect.task.milestone.crit1 {
178
- fill: var(--braid-red-700);
179
- stroke: var(--braid-red-300);
237
+ fill: var(--critical-foreground);
238
+ stroke: var(--critical-border);
180
239
  }
181
240
 
182
241
  rect.task.milestone.done0,
183
242
  rect.task.milestone.done1 {
184
- fill: var(--braid-mint-700);
185
- stroke: var(--braid-mint-300);
243
+ fill: var(--positive-foreground);
244
+ stroke: var(--positive-border);
186
245
  }
187
246
 
188
247
  text.sectionTitle {
@@ -193,7 +252,7 @@ text.sectionTitle {
193
252
  text.taskText.activeText0,
194
253
  text.taskTextOutside0.activeText0,
195
254
  text.taskTextOutside1.activeText0 {
196
- fill: var(--braid-grey-500) !important;
255
+ fill: var(--neutral-foreground) !important;
197
256
  }
198
257
 
199
258
  text.taskText.activeText1,
@@ -201,7 +260,7 @@ text.taskTextOutside0.activeText1,
201
260
  text.taskTextOutside1.activeText1,
202
261
  text.taskTextOutside0.milestoneText,
203
262
  text.taskTextOutside1.milestoneText {
204
- fill: var(--braid-blue-700) !important;
263
+ fill: var(--info-foreground) !important;
205
264
  }
206
265
 
207
266
  text.taskText.doneText0,
@@ -210,59 +269,85 @@ text.taskTextOutside0.doneText0,
210
269
  text.taskTextOutside0.doneText1,
211
270
  text.taskTextOutside1.doneText0,
212
271
  text.taskTextOutside1.doneText1 {
213
- fill: var(--braid-mint-700) !important;
272
+ fill: var(--positive-foreground) !important;
214
273
  }
215
274
 
216
275
  text.taskTextOutside0.milestoneText.critText0,
217
276
  text.taskTextOutside0.milestoneText.critText1,
218
277
  text.taskTextOutside1.milestoneText.critText0,
219
278
  text.taskTextOutside1.milestoneText.critText1 {
220
- fill: var(--braid-red-700) !important;
279
+ fill: var(--critical-foreground) !important;
221
280
  }
222
281
 
223
282
  /* sequence */
224
283
 
284
+ text.actor {
285
+ stroke: none;
286
+ }
287
+
225
288
  text.actor,
226
289
  text.messageText {
227
290
  font-family: var(--mermaid-font-family);
228
291
  font-size: var(--mermaid-font-size);
229
- stroke: none;
230
292
  text-anchor: middle;
231
293
  }
232
294
 
295
+ text.loopText,
296
+ text.messageText {
297
+ paint-order: stroke fill;
298
+ stroke: var(--surface-background);
299
+ stroke-linejoin: round;
300
+ stroke-width: 4px;
301
+ }
302
+
303
+ text.actor > tspan,
304
+ text.labelText,
305
+ text.loopText > tspan,
306
+ text.messageText,
307
+ text.noteText > tspan {
308
+ fill: var(--neutral-foreground);
309
+ }
310
+
233
311
  rect.actor {
234
- fill: var(--braid-grey-50);
312
+ fill: var(--neutral-soft-background);
235
313
 
236
- stroke: var(--braid-grey-100);
314
+ stroke: var(--neutral-soft-border);
237
315
  }
238
316
 
239
317
  text.sequenceNumber {
240
- fill: var(--braid-grey-50);
318
+ fill: var(--neutral-soft-background);
241
319
 
242
320
  font-size: 12px;
243
321
  }
244
322
 
323
+ path.rect {
324
+ fill: var(--neutral-background);
325
+ }
326
+
245
327
  path.labelBox {
246
- fill: var(--braid-yellow-100);
328
+ fill: var(--note-background);
247
329
  }
248
330
 
249
331
  path.labelBox,
250
332
  path.loopLine {
251
- stroke: var(--braid-yellow-500);
333
+ stroke: var(--note-border);
252
334
  stroke-dasharray: none;
253
335
  }
254
336
 
337
+ /* We don't seem to be receiving the `actor-line` class. */
338
+ path[id^='actor'],
255
339
  path.actor-line,
256
340
  path.messageLine0,
341
+ path.messageLine1,
257
342
  path.path {
258
343
  fill: none;
259
- stroke: var(--braid-grey-500);
344
+ stroke: var(--neutral-line);
260
345
  }
261
346
 
262
347
  #arrowhead > path,
263
348
  #crosshead > path,
264
349
  #sequencenumber {
265
- fill: var(--braid-grey-500);
350
+ fill: var(--neutral-line);
266
351
  stroke: none;
267
352
  }
268
353
 
@@ -271,11 +356,11 @@ path.actor-line {
271
356
  }
272
357
 
273
358
  rect.activation0 {
274
- fill: var(--braid-grey-100);
275
- stroke: var(--braid-grey-300);
359
+ fill: var(--neutral-background);
360
+ stroke: var(--neutral-border);
276
361
  }
277
362
 
278
363
  rect.note {
279
- fill: var(--braid-yellow-100);
280
- stroke: var(--braid-yellow-500);
364
+ fill: var(--note-background);
365
+ stroke: var(--note-border);
281
366
  }