microboard-ui-temp 0.1.169 → 0.2.1

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 (35) hide show
  1. package/dist/_redirects +1 -0
  2. package/dist/{chunk-g9f7dzez.js → chunk-5spq6dt9.js} +74448 -74171
  3. package/dist/{chunk-d2kcyv9d.css → chunk-mg3xye07.css} +358 -206
  4. package/dist/env.js +5 -0
  5. package/dist/example.html +2 -2
  6. package/dist/index.css +358 -206
  7. package/dist/index.html +96 -0
  8. package/dist/index.js +74448 -74171
  9. package/dist/spa.css +358 -206
  10. package/dist/spa.js +74448 -74171
  11. package/dist/titlePanel.js +21 -8
  12. package/dist/types/App/Connection.d.ts +11 -15
  13. package/dist/types/App/Storage.d.ts +2 -0
  14. package/dist/types/entities/comments/Thread/message/Message.d.ts +1 -1
  15. package/dist/types/entities/comments/{useScrollToUnreadMessage.d.ts → hooks/useScrollToUnreadMessage.d.ts} +2 -1
  16. package/dist/types/entities/comments/index.d.ts +1 -1
  17. package/dist/types/features/BoardItemsPanel/BoardItemsPanel.d.ts +2 -0
  18. package/dist/types/features/BoardItemsPanel/BoardItemsPanelContext.d.ts +11 -0
  19. package/dist/types/features/BoardItemsPanel/index.d.ts +2 -0
  20. package/dist/types/features/SidePanel/BoardItemsList.d.ts +6 -0
  21. package/dist/types/features/Templates/SelectTemplateModal/TemplateItemPreview/TemplateItemPreview.d.ts +3 -8
  22. package/dist/types/features/Templates/SelectTemplateModal/TemplateItemsGrid/TemplateItem/TemplateItem.d.ts +1 -1
  23. package/dist/types/features/Templates/SelectTemplateModal/TemplateItemsGrid/TemplateItemsGrid.d.ts +1 -1
  24. package/dist/types/features/Templates/lib.d.ts +1 -0
  25. package/dist/types/features/Templates/types.d.ts +8 -0
  26. package/dist/types/pages/TemplateBoardPage.d.ts +2 -0
  27. package/dist/types/shared/Lang/index.d.ts +2 -0
  28. package/dist/types/shared/api/base/base.d.ts +1 -0
  29. package/dist/types/shared/api/billing/types.d.ts +2 -2
  30. package/dist/types/shared/api/users/api.d.ts +3 -1
  31. package/dist/types/shared/lib/useHotkey.d.ts +8 -0
  32. package/package.json +8 -3
  33. /package/dist/types/entities/comments/{useCommentsMerge.d.ts → hooks/useCommentsMerge.d.ts} +0 -0
  34. /package/dist/types/entities/comments/{useIntersectionObserver.d.ts → hooks/useIntersectionObserver.d.ts} +0 -0
  35. /package/dist/types/{entities/comments → shared/date}/lib.d.ts +0 -0
@@ -229,6 +229,150 @@ input:-webkit-autofill:active {
229
229
  margin: 0 10px;
230
230
  }
231
231
 
