@tiptap/extension-ruby-text 3.31.4 → 3.32.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.
package/dist/index.d.cts CHANGED
@@ -25,7 +25,7 @@ interface RubyTextAnnotationEditorProps {
25
25
  }
26
26
  //#endregion
27
27
  //#region src/ruby-text.d.ts
28
- interface RubyTextOptions {
28
+ export interface RubyTextOptions {
29
29
  /**
30
30
  * HTML attributes to add to the ruby element.
31
31
  * @default {}
@@ -45,7 +45,7 @@ interface RubyTextOptions {
45
45
  */
46
46
  renderAnnotationEditor?: (props: RubyTextAnnotationEditorProps) => HTMLElement;
47
47
  }
48
- interface RubyTextAttributes {
48
+ export interface RubyTextAttributes {
49
49
  /**
50
50
  * The ruby text annotation rendered in the HTML `rt` element.
51
51
  */
@@ -76,7 +76,7 @@ declare module '@tiptap/core' {
76
76
  * This extension adds support for HTML ruby text annotations.
77
77
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
78
78
  */
79
- declare const RubyText: Mark<RubyTextOptions, any>;
79
+ export declare const RubyText: Mark<RubyTextOptions, any>;
80
80
  //#endregion
81
- export { RubyText, RubyText as default, type RubyTextAnnotationEditorProps, RubyTextAttributes, RubyTextOptions };
81
+ export { RubyText as default, type RubyTextAnnotationEditorProps };
82
82
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/ruby-text-decoration-plugin.ts","../src/ruby-text.ts"],"mappings":";;;;;UAgBiB;;;;EAIf;;;;;EAKA,SAAS;;;;;EAKT;;;;EAIA,QAAQ;;;;UC3BO;;;;;EAKf,gBAAgB;;;;;EAKhB;;;;;;;;EAQA,0BAA0B,OAAO,kCAAkC;;UAGpD;;;;EAIf;;;YAIU,SAAS;IACjB;;;;;MAKE,cAAc,YAAY,uBAAuB;;;;;MAKjD,iBAAiB,YAAY,uBAAuB;;;;;MAKpD,qBAAqB;;;;;;;;cASd,UAAQ,KAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/ruby-text-decoration-plugin.ts","../src/ruby-text.ts"],"mappings":";;;;;UAgBiB;;;;EAIf;;;;;EAKA,SAAS;;;;;EAKT;;;;EAIA,QAAQ;;;;iBC3BO;;;;;EAKf,gBAAgB;;;;;EAKhB;;;;;;;;EAQA,0BAA0B,OAAO,kCAAkC;;iBAGpD;;;;EAIf;;;YAIU,SAAS;IACjB;;;;;MAKE,cAAc,YAAY,uBAAuB;;;;;MAKjD,iBAAiB,YAAY,uBAAuB;;;;;MAKpD,qBAAqB;;;;;;;;qBASd,UAAQ,KAAA"}
package/dist/index.d.ts CHANGED
@@ -25,7 +25,7 @@ interface RubyTextAnnotationEditorProps {
25
25
  }
26
26
  //#endregion
27
27
  //#region src/ruby-text.d.ts
28
- interface RubyTextOptions {
28
+ export interface RubyTextOptions {
29
29
  /**
30
30
  * HTML attributes to add to the ruby element.
31
31
  * @default {}
@@ -45,7 +45,7 @@ interface RubyTextOptions {
45
45
  */
46
46
  renderAnnotationEditor?: (props: RubyTextAnnotationEditorProps) => HTMLElement;
47
47
  }
48
- interface RubyTextAttributes {
48
+ export interface RubyTextAttributes {
49
49
  /**
50
50
  * The ruby text annotation rendered in the HTML `rt` element.
51
51
  */
@@ -76,7 +76,7 @@ declare module '@tiptap/core' {
76
76
  * This extension adds support for HTML ruby text annotations.
77
77
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
78
78
  */
79
- declare const RubyText: Mark<RubyTextOptions, any>;
79
+ export declare const RubyText: Mark<RubyTextOptions, any>;
80
80
  //#endregion
81
- export { RubyText, RubyText as default, type RubyTextAnnotationEditorProps, RubyTextAttributes, RubyTextOptions };
81
+ export { RubyText as default, type RubyTextAnnotationEditorProps };
82
82
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/ruby-text-decoration-plugin.ts","../src/ruby-text.ts"],"mappings":";;;;;UAgBiB;;;;EAIf;;;;;EAKA,SAAS;;;;;EAKT;;;;EAIA,QAAQ;;;;UC3BO;;;;;EAKf,gBAAgB;;;;;EAKhB;;;;;;;;EAQA,0BAA0B,OAAO,kCAAkC;;UAGpD;;;;EAIf;;;YAIU,SAAS;IACjB;;;;;MAKE,cAAc,YAAY,uBAAuB;;;;;MAKjD,iBAAiB,YAAY,uBAAuB;;;;;MAKpD,qBAAqB;;;;;;;;cASd,UAAQ,KAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/ruby-text-decoration-plugin.ts","../src/ruby-text.ts"],"mappings":";;;;;UAgBiB;;;;EAIf;;;;;EAKA,SAAS;;;;;EAKT;;;;EAIA,QAAQ;;;;iBC3BO;;;;;EAKf,gBAAgB;;;;;EAKhB;;;;;;;;EAQA,0BAA0B,OAAO,kCAAkC;;iBAGpD;;;;EAIf;;;YAIU,SAAS;IACjB;;;;;MAKE,cAAc,YAAY,uBAAuB;;;;;MAKjD,iBAAiB,YAAY,uBAAuB;;;;;MAKpD,qBAAqB;;;;;;;;qBASd,UAAQ,KAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiptap/extension-ruby-text",
3
- "version": "3.31.4",
3
+ "version": "3.32.1",
4
4
  "description": "HTML ruby text annotation extension for tiptap",
5
5
  "keywords": [
6
6
  "cjk",
@@ -42,12 +42,12 @@
42
42
  }
43
43
  },
44
44
  "devDependencies": {
45
- "@tiptap/core": "^3.31.4",
46
- "@tiptap/pm": "^3.31.4"
45
+ "@tiptap/core": "^3.32.1",
46
+ "@tiptap/pm": "^3.32.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "@tiptap/core": "3.31.4",
50
- "@tiptap/pm": "3.31.4"
49
+ "@tiptap/core": "3.32.1",
50
+ "@tiptap/pm": "3.32.1"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "vp pack"