@ixo/editor 7.12.0 → 7.13.0

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/style.css CHANGED
@@ -8714,6 +8714,11 @@ we just don't display it in CSS instead. */
8714
8714
  --bn-colors-highlight-colors-purple: #a78bfa;
8715
8715
  }
8716
8716
 
8717
+ /* BlockNote pads the table wrapper for its row handles; pull it back onto the text edge */
8718
+ .ixo-editor .bn-editor [data-content-type='table'] .tableWrapper {
8719
+ margin-inline-start: calc(-1 * var(--bn-table-handle-size));
8720
+ }
8721
+
8717
8722
  /* Editor content styles */
8718
8723
  .ixo-editor .bn-container {
8719
8724
  border: 1px solid var(--bn-colors-border);
@@ -9121,7 +9126,7 @@ body.external-artifact-drag-active .prosemirror-dropcursor-inline {
9121
9126
  color: var(--mantine-color-neutralColor-7);
9122
9127
  }
9123
9128
 
9124
- /* Insert toolbar: floating pills above the page title */
9129
+ /* Insert toolbar: pills on the page column's left edge, sized like the app's secondary header buttons */
9125
9130
  .ixo-insert-toolbar {
9126
9131
  position: sticky;
9127
9132
  top: 8px;
@@ -9131,21 +9136,20 @@ body.external-artifact-drag-active .prosemirror-dropcursor-inline {
9131
9136
  gap: 8px;
9132
9137
  max-width: 964px;
9133
9138
  margin: 8px auto 0 auto;
9134
- padding: 0 8px;
9139
+ padding: 0 var(--ixo-editor-gutter, 32px);
9135
9140
  box-sizing: border-box;
9136
9141
  pointer-events: none;
9137
9142
  }
9138
9143
 
9144
+ /* Opaque: the floating bar stays readable over the text scrolling under it */
9139
9145
  .ixo-insert-toolbar__pill {
9140
9146
  display: inline-flex;
9141
9147
  align-items: center;
9142
- gap: 2px;
9143
- height: 44px;
9144
- padding: 0 4px;
9148
+ height: 32px;
9145
9149
  box-sizing: border-box;
9146
- border-radius: 999px;
9147
- background-color: var(--mantine-color-neutralColor-2);
9148
- border: 1px solid var(--mantine-color-neutralColor-3);
9150
+ border: none;
9151
+ border-radius: var(--mantine-radius-md);
9152
+ background-color: color-mix(in srgb, var(--mantine-color-text) 5%, var(--mantine-color-body));
9149
9153
  pointer-events: auto;
9150
9154
  }
9151
9155
 
@@ -9156,6 +9160,24 @@ body.external-artifact-drag-active .prosemirror-dropcursor-inline {
9156
9160
  padding: 0 0 8px 0;
9157
9161
  }
9158
9162
 
9163
+ .ixo-insert-toolbar--embedded {
9164
+ position: static;
9165
+ min-width: 0;
9166
+ max-width: none;
9167
+ margin: 0;
9168
+ padding: 0;
9169
+ }
9170
+
9171
+ .ixo-insert-toolbar--header .ixo-insert-toolbar__pill,
9172
+ .ixo-insert-toolbar--embedded .ixo-insert-toolbar__pill {
9173
+ background-color: color-mix(in srgb, var(--mantine-color-text) 5%, transparent);
9174
+ }
9175
+
9176
+ .ixo-insert-toolbar--header button.ixo-insert-toolbar__profile:hover,
9177
+ .ixo-insert-toolbar--embedded button.ixo-insert-toolbar__profile:hover {
9178
+ background-color: color-mix(in srgb, var(--mantine-color-text) 10%, transparent);
9179
+ }
9180
+
9159
9181
  .ixo-insert-toolbar__slot {
9160
9182
  display: inline-flex;
9161
9183
  align-items: center;
@@ -9169,7 +9191,7 @@ body.external-artifact-drag-active .prosemirror-dropcursor-inline {
9169
9191
 
9170
9192
  button.ixo-insert-toolbar__profile {
9171
9193
  font: inherit;
9172
- font-size: 15px;
9194
+ font-size: 14px;
9173
9195
  font-weight: 500;
9174
9196
  color: var(--mantine-color-text);
9175
9197
  cursor: pointer;
@@ -9181,7 +9203,7 @@ button.ixo-insert-toolbar__profile:focus-visible {
9181
9203
  }
9182
9204
 
9183
9205
  button.ixo-insert-toolbar__profile:hover {
9184
- background-color: var(--mantine-color-neutralColor-3);
9206
+ background-color: color-mix(in srgb, var(--mantine-color-text) 10%, var(--mantine-color-body));
9185
9207
  }
9186
9208
 
9187
9209
  .ixo-insert-toolbar__title {
@@ -9192,9 +9214,9 @@ button.ixo-insert-toolbar__profile:hover {
9192
9214
  }
9193
9215
 
9194
9216
  .ixo-insert-toolbar__profile {
9195
- gap: 8px;
9196
- padding: 0 16px 0 14px;
9197
- font-size: 15px;
9217
+ gap: 6px;
9218
+ padding: 0 12px;
9219
+ font-size: 14px;
9198
9220
  font-weight: 500;
9199
9221
  color: var(--mantine-color-text);
9200
9222
  white-space: nowrap;
@@ -9257,14 +9279,6 @@ button.ixo-insert-toolbar__profile:hover {
9257
9279
  }
9258
9280
 
9259
9281
  @media (max-width: 992px) {
9260
- .ixo-insert-toolbar {
9261
- padding: 0 16px;
9262
- }
9263
-
9264
- .ixo-insert-toolbar--header {
9265
- padding: 0 0 8px 0;
9266
- }
9267
-
9268
9282
  .ixo-insert-toolbar__title {
9269
9283
  max-width: 120px;
9270
9284
  }