@tatamicks/text 0.1.4 → 0.1.5
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/README.md +8 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -1
- /package/dist/{text.css → index.css} +0 -0
package/README.md
CHANGED
|
@@ -10,7 +10,14 @@ npm install @tatamicks/core @tatamicks/text react react-dom
|
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
```typescript
|
|
14
|
+
import { TextPlugin } from '@tatamicks/text';
|
|
15
|
+
|
|
16
|
+
// Register plugin to DocumentEditor
|
|
17
|
+
editor.registerPlugin(TextPlugin);
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Note**: Styles are automatically injected when you import the plugin. No need to manually import CSS files.
|
|
14
21
|
|
|
15
22
|
## Features
|
|
16
23
|
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@tatamicks/core"),f=require("react");var W={exports:{}},C={};/**
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const a=require("@tatamicks/core"),f=require("react");var W={exports:{}},C={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VerticalAlign as L, HorizontalAlign as W, toPx as S, DEFAULT_FONT_FAMILY as le, Select as se, validationDefinition as ce, multilineDefinition as ue, fontStyleDefinition as fe, placeholderDefinition as de, universalProperties as me } from "@tatamicks/core";
|
|
2
2
|
import ge, { forwardRef as be, useRef as H, useState as te, useEffect as he, useImperativeHandle as xe, useMemo as X } from "react";
|
|
3
|
-
var M = { exports: {} }, N = {};
|
|
3
|
+
import './index.css';var M = { exports: {} }, N = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tatamicks/text",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Text plugin for @tatamicks/core",
|
|
6
6
|
"keywords": [
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"typescript": "^5.9.3",
|
|
63
63
|
"vite": "^6.3.6",
|
|
64
64
|
"vite-plugin-dts": "^4.5.4",
|
|
65
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
65
66
|
"vitest": "^3.2.4"
|
|
66
67
|
}
|
|
67
68
|
}
|
|
File without changes
|