@underverse-ui/underverse 2.0.29 → 2.0.30
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/api-reference.json +1 -1
- package/dist/{EmojiPicker-NV3GQYWI.js → EmojiPicker-ISJ6RXYG.js} +4 -4
- package/dist/{chunk-LK6YWBI6.js → chunk-2P7TSXEE.js} +82 -25
- package/dist/chunk-2P7TSXEE.js.map +1 -0
- package/dist/{chunk-5QWYO527.js → chunk-37MHVJMV.js} +846 -90
- package/dist/chunk-37MHVJMV.js.map +1 -0
- package/dist/{chunk-XTZTUDRE.js → chunk-57BKIC6J.js} +711 -800
- package/dist/chunk-57BKIC6J.js.map +1 -0
- package/dist/{chunk-LRIRY4DG.js → chunk-5W63IHIN.js} +11 -3
- package/dist/chunk-5W63IHIN.js.map +1 -0
- package/dist/{chunk-F7MX3XXK.js → chunk-S4UHFRL3.js} +3 -3
- package/dist/{chunk-A4GUPKHM.js → chunk-ZP7F4ZD7.js} +63 -43
- package/dist/chunk-ZP7F4ZD7.js.map +1 -0
- package/dist/index.cjs +2225 -1311
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -0
- package/dist/index.d.ts +55 -0
- package/dist/index.js +23 -10
- package/dist/index.js.map +1 -1
- package/dist/{menu-bar-AHG64PEB.js → menu-bar-DPCNNUX5.js} +193 -47
- package/dist/menu-bar-DPCNNUX5.js.map +1 -0
- package/dist/ueditor.cjs +9407 -8506
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.d.cts +10 -0
- package/dist/ueditor.d.ts +10 -0
- package/dist/ueditor.js +4 -4
- package/package.json +2 -1
- package/dist/chunk-5QWYO527.js.map +0 -1
- package/dist/chunk-A4GUPKHM.js.map +0 -1
- package/dist/chunk-LK6YWBI6.js.map +0 -1
- package/dist/chunk-LRIRY4DG.js.map +0 -1
- package/dist/chunk-XTZTUDRE.js.map +0 -1
- package/dist/menu-bar-AHG64PEB.js.map +0 -1
- /package/dist/{EmojiPicker-NV3GQYWI.js.map → EmojiPicker-ISJ6RXYG.js.map} +0 -0
- /package/dist/{chunk-F7MX3XXK.js.map → chunk-S4UHFRL3.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -592,6 +592,9 @@ interface ModalProps {
|
|
|
592
592
|
width?: string | number;
|
|
593
593
|
height?: string | number;
|
|
594
594
|
borderMode?: BorderMode;
|
|
595
|
+
/** Optional portal target, useful for iframe or isolated document realms. */
|
|
596
|
+
portalContainer?: HTMLElement | null;
|
|
597
|
+
ariaLabel?: string;
|
|
595
598
|
}
|
|
596
599
|
declare const Modal: React$1.FC<ModalProps>;
|
|
597
600
|
|
|
@@ -810,6 +813,10 @@ interface TabsProps {
|
|
|
810
813
|
tabs: Tab[];
|
|
811
814
|
defaultValue?: string;
|
|
812
815
|
className?: string;
|
|
816
|
+
tabClassName?: string;
|
|
817
|
+
activeTabClassName?: string;
|
|
818
|
+
inactiveTabClassName?: string;
|
|
819
|
+
indicatorClassName?: string;
|
|
813
820
|
contentClassName?: string;
|
|
814
821
|
variant?: "default" | "pills" | "underline" | "card" | "underline-card";
|
|
815
822
|
size?: "sm" | "md" | "lg";
|
|
@@ -3763,6 +3770,9 @@ declare const underverseMessages: {
|
|
|
3763
3770
|
loading: string;
|
|
3764
3771
|
words: string;
|
|
3765
3772
|
characters: string;
|
|
3773
|
+
accessibility: {
|
|
3774
|
+
editorLabel: string;
|
|
3775
|
+
};
|
|
3766
3776
|
colors: {
|
|
3767
3777
|
default: string;
|
|
3768
3778
|
muted: string;
|
|
@@ -3887,6 +3897,7 @@ declare const underverseMessages: {
|
|
|
3887
3897
|
uploadTab: string;
|
|
3888
3898
|
urlLabel: string;
|
|
3889
3899
|
urlPlaceholder: string;
|
|
3900
|
+
invalid: string;
|
|
3890
3901
|
uploadLabel: string;
|
|
3891
3902
|
uploadPlaceholder: string;
|
|
3892
3903
|
uploading: string;
|
|
@@ -4015,6 +4026,7 @@ declare const underverseMessages: {
|
|
|
4015
4026
|
uploading: string;
|
|
4016
4027
|
uploadFailed: string;
|
|
4017
4028
|
retryUpload: string;
|
|
4029
|
+
download: string;
|
|
4018
4030
|
};
|
|
4019
4031
|
menubar: {
|
|
4020
4032
|
file: string;
|
|
@@ -4095,6 +4107,7 @@ declare const underverseMessages: {
|
|
|
4095
4107
|
exportDefault: string;
|
|
4096
4108
|
previewEmpty: string;
|
|
4097
4109
|
sourceCodeHint: string;
|
|
4110
|
+
invalidSource: string;
|
|
4098
4111
|
};
|
|
4099
4112
|
};
|
|
4100
4113
|
};
|
|
@@ -4216,6 +4229,9 @@ declare const underverseMessages: {
|
|
|
4216
4229
|
loading: string;
|
|
4217
4230
|
words: string;
|
|
4218
4231
|
characters: string;
|
|
4232
|
+
accessibility: {
|
|
4233
|
+
editorLabel: string;
|
|
4234
|
+
};
|
|
4219
4235
|
colors: {
|
|
4220
4236
|
default: string;
|
|
4221
4237
|
muted: string;
|
|
@@ -4340,6 +4356,7 @@ declare const underverseMessages: {
|
|
|
4340
4356
|
uploadTab: string;
|
|
4341
4357
|
urlLabel: string;
|
|
4342
4358
|
urlPlaceholder: string;
|
|
4359
|
+
invalid: string;
|
|
4343
4360
|
uploadLabel: string;
|
|
4344
4361
|
uploadPlaceholder: string;
|
|
4345
4362
|
uploading: string;
|
|
@@ -4468,6 +4485,7 @@ declare const underverseMessages: {
|
|
|
4468
4485
|
uploading: string;
|
|
4469
4486
|
uploadFailed: string;
|
|
4470
4487
|
retryUpload: string;
|
|
4488
|
+
download: string;
|
|
4471
4489
|
};
|
|
4472
4490
|
menubar: {
|
|
4473
4491
|
file: string;
|
|
@@ -4548,6 +4566,7 @@ declare const underverseMessages: {
|
|
|
4548
4566
|
exportDefault: string;
|
|
4549
4567
|
previewEmpty: string;
|
|
4550
4568
|
sourceCodeHint: string;
|
|
4569
|
+
invalidSource: string;
|
|
4551
4570
|
};
|
|
4552
4571
|
};
|
|
4553
4572
|
};
|
|
@@ -4669,6 +4688,9 @@ declare const underverseMessages: {
|
|
|
4669
4688
|
loading: string;
|
|
4670
4689
|
words: string;
|
|
4671
4690
|
characters: string;
|
|
4691
|
+
accessibility: {
|
|
4692
|
+
editorLabel: string;
|
|
4693
|
+
};
|
|
4672
4694
|
colors: {
|
|
4673
4695
|
default: string;
|
|
4674
4696
|
muted: string;
|
|
@@ -4793,6 +4815,7 @@ declare const underverseMessages: {
|
|
|
4793
4815
|
uploadTab: string;
|
|
4794
4816
|
urlLabel: string;
|
|
4795
4817
|
urlPlaceholder: string;
|
|
4818
|
+
invalid: string;
|
|
4796
4819
|
uploadLabel: string;
|
|
4797
4820
|
uploadPlaceholder: string;
|
|
4798
4821
|
uploading: string;
|
|
@@ -4921,6 +4944,7 @@ declare const underverseMessages: {
|
|
|
4921
4944
|
uploading: string;
|
|
4922
4945
|
uploadFailed: string;
|
|
4923
4946
|
retryUpload: string;
|
|
4947
|
+
download: string;
|
|
4924
4948
|
};
|
|
4925
4949
|
menubar: {
|
|
4926
4950
|
file: string;
|
|
@@ -5001,6 +5025,7 @@ declare const underverseMessages: {
|
|
|
5001
5025
|
exportDefault: string;
|
|
5002
5026
|
previewEmpty: string;
|
|
5003
5027
|
sourceCodeHint: string;
|
|
5028
|
+
invalidSource: string;
|
|
5004
5029
|
};
|
|
5005
5030
|
};
|
|
5006
5031
|
};
|
|
@@ -5122,6 +5147,9 @@ declare const underverseMessages: {
|
|
|
5122
5147
|
loading: string;
|
|
5123
5148
|
words: string;
|
|
5124
5149
|
characters: string;
|
|
5150
|
+
accessibility: {
|
|
5151
|
+
editorLabel: string;
|
|
5152
|
+
};
|
|
5125
5153
|
colors: {
|
|
5126
5154
|
default: string;
|
|
5127
5155
|
muted: string;
|
|
@@ -5246,6 +5274,7 @@ declare const underverseMessages: {
|
|
|
5246
5274
|
uploadTab: string;
|
|
5247
5275
|
urlLabel: string;
|
|
5248
5276
|
urlPlaceholder: string;
|
|
5277
|
+
invalid: string;
|
|
5249
5278
|
uploadLabel: string;
|
|
5250
5279
|
uploadPlaceholder: string;
|
|
5251
5280
|
uploading: string;
|
|
@@ -5374,6 +5403,7 @@ declare const underverseMessages: {
|
|
|
5374
5403
|
uploading: string;
|
|
5375
5404
|
uploadFailed: string;
|
|
5376
5405
|
retryUpload: string;
|
|
5406
|
+
download: string;
|
|
5377
5407
|
};
|
|
5378
5408
|
menubar: {
|
|
5379
5409
|
file: string;
|
|
@@ -5454,6 +5484,7 @@ declare const underverseMessages: {
|
|
|
5454
5484
|
exportDefault: string;
|
|
5455
5485
|
previewEmpty: string;
|
|
5456
5486
|
sourceCodeHint: string;
|
|
5487
|
+
invalidSource: string;
|
|
5457
5488
|
};
|
|
5458
5489
|
};
|
|
5459
5490
|
};
|
|
@@ -5578,6 +5609,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5578
5609
|
loading: string;
|
|
5579
5610
|
words: string;
|
|
5580
5611
|
characters: string;
|
|
5612
|
+
accessibility: {
|
|
5613
|
+
editorLabel: string;
|
|
5614
|
+
};
|
|
5581
5615
|
colors: {
|
|
5582
5616
|
default: string;
|
|
5583
5617
|
muted: string;
|
|
@@ -5702,6 +5736,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5702
5736
|
uploadTab: string;
|
|
5703
5737
|
urlLabel: string;
|
|
5704
5738
|
urlPlaceholder: string;
|
|
5739
|
+
invalid: string;
|
|
5705
5740
|
uploadLabel: string;
|
|
5706
5741
|
uploadPlaceholder: string;
|
|
5707
5742
|
uploading: string;
|
|
@@ -5830,6 +5865,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5830
5865
|
uploading: string;
|
|
5831
5866
|
uploadFailed: string;
|
|
5832
5867
|
retryUpload: string;
|
|
5868
|
+
download: string;
|
|
5833
5869
|
};
|
|
5834
5870
|
menubar: {
|
|
5835
5871
|
file: string;
|
|
@@ -5910,6 +5946,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5910
5946
|
exportDefault: string;
|
|
5911
5947
|
previewEmpty: string;
|
|
5912
5948
|
sourceCodeHint: string;
|
|
5949
|
+
invalidSource: string;
|
|
5913
5950
|
};
|
|
5914
5951
|
};
|
|
5915
5952
|
} | {
|
|
@@ -6030,6 +6067,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6030
6067
|
loading: string;
|
|
6031
6068
|
words: string;
|
|
6032
6069
|
characters: string;
|
|
6070
|
+
accessibility: {
|
|
6071
|
+
editorLabel: string;
|
|
6072
|
+
};
|
|
6033
6073
|
colors: {
|
|
6034
6074
|
default: string;
|
|
6035
6075
|
muted: string;
|
|
@@ -6154,6 +6194,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6154
6194
|
uploadTab: string;
|
|
6155
6195
|
urlLabel: string;
|
|
6156
6196
|
urlPlaceholder: string;
|
|
6197
|
+
invalid: string;
|
|
6157
6198
|
uploadLabel: string;
|
|
6158
6199
|
uploadPlaceholder: string;
|
|
6159
6200
|
uploading: string;
|
|
@@ -6282,6 +6323,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6282
6323
|
uploading: string;
|
|
6283
6324
|
uploadFailed: string;
|
|
6284
6325
|
retryUpload: string;
|
|
6326
|
+
download: string;
|
|
6285
6327
|
};
|
|
6286
6328
|
menubar: {
|
|
6287
6329
|
file: string;
|
|
@@ -6362,6 +6404,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6362
6404
|
exportDefault: string;
|
|
6363
6405
|
previewEmpty: string;
|
|
6364
6406
|
sourceCodeHint: string;
|
|
6407
|
+
invalidSource: string;
|
|
6365
6408
|
};
|
|
6366
6409
|
};
|
|
6367
6410
|
} | {
|
|
@@ -6482,6 +6525,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6482
6525
|
loading: string;
|
|
6483
6526
|
words: string;
|
|
6484
6527
|
characters: string;
|
|
6528
|
+
accessibility: {
|
|
6529
|
+
editorLabel: string;
|
|
6530
|
+
};
|
|
6485
6531
|
colors: {
|
|
6486
6532
|
default: string;
|
|
6487
6533
|
muted: string;
|
|
@@ -6606,6 +6652,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6606
6652
|
uploadTab: string;
|
|
6607
6653
|
urlLabel: string;
|
|
6608
6654
|
urlPlaceholder: string;
|
|
6655
|
+
invalid: string;
|
|
6609
6656
|
uploadLabel: string;
|
|
6610
6657
|
uploadPlaceholder: string;
|
|
6611
6658
|
uploading: string;
|
|
@@ -6734,6 +6781,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6734
6781
|
uploading: string;
|
|
6735
6782
|
uploadFailed: string;
|
|
6736
6783
|
retryUpload: string;
|
|
6784
|
+
download: string;
|
|
6737
6785
|
};
|
|
6738
6786
|
menubar: {
|
|
6739
6787
|
file: string;
|
|
@@ -6814,6 +6862,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6814
6862
|
exportDefault: string;
|
|
6815
6863
|
previewEmpty: string;
|
|
6816
6864
|
sourceCodeHint: string;
|
|
6865
|
+
invalidSource: string;
|
|
6817
6866
|
};
|
|
6818
6867
|
};
|
|
6819
6868
|
} | {
|
|
@@ -6934,6 +6983,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6934
6983
|
loading: string;
|
|
6935
6984
|
words: string;
|
|
6936
6985
|
characters: string;
|
|
6986
|
+
accessibility: {
|
|
6987
|
+
editorLabel: string;
|
|
6988
|
+
};
|
|
6937
6989
|
colors: {
|
|
6938
6990
|
default: string;
|
|
6939
6991
|
muted: string;
|
|
@@ -7058,6 +7110,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
7058
7110
|
uploadTab: string;
|
|
7059
7111
|
urlLabel: string;
|
|
7060
7112
|
urlPlaceholder: string;
|
|
7113
|
+
invalid: string;
|
|
7061
7114
|
uploadLabel: string;
|
|
7062
7115
|
uploadPlaceholder: string;
|
|
7063
7116
|
uploading: string;
|
|
@@ -7186,6 +7239,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
7186
7239
|
uploading: string;
|
|
7187
7240
|
uploadFailed: string;
|
|
7188
7241
|
retryUpload: string;
|
|
7242
|
+
download: string;
|
|
7189
7243
|
};
|
|
7190
7244
|
menubar: {
|
|
7191
7245
|
file: string;
|
|
@@ -7266,6 +7320,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
7266
7320
|
exportDefault: string;
|
|
7267
7321
|
previewEmpty: string;
|
|
7268
7322
|
sourceCodeHint: string;
|
|
7323
|
+
invalidSource: string;
|
|
7269
7324
|
};
|
|
7270
7325
|
};
|
|
7271
7326
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -592,6 +592,9 @@ interface ModalProps {
|
|
|
592
592
|
width?: string | number;
|
|
593
593
|
height?: string | number;
|
|
594
594
|
borderMode?: BorderMode;
|
|
595
|
+
/** Optional portal target, useful for iframe or isolated document realms. */
|
|
596
|
+
portalContainer?: HTMLElement | null;
|
|
597
|
+
ariaLabel?: string;
|
|
595
598
|
}
|
|
596
599
|
declare const Modal: React$1.FC<ModalProps>;
|
|
597
600
|
|
|
@@ -810,6 +813,10 @@ interface TabsProps {
|
|
|
810
813
|
tabs: Tab[];
|
|
811
814
|
defaultValue?: string;
|
|
812
815
|
className?: string;
|
|
816
|
+
tabClassName?: string;
|
|
817
|
+
activeTabClassName?: string;
|
|
818
|
+
inactiveTabClassName?: string;
|
|
819
|
+
indicatorClassName?: string;
|
|
813
820
|
contentClassName?: string;
|
|
814
821
|
variant?: "default" | "pills" | "underline" | "card" | "underline-card";
|
|
815
822
|
size?: "sm" | "md" | "lg";
|
|
@@ -3763,6 +3770,9 @@ declare const underverseMessages: {
|
|
|
3763
3770
|
loading: string;
|
|
3764
3771
|
words: string;
|
|
3765
3772
|
characters: string;
|
|
3773
|
+
accessibility: {
|
|
3774
|
+
editorLabel: string;
|
|
3775
|
+
};
|
|
3766
3776
|
colors: {
|
|
3767
3777
|
default: string;
|
|
3768
3778
|
muted: string;
|
|
@@ -3887,6 +3897,7 @@ declare const underverseMessages: {
|
|
|
3887
3897
|
uploadTab: string;
|
|
3888
3898
|
urlLabel: string;
|
|
3889
3899
|
urlPlaceholder: string;
|
|
3900
|
+
invalid: string;
|
|
3890
3901
|
uploadLabel: string;
|
|
3891
3902
|
uploadPlaceholder: string;
|
|
3892
3903
|
uploading: string;
|
|
@@ -4015,6 +4026,7 @@ declare const underverseMessages: {
|
|
|
4015
4026
|
uploading: string;
|
|
4016
4027
|
uploadFailed: string;
|
|
4017
4028
|
retryUpload: string;
|
|
4029
|
+
download: string;
|
|
4018
4030
|
};
|
|
4019
4031
|
menubar: {
|
|
4020
4032
|
file: string;
|
|
@@ -4095,6 +4107,7 @@ declare const underverseMessages: {
|
|
|
4095
4107
|
exportDefault: string;
|
|
4096
4108
|
previewEmpty: string;
|
|
4097
4109
|
sourceCodeHint: string;
|
|
4110
|
+
invalidSource: string;
|
|
4098
4111
|
};
|
|
4099
4112
|
};
|
|
4100
4113
|
};
|
|
@@ -4216,6 +4229,9 @@ declare const underverseMessages: {
|
|
|
4216
4229
|
loading: string;
|
|
4217
4230
|
words: string;
|
|
4218
4231
|
characters: string;
|
|
4232
|
+
accessibility: {
|
|
4233
|
+
editorLabel: string;
|
|
4234
|
+
};
|
|
4219
4235
|
colors: {
|
|
4220
4236
|
default: string;
|
|
4221
4237
|
muted: string;
|
|
@@ -4340,6 +4356,7 @@ declare const underverseMessages: {
|
|
|
4340
4356
|
uploadTab: string;
|
|
4341
4357
|
urlLabel: string;
|
|
4342
4358
|
urlPlaceholder: string;
|
|
4359
|
+
invalid: string;
|
|
4343
4360
|
uploadLabel: string;
|
|
4344
4361
|
uploadPlaceholder: string;
|
|
4345
4362
|
uploading: string;
|
|
@@ -4468,6 +4485,7 @@ declare const underverseMessages: {
|
|
|
4468
4485
|
uploading: string;
|
|
4469
4486
|
uploadFailed: string;
|
|
4470
4487
|
retryUpload: string;
|
|
4488
|
+
download: string;
|
|
4471
4489
|
};
|
|
4472
4490
|
menubar: {
|
|
4473
4491
|
file: string;
|
|
@@ -4548,6 +4566,7 @@ declare const underverseMessages: {
|
|
|
4548
4566
|
exportDefault: string;
|
|
4549
4567
|
previewEmpty: string;
|
|
4550
4568
|
sourceCodeHint: string;
|
|
4569
|
+
invalidSource: string;
|
|
4551
4570
|
};
|
|
4552
4571
|
};
|
|
4553
4572
|
};
|
|
@@ -4669,6 +4688,9 @@ declare const underverseMessages: {
|
|
|
4669
4688
|
loading: string;
|
|
4670
4689
|
words: string;
|
|
4671
4690
|
characters: string;
|
|
4691
|
+
accessibility: {
|
|
4692
|
+
editorLabel: string;
|
|
4693
|
+
};
|
|
4672
4694
|
colors: {
|
|
4673
4695
|
default: string;
|
|
4674
4696
|
muted: string;
|
|
@@ -4793,6 +4815,7 @@ declare const underverseMessages: {
|
|
|
4793
4815
|
uploadTab: string;
|
|
4794
4816
|
urlLabel: string;
|
|
4795
4817
|
urlPlaceholder: string;
|
|
4818
|
+
invalid: string;
|
|
4796
4819
|
uploadLabel: string;
|
|
4797
4820
|
uploadPlaceholder: string;
|
|
4798
4821
|
uploading: string;
|
|
@@ -4921,6 +4944,7 @@ declare const underverseMessages: {
|
|
|
4921
4944
|
uploading: string;
|
|
4922
4945
|
uploadFailed: string;
|
|
4923
4946
|
retryUpload: string;
|
|
4947
|
+
download: string;
|
|
4924
4948
|
};
|
|
4925
4949
|
menubar: {
|
|
4926
4950
|
file: string;
|
|
@@ -5001,6 +5025,7 @@ declare const underverseMessages: {
|
|
|
5001
5025
|
exportDefault: string;
|
|
5002
5026
|
previewEmpty: string;
|
|
5003
5027
|
sourceCodeHint: string;
|
|
5028
|
+
invalidSource: string;
|
|
5004
5029
|
};
|
|
5005
5030
|
};
|
|
5006
5031
|
};
|
|
@@ -5122,6 +5147,9 @@ declare const underverseMessages: {
|
|
|
5122
5147
|
loading: string;
|
|
5123
5148
|
words: string;
|
|
5124
5149
|
characters: string;
|
|
5150
|
+
accessibility: {
|
|
5151
|
+
editorLabel: string;
|
|
5152
|
+
};
|
|
5125
5153
|
colors: {
|
|
5126
5154
|
default: string;
|
|
5127
5155
|
muted: string;
|
|
@@ -5246,6 +5274,7 @@ declare const underverseMessages: {
|
|
|
5246
5274
|
uploadTab: string;
|
|
5247
5275
|
urlLabel: string;
|
|
5248
5276
|
urlPlaceholder: string;
|
|
5277
|
+
invalid: string;
|
|
5249
5278
|
uploadLabel: string;
|
|
5250
5279
|
uploadPlaceholder: string;
|
|
5251
5280
|
uploading: string;
|
|
@@ -5374,6 +5403,7 @@ declare const underverseMessages: {
|
|
|
5374
5403
|
uploading: string;
|
|
5375
5404
|
uploadFailed: string;
|
|
5376
5405
|
retryUpload: string;
|
|
5406
|
+
download: string;
|
|
5377
5407
|
};
|
|
5378
5408
|
menubar: {
|
|
5379
5409
|
file: string;
|
|
@@ -5454,6 +5484,7 @@ declare const underverseMessages: {
|
|
|
5454
5484
|
exportDefault: string;
|
|
5455
5485
|
previewEmpty: string;
|
|
5456
5486
|
sourceCodeHint: string;
|
|
5487
|
+
invalidSource: string;
|
|
5457
5488
|
};
|
|
5458
5489
|
};
|
|
5459
5490
|
};
|
|
@@ -5578,6 +5609,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5578
5609
|
loading: string;
|
|
5579
5610
|
words: string;
|
|
5580
5611
|
characters: string;
|
|
5612
|
+
accessibility: {
|
|
5613
|
+
editorLabel: string;
|
|
5614
|
+
};
|
|
5581
5615
|
colors: {
|
|
5582
5616
|
default: string;
|
|
5583
5617
|
muted: string;
|
|
@@ -5702,6 +5736,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5702
5736
|
uploadTab: string;
|
|
5703
5737
|
urlLabel: string;
|
|
5704
5738
|
urlPlaceholder: string;
|
|
5739
|
+
invalid: string;
|
|
5705
5740
|
uploadLabel: string;
|
|
5706
5741
|
uploadPlaceholder: string;
|
|
5707
5742
|
uploading: string;
|
|
@@ -5830,6 +5865,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5830
5865
|
uploading: string;
|
|
5831
5866
|
uploadFailed: string;
|
|
5832
5867
|
retryUpload: string;
|
|
5868
|
+
download: string;
|
|
5833
5869
|
};
|
|
5834
5870
|
menubar: {
|
|
5835
5871
|
file: string;
|
|
@@ -5910,6 +5946,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5910
5946
|
exportDefault: string;
|
|
5911
5947
|
previewEmpty: string;
|
|
5912
5948
|
sourceCodeHint: string;
|
|
5949
|
+
invalidSource: string;
|
|
5913
5950
|
};
|
|
5914
5951
|
};
|
|
5915
5952
|
} | {
|
|
@@ -6030,6 +6067,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6030
6067
|
loading: string;
|
|
6031
6068
|
words: string;
|
|
6032
6069
|
characters: string;
|
|
6070
|
+
accessibility: {
|
|
6071
|
+
editorLabel: string;
|
|
6072
|
+
};
|
|
6033
6073
|
colors: {
|
|
6034
6074
|
default: string;
|
|
6035
6075
|
muted: string;
|
|
@@ -6154,6 +6194,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6154
6194
|
uploadTab: string;
|
|
6155
6195
|
urlLabel: string;
|
|
6156
6196
|
urlPlaceholder: string;
|
|
6197
|
+
invalid: string;
|
|
6157
6198
|
uploadLabel: string;
|
|
6158
6199
|
uploadPlaceholder: string;
|
|
6159
6200
|
uploading: string;
|
|
@@ -6282,6 +6323,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6282
6323
|
uploading: string;
|
|
6283
6324
|
uploadFailed: string;
|
|
6284
6325
|
retryUpload: string;
|
|
6326
|
+
download: string;
|
|
6285
6327
|
};
|
|
6286
6328
|
menubar: {
|
|
6287
6329
|
file: string;
|
|
@@ -6362,6 +6404,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6362
6404
|
exportDefault: string;
|
|
6363
6405
|
previewEmpty: string;
|
|
6364
6406
|
sourceCodeHint: string;
|
|
6407
|
+
invalidSource: string;
|
|
6365
6408
|
};
|
|
6366
6409
|
};
|
|
6367
6410
|
} | {
|
|
@@ -6482,6 +6525,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6482
6525
|
loading: string;
|
|
6483
6526
|
words: string;
|
|
6484
6527
|
characters: string;
|
|
6528
|
+
accessibility: {
|
|
6529
|
+
editorLabel: string;
|
|
6530
|
+
};
|
|
6485
6531
|
colors: {
|
|
6486
6532
|
default: string;
|
|
6487
6533
|
muted: string;
|
|
@@ -6606,6 +6652,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6606
6652
|
uploadTab: string;
|
|
6607
6653
|
urlLabel: string;
|
|
6608
6654
|
urlPlaceholder: string;
|
|
6655
|
+
invalid: string;
|
|
6609
6656
|
uploadLabel: string;
|
|
6610
6657
|
uploadPlaceholder: string;
|
|
6611
6658
|
uploading: string;
|
|
@@ -6734,6 +6781,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6734
6781
|
uploading: string;
|
|
6735
6782
|
uploadFailed: string;
|
|
6736
6783
|
retryUpload: string;
|
|
6784
|
+
download: string;
|
|
6737
6785
|
};
|
|
6738
6786
|
menubar: {
|
|
6739
6787
|
file: string;
|
|
@@ -6814,6 +6862,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6814
6862
|
exportDefault: string;
|
|
6815
6863
|
previewEmpty: string;
|
|
6816
6864
|
sourceCodeHint: string;
|
|
6865
|
+
invalidSource: string;
|
|
6817
6866
|
};
|
|
6818
6867
|
};
|
|
6819
6868
|
} | {
|
|
@@ -6934,6 +6983,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
6934
6983
|
loading: string;
|
|
6935
6984
|
words: string;
|
|
6936
6985
|
characters: string;
|
|
6986
|
+
accessibility: {
|
|
6987
|
+
editorLabel: string;
|
|
6988
|
+
};
|
|
6937
6989
|
colors: {
|
|
6938
6990
|
default: string;
|
|
6939
6991
|
muted: string;
|
|
@@ -7058,6 +7110,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
7058
7110
|
uploadTab: string;
|
|
7059
7111
|
urlLabel: string;
|
|
7060
7112
|
urlPlaceholder: string;
|
|
7113
|
+
invalid: string;
|
|
7061
7114
|
uploadLabel: string;
|
|
7062
7115
|
uploadPlaceholder: string;
|
|
7063
7116
|
uploading: string;
|
|
@@ -7186,6 +7239,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
7186
7239
|
uploading: string;
|
|
7187
7240
|
uploadFailed: string;
|
|
7188
7241
|
retryUpload: string;
|
|
7242
|
+
download: string;
|
|
7189
7243
|
};
|
|
7190
7244
|
menubar: {
|
|
7191
7245
|
file: string;
|
|
@@ -7266,6 +7320,7 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
7266
7320
|
exportDefault: string;
|
|
7267
7321
|
previewEmpty: string;
|
|
7268
7322
|
sourceCodeHint: string;
|
|
7323
|
+
invalidSource: string;
|
|
7269
7324
|
};
|
|
7270
7325
|
};
|
|
7271
7326
|
};
|
package/dist/index.js
CHANGED
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
extractImageSrcsFromHtml,
|
|
5
5
|
normalizeImageUrl,
|
|
6
6
|
prepareUEditorContentForSave
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-57BKIC6J.js";
|
|
8
8
|
import {
|
|
9
9
|
EmojiPicker_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S4UHFRL3.js";
|
|
11
11
|
import {
|
|
12
12
|
getEmojiImageUrl,
|
|
13
13
|
getEmojiUnifiedCode,
|
|
14
14
|
setEmojiBaseUrl
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5W63IHIN.js";
|
|
16
16
|
import "./chunk-4TYW5K4J.js";
|
|
17
17
|
import {
|
|
18
18
|
Modal_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2P7TSXEE.js";
|
|
20
20
|
import {
|
|
21
21
|
DropdownMenuItem,
|
|
22
22
|
DropdownMenuSeparator,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
shadcnAnimationStyles,
|
|
32
32
|
useShadCNAnimations,
|
|
33
33
|
useUnderverseUIConfig
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-37MHVJMV.js";
|
|
35
35
|
import {
|
|
36
36
|
ForceInternalTranslationsProvider,
|
|
37
37
|
NextIntlAdapter,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
useUnderverseLocale,
|
|
59
59
|
useUnderverseTranslations,
|
|
60
60
|
vi_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ZP7F4ZD7.js";
|
|
62
62
|
import {
|
|
63
63
|
__export,
|
|
64
64
|
__require
|
|
@@ -4433,6 +4433,10 @@ var Tabs = ({
|
|
|
4433
4433
|
tabs,
|
|
4434
4434
|
defaultValue,
|
|
4435
4435
|
className,
|
|
4436
|
+
tabClassName,
|
|
4437
|
+
activeTabClassName,
|
|
4438
|
+
inactiveTabClassName,
|
|
4439
|
+
indicatorClassName,
|
|
4436
4440
|
contentClassName,
|
|
4437
4441
|
variant = "default",
|
|
4438
4442
|
size = "md",
|
|
@@ -4535,6 +4539,7 @@ var Tabs = ({
|
|
|
4535
4539
|
stretch && orientation === "horizontal" && "flex-1 justify-center",
|
|
4536
4540
|
tab.href && tab.disabled && "pointer-events-none cursor-not-allowed opacity-50"
|
|
4537
4541
|
);
|
|
4542
|
+
const consumerClassName = cn(tabClassName, isActive ? activeTabClassName : inactiveTabClassName);
|
|
4538
4543
|
const sharedStyle = {
|
|
4539
4544
|
outline: "none"
|
|
4540
4545
|
};
|
|
@@ -4547,7 +4552,6 @@ var Tabs = ({
|
|
|
4547
4552
|
"aria-selected": isActive,
|
|
4548
4553
|
"aria-controls": panelId2,
|
|
4549
4554
|
tabIndex: isActive ? 0 : -1,
|
|
4550
|
-
className: sharedClassName,
|
|
4551
4555
|
style: sharedStyle,
|
|
4552
4556
|
onKeyDown: handleTabKeyDown
|
|
4553
4557
|
};
|
|
@@ -4565,7 +4569,7 @@ var Tabs = ({
|
|
|
4565
4569
|
handleTabChange(tab.value);
|
|
4566
4570
|
}
|
|
4567
4571
|
},
|
|
4568
|
-
className: cn(sharedClassName, "no-underline"),
|
|
4572
|
+
className: cn(sharedClassName, "no-underline", consumerClassName),
|
|
4569
4573
|
children: [
|
|
4570
4574
|
Icon && /* @__PURE__ */ jsx21(Icon, { className: "h-4 w-4" }),
|
|
4571
4575
|
tab.label
|
|
@@ -4580,7 +4584,7 @@ var Tabs = ({
|
|
|
4580
4584
|
...sharedProps,
|
|
4581
4585
|
onClick: () => !tab.disabled && handleTabChange(tab.value),
|
|
4582
4586
|
disabled: tab.disabled,
|
|
4583
|
-
className: cn(sharedClassName, "border-0 bg-transparent outline-none"),
|
|
4587
|
+
className: cn(sharedClassName, "border-0 bg-transparent outline-none", consumerClassName),
|
|
4584
4588
|
children: [
|
|
4585
4589
|
Icon && /* @__PURE__ */ jsx21(Icon, { className: "h-4 w-4" }),
|
|
4586
4590
|
tab.label
|
|
@@ -4589,7 +4593,16 @@ var Tabs = ({
|
|
|
4589
4593
|
tab.value
|
|
4590
4594
|
);
|
|
4591
4595
|
}),
|
|
4592
|
-
variant === "underline" && orientation === "horizontal" && /* @__PURE__ */ jsx21(
|
|
4596
|
+
variant === "underline" && orientation === "horizontal" && /* @__PURE__ */ jsx21(
|
|
4597
|
+
"div",
|
|
4598
|
+
{
|
|
4599
|
+
className: cn(
|
|
4600
|
+
"absolute bottom-0 h-0.5 bg-primary transition-all duration-300 ease-out",
|
|
4601
|
+
indicatorClassName
|
|
4602
|
+
),
|
|
4603
|
+
style: underlineStyle
|
|
4604
|
+
}
|
|
4605
|
+
)
|
|
4593
4606
|
] }),
|
|
4594
4607
|
/* @__PURE__ */ jsx21(
|
|
4595
4608
|
"div",
|