payload-richtext-tiptap 0.0.52 → 0.0.53
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/src/fields/TiptapEditor/extensions/ImageBlock/ImageBlock.d.ts +2 -0
- package/dist/src/fields/TiptapEditor/extensions/ImageBlock/ImageBlock.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/ImageBlock/ImageBlock.js.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/ImageUpload/view/ImageUpload.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/ImageUpload/view/ImageUpload.js +29 -16
- package/dist/src/fields/TiptapEditor/extensions/ImageUpload/view/ImageUpload.js.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/VideoBlock.d.ts +5 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/VideoBlock.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/VideoBlock.js +23 -2
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/VideoBlock.js.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockMenu.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockMenu.js +23 -1
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockMenu.js.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockView.d.ts +17 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockView.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockView.js +47 -12
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/VideoBlockView.js.map +1 -1
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/VideoPlayer.d.ts +10 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/VideoPlayer.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/VideoPlayer.js +45 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/VideoPlayer.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/components/QualityOption.d.ts +12 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/components/QualityOption.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/components/QualityOption.js +34 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/components/QualityOption.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/components/QualitySelector.d.ts +22 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/components/QualitySelector.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/components/QualitySelector.js +78 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/components/QualitySelector.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/events.d.ts +10 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/events.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/events.js +10 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/events.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/index.d.ts +3 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/index.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/index.js +52 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/index.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/middleware/SourceInterceptor.d.ts +2 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/middleware/SourceInterceptor.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/middleware/SourceInterceptor.js +35 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/middleware/SourceInterceptor.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/util/SafeSeek.d.ts +16 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/util/SafeSeek.d.ts.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/util/SafeSeek.js +72 -0
- package/dist/src/fields/TiptapEditor/extensions/VideoBlock/components/videojs/quality-selector/util/SafeSeek.js.map +1 -0
- package/dist/src/fields/TiptapEditor/extensions/extension-kit.d.ts +1 -1
- package/dist/src/fields/TiptapEditor/features/BlockEditor/BlockEditor.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/features/BlockEditor/BlockEditor.js +5 -0
- package/dist/src/fields/TiptapEditor/features/BlockEditor/BlockEditor.js.map +1 -1
- package/dist/src/fields/TiptapEditor/features/menus/TextMenu/components/ai-draft-selector-commands.d.ts +1 -1
- package/dist/src/fields/TiptapEditor/lib/extract.d.ts +1 -0
- package/dist/src/fields/TiptapEditor/lib/extract.d.ts.map +1 -1
- package/dist/src/fields/TiptapEditor/lib/extract.js +8 -1
- package/dist/src/fields/TiptapEditor/lib/extract.js.map +1 -1
- package/dist/src/fields/TiptapEditor/types.d.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/styles.css +63 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +196 -189
package/dist/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { TipTapEditor } from "./fields/TiptapEditor/index.js";
|
|
2
2
|
export { EditorComponent } from "./fields/TiptapEditor/Components.js";
|
|
3
3
|
export { BlockEditor } from "./fields/TiptapEditor/features/BlockEditor/BlockEditor.js";
|
|
4
|
-
export { extractMarkdown, extractTiptapJson } from "./fields/TiptapEditor/lib/extract.js";
|
|
4
|
+
export { extractMarkdown, extractTiptapJson, extractTiptapJsonFromHTML } from "./fields/TiptapEditor/lib/extract.js";
|
|
5
5
|
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export { TipTapEditor } from \"./fields/TiptapEditor/index.js\";\nexport { EditorComponent } from \"./fields/TiptapEditor/Components.js\";\nexport { BlockEditor } from \"./fields/TiptapEditor/features/BlockEditor/BlockEditor.js\";\nexport {\n extractMarkdown,\n extractTiptapJson,\n} from \"./fields/TiptapEditor/lib/extract.js\";\n"],"names":["TipTapEditor","EditorComponent","BlockEditor","extractMarkdown","extractTiptapJson"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iCAAiC;AAC9D,SAASC,eAAe,QAAQ,sCAAsC;AACtE,SAASC,WAAW,QAAQ,4DAA4D;AACxF,SACEC,eAAe,EACfC,iBAAiB,
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export { TipTapEditor } from \"./fields/TiptapEditor/index.js\";\nexport { EditorComponent } from \"./fields/TiptapEditor/Components.js\";\nexport { BlockEditor } from \"./fields/TiptapEditor/features/BlockEditor/BlockEditor.js\";\nexport {\n extractMarkdown,\n extractTiptapJson,\n extractTiptapJsonFromHTML,\n} from \"./fields/TiptapEditor/lib/extract.js\";\n"],"names":["TipTapEditor","EditorComponent","BlockEditor","extractMarkdown","extractTiptapJson","extractTiptapJsonFromHTML"],"mappings":"AAAA,SAASA,YAAY,QAAQ,iCAAiC;AAC9D,SAASC,eAAe,QAAQ,sCAAsC;AACtE,SAASC,WAAW,QAAQ,4DAA4D;AACxF,SACEC,eAAe,EACfC,iBAAiB,EACjBC,yBAAyB,QACpB,uCAAuC"}
|
package/dist/src/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
! tailwindcss v3.4.
|
|
2
|
+
! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -2155,6 +2155,10 @@ select {
|
|
|
2155
2155
|
border-radius: 0.25rem;
|
|
2156
2156
|
}
|
|
2157
2157
|
|
|
2158
|
+
.rounded-\[7px\] {
|
|
2159
|
+
border-radius: 7px;
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2158
2162
|
.rounded-\[inherit\] {
|
|
2159
2163
|
border-radius: inherit;
|
|
2160
2164
|
}
|
|
@@ -2404,6 +2408,10 @@ select {
|
|
|
2404
2408
|
padding: 0.5rem;
|
|
2405
2409
|
}
|
|
2406
2410
|
|
|
2411
|
+
.p-2\.5 {
|
|
2412
|
+
padding: 0.625rem;
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2407
2415
|
.p-4 {
|
|
2408
2416
|
padding: 1rem;
|
|
2409
2417
|
}
|
|
@@ -2615,6 +2623,11 @@ select {
|
|
|
2615
2623
|
color: rgb(59 130 246 / var(--tw-text-opacity));
|
|
2616
2624
|
}
|
|
2617
2625
|
|
|
2626
|
+
.text-gray-500 {
|
|
2627
|
+
--tw-text-opacity: 1;
|
|
2628
|
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2618
2631
|
.text-gray-900 {
|
|
2619
2632
|
--tw-text-opacity: 1;
|
|
2620
2633
|
color: rgb(17 24 39 / var(--tw-text-opacity));
|
|
@@ -2676,6 +2689,12 @@ select {
|
|
|
2676
2689
|
opacity: 0.2;
|
|
2677
2690
|
}
|
|
2678
2691
|
|
|
2692
|
+
.shadow {
|
|
2693
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
2694
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
2695
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2679
2698
|
.shadow-2xl {
|
|
2680
2699
|
--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
2681
2700
|
--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
|
|
@@ -2724,6 +2743,14 @@ select {
|
|
|
2724
2743
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2725
2744
|
}
|
|
2726
2745
|
|
|
2746
|
+
.transition {
|
|
2747
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
2748
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
2749
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
2750
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2751
|
+
transition-duration: 150ms;
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2727
2754
|
.transition-all {
|
|
2728
2755
|
transition-property: all;
|
|
2729
2756
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -2742,10 +2769,18 @@ select {
|
|
|
2742
2769
|
transition-duration: 150ms;
|
|
2743
2770
|
}
|
|
2744
2771
|
|
|
2772
|
+
.delay-150 {
|
|
2773
|
+
transition-delay: 150ms;
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2745
2776
|
.duration-300 {
|
|
2746
2777
|
transition-duration: 300ms;
|
|
2747
2778
|
}
|
|
2748
2779
|
|
|
2780
|
+
.ease-in-out {
|
|
2781
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2749
2784
|
@keyframes enter {
|
|
2750
2785
|
from {
|
|
2751
2786
|
opacity: var(--tw-enter-opacity, 1);
|
|
@@ -2764,6 +2799,18 @@ select {
|
|
|
2764
2799
|
animation-duration: 300ms;
|
|
2765
2800
|
}
|
|
2766
2801
|
|
|
2802
|
+
.delay-150 {
|
|
2803
|
+
animation-delay: 150ms;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
.ease-in-out {
|
|
2807
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
.paused {
|
|
2811
|
+
animation-play-state: paused;
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2767
2814
|
.\[animation-delay\:-0\.15s\] {
|
|
2768
2815
|
animation-delay: -0.15s;
|
|
2769
2816
|
}
|
|
@@ -2800,6 +2847,21 @@ select {
|
|
|
2800
2847
|
margin-top: 0px;
|
|
2801
2848
|
}
|
|
2802
2849
|
|
|
2850
|
+
.hover\:scale-110:hover {
|
|
2851
|
+
--tw-scale-x: 1.1;
|
|
2852
|
+
--tw-scale-y: 1.1;
|
|
2853
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
.hover\:cursor-pointer:hover {
|
|
2857
|
+
cursor: pointer;
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
.hover\:bg-amber-600:hover {
|
|
2861
|
+
--tw-bg-opacity: 1;
|
|
2862
|
+
background-color: rgb(217 119 6 / var(--tw-bg-opacity));
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2803
2865
|
.hover\:bg-black:hover {
|
|
2804
2866
|
--tw-bg-opacity: 1;
|
|
2805
2867
|
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
|