Skip to content

Commit f230303

Browse files
committed
0.22.0
1 parent f46d4b9 commit f230303

File tree

5 files changed

+15
-42
lines changed

5 files changed

+15
-42
lines changed

docs/API.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The priority is descending order.
9494

9595
#### Defined in
9696

97-
[src/renderers.tsx:17](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/renderers.tsx#L17)
97+
[src/renderers.tsx:17](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/renderers.tsx#L17)
9898

9999
## Type Aliases
100100

@@ -104,7 +104,7 @@ The priority is descending order.
104104

105105
#### Defined in
106106

107-
[src/renderers.tsx:4](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/renderers.tsx#L4)
107+
[src/renderers.tsx:4](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/renderers.tsx#L4)
108108

109109
___
110110

@@ -128,7 +128,7 @@ ___
128128

129129
#### Defined in
130130

131-
[src/types.ts:1](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/types.ts#L1)
131+
[src/types.ts:1](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/types.ts#L1)
132132

133133
___
134134

@@ -138,4 +138,4 @@ ___
138138

139139
#### Defined in
140140

141-
[src/types.ts:3](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/types.ts#L3)
141+
[src/types.ts:3](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/types.ts#L3)

docs/interfaces/RichInputProps.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,20 @@ For other props not mentioned below will be passed to [input](https://developer.
77

88
## Hierarchy
99

10-
- `Omit`<`JSX.IntrinsicElements`[``"input"``], ``"value"`` \| ``"defaultValue"`` \| ``"children"``\>
10+
- `Omit`<`JSX.IntrinsicElements`[``"input"``], ``"children"``\>
1111

1212
**`RichInputProps`**
1313

1414
## Table of contents
1515

1616
### Properties
1717

18-
- [value](RichInputProps.md#value)
1918
- [children](RichInputProps.md#children)
2019
- [autoHeight](RichInputProps.md#autoheight)
2120
- [onSelectionChange](RichInputProps.md#onselectionchange)
2221

2322
## Properties
2423

25-
### value
26-
27-
**value**: `string`
28-
29-
Same as original but only string
30-
31-
#### Defined in
32-
33-
[src/input.tsx:60](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/input.tsx#L60)
34-
35-
___
36-
3724
### children
3825

3926
`Optional` **children**: [`Renderer`](../API.md#renderer)
@@ -56,7 +43,7 @@ undefined
5643

5744
#### Defined in
5845

59-
[src/input.tsx:75](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/input.tsx#L75)
46+
[src/input.tsx:130](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/input.tsx#L130)
6047

6148
___
6249

@@ -72,7 +59,7 @@ undefined
7259

7360
#### Defined in
7461

75-
[src/input.tsx:80](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/input.tsx#L80)
62+
[src/input.tsx:135](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/input.tsx#L135)
7663

7764
___
7865

@@ -102,4 +89,4 @@ undefined
10289

10390
#### Defined in
10491

105-
[src/input.tsx:85](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/input.tsx#L85)
92+
[src/input.tsx:140](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/input.tsx#L140)

docs/interfaces/RichTextareaProps.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,23 @@
33
Props of [RichTextarea](../API.md#richtextarea).
44

55
For other props not mentioned below will be passed to [textarea](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement).
6-
`defaultValue` is omitted for simplicity of logic.
76

87
## Hierarchy
98

10-
- `Omit`<`JSX.IntrinsicElements`[``"textarea"``], ``"value"`` \| ``"defaultValue"`` \| ``"children"``\>
9+
- `Omit`<`JSX.IntrinsicElements`[``"textarea"``], ``"children"``\>
1110

1211
**`RichTextareaProps`**
1312

1413
## Table of contents
1514

1615
### Properties
1716

18-
- [value](RichTextareaProps.md#value)
1917
- [children](RichTextareaProps.md#children)
2018
- [autoHeight](RichTextareaProps.md#autoheight)
2119
- [onSelectionChange](RichTextareaProps.md#onselectionchange)
2220

2321
## Properties
2422

25-
### value
26-
27-
**value**: `string`
28-
29-
Same as original but only string
30-
31-
#### Defined in
32-
33-
[src/textarea.tsx:59](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/textarea.tsx#L59)
34-
35-
___
36-
3723
### children
3824

3925
`Optional` **children**: [`Renderer`](../API.md#renderer)
@@ -56,7 +42,7 @@ undefined
5642

5743
#### Defined in
5844

59-
[src/textarea.tsx:75](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/textarea.tsx#L75)
45+
[src/textarea.tsx:122](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/textarea.tsx#L122)
6046

6147
___
6248

@@ -74,7 +60,7 @@ undefined
7460

7561
#### Defined in
7662

77-
[src/textarea.tsx:82](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/textarea.tsx#L82)
63+
[src/textarea.tsx:129](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/textarea.tsx#L129)
7864

7965
___
8066

@@ -104,4 +90,4 @@ undefined
10490

10591
#### Defined in
10692

107-
[src/textarea.tsx:87](https://github.com/inokawa/rich-textarea/blob/01f7de5/src/textarea.tsx#L87)
93+
[src/textarea.tsx:134](https://github.com/inokawa/rich-textarea/blob/f46d4b9/src/textarea.tsx#L134)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rich-textarea",
3-
"version": "0.21.2",
3+
"version": "0.22.0",
44
"description": "A small customizable textarea for React to colorize, highlight, decorate texts, offer autocomplete and much more.",
55
"main": "lib/index.js",
66
"module": "lib/index.mjs",

0 commit comments

Comments
 (0)