@layers-app/shared 0.0.45 → 0.0.51
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/KanbanLayout-CqLSzjCH.js +297 -0
- package/dist/assets/jsons/icons.min.json.d.ts +1 -1
- package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
- package/dist/components/AppContainer/types.d.ts +1 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +4 -2
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +4 -1
- package/dist/components/AttachmentsGalleryModal/constants.d.ts +2 -1
- package/dist/components/AttachmentsGalleryModal/helpers.d.ts +22 -0
- package/dist/components/AttachmentsGalleryModal/hooks/usePanning.d.ts +10 -0
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts +9 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +1 -0
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +16 -11
- package/dist/components/CommentComposer/index.d.ts +2 -55
- package/dist/components/CommentComposer/types.d.ts +96 -0
- package/dist/components/CommentsPanel/index.d.ts +1 -26
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
- package/dist/components/EmojiPicker/getIconsList.d.ts +11 -0
- package/dist/components/EmojiPicker/getRandomIcon.d.ts +1 -0
- package/dist/components/FilePicker/FilePicker.d.ts +2 -1
- package/dist/components/FilePicker/types.d.ts +1 -0
- package/dist/components/FormViewer/helpers/conditions.d.ts +1 -1
- package/dist/components/FormViewer/helpers/helpers.d.ts +1 -1
- package/dist/components/FormViewer/helpers/steps.d.ts +1 -1
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +1 -1
- package/dist/components/FormViewer/store/formStore.d.ts +6 -6
- package/dist/components/FormViewer/store/formStoreApi.d.ts +3 -3
- package/dist/components/FormViewer/store/selectors.d.ts +342 -342
- package/dist/components/FormViewer/types/schemes.d.ts +22 -22
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +5 -0
- package/dist/components/RichText/extensions/bold.d.ts +3 -0
- package/dist/components/RichText/extensions/check-list.d.ts +42 -0
- package/dist/components/RichText/extensions/color-picker.d.ts +28 -0
- package/dist/components/RichText/extensions/font-size.d.ts +23 -0
- package/dist/components/RichText/extensions/italic.d.ts +3 -0
- package/dist/components/RichText/extensions/underline.d.ts +3 -0
- package/dist/components/RichText/index.d.ts +41 -0
- package/dist/components/UserAvatar/index.d.ts +3 -2
- package/dist/components/modals/RemoveConfirmModal.d.ts +8 -1
- package/dist/emoji-categorized-CRsMUQyD.js +4 -0
- package/dist/helpers/hotjar.d.ts +9 -0
- package/dist/helpers/pickRandomEmoji.d.ts +1 -0
- package/dist/icons.min-43tm8BtD.js +4 -0
- package/dist/index-By3Za6p9.js +116619 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +261 -310
- package/dist/index.umd.cjs +60 -429
- package/dist/lang/locales/ui_en.json.d.ts +5 -4
- package/dist/lang/locales/ui_es.json.d.ts +2 -1
- package/dist/lang/locales/ui_ru.json.d.ts +2 -1
- package/package.json +9 -17
- package/dist/KanbanLayout-C6wJBGZ2.js +0 -287
- package/dist/components/CommentFilterMenu/index.d.ts +0 -9
- package/dist/components/CommentsPanel/components/CommentActionMenu.d.ts +0 -10
- package/dist/components/CommentsPanel/components/CommentActions.d.ts +0 -16
- package/dist/components/CommentsPanel/components/CommentPanelListItem.d.ts +0 -21
- package/dist/components/CommentsPanel/components/CommentTabFilter.d.ts +0 -7
- package/dist/components/CommentsPanel/components/CommentsEmptyPlaceholder.d.ts +0 -6
- package/dist/components/CommentsPanel/components/CommentsFilterHeader.d.ts +0 -3
- package/dist/components/CommentsPanel/components/CommentsListItemMenu.d.ts +0 -7
- package/dist/components/CommentsPanel/components/CommentsPanelList.d.ts +0 -18
- package/dist/components/CommentsPanel/components/CommentsThreadReplyControls.d.ts +0 -15
- package/dist/components/CommentsPanel/components/CommentsUploadFilesPreview.d.ts +0 -10
- package/dist/components/CommentsPanel/components/Icon.d.ts +0 -8
- package/dist/components/CommentsPanel/store.d.ts +0 -25
- package/dist/components/CommentsPanel/types.d.ts +0 -339
- package/dist/components/CommentsPanel/utils.d.ts +0 -14
- package/dist/emoji-categorized-DAOdcF53.js +0 -4
- package/dist/helpers/pickRandomIcon.d.ts +0 -1
- package/dist/icons.min-Chyr-bjL.js +0 -4
- package/dist/index-W83Evo8i.js +0 -78459
|
@@ -1636,6 +1636,7 @@ export declare namespace Schemes {
|
|
|
1636
1636
|
fit?: string | undefined;
|
|
1637
1637
|
blendMode?: string | undefined;
|
|
1638
1638
|
} | undefined;
|
|
1639
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
1639
1640
|
container?: {
|
|
1640
1641
|
color?: string | undefined;
|
|
1641
1642
|
opacity?: number | undefined;
|
|
@@ -1644,7 +1645,6 @@ export declare namespace Schemes {
|
|
|
1644
1645
|
shadowSize?: number | undefined;
|
|
1645
1646
|
shadowColor?: string | undefined;
|
|
1646
1647
|
} | undefined;
|
|
1647
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
1648
1648
|
font?: {
|
|
1649
1649
|
color?: string | undefined;
|
|
1650
1650
|
fontSize?: number | undefined;
|
|
@@ -1682,6 +1682,7 @@ export declare namespace Schemes {
|
|
|
1682
1682
|
fit?: string | undefined;
|
|
1683
1683
|
blendMode?: string | undefined;
|
|
1684
1684
|
} | undefined;
|
|
1685
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
1685
1686
|
container?: {
|
|
1686
1687
|
color?: string | undefined;
|
|
1687
1688
|
opacity?: number | undefined;
|
|
@@ -1690,7 +1691,6 @@ export declare namespace Schemes {
|
|
|
1690
1691
|
shadowSize?: number | undefined;
|
|
1691
1692
|
shadowColor?: string | undefined;
|
|
1692
1693
|
} | undefined;
|
|
1693
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
1694
1694
|
font?: {
|
|
1695
1695
|
color?: string | undefined;
|
|
1696
1696
|
fontSize?: number | undefined;
|
|
@@ -2534,6 +2534,7 @@ export declare namespace Schemes {
|
|
|
2534
2534
|
fit?: string | undefined;
|
|
2535
2535
|
blendMode?: string | undefined;
|
|
2536
2536
|
} | undefined;
|
|
2537
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
2537
2538
|
container?: {
|
|
2538
2539
|
color?: string | undefined;
|
|
2539
2540
|
opacity?: number | undefined;
|
|
@@ -2542,7 +2543,6 @@ export declare namespace Schemes {
|
|
|
2542
2543
|
shadowSize?: number | undefined;
|
|
2543
2544
|
shadowColor?: string | undefined;
|
|
2544
2545
|
} | undefined;
|
|
2545
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
2546
2546
|
font?: {
|
|
2547
2547
|
color?: string | undefined;
|
|
2548
2548
|
fontSize?: number | undefined;
|
|
@@ -2580,6 +2580,7 @@ export declare namespace Schemes {
|
|
|
2580
2580
|
fit?: string | undefined;
|
|
2581
2581
|
blendMode?: string | undefined;
|
|
2582
2582
|
} | undefined;
|
|
2583
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
2583
2584
|
container?: {
|
|
2584
2585
|
color?: string | undefined;
|
|
2585
2586
|
opacity?: number | undefined;
|
|
@@ -2588,7 +2589,6 @@ export declare namespace Schemes {
|
|
|
2588
2589
|
shadowSize?: number | undefined;
|
|
2589
2590
|
shadowColor?: string | undefined;
|
|
2590
2591
|
} | undefined;
|
|
2591
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
2592
2592
|
font?: {
|
|
2593
2593
|
color?: string | undefined;
|
|
2594
2594
|
fontSize?: number | undefined;
|
|
@@ -2860,6 +2860,7 @@ export declare namespace Schemes {
|
|
|
2860
2860
|
fit?: string | undefined;
|
|
2861
2861
|
blendMode?: string | undefined;
|
|
2862
2862
|
} | undefined;
|
|
2863
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
2863
2864
|
container?: {
|
|
2864
2865
|
color?: string | undefined;
|
|
2865
2866
|
opacity?: number | undefined;
|
|
@@ -2868,7 +2869,6 @@ export declare namespace Schemes {
|
|
|
2868
2869
|
shadowSize?: number | undefined;
|
|
2869
2870
|
shadowColor?: string | undefined;
|
|
2870
2871
|
} | undefined;
|
|
2871
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
2872
2872
|
font?: {
|
|
2873
2873
|
color?: string | undefined;
|
|
2874
2874
|
fontSize?: number | undefined;
|
|
@@ -3140,6 +3140,7 @@ export declare namespace Schemes {
|
|
|
3140
3140
|
fit?: string | undefined;
|
|
3141
3141
|
blendMode?: string | undefined;
|
|
3142
3142
|
} | undefined;
|
|
3143
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
3143
3144
|
container?: {
|
|
3144
3145
|
color?: string | undefined;
|
|
3145
3146
|
opacity?: number | undefined;
|
|
@@ -3148,7 +3149,6 @@ export declare namespace Schemes {
|
|
|
3148
3149
|
shadowSize?: number | undefined;
|
|
3149
3150
|
shadowColor?: string | undefined;
|
|
3150
3151
|
} | undefined;
|
|
3151
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
3152
3152
|
font?: {
|
|
3153
3153
|
color?: string | undefined;
|
|
3154
3154
|
fontSize?: number | undefined;
|
|
@@ -4004,6 +4004,7 @@ export declare namespace Schemes {
|
|
|
4004
4004
|
fit?: string | undefined;
|
|
4005
4005
|
blendMode?: string | undefined;
|
|
4006
4006
|
} | undefined;
|
|
4007
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
4007
4008
|
container?: {
|
|
4008
4009
|
color?: string | undefined;
|
|
4009
4010
|
opacity?: number | undefined;
|
|
@@ -4012,7 +4013,6 @@ export declare namespace Schemes {
|
|
|
4012
4013
|
shadowSize?: number | undefined;
|
|
4013
4014
|
shadowColor?: string | undefined;
|
|
4014
4015
|
} | undefined;
|
|
4015
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
4016
4016
|
font?: {
|
|
4017
4017
|
color?: string | undefined;
|
|
4018
4018
|
fontSize?: number | undefined;
|
|
@@ -4050,6 +4050,7 @@ export declare namespace Schemes {
|
|
|
4050
4050
|
fit?: string | undefined;
|
|
4051
4051
|
blendMode?: string | undefined;
|
|
4052
4052
|
} | undefined;
|
|
4053
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
4053
4054
|
container?: {
|
|
4054
4055
|
color?: string | undefined;
|
|
4055
4056
|
opacity?: number | undefined;
|
|
@@ -4058,7 +4059,6 @@ export declare namespace Schemes {
|
|
|
4058
4059
|
shadowSize?: number | undefined;
|
|
4059
4060
|
shadowColor?: string | undefined;
|
|
4060
4061
|
} | undefined;
|
|
4061
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
4062
4062
|
font?: {
|
|
4063
4063
|
color?: string | undefined;
|
|
4064
4064
|
fontSize?: number | undefined;
|
|
@@ -4330,6 +4330,7 @@ export declare namespace Schemes {
|
|
|
4330
4330
|
fit?: string | undefined;
|
|
4331
4331
|
blendMode?: string | undefined;
|
|
4332
4332
|
} | undefined;
|
|
4333
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
4333
4334
|
container?: {
|
|
4334
4335
|
color?: string | undefined;
|
|
4335
4336
|
opacity?: number | undefined;
|
|
@@ -4338,7 +4339,6 @@ export declare namespace Schemes {
|
|
|
4338
4339
|
shadowSize?: number | undefined;
|
|
4339
4340
|
shadowColor?: string | undefined;
|
|
4340
4341
|
} | undefined;
|
|
4341
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
4342
4342
|
font?: {
|
|
4343
4343
|
color?: string | undefined;
|
|
4344
4344
|
fontSize?: number | undefined;
|
|
@@ -4610,6 +4610,7 @@ export declare namespace Schemes {
|
|
|
4610
4610
|
fit?: string | undefined;
|
|
4611
4611
|
blendMode?: string | undefined;
|
|
4612
4612
|
} | undefined;
|
|
4613
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
4613
4614
|
container?: {
|
|
4614
4615
|
color?: string | undefined;
|
|
4615
4616
|
opacity?: number | undefined;
|
|
@@ -4618,7 +4619,6 @@ export declare namespace Schemes {
|
|
|
4618
4619
|
shadowSize?: number | undefined;
|
|
4619
4620
|
shadowColor?: string | undefined;
|
|
4620
4621
|
} | undefined;
|
|
4621
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
4622
4622
|
font?: {
|
|
4623
4623
|
color?: string | undefined;
|
|
4624
4624
|
fontSize?: number | undefined;
|
|
@@ -5473,6 +5473,7 @@ export declare namespace Schemes {
|
|
|
5473
5473
|
fit?: string | undefined;
|
|
5474
5474
|
blendMode?: string | undefined;
|
|
5475
5475
|
} | undefined;
|
|
5476
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
5476
5477
|
container?: {
|
|
5477
5478
|
color?: string | undefined;
|
|
5478
5479
|
opacity?: number | undefined;
|
|
@@ -5481,7 +5482,6 @@ export declare namespace Schemes {
|
|
|
5481
5482
|
shadowSize?: number | undefined;
|
|
5482
5483
|
shadowColor?: string | undefined;
|
|
5483
5484
|
} | undefined;
|
|
5484
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
5485
5485
|
font?: {
|
|
5486
5486
|
color?: string | undefined;
|
|
5487
5487
|
fontSize?: number | undefined;
|
|
@@ -5519,6 +5519,7 @@ export declare namespace Schemes {
|
|
|
5519
5519
|
fit?: string | undefined;
|
|
5520
5520
|
blendMode?: string | undefined;
|
|
5521
5521
|
} | undefined;
|
|
5522
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
5522
5523
|
container?: {
|
|
5523
5524
|
color?: string | undefined;
|
|
5524
5525
|
opacity?: number | undefined;
|
|
@@ -5527,7 +5528,6 @@ export declare namespace Schemes {
|
|
|
5527
5528
|
shadowSize?: number | undefined;
|
|
5528
5529
|
shadowColor?: string | undefined;
|
|
5529
5530
|
} | undefined;
|
|
5530
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
5531
5531
|
font?: {
|
|
5532
5532
|
color?: string | undefined;
|
|
5533
5533
|
fontSize?: number | undefined;
|
|
@@ -5799,6 +5799,7 @@ export declare namespace Schemes {
|
|
|
5799
5799
|
fit?: string | undefined;
|
|
5800
5800
|
blendMode?: string | undefined;
|
|
5801
5801
|
} | undefined;
|
|
5802
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
5802
5803
|
container?: {
|
|
5803
5804
|
color?: string | undefined;
|
|
5804
5805
|
opacity?: number | undefined;
|
|
@@ -5807,7 +5808,6 @@ export declare namespace Schemes {
|
|
|
5807
5808
|
shadowSize?: number | undefined;
|
|
5808
5809
|
shadowColor?: string | undefined;
|
|
5809
5810
|
} | undefined;
|
|
5810
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
5811
5811
|
font?: {
|
|
5812
5812
|
color?: string | undefined;
|
|
5813
5813
|
fontSize?: number | undefined;
|
|
@@ -6079,6 +6079,7 @@ export declare namespace Schemes {
|
|
|
6079
6079
|
fit?: string | undefined;
|
|
6080
6080
|
blendMode?: string | undefined;
|
|
6081
6081
|
} | undefined;
|
|
6082
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6082
6083
|
container?: {
|
|
6083
6084
|
color?: string | undefined;
|
|
6084
6085
|
opacity?: number | undefined;
|
|
@@ -6087,7 +6088,6 @@ export declare namespace Schemes {
|
|
|
6087
6088
|
shadowSize?: number | undefined;
|
|
6088
6089
|
shadowColor?: string | undefined;
|
|
6089
6090
|
} | undefined;
|
|
6090
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6091
6091
|
font?: {
|
|
6092
6092
|
color?: string | undefined;
|
|
6093
6093
|
fontSize?: number | undefined;
|
|
@@ -6249,6 +6249,7 @@ export declare namespace Schemes {
|
|
|
6249
6249
|
fit?: string | undefined;
|
|
6250
6250
|
blendMode?: string | undefined;
|
|
6251
6251
|
} | undefined;
|
|
6252
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6252
6253
|
container?: {
|
|
6253
6254
|
color?: string | undefined;
|
|
6254
6255
|
opacity?: number | undefined;
|
|
@@ -6257,7 +6258,6 @@ export declare namespace Schemes {
|
|
|
6257
6258
|
shadowSize?: number | undefined;
|
|
6258
6259
|
shadowColor?: string | undefined;
|
|
6259
6260
|
} | undefined;
|
|
6260
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6261
6261
|
font?: {
|
|
6262
6262
|
color?: string | undefined;
|
|
6263
6263
|
fontSize?: number | undefined;
|
|
@@ -6295,6 +6295,7 @@ export declare namespace Schemes {
|
|
|
6295
6295
|
fit?: string | undefined;
|
|
6296
6296
|
blendMode?: string | undefined;
|
|
6297
6297
|
} | undefined;
|
|
6298
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6298
6299
|
container?: {
|
|
6299
6300
|
color?: string | undefined;
|
|
6300
6301
|
opacity?: number | undefined;
|
|
@@ -6303,7 +6304,6 @@ export declare namespace Schemes {
|
|
|
6303
6304
|
shadowSize?: number | undefined;
|
|
6304
6305
|
shadowColor?: string | undefined;
|
|
6305
6306
|
} | undefined;
|
|
6306
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6307
6307
|
font?: {
|
|
6308
6308
|
color?: string | undefined;
|
|
6309
6309
|
fontSize?: number | undefined;
|
|
@@ -6377,6 +6377,7 @@ export declare namespace Schemes {
|
|
|
6377
6377
|
fit?: string | undefined;
|
|
6378
6378
|
blendMode?: string | undefined;
|
|
6379
6379
|
} | undefined;
|
|
6380
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6380
6381
|
container?: {
|
|
6381
6382
|
color?: string | undefined;
|
|
6382
6383
|
opacity?: number | undefined;
|
|
@@ -6385,7 +6386,6 @@ export declare namespace Schemes {
|
|
|
6385
6386
|
shadowSize?: number | undefined;
|
|
6386
6387
|
shadowColor?: string | undefined;
|
|
6387
6388
|
} | undefined;
|
|
6388
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6389
6389
|
font?: {
|
|
6390
6390
|
color?: string | undefined;
|
|
6391
6391
|
fontSize?: number | undefined;
|
|
@@ -6659,6 +6659,7 @@ export declare namespace Schemes {
|
|
|
6659
6659
|
fit?: string | undefined;
|
|
6660
6660
|
blendMode?: string | undefined;
|
|
6661
6661
|
} | undefined;
|
|
6662
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6662
6663
|
container?: {
|
|
6663
6664
|
color?: string | undefined;
|
|
6664
6665
|
opacity?: number | undefined;
|
|
@@ -6667,7 +6668,6 @@ export declare namespace Schemes {
|
|
|
6667
6668
|
shadowSize?: number | undefined;
|
|
6668
6669
|
shadowColor?: string | undefined;
|
|
6669
6670
|
} | undefined;
|
|
6670
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6671
6671
|
font?: {
|
|
6672
6672
|
color?: string | undefined;
|
|
6673
6673
|
fontSize?: number | undefined;
|
|
@@ -6940,6 +6940,7 @@ export declare namespace Schemes {
|
|
|
6940
6940
|
fit?: string | undefined;
|
|
6941
6941
|
blendMode?: string | undefined;
|
|
6942
6942
|
} | undefined;
|
|
6943
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6943
6944
|
container?: {
|
|
6944
6945
|
color?: string | undefined;
|
|
6945
6946
|
opacity?: number | undefined;
|
|
@@ -6948,7 +6949,6 @@ export declare namespace Schemes {
|
|
|
6948
6949
|
shadowSize?: number | undefined;
|
|
6949
6950
|
shadowColor?: string | undefined;
|
|
6950
6951
|
} | undefined;
|
|
6951
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
6952
6952
|
font?: {
|
|
6953
6953
|
color?: string | undefined;
|
|
6954
6954
|
fontSize?: number | undefined;
|
|
@@ -6999,6 +6999,7 @@ export declare namespace Schemes {
|
|
|
6999
6999
|
fit?: string | undefined;
|
|
7000
7000
|
blendMode?: string | undefined;
|
|
7001
7001
|
} | undefined;
|
|
7002
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
7002
7003
|
container?: {
|
|
7003
7004
|
color?: string | undefined;
|
|
7004
7005
|
opacity?: number | undefined;
|
|
@@ -7007,7 +7008,6 @@ export declare namespace Schemes {
|
|
|
7007
7008
|
shadowSize?: number | undefined;
|
|
7008
7009
|
shadowColor?: string | undefined;
|
|
7009
7010
|
} | undefined;
|
|
7010
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
7011
7011
|
font?: {
|
|
7012
7012
|
color?: string | undefined;
|
|
7013
7013
|
fontSize?: number | undefined;
|
|
@@ -7281,6 +7281,7 @@ export declare namespace Schemes {
|
|
|
7281
7281
|
fit?: string | undefined;
|
|
7282
7282
|
blendMode?: string | undefined;
|
|
7283
7283
|
} | undefined;
|
|
7284
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
7284
7285
|
container?: {
|
|
7285
7286
|
color?: string | undefined;
|
|
7286
7287
|
opacity?: number | undefined;
|
|
@@ -7289,7 +7290,6 @@ export declare namespace Schemes {
|
|
|
7289
7290
|
shadowSize?: number | undefined;
|
|
7290
7291
|
shadowColor?: string | undefined;
|
|
7291
7292
|
} | undefined;
|
|
7292
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
7293
7293
|
font?: {
|
|
7294
7294
|
color?: string | undefined;
|
|
7295
7295
|
fontSize?: number | undefined;
|
|
@@ -7562,6 +7562,7 @@ export declare namespace Schemes {
|
|
|
7562
7562
|
fit?: string | undefined;
|
|
7563
7563
|
blendMode?: string | undefined;
|
|
7564
7564
|
} | undefined;
|
|
7565
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
7565
7566
|
container?: {
|
|
7566
7567
|
color?: string | undefined;
|
|
7567
7568
|
opacity?: number | undefined;
|
|
@@ -7570,7 +7571,6 @@ export declare namespace Schemes {
|
|
|
7570
7571
|
shadowSize?: number | undefined;
|
|
7571
7572
|
shadowColor?: string | undefined;
|
|
7572
7573
|
} | undefined;
|
|
7573
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
7574
7574
|
font?: {
|
|
7575
7575
|
color?: string | undefined;
|
|
7576
7576
|
fontSize?: number | undefined;
|
|
@@ -8,10 +8,15 @@ export type ProjectIconProps = {
|
|
|
8
8
|
fallbackColorById?: string;
|
|
9
9
|
initials?: boolean;
|
|
10
10
|
} & Omit<AvatarProps, 'color' | 'name'>;
|
|
11
|
+
export declare enum IconType {
|
|
12
|
+
OUTLINED = "o",
|
|
13
|
+
FILLED = "f"
|
|
14
|
+
}
|
|
11
15
|
type IconData = {
|
|
12
16
|
icon: string;
|
|
13
17
|
color: string;
|
|
14
18
|
emoji: string;
|
|
19
|
+
type: IconType;
|
|
15
20
|
};
|
|
16
21
|
export declare namespace IconEntity {
|
|
17
22
|
const parse: (value?: string | null) => IconData | null;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
interface ICheckListOptions {
|
|
3
|
+
/**
|
|
4
|
+
* The node name for the list items
|
|
5
|
+
* @default 'listItem'
|
|
6
|
+
* @example 'paragraph'
|
|
7
|
+
*/
|
|
8
|
+
itemTypeName: string;
|
|
9
|
+
/**
|
|
10
|
+
* HTML attributes to add to the check list element
|
|
11
|
+
* @default {}
|
|
12
|
+
* @example { class: 'foo' }
|
|
13
|
+
*/
|
|
14
|
+
HTMLAttributes: Record<string, any>;
|
|
15
|
+
/**
|
|
16
|
+
* Keep the marks when splitting the list
|
|
17
|
+
* @default false
|
|
18
|
+
* @example true
|
|
19
|
+
*/
|
|
20
|
+
keepMarks: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Keep the attributes when splitting the list
|
|
23
|
+
* @default false
|
|
24
|
+
* @example true
|
|
25
|
+
*/
|
|
26
|
+
keepAttributes: boolean;
|
|
27
|
+
}
|
|
28
|
+
declare module '@tiptap/core' {
|
|
29
|
+
interface Commands<ReturnType> {
|
|
30
|
+
checkList: {
|
|
31
|
+
/**
|
|
32
|
+
* Toggle an check list
|
|
33
|
+
* @example editor.commands.toggleCheckList()
|
|
34
|
+
*/
|
|
35
|
+
toggleCheckList: () => ReturnType;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export declare const CheckList: Node<ICheckListOptions, any> & {
|
|
40
|
+
Control: () => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
};
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
export type ColorOptions = {
|
|
3
|
+
types: string[];
|
|
4
|
+
};
|
|
5
|
+
declare module '@tiptap/core' {
|
|
6
|
+
interface Commands<ReturnType> {
|
|
7
|
+
backColor: {
|
|
8
|
+
/**
|
|
9
|
+
* Set the text color
|
|
10
|
+
*/
|
|
11
|
+
setBackColor: (color: string) => ReturnType;
|
|
12
|
+
/**
|
|
13
|
+
* Unset the text color
|
|
14
|
+
*/
|
|
15
|
+
unsetBackColor: () => ReturnType;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const BackColor: Extension<ColorOptions, any>;
|
|
20
|
+
export declare const ColorPicker: Extension<ColorOptions, any> & {
|
|
21
|
+
Control: ({ staticBg, onChange, }: {
|
|
22
|
+
staticBg?: boolean;
|
|
23
|
+
onChange?: (v: {
|
|
24
|
+
value: string;
|
|
25
|
+
mode: string;
|
|
26
|
+
}) => void;
|
|
27
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
interface IFontSizeOptions {
|
|
3
|
+
types: string[];
|
|
4
|
+
getStyle: (fontSize: string) => string;
|
|
5
|
+
}
|
|
6
|
+
declare module '@tiptap/core' {
|
|
7
|
+
interface Commands<ReturnType> {
|
|
8
|
+
fontSize: {
|
|
9
|
+
/**
|
|
10
|
+
* Set the font size attribute
|
|
11
|
+
*/
|
|
12
|
+
setFontSize: (size: string) => ReturnType;
|
|
13
|
+
/**
|
|
14
|
+
* Unset the font size attribute
|
|
15
|
+
*/
|
|
16
|
+
unsetFontSize: () => ReturnType;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export declare const FontSize: Extension<IFontSizeOptions, any> & {
|
|
21
|
+
Control: () => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { RichTextEditorContentProps } from '@mantine/tiptap';
|
|
2
|
+
interface IProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onChange?: (v: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const RichText: import('react').ForwardRefExoticComponent<IProps & {
|
|
10
|
+
children?: import('react').ReactNode | undefined;
|
|
11
|
+
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
12
|
+
Content: (props: RichTextEditorContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
Bold: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
Italic: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
Underline: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
OrderedList: import('react').ForwardRefExoticComponent<import('node_modules/@mantine/tiptap/lib/RichTextEditorControl/RichTextEditorControl').RichTextEditorControlBaseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
17
|
+
BulletList: import('react').ForwardRefExoticComponent<import('node_modules/@mantine/tiptap/lib/RichTextEditorControl/RichTextEditorControl').RichTextEditorControlBaseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
Link: import('@mantine/core').MantineComponent<{
|
|
19
|
+
props: import('@mantine/tiptap').RichTextEditorLinkControlProps;
|
|
20
|
+
ref: HTMLButtonElement;
|
|
21
|
+
stylesNames: import('node_modules/@mantine/tiptap/lib/RichTextEditorControl/RichTextEditorLinkControl').RichTextEditorLinkControlStylesNames;
|
|
22
|
+
compound: true;
|
|
23
|
+
}>;
|
|
24
|
+
CheckList: () => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
FontSize: () => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
ColorPicker: ({ staticBg, onChange, }: {
|
|
27
|
+
staticBg?: boolean;
|
|
28
|
+
onChange?: (v: {
|
|
29
|
+
value: string;
|
|
30
|
+
mode: string;
|
|
31
|
+
}) => void;
|
|
32
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
};
|
|
34
|
+
export interface IRichTextRef extends HTMLDivElement {
|
|
35
|
+
isFocused: boolean;
|
|
36
|
+
text: string | undefined;
|
|
37
|
+
setContent: (v: string) => void;
|
|
38
|
+
focus: (v?: FocusOptions) => void;
|
|
39
|
+
setTextAlign: (v: 'left' | 'right' | 'center') => void;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
import { AvatarProps } from '@mantine/core';
|
|
3
3
|
import { MenuUser } from '../AppContainer/components/menus/UserMenu/MenuUserDropdown';
|
|
4
4
|
export interface UserAvatarProps extends AvatarProps, Omit<React.ComponentPropsWithoutRef<'div'>, keyof AvatarProps> {
|
|
5
|
-
user?: MenuUser | null;
|
|
5
|
+
user?: Partial<MenuUser> | null;
|
|
6
|
+
emptyIcon?: ReactNode;
|
|
6
7
|
}
|
|
7
8
|
export declare const UserAvatar: React.ForwardRefExoticComponent<UserAvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import { modals } from '@mantine/modals';
|
|
2
|
-
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export declare const openRemoveConfirmModal: (props: Parameters<typeof modals.openConfirmModal>[0] & {
|
|
4
|
+
labels?: {
|
|
5
|
+
confirm?: string;
|
|
6
|
+
cancel?: string;
|
|
7
|
+
};
|
|
8
|
+
icon?: ReactNode | null;
|
|
9
|
+
}) => void;
|