232
+ /* src/entities/account/AuthForm.module.css */
233
+ .wrapper_nFyDWw {
234
+ display: flex;
235
+ background-color: #fff;
236
+ flex-direction: column;
237
+ justify-content: center;
238
+ align-items: stretch;
239
+ width: 100%;
240
+ height: 100%;
241
+ }
242
+
243
+ .form_nFyDWw {
244
+ box-sizing: border-box;
245
+ display: flex;
246
+ border-radius: 8px;
247
+ flex-direction: column;
248
+ gap: 16px;
249
+ width: 100%;
250
+ }
251
+
252
+ .link_nFyDWw {
253
+ text-decoration: none;
254
+ color: #6c7173;
255
+ display: flex;
256
+ justify-content: center;
257
+ align-self: flex-start;
258
+ width: 100%;
259
+ margin-top: 10px;
260
+ font-family: Manrope, Arial;
261
+ font-size: 14px;
262
+ font-weight: 600;
263
+ }
264
+
265
+ .link_nFyDWw:hover {
266
+ text-decoration: underline;
267
+ }
268
+
269
+ .link_nFyDWw:visited {
270
+ color: #6c7173;
271
+ }
272
+
273
+ .title_nFyDWw {
274
+ text-align: center;
275
+ margin-bottom: 32px;
276
+ font-family: Manrope, Arial;
277
+ font-weight: 600;
278
+ }
279
+
280
+ .error_nFyDWw {
281
+ color: red;
282
+ }
283
+
284
+ .button_nFyDWw {
285
+ color: #fff;
286
+ cursor: pointer;
287
+ outline-color: #0000;
288
+ box-sizing: border-box;
289
+ display: flex;
290
+ background-color: #14151a;
291
+ border: 1px solid #14151a;
292
+ border-radius: 12px;
293
+ justify-content: center;
294
+ align-items: center;
295
+ gap: 8px;
296
+ width: 100%;
297
+ height: 40px;
298
+ margin-top: 32px;
299
+ font-family: Manrope, Arial;
300
+ font-size: 14px;
301
+ font-weight: 500;
302
+ }
303
+
304
+ .button_nFyDWw:disabled {
305
+ color: #0a0f2940;
306
+ background-color: #e9eaec;
307
+ border-color: #e9eaec;
308
+ }
309
+
310
+ .button_nFyDWw:disabled:hover {
311
+ cursor: not-allowed;
312
+ color: #0a0f2940;
313
+ background-color: #e9eaec;
314
+ border-color: #e9eaec;
315
+ }
316
+
317
+ .button_nFyDWw:active {
318
+ outline: 2px solid #c8b2ff80;
319
+ }
320
+
321
+ .button_nFyDWw:hover {
322
+ background-color: #1f2228;
323
+ }
324
+
325
+ .forgot_nFyDWw {
326
+ font-weight: 600 !important;
327
+ }
328
+
329
+ .btns_nFyDWw {
330
+ display: flex;
331
+ flex-direction: column;
332
+ align-items: center;
333
+ gap: 12px;
334
+ width: 100%;
335
+ margin-top: 16px;
336
+ }
337
+
338
+ .anotherBtns_nFyDWw {
339
+ display: flex;
340
+ flex-direction: column;
341
+ gap: 16px;
342
+ width: 100%;
343
+ margin: 0 0 40px;
344
+ }
345
+
346
+ @media screen and (max-width: 640px) {
347
+ .title_nFyDWw {
348
+ margin-bottom: 8px;
349
+ }
350
+
351
+ .policy_nFyDWw {
352
+ text-align: center;
353
+ margin-bottom: 20px;
354
+ font-size: 14px;
355
+ }
356
+
357
+ .policyLink_nFyDWw {
358
+ text-decoration: none;
359
+ }
360
+
361
+ .policyLink_nFyDWw:after {
362
+ content: "";
363
+ position: absolute;
364
+ background-color: #0000;
365
+ width: 100%;
366
+ height: 2px;
367
+ bottom: -3px;
368
+ left: 0;
369
+ }
370
+
371
+ .btns_nFyDWw {
372
+ margin-top: 8px;
373
+ }
374
+ }
375
+
232
376
  /* src/shared/ui-lib/UiButton/UiButton.module.css */
233
377
  .default_XNHIwg {
234
378
  --background-color: #924fe8;
@@ -862,159 +1006,6 @@ input:-webkit-autofill:active {
862
1006
  }
863
1007
  }
864
1008
 
