playbook_ui 18.0.0.pre.alpha.PLAY323219675 → 18.0.0.pre.alpha.PLAY323219729
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +23 -22
- data/dist/ai/forms.json +1 -1
- data/dist/ai/index.json +2 -2
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eab985fb5ceaa053047dc180cffe1a5f4675e5e496a0f58c61887c2c6a4e6253
|
|
4
|
+
data.tar.gz: 6c74de8d152d109eb6cfceab84e0b126b10b6958455b8429ec94d310168f4e9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b32321a1e03141678cb84f2c9ead765443fffca26e37304d5031fb96aa3aa0ded8e2dfb361e8d083e001749bcd9706ae8e783fee712558a9e7c7bbb5e5b5616
|
|
7
|
+
data.tar.gz: 44d006a1fd938ee9f8025a3d059217b1a9d5c40b903af65cb6d484e30107bf0bd2d1d349fcdb5e79de4d7b7cdf62511c174377c3cde0956b46d7685d9d57ce45
|
|
@@ -123,27 +123,26 @@
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.toolbar {
|
|
126
|
+
$history-gutter: $space_sm + (($space_lg + $space_xxs) * 2);
|
|
127
|
+
|
|
126
128
|
border-radius: $border_rad_heaviest $border_rad_heaviest 0 0;
|
|
127
129
|
border: 1px solid $input_border_default;
|
|
128
130
|
container-name: rte-toolbar;
|
|
129
131
|
container-type: inline-size;
|
|
130
132
|
position: relative;
|
|
131
133
|
|
|
132
|
-
//
|
|
134
|
+
// Prefer one row; undo/redo stay top-right. Stack tools only when they cannot share a line.
|
|
133
135
|
&_inner {
|
|
134
136
|
box-sizing: border-box;
|
|
135
137
|
min-height: $space_lg + $space_xxs + $space_xxs * 2; // 36px button + vertical padding
|
|
136
138
|
padding: $space_xxs $space_sm;
|
|
137
|
-
|
|
138
|
-
padding-right: $space_sm + (($space_lg + $space_xxs) * 2);
|
|
139
|
+
padding-right: $history-gutter;
|
|
139
140
|
position: relative;
|
|
140
141
|
}
|
|
141
142
|
|
|
142
|
-
//
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
padding-right: $space_sm;
|
|
146
|
-
}
|
|
143
|
+
// Tools on their own row: drop undo gutter so the tools scrollport can go edge-to-edge.
|
|
144
|
+
&:has(.toolbar_group_more) .toolbar_inner {
|
|
145
|
+
padding-right: $space_sm;
|
|
147
146
|
}
|
|
148
147
|
|
|
149
148
|
&_controls {
|
|
@@ -163,7 +162,6 @@
|
|
|
163
162
|
top: $space_xxs;
|
|
164
163
|
}
|
|
165
164
|
|
|
166
|
-
// Groups: format | tools | more. With "more", narrow stacks tools under format|more.
|
|
167
165
|
&_group {
|
|
168
166
|
align-items: center;
|
|
169
167
|
display: flex;
|
|
@@ -178,8 +176,12 @@
|
|
|
178
176
|
}
|
|
179
177
|
|
|
180
178
|
&_tools {
|
|
179
|
+
box-sizing: border-box;
|
|
181
180
|
flex-wrap: nowrap;
|
|
181
|
+
max-width: 100%;
|
|
182
|
+
min-width: 0;
|
|
182
183
|
order: 2;
|
|
184
|
+
overflow-x: auto;
|
|
183
185
|
}
|
|
184
186
|
|
|
185
187
|
&_more {
|
|
@@ -187,6 +189,7 @@
|
|
|
187
189
|
}
|
|
188
190
|
}
|
|
189
191
|
|
|
192
|
+
// With "more": stack tools under format|more until wide enough for one row
|
|
190
193
|
&_controls:has(.toolbar_group_more) {
|
|
191
194
|
.toolbar_group_more {
|
|
192
195
|
order: 2;
|
|
@@ -196,7 +199,6 @@
|
|
|
196
199
|
flex: 1 1 100%;
|
|
197
200
|
order: 3;
|
|
198
201
|
|
|
199
|
-
// Tools on their own row — no leading pipe
|
|
200
202
|
> .toolbar_separator:first-child {
|
|
201
203
|
display: none;
|
|
202
204
|
}
|
|
@@ -204,10 +206,15 @@
|
|
|
204
206
|
}
|
|
205
207
|
|
|
206
208
|
@container rte-toolbar (min-width: 42rem) {
|
|
209
|
+
&:has(.toolbar_group_more) .toolbar_inner {
|
|
210
|
+
padding-right: $history-gutter;
|
|
211
|
+
}
|
|
212
|
+
|
|
207
213
|
.toolbar_controls:has(.toolbar_group_more) {
|
|
208
214
|
.toolbar_group_tools {
|
|
209
215
|
flex: 0 1 auto;
|
|
210
216
|
order: 2;
|
|
217
|
+
overflow-x: visible;
|
|
211
218
|
|
|
212
219
|
> .toolbar_separator:first-child {
|
|
213
220
|
display: flex;
|
|
@@ -220,8 +227,12 @@
|
|
|
220
227
|
}
|
|
221
228
|
}
|
|
222
229
|
|
|
223
|
-
// No "more":
|
|
224
|
-
@container rte-toolbar (max-width:
|
|
230
|
+
// No "more": full-width tools row + no leading pipe + no undo gutter when stacked
|
|
231
|
+
@container rte-toolbar (max-width: 40rem) {
|
|
232
|
+
&:not(:has(.toolbar_group_more)) .toolbar_inner {
|
|
233
|
+
padding-right: $space_sm;
|
|
234
|
+
}
|
|
235
|
+
|
|
225
236
|
.toolbar_controls:not(:has(.toolbar_group_more)) .toolbar_group_tools {
|
|
226
237
|
flex: 1 1 100%;
|
|
227
238
|
|
|
@@ -292,15 +303,6 @@
|
|
|
292
303
|
max-width: 100%;
|
|
293
304
|
min-width: 0;
|
|
294
305
|
|
|
295
|
-
.toolbar_inner,
|
|
296
|
-
.rte-rails-toolbar-row {
|
|
297
|
-
box-sizing: border-box;
|
|
298
|
-
min-height: $space_lg + $space_xxs + $space_xxs * 2;
|
|
299
|
-
padding: $space_xxs $space_sm;
|
|
300
|
-
padding-right: $space_sm + (($space_lg + $space_xxs) * 2);
|
|
301
|
-
position: relative;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
306
|
.rte-toolbar-left,
|
|
305
307
|
.toolbar_controls {
|
|
306
308
|
align-items: center;
|
|
@@ -320,7 +322,6 @@
|
|
|
320
322
|
top: $space_xxs;
|
|
321
323
|
}
|
|
322
324
|
|
|
323
|
-
// Align dropdown trigger with icon row
|
|
324
325
|
.pb_popover_reference_wrapper {
|
|
325
326
|
align-items: center;
|
|
326
327
|
display: inline-flex;
|
data/dist/ai/forms.json
CHANGED
data/dist/ai/index.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "18.0.0-alpha.
|
|
2
|
+
"version": "18.0.0-alpha.PLAY323219729",
|
|
3
3
|
"metadataVersion": 1,
|
|
4
4
|
"forms": "forms.json",
|
|
5
|
-
"generated": "2026-
|
|
5
|
+
"generated": "2026-10-01T19:35:34.080Z",
|
|
6
6
|
"schemas": {
|
|
7
7
|
"globalProps": "global-props.schema.json",
|
|
8
8
|
"globalEventProps": "global-event-props.schema.json",
|