@vibe-tiptap/shadcn-ui 1.1.2 → 1.1.4
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 +1 -1
- package/dist/index.js +1064 -950
- package/dist/style.css +1 -1
- package/dist/table-grips.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -162,7 +162,7 @@ export const shadcnTiptapComponents = {
|
|
|
162
162
|
|
|
163
163
|
`colorPicker` 同时适用于工具栏和气泡菜单中的文字颜色与高亮色盘。`button` 作用于色盘触发、复制和清除按钮,并优先于所在区域的按钮配置。`swatchClassName` 用于色块的尺寸、边框和选中轮廓,色块背景取自候选颜色。
|
|
164
164
|
|
|
165
|
-
通过各区域的 `button` 属性设置 `size`、`variant` 和 `className
|
|
165
|
+
通过各区域的 `button` 属性设置 `size`、`variant` 和 `className`。其他支持这些按钮配置的区域包括 `whiteboard` 和 `imagePreview`。表格抓手使用原生按钮,可通过 `tableGrips.button.className` 自定义样式。插入浮层的按钮选项也作用于 Tabs 和复选框。`colorPicker.swatch` 用于单独覆盖色块按钮,优先于 `colorPicker.button`。
|
|
166
166
|
|
|
167
167
|
斜杠菜单和表格尺寸网格使用原生按钮,通过 `slashMenu.button.className` 和 `tablePicker.button.className` 覆盖尺寸和外观。
|
|
168
168
|
|