@punica/editor 1.10.1 → 1.10.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punica/editor",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "Punica Editor",
5
5
  "private": false,
6
6
  "type": "module",
@@ -130,6 +130,18 @@ declare module 'punica' {
130
130
  variant?: 'text' | 'outlined' | 'filled';
131
131
  disabled?: boolean;
132
132
  attrs?: Record<string, string>;
133
+ style?: Record<string, string> | string;
134
+ className?: string;
135
+ /**
136
+ * Finished icon markup, for the cases the positional `iconClass`
137
+ * cannot express — a toolbar action declares its icon as ready
138
+ * `<i>`/`<svg>` markup rather than a class name, so wrapping it in
139
+ * another `<i class=…>` would nest it wrongly.
140
+ *
141
+ * Same contract as `IconOptions`: a non-empty `iconClass` wins, and
142
+ * this is used only when the caller passes an empty one.
143
+ */
144
+ innerHTML?: string;
133
145
  }
134
146
 
135
147
  interface TypographyOptions {