@kne/react-flow-chart 0.1.11 → 0.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/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- @keyframes _DGtHa {
1
+ @keyframes kne-react-flow-chart_DGtHa {
2
2
  0% {
3
3
  opacity: 0;
4
4
  }
@@ -6,8 +6,14 @@
6
6
  opacity: 1;
7
7
  }
8
8
  }
9
- ._AIhaC {
10
- background: rgba(0, 0, 0, 0.03);
9
+ .kne-react-flow-chart_Gah47 {
10
+ position: relative;
11
+ width: 100%;
12
+ height: 100%;
13
+ }
14
+
15
+ .kne-react-flow-chart_AIhaC {
16
+ background: #f5f5f5;
11
17
  width: 100%;
12
18
  height: 100%;
13
19
  overflow: hidden;
@@ -15,11 +21,11 @@
15
21
  user-select: none;
16
22
  --node-width: 200px;
17
23
  }
18
- ._AIhaC._qp1e9 {
24
+ .kne-react-flow-chart_AIhaC.kne-react-flow-chart_qp1e9 {
19
25
  overflow: auto;
20
26
  }
21
27
 
22
- ._XZmmG {
28
+ .kne-react-flow-chart_XZmmG {
23
29
  display: flex;
24
30
  align-items: center;
25
31
  padding: 20px;
@@ -29,40 +35,40 @@
29
35
  height: max-content;
30
36
  transform-origin: left top;
31
37
  }
32
- ._XZmmG._q6z6A {
38
+ .kne-react-flow-chart_XZmmG.kne-react-flow-chart_q6z6A {
33
39
  transform-origin: center center;
34
40
  }
35
- ._XZmmG._B4OPa {
41
+ .kne-react-flow-chart_XZmmG.kne-react-flow-chart_B4OPa {
36
42
  flex-direction: column;
37
43
  justify-content: center;
38
44
  }
39
45
 
40
- ._W5dM8 {
46
+ .kne-react-flow-chart_W5dM8 {
41
47
  position: relative;
42
48
  width: 65px;
43
49
  -webkit-user-select: none;
44
50
  user-select: none;
45
51
  }
46
- ._W5dM8._B4OPa {
52
+ .kne-react-flow-chart_W5dM8.kne-react-flow-chart_B4OPa {
47
53
  width: auto;
48
54
  height: 65px;
49
55
  }
50
- ._W5dM8._B4OPa:before {
56
+ .kne-react-flow-chart_W5dM8.kne-react-flow-chart_B4OPa:before {
51
57
  width: 2px;
52
58
  height: 100%;
53
59
  transform: translateX(-50%);
54
60
  }
55
- ._W5dM8._B4OPa._0Cmjn:after {
61
+ .kne-react-flow-chart_W5dM8.kne-react-flow-chart_B4OPa.kne-react-flow-chart_0Cmjn:after {
56
62
  right: auto;
57
63
  bottom: 0;
58
64
  top: auto;
59
- border-top: 10px solid #dedede;
65
+ border-top: 10px solid #d5d9e0;
60
66
  border-left: 6px solid transparent;
61
67
  border-right: 6px solid transparent;
62
68
  border-bottom: none;
63
69
  transform: translateX(-50%);
64
70
  }
65
- ._W5dM8:before {
71
+ .kne-react-flow-chart_W5dM8:before {
66
72
  position: absolute;
67
73
  z-index: 0;
68
74
  top: 0;
@@ -70,14 +76,14 @@
70
76
  transform: translateY(-50%);
71
77
  height: 2px;
72
78
  width: 100%;
73
- background-color: #dedede;
79
+ background-color: #d5d9e0;
74
80
  content: "";
75
81
  }
76
- ._W5dM8._0Cmjn::after {
82
+ .kne-react-flow-chart_W5dM8.kne-react-flow-chart_0Cmjn::after {
77
83
  position: absolute;
78
84
  width: 0;
79
85
  height: 0;
80
- border-left: 10px solid #dedede;
86
+ border-left: 10px solid #d5d9e0;
81
87
  border-top: 6px solid transparent;
82
88
  border-bottom: 6px solid transparent;
83
89
  content: "";
@@ -86,7 +92,7 @@
86
92
  transform: translateY(-50%);
87
93
  }
88
94
 
89
- ._sVaw9 {
95
+ .kne-react-flow-chart_sVaw9 {
90
96
  position: absolute;
91
97
  right: 0;
92
98
  top: 0;
@@ -96,7 +102,7 @@
96
102
  justify-content: center;
97
103
  align-items: center;
98
104
  }
99
- ._sVaw9._B4OPa {
105
+ .kne-react-flow-chart_sVaw9.kne-react-flow-chart_B4OPa {
100
106
  right: auto;
101
107
  top: auto;
102
108
  left: 0;
@@ -105,13 +111,13 @@
105
111
  height: 66px;
106
112
  }
107
113
 
108
- ._Y4-Yv {
114
+ .kne-react-flow-chart_Y4-Yv {
109
115
  position: relative;
110
116
  background: var(--primary-color);
111
- width: 30px;
112
- height: 30px;
117
+ width: 28px;
118
+ height: 28px;
113
119
  border-radius: 50%;
114
- box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
120
+ box-shadow: 0 2px 6px 0 rgba(22, 119, 255, 0.28);
115
121
  display: flex;
116
122
  justify-content: center;
117
123
  align-items: center;
@@ -120,99 +126,136 @@
120
126
  transition: all 0.3s;
121
127
  z-index: 2;
122
128
  }
123
- ._Y4-Yv:hover {
129
+ .kne-react-flow-chart_Y4-Yv:hover {
124
130
  z-index: 3;
125
131
  }
126
- ._Y4-Yv._06DKa {
132
+ .kne-react-flow-chart_Y4-Yv.kne-react-flow-chart_06DKa {
127
133
  transform: scale(0.3);
128
134
  }
129
- ._Y4-Yv._06DKa svg {
135
+ .kne-react-flow-chart_Y4-Yv.kne-react-flow-chart_06DKa svg {
130
136
  transform: scale(0);
131
137
  }
132
- ._Y4-Yv._59XmF {
138
+ .kne-react-flow-chart_Y4-Yv.kne-react-flow-chart_59XmF {
133
139
  transform: scale(1);
134
140
  }
135
- ._Y4-Yv._59XmF svg {
141
+ .kne-react-flow-chart_Y4-Yv.kne-react-flow-chart_59XmF svg {
136
142
  transform: scale(1);
137
143
  }
138
- ._Y4-Yv svg {
144
+ .kne-react-flow-chart_Y4-Yv svg {
139
145
  fill: #fff;
140
- width: 24px;
141
- height: 24px;
146
+ width: 20px;
147
+ height: 20px;
142
148
  transform: scale(0);
143
149
  }
144
150
 
145
- ._6Grsl {
151
+ .kne-react-flow-chart_6Grsl {
146
152
  position: absolute;
147
153
  visibility: hidden;
148
154
  transform: scale(0);
149
155
  transition: all 0.3s;
150
156
  }
151
- ._6Grsl:before, ._6Grsl:after {
157
+ .kne-react-flow-chart_6Grsl:before, .kne-react-flow-chart_6Grsl:after {
152
158
  content: "";
153
159
  position: absolute;
154
160
  top: 0;
155
161
  width: 20px;
156
162
  height: 100%;
157
163
  }
158
- ._6Grsl:before {
164
+ .kne-react-flow-chart_6Grsl:before {
159
165
  left: -20px;
160
166
  }
161
- ._6Grsl:after {
167
+ .kne-react-flow-chart_6Grsl:after {
162
168
  right: -20px;
163
169
  }
164
- ._6Grsl._DGtHa {
170
+ .kne-react-flow-chart_6Grsl.kne-react-flow-chart_DGtHa {
165
171
  visibility: visible;
166
172
  transform: scale(1);
167
173
  }
168
174
 
169
- ._vxlwT {
175
+ .kne-react-flow-chart_vxlwT {
170
176
  position: absolute;
171
- right: 30px;
177
+ right: 12px;
172
178
  top: 12px;
173
179
  z-index: 3;
174
180
  -webkit-user-select: none;
175
181
  user-select: none;
176
182
  }
177
183
 
178
- ._xd3mP {
184
+ .kne-react-flow-chart_xd3mP {
179
185
  display: flex;
180
186
  align-items: center;
187
+ padding: 2px;
188
+ border-radius: 999px;
189
+ background: #fff;
190
+ box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.06), 0 2px 8px 0 rgba(15, 23, 42, 0.06);
181
191
  }
182
192
 
183
- ._IVeCE {
184
- width: 30px;
185
- height: 30px;
186
- background-color: #fff;
187
- box-shadow: 0 1px 5px 0 rgba(10, 30, 65, 0.08);
188
- border-radius: 6px;
193
+ .kne-react-flow-chart_IVeCE {
194
+ width: 26px;
195
+ height: 26px;
196
+ border-radius: 999px;
189
197
  display: flex;
190
198
  justify-content: center;
191
199
  align-items: center;
192
200
  cursor: pointer;
201
+ transition: background 0.15s ease;
193
202
  }
194
- ._IVeCE svg {
195
- width: 20px;
196
- height: 20px;
197
- fill: rgba(0, 0, 0, 0.85);
203
+ .kne-react-flow-chart_IVeCE:hover {
204
+ background: #f5f5f5;
205
+ }
206
+ .kne-react-flow-chart_IVeCE svg {
207
+ width: 12px;
208
+ height: 12px;
209
+ fill: rgba(0, 0, 0, 0.65);
198
210
  }
199
211
 
200
- ._c9-Rl {
201
- width: 50px;
202
- color: rgba(0, 0, 0, 0.85);
203
- font-size: 14px;
212
+ .kne-react-flow-chart_IVeCE.kne-react-flow-chart_-cv3B,
213
+ .kne-react-flow-chart_9Mw3U.kne-react-flow-chart_-cv3B {
214
+ opacity: 0.35;
215
+ cursor: not-allowed;
216
+ pointer-events: none;
217
+ }
218
+
219
+ .kne-react-flow-chart_Nu4nf {
220
+ width: 1px;
221
+ height: 14px;
222
+ margin: 0 2px;
223
+ background: rgba(0, 0, 0, 0.08);
224
+ }
225
+
226
+ .kne-react-flow-chart_9Mw3U {
227
+ height: 26px;
228
+ padding: 0 8px;
229
+ border-radius: 999px;
230
+ display: flex;
231
+ align-items: center;
232
+ color: rgba(0, 0, 0, 0.65);
233
+ font-size: 12px;
234
+ font-variant-numeric: tabular-nums;
235
+ cursor: pointer;
236
+ transition: background 0.15s ease;
237
+ }
238
+ .kne-react-flow-chart_9Mw3U:hover {
239
+ background: #f5f5f5;
240
+ }
241
+
242
+ .kne-react-flow-chart_c9-Rl {
243
+ width: 44px;
244
+ color: rgba(0, 0, 0, 0.65);
245
+ font-size: 12px;
246
+ font-variant-numeric: tabular-nums;
204
247
  text-align: center;
205
248
  }
206
249
 
207
- ._QTtQr {
250
+ .kne-react-flow-chart_QTtQr {
208
251
  position: relative;
209
252
  display: flex;
210
253
  align-items: center;
211
254
  }
212
- ._QTtQr._B4OPa {
255
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa {
213
256
  flex-direction: column;
214
257
  }
215
- ._QTtQr._B4OPa ._9Gq3x {
258
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_9Gq3x {
216
259
  left: 50%;
217
260
  top: -18px;
218
261
  transform: translateX(-50%);
@@ -222,57 +265,57 @@
222
265
  padding-bottom: 0;
223
266
  line-height: 32px;
224
267
  }
225
- ._QTtQr._B4OPa ._MlJIV {
268
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_MlJIV {
226
269
  display: flex;
227
270
  }
228
- ._QTtQr._B4OPa ._4TP17 {
271
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_4TP17 {
229
272
  padding-right: 30px;
230
273
  padding-bottom: 0;
231
274
  }
232
- ._QTtQr._B4OPa ._4TP17:first-of-type > ._Q-b5J {
275
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_4TP17:first-of-type > .kne-react-flow-chart_Q-b5J {
233
276
  left: 50%;
234
277
  width: 50%;
235
278
  height: 2px;
236
279
  top: 0;
237
280
  }
238
- ._QTtQr._B4OPa ._4TP17:first-of-type > ._Q-b5J._n1DDB {
281
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_4TP17:first-of-type > .kne-react-flow-chart_Q-b5J.kne-react-flow-chart_n1DDB {
239
282
  top: 100%;
240
283
  }
241
- ._QTtQr._B4OPa ._4TP17:last-of-type > ._Q-b5J {
284
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_4TP17:last-of-type > .kne-react-flow-chart_Q-b5J {
242
285
  left: 0;
243
286
  width: 50%;
244
287
  height: 2px;
245
288
  top: 0;
246
289
  }
247
- ._QTtQr._B4OPa ._4TP17:last-of-type > ._Q-b5J._n1DDB {
290
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_4TP17:last-of-type > .kne-react-flow-chart_Q-b5J.kne-react-flow-chart_n1DDB {
248
291
  top: 100%;
249
292
  }
250
- ._QTtQr._B4OPa ._Q-b5J {
293
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_Q-b5J {
251
294
  height: 2px;
252
295
  width: 100%;
253
296
  top: 0;
254
297
  left: 0;
255
298
  }
256
- ._QTtQr._B4OPa ._n1DDB {
299
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_n1DDB {
257
300
  left: 0;
258
301
  top: 100%;
259
302
  }
260
- ._QTtQr._B4OPa ._l-p-G {
303
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_l-p-G {
261
304
  height: 30px;
262
305
  width: 2px;
263
306
  top: 0;
264
307
  left: 50%;
265
308
  transform: translateX(-50%);
266
309
  }
267
- ._QTtQr._B4OPa ._MnV8A {
310
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_MnV8A {
268
311
  flex-direction: column;
269
312
  height: 100%;
270
313
  }
271
- ._QTtQr._B4OPa ._ERDNK {
314
+ .kne-react-flow-chart_QTtQr.kne-react-flow-chart_B4OPa .kne-react-flow-chart_ERDNK {
272
315
  width: 2px;
273
316
  }
274
317
 
275
- ._9Gq3x {
318
+ .kne-react-flow-chart_9Gq3x {
276
319
  position: absolute;
277
320
  left: -18px;
278
321
  top: 50%;
@@ -281,78 +324,90 @@
281
324
  width: 36px;
282
325
  display: flex;
283
326
  flex-wrap: wrap;
284
- border: 2px solid #dedede;
327
+ border: 1px solid #d5d9e0;
285
328
  background: #fff;
286
329
  border-radius: 18px;
287
- color: #222;
330
+ color: rgba(0, 0, 0, 0.65);
288
331
  cursor: pointer;
289
332
  font-size: 12px;
333
+ font-weight: 500;
290
334
  padding: 10px;
291
335
  text-align: center;
336
+ box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.06);
337
+ transition: color 0.15s ease, border-color 0.15s ease;
338
+ }
339
+ .kne-react-flow-chart_9Gq3x:hover {
340
+ color: var(--primary-color, #1677ff);
341
+ border-color: var(--primary-color, #1677ff);
292
342
  }
293
343
 
294
- ._4TP17 {
344
+ .kne-react-flow-chart_4TP17 {
295
345
  padding: 30px 0 30px 30px;
296
346
  position: relative;
297
347
  }
298
- ._4TP17:first-of-type > ._Q-b5J {
348
+ .kne-react-flow-chart_4TP17:first-of-type > .kne-react-flow-chart_Q-b5J {
299
349
  top: 50%;
300
350
  height: 50%;
301
351
  }
302
- ._4TP17:last-of-type > ._Q-b5J {
352
+ .kne-react-flow-chart_4TP17:last-of-type > .kne-react-flow-chart_Q-b5J {
303
353
  top: 0;
304
354
  height: 50%;
305
355
  }
306
356
 
307
- ._Q-b5J {
357
+ .kne-react-flow-chart_Q-b5J {
308
358
  position: absolute;
309
359
  height: 100%;
310
360
  width: 2px;
311
361
  left: 0;
312
362
  top: 0;
313
- background-color: #dedede;
363
+ background-color: #d5d9e0;
314
364
  }
315
- ._Q-b5J._n1DDB {
365
+ .kne-react-flow-chart_Q-b5J.kne-react-flow-chart_n1DDB {
316
366
  left: 100%;
317
367
  }
318
368
 
319
- ._l-p-G {
369
+ .kne-react-flow-chart_l-p-G {
320
370
  position: absolute;
321
371
  width: 30px;
322
372
  height: 2px;
323
373
  left: 0;
324
374
  top: 50%;
325
375
  transform: translateY(-50%);
326
- background-color: #dedede;
376
+ background-color: #d5d9e0;
327
377
  }
328
378
 
329
- ._MnV8A {
379
+ .kne-react-flow-chart_MnV8A {
330
380
  display: flex;
331
381
  align-items: center;
332
382
  }
333
383
 
334
- ._ERDNK {
384
+ .kne-react-flow-chart_ERDNK {
335
385
  height: 2px;
336
386
  flex-grow: 1;
337
- background-color: #dedede;
387
+ background-color: #d5d9e0;
338
388
  }
339
389
 
340
- ._I73Kt {
390
+ .kne-react-flow-chart_I73Kt {
341
391
  position: absolute;
342
392
  top: -28px;
343
393
  right: 0;
344
394
  z-index: 2;
345
- background: var(--primary-color);
395
+ background: #fff;
346
396
  width: 24px;
347
397
  height: 24px;
348
- border-radius: 2px;
398
+ border-radius: 999px;
399
+ box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.08), 0 2px 6px 0 rgba(15, 23, 42, 0.08);
349
400
  display: flex;
350
401
  justify-content: center;
351
402
  align-items: center;
352
403
  cursor: pointer;
353
- animation: _DGtHa 1s;
404
+ animation: kne-react-flow-chart_DGtHa 0.2s ease-out;
405
+ transition: background 0.15s ease;
406
+ }
407
+ .kne-react-flow-chart_I73Kt:hover {
408
+ background: #fff1f0;
354
409
  }
355
- ._I73Kt::after {
410
+ .kne-react-flow-chart_I73Kt::after {
356
411
  content: "";
357
412
  position: absolute;
358
413
  width: 100%;
@@ -360,176 +415,240 @@
360
415
  left: 0;
361
416
  bottom: -4px;
362
417
  }
363
- ._I73Kt svg {
364
- fill: #fff;
365
- width: 16px;
366
- height: 16px;
418
+ .kne-react-flow-chart_I73Kt svg {
419
+ fill: #ff4d4f;
420
+ width: 13px;
421
+ height: 13px;
367
422
  }
368
423
 
369
- ._WzQqY {
370
- width: 90px;
371
- height: 40px;
372
- border-radius: 30px;
373
- box-shadow: 0 1px 5px 0 rgba(10, 30, 65, 0.08);
374
- color: #fff;
375
- line-height: 40px;
424
+ .kne-react-flow-chart_WzQqY {
425
+ min-width: 72px;
426
+ height: 32px;
427
+ padding: 0 16px;
428
+ border-radius: 999px;
429
+ background: #ebedf0;
430
+ color: rgba(0, 0, 0, 0.45);
431
+ font-size: 13px;
432
+ line-height: 32px;
376
433
  text-align: center;
377
- background: #6e6e6e;
378
434
  }
379
435
 
380
- ._HGnYM {
436
+ .kne-react-flow-chart_HGnYM {
381
437
  position: relative;
382
438
  }
383
439
 
384
- ._Uf6Nh {
440
+ .kne-react-flow-chart_Uf6Nh {
385
441
  width: var(--node-width);
386
- min-height: 70px;
387
- padding: 5px 10px 8px;
388
- border: 2px solid transparent;
389
- border-radius: 8px;
390
- box-shadow: 0 1px 4px 0 rgba(10, 30, 65, 0.16);
391
- transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
442
+ box-sizing: border-box;
443
+ padding: 10px 12px 12px;
444
+ border: 1px solid transparent;
445
+ border-radius: 12px;
446
+ box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.06), 0 1px 3px 0 rgba(15, 23, 42, 0.04);
447
+ transition: box-shadow 0.15s ease, border-color 0.15s ease;
392
448
  background-color: #fff;
393
449
  cursor: pointer;
394
450
  }
451
+ .kne-react-flow-chart_Uf6Nh:hover {
452
+ border-color: rgba(22, 119, 255, 0.35);
453
+ box-shadow: 0 2px 4px 0 rgba(15, 23, 42, 0.06), 0 6px 16px 0 rgba(15, 23, 42, 0.08);
454
+ }
395
455
 
396
- ._-7Pvj {
456
+ .kne-react-flow-chart_-7Pvj {
397
457
  position: relative;
398
458
  display: flex;
399
459
  align-items: center;
400
- border-radius: 4px 4px 0 0;
460
+ gap: 8px;
401
461
  cursor: pointer;
402
462
  font-size: 14px;
463
+ line-height: 22px;
403
464
  text-align: left;
404
- color: #1f1f1f;
465
+ color: rgba(0, 0, 0, 0.88);
405
466
  font-weight: 600;
406
467
  word-break: break-all;
407
- min-height: 20px;
468
+ min-height: 22px;
408
469
  }
409
470
 
410
- ._leHgE {
471
+ .kne-react-flow-chart_leHgE {
411
472
  display: flex;
412
473
  min-height: 32px;
413
474
  align-items: center;
414
475
  justify-content: space-between;
415
- padding: 4px 8px;
416
- margin-top: 10px;
417
- background: rgba(0, 0, 0, 0.03);
418
- border-radius: 4px;
476
+ gap: 6px;
477
+ padding: 6px 8px 6px 10px;
478
+ margin-top: 8px;
479
+ background: #f7f8fa;
480
+ border-radius: 8px;
419
481
  }
420
482
 
421
- ._Kqf3r {
422
- color: #111f2c;
423
- font-size: 14px;
424
- line-height: 32px;
483
+ .kne-react-flow-chart_Kqf3r {
484
+ flex: 1;
485
+ min-width: 0;
486
+ color: rgba(0, 0, 0, 0.65);
487
+ font-size: 13px;
488
+ line-height: 20px;
425
489
  word-break: break-all;
426
490
  }
427
491
 
428
- ._-RR3K {
429
- width: 20px;
492
+ .kne-react-flow-chart_-RR3K {
493
+ width: 12px;
494
+ height: 12px;
495
+ flex-shrink: 0;
496
+ color: rgba(0, 0, 0, 0.35);
497
+ transition: color 0.15s ease, transform 0.15s ease;
430
498
  }
431
499
 
432
- ._0sM8G {
433
- padding: 12px 8px;
434
- background-color: #000;
435
- border-radius: 4px;
500
+ .kne-react-flow-chart_Uf6Nh:hover .kne-react-flow-chart_-RR3K {
501
+ color: rgba(0, 0, 0, 0.65);
502
+ transform: translateX(2px);
436
503
  }
437
504
 
438
- ._wsgr5 {
505
+ .kne-react-flow-chart_0sM8G {
506
+ width: 280px;
507
+ padding: 6px;
508
+ background: #fff;
509
+ border-radius: 8px;
510
+ box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
511
+ }
512
+
513
+ .kne-react-flow-chart_wsgr5 {
439
514
  width: 100%;
440
- margin-bottom: 12px;
515
+ margin-bottom: 4px;
441
516
  }
442
- ._wsgr5:last-of-type {
517
+ .kne-react-flow-chart_wsgr5:last-of-type {
443
518
  margin-bottom: 0;
444
519
  }
445
520
 
446
- ._ka6d9 {
447
- color: #888;
448
- margin-bottom: 12px;
521
+ .kne-react-flow-chart_ka6d9 {
522
+ padding: 6px 10px 2px;
523
+ color: rgba(0, 0, 0, 0.45);
524
+ font-size: 12px;
525
+ line-height: 18px;
449
526
  }
450
527
 
451
- ._lmTJ8 {
528
+ .kne-react-flow-chart_lmTJ8 {
452
529
  width: 100%;
453
530
  display: flex;
454
- flex-wrap: wrap;
455
- justify-content: space-between;
456
- margin-bottom: -12px;
531
+ flex-direction: column;
532
+ gap: 2px;
457
533
  }
458
534
 
459
- ._4q38j {
535
+ .kne-react-flow-chart_4q38j {
460
536
  display: flex;
461
- width: 136px;
462
- padding: 4px 8px;
463
- border: 1px solid #2e2e2e;
464
- background: #000;
465
- color: #fff;
466
- font-size: 14px;
537
+ align-items: center;
538
+ gap: 10px;
539
+ padding: 6px 10px;
540
+ border: 1px solid transparent;
541
+ border-radius: 6px;
542
+ color: rgba(0, 0, 0, 0.88);
543
+ font-size: 13px;
467
544
  cursor: pointer;
468
- margin-bottom: 12px;
545
+ transition: background 0.2s ease, border-color 0.2s ease;
546
+ }
547
+ .kne-react-flow-chart_4q38j:hover {
548
+ background: #f7fbff;
549
+ border-color: #dbe7ff;
550
+ }
551
+
552
+ .kne-react-flow-chart_LlqNc {
553
+ width: 28px;
554
+ height: 28px;
555
+ border-radius: 8px;
556
+ display: flex;
557
+ align-items: center;
558
+ justify-content: center;
559
+ flex-shrink: 0;
560
+ background: #f1f7ff;
561
+ color: #4183f0;
562
+ font-size: 14px;
563
+ }
564
+
565
+ .kne-react-flow-chart_FP-Sn {
566
+ display: flex;
567
+ flex-direction: column;
568
+ min-width: 0;
469
569
  }
470
- ._4q38j:hover {
471
- border-color: #595959;
472
- background: #3b3b3b;
570
+
571
+ .kne-react-flow-chart_BuYmx {
572
+ font-weight: 600;
573
+ line-height: 18px;
574
+ }
575
+
576
+ .kne-react-flow-chart_yhXFF {
577
+ margin-top: 1px;
578
+ color: #667085;
579
+ font-size: 12px;
580
+ line-height: 16px;
473
581
  }
474
582
 
475
- ._vS7Kd {
583
+ .kne-react-flow-chart_vS7Kd {
476
584
  position: relative;
477
585
  display: flex;
478
586
  flex-shrink: 0;
479
587
  align-items: center;
480
588
  }
481
- ._vS7Kd._B4OPa {
589
+ .kne-react-flow-chart_vS7Kd.kne-react-flow-chart_B4OPa {
482
590
  flex-direction: column;
483
591
  }
484
- ._vS7Kd._B4OPa ._FhjH6 {
592
+ .kne-react-flow-chart_vS7Kd.kne-react-flow-chart_B4OPa .kne-react-flow-chart_FhjH6 {
485
593
  flex-direction: column;
486
594
  }
487
595
 
488
- ._FhjH6 {
596
+ .kne-react-flow-chart_FhjH6 {
489
597
  position: relative;
490
598
  display: flex;
491
599
  align-items: center;
492
600
  }
493
601
 
494
- ._EYYsJ {
602
+ .kne-react-flow-chart_EYYsJ {
495
603
  position: relative;
496
604
  }
497
605
 
498
- ._pydi2 {
606
+ .kne-react-flow-chart_pydi2 {
499
607
  display: flex;
500
608
  align-items: center;
501
609
  }
502
- ._pydi2._B4OPa {
610
+ .kne-react-flow-chart_pydi2.kne-react-flow-chart_B4OPa {
503
611
  flex-direction: column;
504
612
  }
505
613
 
506
- ._u41XY {
507
- width: 90px;
508
- height: 40px;
509
- border-radius: 30px;
510
- box-shadow: 0 1px 5px 0 rgba(10, 30, 65, 0.08);
614
+ .kne-react-flow-chart_u41XY {
615
+ min-width: 72px;
616
+ height: 32px;
617
+ padding: 0 16px;
618
+ border-radius: 999px;
619
+ box-shadow: 0 2px 6px 0 rgba(22, 119, 255, 0.24);
511
620
  color: #fff;
512
- line-height: 40px;
621
+ font-size: 13px;
622
+ font-weight: 500;
623
+ line-height: 32px;
513
624
  text-align: center;
514
- background: #2c2c2c;
625
+ background: var(--primary-color, #1677ff);
515
626
  }
516
627
 
517
- ._MgJlN {
628
+ .kne-react-flow-chart_MgJlN {
518
629
  display: flex;
519
630
  justify-content: space-between;
631
+ align-items: center;
632
+ gap: 8px;
520
633
  width: 100%;
521
634
  }
522
635
 
523
- ._X7-fq {
524
- font-weight: normal;
525
- border: 1px solid #dedede;
526
- background: #fff;
527
- border-radius: 18px;
528
- color: #222;
636
+ .kne-react-flow-chart_X7-fq {
637
+ font-weight: 500;
638
+ border: none;
639
+ background: rgba(0, 0, 0, 0.05);
640
+ border-radius: 999px;
641
+ color: rgba(0, 0, 0, 0.55);
529
642
  cursor: pointer;
530
643
  font-size: 12px;
644
+ line-height: 22px;
531
645
  padding: 0 10px;
532
646
  text-align: center;
533
647
  white-space: nowrap;
648
+ transition: background 0.15s ease, color 0.15s ease;
649
+ }
650
+ .kne-react-flow-chart_X7-fq:hover {
651
+ background: rgba(22, 119, 255, 0.1);
652
+ color: var(--primary-color, #1677ff);
534
653
  }
535
654
  /*# sourceMappingURL=index.css.map */