@rcarls/rc-markdown-editor 0.0.0-next-20260921045401
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/CHANGELOG.md +181 -0
- package/README.md +20 -0
- package/dist/custom-elements.json +1543 -0
- package/dist/rc-editor-toolbar-5pUvT9Vm.js +5392 -0
- package/dist/rc-editor-toolbar-5pUvT9Vm.js.map +1 -0
- package/dist/rc-markdown-editor-define.js +5 -0
- package/dist/rc-markdown-editor-define.js.map +1 -0
- package/dist/rc-markdown-editor.js +6 -0
- package/dist/rc-markdown-editor.js.map +1 -0
- package/dist/types/packages/rc-markdown-editor/src/define.d.ts +0 -0
- package/dist/types/packages/rc-markdown-editor/src/formatting.d.ts +18 -0
- package/dist/types/packages/rc-markdown-editor/src/icons.d.ts +22 -0
- package/dist/types/packages/rc-markdown-editor/src/index.d.ts +3 -0
- package/dist/types/packages/rc-markdown-editor/src/rc-editor-toolbar.d.ts +75 -0
- package/dist/types/packages/rc-markdown-editor/src/rc-markdown-editor.d.ts +177 -0
- package/dist/types/packages/rc-markdown-editor/src/rc-markdown-editor.styles.d.ts +1 -0
- package/dist/types/packages/rc-markdown-editor/src/types.d.ts +42 -0
- package/package.json +75 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# @rcarls/rc-markdown-editor
|
|
2
|
+
|
|
3
|
+
## 0.0.0-next-20260921045401
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 079e025: Standardize component styling contracts for the breaking 0.7 release.
|
|
8
|
+
|
|
9
|
+
BREAKING CHANGE: Rename the Markdown editor's `--rme-*` properties to
|
|
10
|
+
`--rc-markdown-editor-*`, `--rc-app-bar-background` to `--rc-app-bar-bg`,
|
|
11
|
+
`--rc-textarea-radius` to `--rc-textarea-border-radius`, the transfer-list
|
|
12
|
+
`--rc-transfer-list-panel-*` properties to `--rc-transfer-list-listbox-*`,
|
|
13
|
+
`--rc-chip-group-webkit-scrollbar-display` to
|
|
14
|
+
`--rc-chip-group-scrollbar-display`, and `--rc-text` to `--rc-field-text`.
|
|
15
|
+
Compatibility aliases are intentionally not provided.
|
|
16
|
+
|
|
17
|
+
BREAKING CHANGE: Replace `--rc-select-chip-padding-inline` and
|
|
18
|
+
`--rc-combobox-chip-padding-inline` with explicit `*-padding-inline-start` and
|
|
19
|
+
`*-padding-inline-end` tokens. Generated removable chips now reserve the full
|
|
20
|
+
remove target and its edge offset, so their indicator cannot overlap label text.
|
|
21
|
+
|
|
22
|
+
Add canonical app-bar elevation, transfer-list listbox radius, and textarea
|
|
23
|
+
line-action tokens. Add logical `rc-chip` inline-padding properties so themes
|
|
24
|
+
can implement Material's icon-aware spacing without overriding authored child
|
|
25
|
+
styles. Make `rc-field` consume the shared semantic token layer,
|
|
26
|
+
and place the `rc-chip` and `rc-search-bar` light-DOM structural styles in the
|
|
27
|
+
`rc-base` cascade layer so normal consumer rules override them.
|
|
28
|
+
|
|
29
|
+
Prevent decorative, `aria-hidden` trailing list content from intercepting a
|
|
30
|
+
whole-row action target, and keep segmented-list item geometry from leaking
|
|
31
|
+
into nested standard lists.
|
|
32
|
+
|
|
33
|
+
Remove unused Material navigation-rail toggle tokens and obsolete list-item
|
|
34
|
+
theme tokens. Register the segmented-button private theme seam and enforce
|
|
35
|
+
token ownership, documentation, removed-name, selector-budget, and cascade
|
|
36
|
+
layer contracts through the component architecture audit.
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [079e025]
|
|
41
|
+
- Updated dependencies [4341311]
|
|
42
|
+
- Updated dependencies [94dc987]
|
|
43
|
+
- Updated dependencies [8a30e96]
|
|
44
|
+
- Updated dependencies [4617b45]
|
|
45
|
+
- @rcarls/rc-select@0.0.0-next-20260921045401
|
|
46
|
+
- @rcarls/rc-textarea@0.0.0-next-20260921045401
|
|
47
|
+
- @rcarls/rc-toolbar@0.0.0-next-20260921045401
|
|
48
|
+
- @rcarls/rc-button@0.0.0-next-20260921045401
|
|
49
|
+
|
|
50
|
+
## 0.6.0
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- Updated dependencies [ffcbf11]
|
|
55
|
+
- Updated dependencies [7adbd76]
|
|
56
|
+
- Updated dependencies [30eb232]
|
|
57
|
+
- Updated dependencies [53baa54]
|
|
58
|
+
- Updated dependencies [53baa54]
|
|
59
|
+
- Updated dependencies [985067e]
|
|
60
|
+
- Updated dependencies [57370e4]
|
|
61
|
+
- @rcarls/rc-select@0.6.0
|
|
62
|
+
- @rcarls/rc-button@0.6.0
|
|
63
|
+
- @rcarls/rc-textarea@0.6.0
|
|
64
|
+
- @rcarls/rc-toolbar@0.6.0
|
|
65
|
+
|
|
66
|
+
## 0.5.0
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- Updated dependencies [689340c]
|
|
71
|
+
- @rcarls/rc-textarea@0.5.0
|
|
72
|
+
- @rcarls/rc-select@0.5.0
|
|
73
|
+
- @rcarls/rc-toolbar@0.5.0
|
|
74
|
+
- @rcarls/rc-button@0.5.0
|
|
75
|
+
|
|
76
|
+
## 0.4.2
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- @rcarls/rc-button@0.4.2
|
|
81
|
+
- @rcarls/rc-select@0.4.2
|
|
82
|
+
- @rcarls/rc-textarea@0.4.2
|
|
83
|
+
- @rcarls/rc-toolbar@0.4.2
|
|
84
|
+
|
|
85
|
+
## 0.4.1
|
|
86
|
+
|
|
87
|
+
### Patch Changes
|
|
88
|
+
|
|
89
|
+
- @rcarls/rc-button@0.4.1
|
|
90
|
+
- @rcarls/rc-select@0.4.1
|
|
91
|
+
- @rcarls/rc-textarea@0.4.1
|
|
92
|
+
- @rcarls/rc-toolbar@0.4.1
|
|
93
|
+
|
|
94
|
+
## 0.4.0
|
|
95
|
+
|
|
96
|
+
### Patch Changes
|
|
97
|
+
|
|
98
|
+
- b7270df: Compose the Markdown editor toolbar from `rc-toolbar`, `rc-button`, and
|
|
99
|
+
`rc-select`, and include native buttons inside direct `rc-button` wrappers in
|
|
100
|
+
toolbar roving-focus navigation.
|
|
101
|
+
- 0ae93fc: Document `rc-markdown-editor`'s `toolbar`/`rich-view` CSS parts, its 18 CSS
|
|
102
|
+
custom properties, the `value`/`default-value` attributes, and its default
|
|
103
|
+
slot, plus `rc-editor-toolbar`'s full set of `active-*`, `code-language`, and
|
|
104
|
+
`source-mode` attributes, in the generated API reference.
|
|
105
|
+
- 756eb36: Fix `sourceMode` so host-driven writes are silent, matching the library's
|
|
106
|
+
controlled/uncontrolled convention. The property setter previously dispatched
|
|
107
|
+
`rc-mode-change` on every change regardless of source, so setting
|
|
108
|
+
`el.sourceMode = true` from a host fired the same user-interaction event as
|
|
109
|
+
the toolbar button or Ctrl+Shift+S. The event now only fires from those two
|
|
110
|
+
genuinely user-driven paths.
|
|
111
|
+
- 2946bd9: Fix `value` so it can be set declaratively via the `value` HTML attribute. It
|
|
112
|
+
previously had no `@property` decorator at all, so `<rc-markdown-editor
|
|
113
|
+
value="...">` was silently ignored and only the JS `.value` assignment worked.
|
|
114
|
+
- ffce603: Preserve controlled Markdown values across initial rich/source mode setup,
|
|
115
|
+
ignore change events emitted by the inactive source editor, and sanitize rich
|
|
116
|
+
Markdown output while retaining the editor's supported underline markup. Keep
|
|
117
|
+
source-mode focus and read-only behavior aligned with the active editor surface.
|
|
118
|
+
- Updated dependencies [5312d29]
|
|
119
|
+
- Updated dependencies [b7270df]
|
|
120
|
+
- Updated dependencies [46810f7]
|
|
121
|
+
- Updated dependencies [32b1dc4]
|
|
122
|
+
- Updated dependencies [51b2c8f]
|
|
123
|
+
- Updated dependencies [55e8ab5]
|
|
124
|
+
- Updated dependencies [f1b38b5]
|
|
125
|
+
- Updated dependencies [e11c4b7]
|
|
126
|
+
- Updated dependencies [74d9046]
|
|
127
|
+
- Updated dependencies [9c3bc6f]
|
|
128
|
+
- Updated dependencies [c50d9e2]
|
|
129
|
+
- Updated dependencies [be4f0ae]
|
|
130
|
+
- Updated dependencies [4df89fd]
|
|
131
|
+
- Updated dependencies [c40a1be]
|
|
132
|
+
- Updated dependencies [aecba33]
|
|
133
|
+
- @rcarls/rc-button@0.4.0
|
|
134
|
+
- @rcarls/rc-toolbar@0.4.0
|
|
135
|
+
- @rcarls/rc-textarea@0.4.0
|
|
136
|
+
- @rcarls/rc-select@0.4.0
|
|
137
|
+
|
|
138
|
+
## 0.3.2
|
|
139
|
+
|
|
140
|
+
### Patch Changes
|
|
141
|
+
|
|
142
|
+
- Updated dependencies [88b4086]
|
|
143
|
+
- @rcarls/rc-select@0.3.2
|
|
144
|
+
- @rcarls/rc-textarea@0.3.2
|
|
145
|
+
|
|
146
|
+
## 0.3.1
|
|
147
|
+
|
|
148
|
+
### Patch Changes
|
|
149
|
+
|
|
150
|
+
- Updated dependencies [808afe4]
|
|
151
|
+
- @rcarls/rc-textarea@0.3.1
|
|
152
|
+
- @rcarls/rc-select@0.3.1
|
|
153
|
+
|
|
154
|
+
## 0.3.0
|
|
155
|
+
|
|
156
|
+
### Added
|
|
157
|
+
|
|
158
|
+
- Add an inline link popover for link creation, editing, opening, and removal.
|
|
159
|
+
- Add word expansion for collapsed character-format selections.
|
|
160
|
+
- Add Ctrl/Cmd-click link opening in rich mode.
|
|
161
|
+
- Add active link toolbar state.
|
|
162
|
+
|
|
163
|
+
### Changed
|
|
164
|
+
|
|
165
|
+
- Render rich-mode links with pointer cursor and underline styling.
|
|
166
|
+
- Update package metadata, README intro, and docs links.
|
|
167
|
+
|
|
168
|
+
### Fixed
|
|
169
|
+
|
|
170
|
+
- Give the heading-level select an accessible name.
|
|
171
|
+
- Fix Markdown code-block language updates through the published plugin path.
|
|
172
|
+
|
|
173
|
+
### Dependencies
|
|
174
|
+
|
|
175
|
+
- Sync internal dependencies to 0.3.0.
|
|
176
|
+
|
|
177
|
+
## 0.2.0
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- @rcarls/rc-textarea@0.2.0
|
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @rcarls/rc-markdown-editor
|
|
2
|
+
|
|
3
|
+
Rich/source Markdown editor with a formatting toolbar, backed by `rc-textarea`.
|
|
4
|
+
|
|
5
|
+
Docs: [https://richardcarls.github.io/rc-webcomponents/components/rc-markdown-editor](https://richardcarls.github.io/rc-webcomponents/components/rc-markdown-editor).
|
|
6
|
+
|
|
7
|
+
Part of the [rc-webcomponents](https://github.com/richardcarls/rc-webcomponents) library.
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
|
|
11
|
+
Full API, usage examples, and keyboard/accessibility notes are on the
|
|
12
|
+
[rc-webcomponents docs site](https://richardcarls.github.io/rc-webcomponents/).
|
|
13
|
+
|
|
14
|
+
## Attributions
|
|
15
|
+
|
|
16
|
+
The `rc-markdown-editor` toolbar uses icons from [Bootstrap Icons](https://icons.getbootstrap.com/) by the Bootstrap Authors, licensed under the [MIT License](https://github.com/twbs/icons/blob/main/LICENSE).
|
|
17
|
+
|
|
18
|
+
## License
|
|
19
|
+
|
|
20
|
+
MIT
|