865
- /* src/features/WalletLoginButton/WalletLoginButton.module.css */
866
- .btn_JyYbVQ {
867
- position: relative;
868
- width: 100%;
869
- max-width: 252px;
870
- margin: 0 auto;
871
- font-weight: 500;
872
- }
873
-
874
- /* src/entities/account/AuthForm.module.css */
875
- .wrapper_nFyDWw {
876
- display: flex;
877
- background-color: #fff;
878
- flex-direction: column;
879
- justify-content: center;
880
- align-items: stretch;
881
- width: 100%;
882
- height: 100%;
883
- }
884
-
885
- .form_nFyDWw {
886
- box-sizing: border-box;
887
- display: flex;
888
- border-radius: 8px;
889
- flex-direction: column;
890
- gap: 16px;
891
- width: 100%;
892
- }
893
-
894
- .link_nFyDWw {
895
- text-decoration: none;
896
- color: #6c7173;
897
- display: flex;
898
- justify-content: center;
899
- align-self: flex-start;
900
- width: 100%;
901
- margin-top: 10px;
902
- font-family: Manrope, Arial;
903
- font-size: 14px;
904
- font-weight: 600;
905
- }
906
-
907
- .link_nFyDWw:hover {
908
- text-decoration: underline;
909
- }
910
-
911
- .link_nFyDWw:visited {
912
- color: #6c7173;
913
- }
914
-
915
- .title_nFyDWw {
916
- text-align: center;
917
- margin-bottom: 32px;
918
- font-family: Manrope, Arial;
919
- font-weight: 600;
920
- }
921
-
922
- .error_nFyDWw {
923
- color: red;
924
- }
925
-
926
- .button_nFyDWw {
927
- color: #fff;
928
- cursor: pointer;
929
- outline-color: #0000;
930
- box-sizing: border-box;
931
- display: flex;
932
- background-color: #14151a;
933
- border: 1px solid #14151a;
934
- border-radius: 12px;
935
- justify-content: center;
936
- align-items: center;
937
- gap: 8px;
938
- width: 100%;
939
- height: 40px;
940
- margin-top: 32px;
941
- font-family: Manrope, Arial;
942
- font-size: 14px;
943
- font-weight: 500;
944
- }
945
-
946
- .button_nFyDWw:disabled {
947
- color: #0a0f2940;
948
- background-color: #e9eaec;
949
- border-color: #e9eaec;
950
- }
951
-
952
- .button_nFyDWw:disabled:hover {
953
- cursor: not-allowed;
954
- color: #0a0f2940;
955
- background-color: #e9eaec;
956
- border-color: #e9eaec;
957
- }
958
-
959
- .button_nFyDWw:active {
960
- outline: 2px solid #c8b2ff80;
961
- }
962
-
963
- .button_nFyDWw:hover {
964
- background-color: #1f2228;
965
- }
966
-
967
- .forgot_nFyDWw {
968
- font-weight: 600 !important;
969
- }
970
-
971
- .btns_nFyDWw {
972
- display: flex;
973
- flex-direction: column;
974
- align-items: center;
975
- gap: 12px;
976
- width: 100%;
977
- margin-top: 16px;
978
- }
979
-
980
- .anotherBtns_nFyDWw {
981
- display: flex;
982
- flex-direction: column;
983
- gap: 16px;
984
- width: 100%;
985
- margin: 0 0 40px;
986
- }
987
-
988
- @media screen and (max-width: 640px) {
989
- .title_nFyDWw {
990
- margin-bottom: 8px;
991
- }
992
-
993
- .policy_nFyDWw {
994
- text-align: center;
995
- margin-bottom: 20px;
996
- font-size: 14px;
997
- }
998
-
999
- .policyLink_nFyDWw {
1000
- text-decoration: none;
1001
- }
1002
-
1003
- .policyLink_nFyDWw:after {
1004
- content: "";
1005
- position: absolute;
1006
- background-color: #0000;
1007
- width: 100%;
1008
- height: 2px;
1009
- bottom: -3px;
1010
- left: 0;
1011
- }
1012
-
1013
- .btns_nFyDWw {
1014
- margin-top: 8px;
1015
- }
1016
- }
1017
-
1018
1009
  /* src/features/ImportMiro/AuthClipboardModal/AuthClipboardModal.module.css */
