microboard-ui-temp 0.9.9 → 0.9.10
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/{chunk-dr0g41aw.css → chunk-0xvj525m.css} +40 -20
- package/dist/{chunk-zfnz46n9.js → chunk-4r8btzmr.js} +7 -4
- package/dist/example.html +1 -1
- package/dist/index.css +33 -20
- package/dist/index.html +1 -1
- package/dist/index.js +7 -4
- package/dist/spa.css +40 -20
- package/dist/spa.js +7 -4
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
--icon-base-secondary: #696b76;
|
|
31
31
|
--icon-accent-purple: #924fe8;
|
|
32
32
|
--scrollbar-thumb: #dee1e8;
|
|
33
|
+
--skeleton-shimmer: #ffffff80;
|
|
33
34
|
--absolute-position-panel-padding: 12px;
|
|
34
35
|
}
|
|
35
36
|
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
--icon-base-secondary: #9496a5;
|
|
62
63
|
--icon-accent-purple: #924fe8;
|
|
63
64
|
--scrollbar-thumb: #50525f;
|
|
65
|
+
--skeleton-shimmer: #ffffff0f;
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
* {
|
|
@@ -158,6 +160,11 @@ button[data-variant="secondary"] {
|
|
|
158
160
|
}
|
|
159
161
|
}
|
|
160
162
|
|
|
163
|
+
button[data-variant="secondary"][data-active="true"]:not(:disabled) {
|
|
164
|
+
background-color: var(--background-hover-subtle-strong);
|
|
165
|
+
color: #924fe8;
|
|
166
|
+
}
|
|
167
|
+
|
|
161
168
|
button[data-variant="secondary"]:active:not(:disabled) {
|
|
162
169
|
color: #924fe8;
|
|
163
170
|
}
|
|
@@ -606,6 +613,11 @@ button[data-variant="black"] {
|
|
|
606
613
|
}
|
|
607
614
|
}
|
|
608
615
|
|
|
616
|
+
.secondary_XNHIwg.active_XNHIwg:not([disabled]) {
|
|
617
|
+
background-color: var(--background-hover-subtle-strong);
|
|
618
|
+
color: #924fe8;
|
|
619
|
+
}
|
|
620
|
+
|
|
609
621
|
.secondary_XNHIwg:active:not(:disabled) {
|
|
610
622
|
color: #924fe8;
|
|
611
623
|
outline: 2px solid #c8b2ff80;
|
|
@@ -3193,9 +3205,9 @@ a.link_jFMnzg {
|
|
|
3193
3205
|
|
|
3194
3206
|
/* src/shared/ui-lib/UiSkeleton/UiSkeleton.module.css */
|
|
3195
3207
|
.skeleton_4u5Pcg {
|
|
3208
|
+
background-color: var(--background-badge-gray);
|
|
3196
3209
|
overflow: hidden;
|
|
3197
3210
|
position: relative;
|
|
3198
|
-
background-color: #eee;
|
|
3199
3211
|
border-radius: 4px;
|
|
3200
3212
|
width: 100%;
|
|
3201
3213
|
height: 100%;
|
|
@@ -3205,8 +3217,8 @@ a.link_jFMnzg {
|
|
|
3205
3217
|
content: "";
|
|
3206
3218
|
display: block;
|
|
3207
3219
|
position: absolute;
|
|
3220
|
+
background: linear-gradient(90deg, transparent, var(--skeleton-shimmer), transparent);
|
|
3208
3221
|
animation: loading 1.5s infinite;
|
|
3209
|
-
background: linear-gradient(90deg, #0000, #fff6, #0000);
|
|
3210
3222
|
width: 100%;
|
|
3211
3223
|
height: 100%;
|
|
3212
3224
|
top: 0;
|
|
@@ -6522,19 +6534,19 @@ td.currentTariff_0VfwRg {
|
|
|
6522
6534
|
|
|
6523
6535
|
.icon_9VT5sg {
|
|
6524
6536
|
display: flex;
|
|
6525
|
-
color:
|
|
6537
|
+
color: var(--icon-base-secondary);
|
|
6526
6538
|
justify-content: center;
|
|
6527
6539
|
align-items: center;
|
|
6528
6540
|
}
|
|
6529
6541
|
|
|
6530
6542
|
.item_9VT5sg:disabled, .item_9VT5sg:disabled .icon_9VT5sg {
|
|
6531
|
-
color:
|
|
6543
|
+
color: var(--text-base-quaternary);
|
|
6532
6544
|
cursor: not-allowed;
|
|
6533
6545
|
}
|
|
6534
6546
|
|
|
6535
6547
|
@media (hover: hover) {
|
|
6536
6548
|
.item_9VT5sg:hover:not(:disabled) {
|
|
6537
|
-
background-color:
|
|
6549
|
+
background-color: var(--background-hover-subtle);
|
|
6538
6550
|
}
|
|
6539
6551
|
}
|
|
6540
6552
|
|
|
@@ -8332,7 +8344,7 @@ td.currentTariff_0VfwRg {
|
|
|
8332
8344
|
|
|
8333
8345
|
@media (hover: hover) {
|
|
8334
8346
|
.item_W71HlQ:hover {
|
|
8335
|
-
background:
|
|
8347
|
+
background: var(--background-hover-subtle-strong);
|
|
8336
8348
|
}
|
|
8337
8349
|
}
|
|
8338
8350
|
|
|
@@ -8342,7 +8354,7 @@ td.currentTariff_0VfwRg {
|
|
|
8342
8354
|
}
|
|
8343
8355
|
|
|
8344
8356
|
.hotkey_W71HlQ {
|
|
8345
|
-
color:
|
|
8357
|
+
color: var(--text-base-quaternary);
|
|
8346
8358
|
margin-left: auto;
|
|
8347
8359
|
padding: 0 4px;
|
|
8348
8360
|
font-family: Manrope;
|
|
@@ -8361,7 +8373,7 @@ td.currentTariff_0VfwRg {
|
|
|
8361
8373
|
|
|
8362
8374
|
.hotkey_W71HlQ {
|
|
8363
8375
|
text-wrap: nowrap;
|
|
8364
|
-
color:
|
|
8376
|
+
color: var(--text-base-quaternary);
|
|
8365
8377
|
text-align: right;
|
|
8366
8378
|
}
|
|
8367
8379
|
|
|
@@ -8412,6 +8424,8 @@ td.currentTariff_0VfwRg {
|
|
|
8412
8424
|
.input_0DxcUg {
|
|
8413
8425
|
text-align: center;
|
|
8414
8426
|
outline: none;
|
|
8427
|
+
color: var(--text-base-primary);
|
|
8428
|
+
background: none;
|
|
8415
8429
|
border: none;
|
|
8416
8430
|
max-width: 36px;
|
|
8417
8431
|
height: 100%;
|
|
@@ -8425,7 +8439,7 @@ td.currentTariff_0VfwRg {
|
|
|
8425
8439
|
|
|
8426
8440
|
.input_0DxcUg:not(:focus) {
|
|
8427
8441
|
cursor: pointer;
|
|
8428
|
-
color:
|
|
8442
|
+
color: var(--text-base-primary);
|
|
8429
8443
|
}
|
|
8430
8444
|
|
|
8431
8445
|
.sizeList_0DxcUg {
|
|
@@ -10867,11 +10881,11 @@ input.rename_i3VZwA {
|
|
|
10867
10881
|
}
|
|
10868
10882
|
|
|
10869
10883
|
.cardSilhouette_NAp5GQ {
|
|
10884
|
+
border: 2px dashed var(--border-select-primary);
|
|
10885
|
+
background: var(--background-button-tertiary);
|
|
10870
10886
|
display: flex;
|
|
10871
10887
|
cursor: pointer;
|
|
10872
10888
|
position: relative;
|
|
10873
|
-
background: #faf8ff;
|
|
10874
|
-
border: 2px dashed #b78af0;
|
|
10875
10889
|
border-radius: 12px;
|
|
10876
10890
|
justify-content: center;
|
|
10877
10891
|
align-items: center;
|
|
@@ -10885,7 +10899,7 @@ input.rename_i3VZwA {
|
|
|
10885
10899
|
}
|
|
10886
10900
|
|
|
10887
10901
|
.cardLabel_NAp5GQ {
|
|
10888
|
-
color:
|
|
10902
|
+
color: var(--text-accent-purple);
|
|
10889
10903
|
text-align: center;
|
|
10890
10904
|
pointer-events: none;
|
|
10891
10905
|
font-size: 14px;
|
|
@@ -10900,7 +10914,7 @@ input.rename_i3VZwA {
|
|
|
10900
10914
|
}
|
|
10901
10915
|
|
|
10902
10916
|
.diceLabel_NAp5GQ {
|
|
10903
|
-
color:
|
|
10917
|
+
color: var(--text-accent-purple);
|
|
10904
10918
|
text-align: center;
|
|
10905
10919
|
pointer-events: none;
|
|
10906
10920
|
display: flex;
|
|
@@ -10942,8 +10956,8 @@ input.rename_i3VZwA {
|
|
|
10942
10956
|
cursor: pointer;
|
|
10943
10957
|
display: flex;
|
|
10944
10958
|
position: relative;
|
|
10945
|
-
background:
|
|
10946
|
-
border: 2px dashed
|
|
10959
|
+
background: var(--background-button-tertiary);
|
|
10960
|
+
border: 2px dashed var(--border-select-primary);
|
|
10947
10961
|
border-radius: 8px;
|
|
10948
10962
|
justify-content: center;
|
|
10949
10963
|
align-items: center;
|
|
@@ -10959,9 +10973,9 @@ input.rename_i3VZwA {
|
|
|
10959
10973
|
.addFaceBtn_NAp5GQ {
|
|
10960
10974
|
cursor: pointer;
|
|
10961
10975
|
display: flex;
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10976
|
+
border: 2px dashed var(--border-action-normal);
|
|
10977
|
+
color: var(--icon-base-secondary);
|
|
10978
|
+
background: var(--background-button-tertiary);
|
|
10965
10979
|
border-radius: 8px;
|
|
10966
10980
|
justify-content: center;
|
|
10967
10981
|
align-items: center;
|
|
@@ -12822,8 +12836,14 @@ input.rename_i3VZwA {
|
|
|
12822
12836
|
transform: translateX(-4px);
|
|
12823
12837
|
}
|
|
12824
12838
|
|
|
12825
|
-
.btn_G-DvKg
|
|
12826
|
-
|
|
12839
|
+
.btn_G-DvKg {
|
|
12840
|
+
color: var(--text-base-primary);
|
|
12841
|
+
}
|
|
12842
|
+
|
|
12843
|
+
@media (hover: hover) {
|
|
12844
|
+
.btn_G-DvKg:hover {
|
|
12845
|
+
background-color: var(--background-hover-subtle);
|
|
12846
|
+
}
|
|
12827
12847
|
}
|
|
12828
12848
|
|
|
12829
12849
|
/* src/entities/BoardMenu/MouseOrTracpadModal/MouseOrTracpadModal.module.css */
|
|
@@ -341014,6 +341014,7 @@ var UiButton = import_react30.forwardRef(({
|
|
|
341014
341014
|
return /* @__PURE__ */ import_react30.default.createElement("button", {
|
|
341015
341015
|
id: id2,
|
|
341016
341016
|
"data-variant": variant,
|
|
341017
|
+
"data-active": active || undefined,
|
|
341017
341018
|
className: clsx_default(UiButton_module_default.button, active && UiButton_module_default.active, UiButton_module_default[variant], UiButton_module_default[size2], {
|
|
341018
341019
|
[UiButton_module_default.topRounded]: rounded === "top",
|
|
341019
341020
|
[UiButton_module_default.bottomRounded]: rounded === "bottom",
|
|
@@ -345741,7 +345742,9 @@ function getController(getBoard2, clipboard, account, appSettings) {
|
|
|
345741
345742
|
case 1:
|
|
345742
345743
|
return tools.middleButtonUp();
|
|
345743
345744
|
case 2:
|
|
345744
|
-
board.
|
|
345745
|
+
if (!board.tools.getNavigate()) {
|
|
345746
|
+
board.setIsBoardMenuOpen(true);
|
|
345747
|
+
}
|
|
345745
345748
|
return tools.rightButtonUp();
|
|
345746
345749
|
default:
|
|
345747
345750
|
return tools.leftButtonUp();
|
|
@@ -444246,8 +444249,7 @@ var Comments = () => {
|
|
|
444246
444249
|
}, /* @__PURE__ */ import_react414.default.createElement(Icon, {
|
|
444247
444250
|
iconName: "Comment",
|
|
444248
444251
|
width: 18,
|
|
444249
|
-
height: 18
|
|
444250
|
-
style: { color: "rgba(105, 107, 118, 1)" }
|
|
444252
|
+
height: 18
|
|
444251
444253
|
}), t11("boardMenu.comments.resolveAll"))));
|
|
444252
444254
|
};
|
|
444253
444255
|
|
|
@@ -444538,7 +444540,8 @@ var BoardMenu = () => {
|
|
|
444538
444540
|
import_react418.useEffect(() => {
|
|
444539
444541
|
setIsOpen(board.getIsBoardMenuOpen());
|
|
444540
444542
|
}, [board.getIsBoardMenuOpen()]);
|
|
444541
|
-
|
|
444543
|
+
const isNavigate = Boolean(board.tools.getNavigate());
|
|
444544
|
+
return isOpen && !isNavigate ? /* @__PURE__ */ import_react418.default.createElement(UiPanel, {
|
|
444542
444545
|
onPointerUp: () => shouldUpdatePosition.current = false,
|
|
444543
444546
|
onPointerDown: () => shouldUpdatePosition.current = false,
|
|
444544
444547
|
onClick: () => shouldUpdatePosition.current = false,
|
package/dist/example.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
document.documentElement.setAttribute("data-theme", t);
|
|
45
45
|
})();
|
|
46
46
|
</script>
|
|
47
|
-
<link rel="stylesheet" crossorigin href="/chunk-
|
|
47
|
+
<link rel="stylesheet" crossorigin href="/chunk-0xvj525m.css"><script type="module" crossorigin src="/chunk-4r8btzmr.js"></script></head>
|
|
48
48
|
|
|
49
49
|
<body
|
|
50
50
|
style="
|
package/dist/index.css
CHANGED
|
@@ -371,6 +371,11 @@
|
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
+
.secondary_XNHIwg.active_XNHIwg:not([disabled]) {
|
|
375
|
+
background-color: var(--background-hover-subtle-strong);
|
|
376
|
+
color: #924fe8;
|
|
377
|
+
}
|
|
378
|
+
|
|
374
379
|
.secondary_XNHIwg:active:not(:disabled) {
|
|
375
380
|
color: #924fe8;
|
|
376
381
|
outline: 2px solid #c8b2ff80;
|
|
@@ -2958,9 +2963,9 @@ a.link_jFMnzg {
|
|
|
2958
2963
|
|
|
2959
2964
|
/* src/shared/ui-lib/UiSkeleton/UiSkeleton.module.css */
|
|
2960
2965
|
.skeleton_4u5Pcg {
|
|
2966
|
+
background-color: var(--background-badge-gray);
|
|
2961
2967
|
overflow: hidden;
|
|
2962
2968
|
position: relative;
|
|
2963
|
-
background-color: #eee;
|
|
2964
2969
|
border-radius: 4px;
|
|
2965
2970
|
width: 100%;
|
|
2966
2971
|
height: 100%;
|
|
@@ -2970,8 +2975,8 @@ a.link_jFMnzg {
|
|
|
2970
2975
|
content: "";
|
|
2971
2976
|
display: block;
|
|
2972
2977
|
position: absolute;
|
|
2978
|
+
background: linear-gradient(90deg, transparent, var(--skeleton-shimmer), transparent);
|
|
2973
2979
|
animation: loading 1.5s infinite;
|
|
2974
|
-
background: linear-gradient(90deg, #0000, #fff6, #0000);
|
|
2975
2980
|
width: 100%;
|
|
2976
2981
|
height: 100%;
|
|
2977
2982
|
top: 0;
|
|
@@ -6287,19 +6292,19 @@ td.currentTariff_0VfwRg {
|
|
|
6287
6292
|
|
|
6288
6293
|
.icon_9VT5sg {
|
|
6289
6294
|
display: flex;
|
|
6290
|
-
color:
|
|
6295
|
+
color: var(--icon-base-secondary);
|
|
6291
6296
|
justify-content: center;
|
|
6292
6297
|
align-items: center;
|
|
6293
6298
|
}
|
|
6294
6299
|
|
|
6295
6300
|
.item_9VT5sg:disabled, .item_9VT5sg:disabled .icon_9VT5sg {
|
|
6296
|
-
color:
|
|
6301
|
+
color: var(--text-base-quaternary);
|
|
6297
6302
|
cursor: not-allowed;
|
|
6298
6303
|
}
|
|
6299
6304
|
|
|
6300
6305
|
@media (hover: hover) {
|
|
6301
6306
|
.item_9VT5sg:hover:not(:disabled) {
|
|
6302
|
-
background-color:
|
|
6307
|
+
background-color: var(--background-hover-subtle);
|
|
6303
6308
|
}
|
|
6304
6309
|
}
|
|
6305
6310
|
|
|
@@ -8097,7 +8102,7 @@ td.currentTariff_0VfwRg {
|
|
|
8097
8102
|
|
|
8098
8103
|
@media (hover: hover) {
|
|
8099
8104
|
.item_W71HlQ:hover {
|
|
8100
|
-
background:
|
|
8105
|
+
background: var(--background-hover-subtle-strong);
|
|
8101
8106
|
}
|
|
8102
8107
|
}
|
|
8103
8108
|
|
|
@@ -8107,7 +8112,7 @@ td.currentTariff_0VfwRg {
|
|
|
8107
8112
|
}
|
|
8108
8113
|
|
|
8109
8114
|
.hotkey_W71HlQ {
|
|
8110
|
-
color:
|
|
8115
|
+
color: var(--text-base-quaternary);
|
|
8111
8116
|
margin-left: auto;
|
|
8112
8117
|
padding: 0 4px;
|
|
8113
8118
|
font-family: Manrope;
|
|
@@ -8126,7 +8131,7 @@ td.currentTariff_0VfwRg {
|
|
|
8126
8131
|
|
|
8127
8132
|
.hotkey_W71HlQ {
|
|
8128
8133
|
text-wrap: nowrap;
|
|
8129
|
-
color:
|
|
8134
|
+
color: var(--text-base-quaternary);
|
|
8130
8135
|
text-align: right;
|
|
8131
8136
|
}
|
|
8132
8137
|
|
|
@@ -8177,6 +8182,8 @@ td.currentTariff_0VfwRg {
|
|
|
8177
8182
|
.input_0DxcUg {
|
|
8178
8183
|
text-align: center;
|
|
8179
8184
|
outline: none;
|
|
8185
|
+
color: var(--text-base-primary);
|
|
8186
|
+
background: none;
|
|
8180
8187
|
border: none;
|
|
8181
8188
|
max-width: 36px;
|
|
8182
8189
|
height: 100%;
|
|
@@ -8190,7 +8197,7 @@ td.currentTariff_0VfwRg {
|
|
|
8190
8197
|
|
|
8191
8198
|
.input_0DxcUg:not(:focus) {
|
|
8192
8199
|
cursor: pointer;
|
|
8193
|
-
color:
|
|
8200
|
+
color: var(--text-base-primary);
|
|
8194
8201
|
}
|
|
8195
8202
|
|
|
8196
8203
|
.sizeList_0DxcUg {
|
|
@@ -10632,11 +10639,11 @@ input.rename_i3VZwA {
|
|
|
10632
10639
|
}
|
|
10633
10640
|
|
|
10634
10641
|
.cardSilhouette_NAp5GQ {
|
|
10642
|
+
border: 2px dashed var(--border-select-primary);
|
|
10643
|
+
background: var(--background-button-tertiary);
|
|
10635
10644
|
display: flex;
|
|
10636
10645
|
cursor: pointer;
|
|
10637
10646
|
position: relative;
|
|
10638
|
-
background: #faf8ff;
|
|
10639
|
-
border: 2px dashed #b78af0;
|
|
10640
10647
|
border-radius: 12px;
|
|
10641
10648
|
justify-content: center;
|
|
10642
10649
|
align-items: center;
|
|
@@ -10650,7 +10657,7 @@ input.rename_i3VZwA {
|
|
|
10650
10657
|
}
|
|
10651
10658
|
|
|
10652
10659
|
.cardLabel_NAp5GQ {
|
|
10653
|
-
color:
|
|
10660
|
+
color: var(--text-accent-purple);
|
|
10654
10661
|
text-align: center;
|
|
10655
10662
|
pointer-events: none;
|
|
10656
10663
|
font-size: 14px;
|
|
@@ -10665,7 +10672,7 @@ input.rename_i3VZwA {
|
|
|
10665
10672
|
}
|
|
10666
10673
|
|
|
10667
10674
|
.diceLabel_NAp5GQ {
|
|
10668
|
-
color:
|
|
10675
|
+
color: var(--text-accent-purple);
|
|
10669
10676
|
text-align: center;
|
|
10670
10677
|
pointer-events: none;
|
|
10671
10678
|
display: flex;
|
|
@@ -10707,8 +10714,8 @@ input.rename_i3VZwA {
|
|
|
10707
10714
|
cursor: pointer;
|
|
10708
10715
|
display: flex;
|
|
10709
10716
|
position: relative;
|
|
10710
|
-
background:
|
|
10711
|
-
border: 2px dashed
|
|
10717
|
+
background: var(--background-button-tertiary);
|
|
10718
|
+
border: 2px dashed var(--border-select-primary);
|
|
10712
10719
|
border-radius: 8px;
|
|
10713
10720
|
justify-content: center;
|
|
10714
10721
|
align-items: center;
|
|
@@ -10724,9 +10731,9 @@ input.rename_i3VZwA {
|
|
|
10724
10731
|
.addFaceBtn_NAp5GQ {
|
|
10725
10732
|
cursor: pointer;
|
|
10726
10733
|
display: flex;
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10734
|
+
border: 2px dashed var(--border-action-normal);
|
|
10735
|
+
color: var(--icon-base-secondary);
|
|
10736
|
+
background: var(--background-button-tertiary);
|
|
10730
10737
|
border-radius: 8px;
|
|
10731
10738
|
justify-content: center;
|
|
10732
10739
|
align-items: center;
|
|
@@ -12587,8 +12594,14 @@ input.rename_i3VZwA {
|
|
|
12587
12594
|
transform: translateX(-4px);
|
|
12588
12595
|
}
|
|
12589
12596
|
|
|
12590
|
-
.btn_G-DvKg
|
|
12591
|
-
|
|
12597
|
+
.btn_G-DvKg {
|
|
12598
|
+
color: var(--text-base-primary);
|
|
12599
|
+
}
|
|
12600
|
+
|
|
12601
|
+
@media (hover: hover) {
|
|
12602
|
+
.btn_G-DvKg:hover {
|
|
12603
|
+
background-color: var(--background-hover-subtle);
|
|
12604
|
+
}
|
|
12592
12605
|
}
|
|
12593
12606
|
|
|
12594
12607
|
/* src/entities/BoardMenu/MouseOrTracpadModal/MouseOrTracpadModal.module.css */
|
package/dist/index.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
document.documentElement.setAttribute("data-theme", t);
|
|
45
45
|
})();
|
|
46
46
|
</script>
|
|
47
|
-
<link rel="stylesheet" crossorigin href="/chunk-
|
|
47
|
+
<link rel="stylesheet" crossorigin href="/chunk-0xvj525m.css"><script type="module" crossorigin src="/chunk-4r8btzmr.js"></script></head>
|
|
48
48
|
|
|
49
49
|
<body
|
|
50
50
|
style="
|
package/dist/index.js
CHANGED
|
@@ -341014,6 +341014,7 @@ var UiButton = import_react30.forwardRef(({
|
|
|
341014
341014
|
return /* @__PURE__ */ import_react30.default.createElement("button", {
|
|
341015
341015
|
id: id2,
|
|
341016
341016
|
"data-variant": variant,
|
|
341017
|
+
"data-active": active || undefined,
|
|
341017
341018
|
className: clsx_default(UiButton_module_default.button, active && UiButton_module_default.active, UiButton_module_default[variant], UiButton_module_default[size2], {
|
|
341018
341019
|
[UiButton_module_default.topRounded]: rounded === "top",
|
|
341019
341020
|
[UiButton_module_default.bottomRounded]: rounded === "bottom",
|
|
@@ -345741,7 +345742,9 @@ function getController(getBoard2, clipboard, account, appSettings) {
|
|
|
345741
345742
|
case 1:
|
|
345742
345743
|
return tools.middleButtonUp();
|
|
345743
345744
|
case 2:
|
|
345744
|
-
board.
|
|
345745
|
+
if (!board.tools.getNavigate()) {
|
|
345746
|
+
board.setIsBoardMenuOpen(true);
|
|
345747
|
+
}
|
|
345745
345748
|
return tools.rightButtonUp();
|
|
345746
345749
|
default:
|
|
345747
345750
|
return tools.leftButtonUp();
|
|
@@ -444246,8 +444249,7 @@ var Comments = () => {
|
|
|
444246
444249
|
}, /* @__PURE__ */ import_react414.default.createElement(Icon, {
|
|
444247
444250
|
iconName: "Comment",
|
|
444248
444251
|
width: 18,
|
|
444249
|
-
height: 18
|
|
444250
|
-
style: { color: "rgba(105, 107, 118, 1)" }
|
|
444252
|
+
height: 18
|
|
444251
444253
|
}), t11("boardMenu.comments.resolveAll"))));
|
|
444252
444254
|
};
|
|
444253
444255
|
|
|
@@ -444538,7 +444540,8 @@ var BoardMenu = () => {
|
|
|
444538
444540
|
import_react418.useEffect(() => {
|
|
444539
444541
|
setIsOpen(board.getIsBoardMenuOpen());
|
|
444540
444542
|
}, [board.getIsBoardMenuOpen()]);
|
|
444541
|
-
|
|
444543
|
+
const isNavigate = Boolean(board.tools.getNavigate());
|
|
444544
|
+
return isOpen && !isNavigate ? /* @__PURE__ */ import_react418.default.createElement(UiPanel, {
|
|
444542
444545
|
onPointerUp: () => shouldUpdatePosition.current = false,
|
|
444543
444546
|
onPointerDown: () => shouldUpdatePosition.current = false,
|
|
444544
444547
|
onClick: () => shouldUpdatePosition.current = false,
|
package/dist/spa.css
CHANGED
|
@@ -374,6 +374,11 @@
|
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
+
.secondary_XNHIwg.active_XNHIwg:not([disabled]) {
|
|
378
|
+
background-color: var(--background-hover-subtle-strong);
|
|
379
|
+
color: #924fe8;
|
|
380
|
+
}
|
|
381
|
+
|
|
377
382
|
.secondary_XNHIwg:active:not(:disabled) {
|
|
378
383
|
color: #924fe8;
|
|
379
384
|
outline: 2px solid #c8b2ff80;
|
|
@@ -2961,9 +2966,9 @@ a.link_jFMnzg {
|
|
|
2961
2966
|
|
|
2962
2967
|
/* src/shared/ui-lib/UiSkeleton/UiSkeleton.module.css */
|
|
2963
2968
|
.skeleton_4u5Pcg {
|
|
2969
|
+
background-color: var(--background-badge-gray);
|
|
2964
2970
|
overflow: hidden;
|
|
2965
2971
|
position: relative;
|
|
2966
|
-
background-color: #eee;
|
|
2967
2972
|
border-radius: 4px;
|
|
2968
2973
|
width: 100%;
|
|
2969
2974
|
height: 100%;
|
|
@@ -2973,8 +2978,8 @@ a.link_jFMnzg {
|
|
|
2973
2978
|
content: "";
|
|
2974
2979
|
display: block;
|
|
2975
2980
|
position: absolute;
|
|
2981
|
+
background: linear-gradient(90deg, transparent, var(--skeleton-shimmer), transparent);
|
|
2976
2982
|
animation: loading 1.5s infinite;
|
|
2977
|
-
background: linear-gradient(90deg, #0000, #fff6, #0000);
|
|
2978
2983
|
width: 100%;
|
|
2979
2984
|
height: 100%;
|
|
2980
2985
|
top: 0;
|
|
@@ -6290,19 +6295,19 @@ td.currentTariff_0VfwRg {
|
|
|
6290
6295
|
|
|
6291
6296
|
.icon_9VT5sg {
|
|
6292
6297
|
display: flex;
|
|
6293
|
-
color:
|
|
6298
|
+
color: var(--icon-base-secondary);
|
|
6294
6299
|
justify-content: center;
|
|
6295
6300
|
align-items: center;
|
|
6296
6301
|
}
|
|
6297
6302
|
|
|
6298
6303
|
.item_9VT5sg:disabled, .item_9VT5sg:disabled .icon_9VT5sg {
|
|
6299
|
-
color:
|
|
6304
|
+
color: var(--text-base-quaternary);
|
|
6300
6305
|
cursor: not-allowed;
|
|
6301
6306
|
}
|
|
6302
6307
|
|
|
6303
6308
|
@media (hover: hover) {
|
|
6304
6309
|
.item_9VT5sg:hover:not(:disabled) {
|
|
6305
|
-
background-color:
|
|
6310
|
+
background-color: var(--background-hover-subtle);
|
|
6306
6311
|
}
|
|
6307
6312
|
}
|
|
6308
6313
|
|
|
@@ -8100,7 +8105,7 @@ td.currentTariff_0VfwRg {
|
|
|
8100
8105
|
|
|
8101
8106
|
@media (hover: hover) {
|
|
8102
8107
|
.item_W71HlQ:hover {
|
|
8103
|
-
background:
|
|
8108
|
+
background: var(--background-hover-subtle-strong);
|
|
8104
8109
|
}
|
|
8105
8110
|
}
|
|
8106
8111
|
|
|
@@ -8110,7 +8115,7 @@ td.currentTariff_0VfwRg {
|
|
|
8110
8115
|
}
|
|
8111
8116
|
|
|
8112
8117
|
.hotkey_W71HlQ {
|
|
8113
|
-
color:
|
|
8118
|
+
color: var(--text-base-quaternary);
|
|
8114
8119
|
margin-left: auto;
|
|
8115
8120
|
padding: 0 4px;
|
|
8116
8121
|
font-family: Manrope;
|
|
@@ -8129,7 +8134,7 @@ td.currentTariff_0VfwRg {
|
|
|
8129
8134
|
|
|
8130
8135
|
.hotkey_W71HlQ {
|
|
8131
8136
|
text-wrap: nowrap;
|
|
8132
|
-
color:
|
|
8137
|
+
color: var(--text-base-quaternary);
|
|
8133
8138
|
text-align: right;
|
|
8134
8139
|
}
|
|
8135
8140
|
|
|
@@ -8180,6 +8185,8 @@ td.currentTariff_0VfwRg {
|
|
|
8180
8185
|
.input_0DxcUg {
|
|
8181
8186
|
text-align: center;
|
|
8182
8187
|
outline: none;
|
|
8188
|
+
color: var(--text-base-primary);
|
|
8189
|
+
background: none;
|
|
8183
8190
|
border: none;
|
|
8184
8191
|
max-width: 36px;
|
|
8185
8192
|
height: 100%;
|
|
@@ -8193,7 +8200,7 @@ td.currentTariff_0VfwRg {
|
|
|
8193
8200
|
|
|
8194
8201
|
.input_0DxcUg:not(:focus) {
|
|
8195
8202
|
cursor: pointer;
|
|
8196
|
-
color:
|
|
8203
|
+
color: var(--text-base-primary);
|
|
8197
8204
|
}
|
|
8198
8205
|
|
|
8199
8206
|
.sizeList_0DxcUg {
|
|
@@ -10635,11 +10642,11 @@ input.rename_i3VZwA {
|
|
|
10635
10642
|
}
|
|
10636
10643
|
|
|
10637
10644
|
.cardSilhouette_NAp5GQ {
|
|
10645
|
+
border: 2px dashed var(--border-select-primary);
|
|
10646
|
+
background: var(--background-button-tertiary);
|
|
10638
10647
|
display: flex;
|
|
10639
10648
|
cursor: pointer;
|
|
10640
10649
|
position: relative;
|
|
10641
|
-
background: #faf8ff;
|
|
10642
|
-
border: 2px dashed #b78af0;
|
|
10643
10650
|
border-radius: 12px;
|
|
10644
10651
|
justify-content: center;
|
|
10645
10652
|
align-items: center;
|
|
@@ -10653,7 +10660,7 @@ input.rename_i3VZwA {
|
|
|
10653
10660
|
}
|
|
10654
10661
|
|
|
10655
10662
|
.cardLabel_NAp5GQ {
|
|
10656
|
-
color:
|
|
10663
|
+
color: var(--text-accent-purple);
|
|
10657
10664
|
text-align: center;
|
|
10658
10665
|
pointer-events: none;
|
|
10659
10666
|
font-size: 14px;
|
|
@@ -10668,7 +10675,7 @@ input.rename_i3VZwA {
|
|
|
10668
10675
|
}
|
|
10669
10676
|
|
|
10670
10677
|
.diceLabel_NAp5GQ {
|
|
10671
|
-
color:
|
|
10678
|
+
color: var(--text-accent-purple);
|
|
10672
10679
|
text-align: center;
|
|
10673
10680
|
pointer-events: none;
|
|
10674
10681
|
display: flex;
|
|
@@ -10710,8 +10717,8 @@ input.rename_i3VZwA {
|
|
|
10710
10717
|
cursor: pointer;
|
|
10711
10718
|
display: flex;
|
|
10712
10719
|
position: relative;
|
|
10713
|
-
background:
|
|
10714
|
-
border: 2px dashed
|
|
10720
|
+
background: var(--background-button-tertiary);
|
|
10721
|
+
border: 2px dashed var(--border-select-primary);
|
|
10715
10722
|
border-radius: 8px;
|
|
10716
10723
|
justify-content: center;
|
|
10717
10724
|
align-items: center;
|
|
@@ -10727,9 +10734,9 @@ input.rename_i3VZwA {
|
|
|
10727
10734
|
.addFaceBtn_NAp5GQ {
|
|
10728
10735
|
cursor: pointer;
|
|
10729
10736
|
display: flex;
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10737
|
+
border: 2px dashed var(--border-action-normal);
|
|
10738
|
+
color: var(--icon-base-secondary);
|
|
10739
|
+
background: var(--background-button-tertiary);
|
|
10733
10740
|
border-radius: 8px;
|
|
10734
10741
|
justify-content: center;
|
|
10735
10742
|
align-items: center;
|
|
@@ -12590,8 +12597,14 @@ input.rename_i3VZwA {
|
|
|
12590
12597
|
transform: translateX(-4px);
|
|
12591
12598
|
}
|
|
12592
12599
|
|
|
12593
|
-
.btn_G-DvKg
|
|
12594
|
-
|
|
12600
|
+
.btn_G-DvKg {
|
|
12601
|
+
color: var(--text-base-primary);
|
|
12602
|
+
}
|
|
12603
|
+
|
|
12604
|
+
@media (hover: hover) {
|
|
12605
|
+
.btn_G-DvKg:hover {
|
|
12606
|
+
background-color: var(--background-hover-subtle);
|
|
12607
|
+
}
|
|
12595
12608
|
}
|
|
12596
12609
|
|
|
12597
12610
|
/* src/entities/BoardMenu/MouseOrTracpadModal/MouseOrTracpadModal.module.css */
|
|
@@ -14551,6 +14564,7 @@ audio::-webkit-media-controls-enclosure {
|
|
|
14551
14564
|
--icon-base-secondary: #696b76;
|
|
14552
14565
|
--icon-accent-purple: #924fe8;
|
|
14553
14566
|
--scrollbar-thumb: #dee1e8;
|
|
14567
|
+
--skeleton-shimmer: #ffffff80;
|
|
14554
14568
|
--absolute-position-panel-padding: 12px;
|
|
14555
14569
|
}
|
|
14556
14570
|
|
|
@@ -14582,6 +14596,7 @@ audio::-webkit-media-controls-enclosure {
|
|
|
14582
14596
|
--icon-base-secondary: #9496a5;
|
|
14583
14597
|
--icon-accent-purple: #924fe8;
|
|
14584
14598
|
--scrollbar-thumb: #50525f;
|
|
14599
|
+
--skeleton-shimmer: #ffffff0f;
|
|
14585
14600
|
}
|
|
14586
14601
|
|
|
14587
14602
|
* {
|
|
@@ -14679,6 +14694,11 @@ button[data-variant="secondary"] {
|
|
|
14679
14694
|
}
|
|
14680
14695
|
}
|
|
14681
14696
|
|
|
14697
|
+
button[data-variant="secondary"][data-active="true"]:not(:disabled) {
|
|
14698
|
+
background-color: var(--background-hover-subtle-strong);
|
|
14699
|
+
color: #924fe8;
|
|
14700
|
+
}
|
|
14701
|
+
|
|
14682
14702
|
button[data-variant="secondary"]:active:not(:disabled) {
|
|
14683
14703
|
color: #924fe8;
|
|
14684
14704
|
}
|
package/dist/spa.js
CHANGED
|
@@ -341014,6 +341014,7 @@ var UiButton = import_react30.forwardRef(({
|
|
|
341014
341014
|
return /* @__PURE__ */ import_react30.default.createElement("button", {
|
|
341015
341015
|
id: id2,
|
|
341016
341016
|
"data-variant": variant,
|
|
341017
|
+
"data-active": active || undefined,
|
|
341017
341018
|
className: clsx_default(UiButton_module_default.button, active && UiButton_module_default.active, UiButton_module_default[variant], UiButton_module_default[size2], {
|
|
341018
341019
|
[UiButton_module_default.topRounded]: rounded === "top",
|
|
341019
341020
|
[UiButton_module_default.bottomRounded]: rounded === "bottom",
|
|
@@ -345741,7 +345742,9 @@ function getController(getBoard2, clipboard, account, appSettings) {
|
|
|
345741
345742
|
case 1:
|
|
345742
345743
|
return tools.middleButtonUp();
|
|
345743
345744
|
case 2:
|
|
345744
|
-
board.
|
|
345745
|
+
if (!board.tools.getNavigate()) {
|
|
345746
|
+
board.setIsBoardMenuOpen(true);
|
|
345747
|
+
}
|
|
345745
345748
|
return tools.rightButtonUp();
|
|
345746
345749
|
default:
|
|
345747
345750
|
return tools.leftButtonUp();
|
|
@@ -444246,8 +444249,7 @@ var Comments = () => {
|
|
|
444246
444249
|
}, /* @__PURE__ */ import_react414.default.createElement(Icon, {
|
|
444247
444250
|
iconName: "Comment",
|
|
444248
444251
|
width: 18,
|
|
444249
|
-
height: 18
|
|
444250
|
-
style: { color: "rgba(105, 107, 118, 1)" }
|
|
444252
|
+
height: 18
|
|
444251
444253
|
}), t11("boardMenu.comments.resolveAll"))));
|
|
444252
444254
|
};
|
|
444253
444255
|
|
|
@@ -444538,7 +444540,8 @@ var BoardMenu = () => {
|
|
|
444538
444540
|
import_react418.useEffect(() => {
|
|
444539
444541
|
setIsOpen(board.getIsBoardMenuOpen());
|
|
444540
444542
|
}, [board.getIsBoardMenuOpen()]);
|
|
444541
|
-
|
|
444543
|
+
const isNavigate = Boolean(board.tools.getNavigate());
|
|
444544
|
+
return isOpen && !isNavigate ? /* @__PURE__ */ import_react418.default.createElement(UiPanel, {
|
|
444542
444545
|
onPointerUp: () => shouldUpdatePosition.current = false,
|
|
444543
444546
|
onPointerDown: () => shouldUpdatePosition.current = false,
|
|
444544
444547
|
onClick: () => shouldUpdatePosition.current = false,
|