1019
1010
  .modal_PX-HyA {
1020
1011
  width: 100%;
@@ -8705,56 +8696,6 @@ td.currentTariff_0VfwRg {
8705
8696
  color: #0a0f2940;
8706
8697
  }
8707
8698
 
8708
- /* src/features/LandingMenu/LandingMenu.module.css */
8709
- .menuPanel_N49qJQ {
8710
- position: absolute;
8711
- overflow: hidden;
8712
- border-radius: 900px;
8713
- top: 12px;
8714
- left: 50%;
8715
- transform: translateX(-50%);
8716
- }
8717
-
8718
- .link_N49qJQ {
8719
- background: linear-gradient(270deg, #944fe7 0%, #a347e7 24.15%, #b240e7 66.97%, #c239e7 100%);
8720
- -webkit-text-fill-color: transparent;
8721
- overflow: hidden;
8722
- white-space: nowrap;
8723
- -webkit-background-clip: text;
8724
- background-clip: text;
8725
- padding-left: 18px;
8726
- padding-right: 18px;
8727
- font-size: 16px;
8728
- font-weight: 500;
8729
- }
8730
-
8731
- .linksWrapper_N49qJQ {
8732
- display: flex;
8733
- align-items: center;
8734
- max-width: 0;
8735
- transition: max-width .3s ease-in-out;
8736
- }
8737
-
8738
- .open_N49qJQ .linksWrapper_N49qJQ {
8739
- max-width: 999px;
8740
- }
8741
-
8742
- .menuPanel_N49qJQ:not(.open_N49qJQ) .openBtn_N49qJQ {
8743
- --padding: 12px 24px;
8744
- }
8745
-
8746
- @media screen and (max-width: 1620px) {
8747
- .menuPanel_N49qJQ {
8748
- transform: translateX(-24%);
8749
- }
8750
- }
8751
-
8752
- @media screen and (max-width: 1360px) {
8753
- .menuPanel_N49qJQ {
8754
- display: none;
8755
- }
8756
- }
8757
-
8758
8699
  /* src/features/LandingMenu/MobileLandingMenu.module.css */
8759
8700
  .mobileLandingMenuWrapper_e5mELA {
8760
8701
  position: absolute;
@@ -8944,12 +8885,200 @@ td.currentTariff_0VfwRg {
8944
8885
  transform: scale(3);
8945
8886
  }
8946
8887
 
8888
+ /* src/features/SidePanel/BoardItemsList.module.css */
8889
+ .list_Jwe-NQ {
8890
+ display: flex;
8891
+ overflow-y: auto;
8892
+ flex-direction: column;
8893
+ flex: 1 1 0;
8894
+ padding: 2px 0 6px;
8895
+ }
8896
+
8897
+ .list_Jwe-NQ::-webkit-scrollbar {
8898
+ width: 4px;
8899
+ }
8900
+
8901
+ .list_Jwe-NQ::-webkit-scrollbar-thumb {
8902
+ background-color: #dee1e8;
8903
+ border-radius: 2px;
8904
+ }
8905
+
8906
+ .row_Jwe-NQ {
8907
+ display: flex;
8908
+ align-items: center;
8909
+ gap: 2px;
8910
+ padding-right: 4px;
8911
+ }
8912
+
8913
+ .item_Jwe-NQ {
8914
+ display: flex;
8915
+ color: var(--text-base-primary);
8916
+ cursor: pointer;
8917
+ text-align: left;
8918
+ overflow: hidden;
8919
+ background: none;
8920
+ border: none;
8921
+ border-radius: 5px;
8922
+ flex: 1;
8923
+ align-items: center;
8924
+ gap: 5px;
8925
+ min-width: 0;
8926
+ padding: 3px 4px;
8927
+ font-family: Manrope, sans-serif;
8928
+ font-size: 12px;
8929
+ }
8930
+
8931
+ .chevronBtn_Jwe-NQ {
8932
+ display: flex;
8933
+ cursor: pointer;
8934
+ color: var(--text-base-secondary, #888);
8935
+ background: none;
8936
+ border: none;
8937
+ border-radius: 3px;
8938
+ flex-shrink: 0;
8939
+ justify-content: center;
8940
+ align-items: center;
8941
+ width: 20px;
8942
+ height: 20px;
8943
+ padding: 0;
8944
+ }
8945
+
8946
+ .chevronBtn_Jwe-NQ:hover, .item_Jwe-NQ:hover {
8947
+ background-color: var(--bg-action-secondary-hover, #0000000d);
8948
+ }
8949
+
8950
+ .typeIcon_Jwe-NQ {
8951
+ opacity: .55;
8952
+ flex-shrink: 0;
8953
+ }
8954
+
8955
+ .label_Jwe-NQ {
8956
+ overflow: hidden;
8957
+ text-overflow: ellipsis;
8958
+ white-space: nowrap;
8959
+ }
8960
+
8961
+ .empty_Jwe-NQ {
8962
+ color: var(--text-base-secondary, #888);
8963
+ padding: 4px 8px 6px 28px;
8964
+ font-family: Manrope, sans-serif;
8965
+ font-size: 12px;
8966
+ }
8967
+
8968
+ .highlight_Jwe-NQ {
8969
+ color: inherit;
8970
+ background-color: #924fe833;
8971
+ border-radius: 2px;
8972
+ }
8973
+
8974
+ /* src/features/BoardItemsPanel/BoardItemsPanel.module.css */
8975
+ .panel_8tFAuw {
8976
+ overflow: hidden;
8977
+ box-shadow: none;
8978
+ position: relative;
8979
+ display: flex;
8980
+ border: none;
8981
+ flex-direction: column;
8982
+ align-items: stretch;
8983
+ width: 0;
8984
+ margin-left: 0;
8985
+ transition: width .3s, max-width .3s, min-width .3s;
8986
+ }
8987
+
8988
+ .panel_8tFAuw.open_8tFAuw {
8989
+ visibility: visible;
8990
+ border: 1px solid var(--border-action-normal);
8991
+ width: 260px;
8992
+ min-width: 180px;
8993
+ max-width: 35dvw;
8994
+ margin-left: 12px;
8995
+ box-shadow: 0 4px 4px #00000040;
8996
+ padding: 8px 4px !important;
8997
+ }
8998
+
8999
+ .header_8tFAuw {
9000
+ display: flex;
9001
+ justify-content: space-between;
9002
+ align-items: center;
9003
+ padding: 0 4px;
9004
+ }
9005
+
9006
+ .title_8tFAuw {
9007
+ flex: 1 0;
9008
+ padding: 4px 8px;
9009
+ font-size: 14px;
9010
+ font-weight: 500;
9011
+ line-height: 20px;
9012
+ }
9013
+
9014
+ .close_8tFAuw {
9015
+ --padding: 4px;
9016
+ --min-width: 28px;
9017
+ --min-height: 28px;
9018
+ color: var(--text-base-primary);
9019
+ border-radius: 12px;
9020
+ }
9021
+
9022
+ .search_8tFAuw {
9023
+ display: flex;
9024
+ border: 1px solid var(--border-action-normal, #0000001f);
9025
+ background: var(--bg-action-secondary, #f5f5f7);
9026
+ border-radius: 8px;
9027
+ align-items: center;
9028
+ gap: 6px;
9029
+ margin: 4px 8px 2px;
9030
+ padding: 5px 8px;
9031
+ }
9032
+
9033
+ .searchIcon_8tFAuw {
9034
+ opacity: .45;
9035
+ flex-shrink: 0;
9036
+ }
9037
+
9038
+ .searchInput_8tFAuw {
9039
+ outline: none;
9040
+ color: var(--text-base-primary);
9041
+ background: none;
9042
+ border: none;
9043
+ flex: 1;
9044
+ min-width: 0;
9045
+ font-family: Manrope, sans-serif;
9046
+ font-size: 12px;
9047
+ }
9048
+
9049
+ .searchInput_8tFAuw::placeholder {
9050
+ color: var(--text-base-secondary, #aaa);
9051
+ }
9052
+
9053
+ .searchClear_8tFAuw {
9054
+ display: flex;
9055
+ cursor: pointer;
9056
+ opacity: .45;
9057
+ background: none;
9058
+ border: none;
9059
+ border-radius: 3px;
9060
+ flex-shrink: 0;
9061
+ justify-content: center;
9062
+ align-items: center;
9063
+ padding: 0;
9064
+ }
9065
+
9066
+ .searchClear_8tFAuw:hover {
9067
+ opacity: .8;
9068
+ }
9069
+
9070
+ .content_8tFAuw {
9071
+ overflow: hidden;
9072
+ display: flex;
9073
+ flex-direction: column;
9074
+ flex: 1 1 0;
9075
+ }
9076
+
8947
9077
  /* src/features/TitlePanel/TitlePanel.module.css */
8948
9078
  .panel_i3VZwA {
8949
9079
  position: absolute;
8950
9080
  top: -60px;
8951
9081
  left: var(--absolute-position-panel-padding);
8952
- overflow: hidden;
8953
9082
  }
8954
9083
 
8955
9084
  .logoWrapper_i3VZwA.viewMode_i3VZwA {
@@ -9176,7 +9305,30 @@ input.rename_i3VZwA {
9176
9305
  width: 50%;
9177
9306
  }
9178
9307
 
9179
- .btn_FAHvNA {
9308
+ .btn_FAHvNA, .previewUpload_FAHvNA {
9309
+ width: 100%;
9310
+ }
9311
+
9312
+ .fileInputHidden_FAHvNA {
9313
+ display: none;
9314
+ }
9315
+
9316
+ .previewImageWrapper_FAHvNA {
9317
+ display: flex;
9318
+ flex-direction: column;
9319
+ align-items: center;
9320
+ gap: 8px;
9321
+ width: 100%;
9322
+ }
9323
+
9324
+ .previewImage_FAHvNA {
9325
+ object-fit: cover;
9326
+ border-radius: 8px;
9327
+ width: 100%;
9328
+ max-height: 200px;
9329
+ }
9330
+
9331
+ .changePreviewBtn_FAHvNA {
9180
9332
  width: 100%;
9181
9333
  }
9182
9334
 
@@ -11671,7 +11823,7 @@ input.rename_i3VZwA {
11671
11823
  flex-direction: column;
11672
11824
  align-items: center;
11673
11825
  width: 420px;
11674
- max-width: 80dvw;
11826
+ max-width: 96dvw;
11675
11827
  padding: 0 !important;
11676
11828
  }
11677
11829
 
package/dist/env.js ADDED
@@ -0,0 +1,5 @@
1
+ window.MICROBOARD_FRONT_CONFIG = {
2
+ apiURL: "https://microboard.sanocks.workers.dev",
3
+ wsURL: "wss://microboard.sanocks.workers.dev/ws"
4
+ };
5
+ console.log("Environment loaded");
package/dist/example.html CHANGED
@@ -31,8 +31,8 @@
31
31
  rel="stylesheet"
32
32
  />
33
33
 
34
- <link rel="stylesheet" crossorigin href="/chunk-d2kcyv9d.css"><script src="/env.js"></script>
35
- <script type="module" crossorigin src="/chunk-g9f7dzez.js"></script></head>
34
+ <link rel="stylesheet" crossorigin href="/chunk-mg3xye07.css"><script src="/env.js"></script>
35
+ <script type="module" crossorigin src="/chunk-5spq6dt9.js"></script></head>
36
36
 
37
37
  <body
38
38
  style="