@surfishs/dsh-prompt-enhance 0.0.5 → 0.0.7

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.
@@ -264,6 +264,105 @@ export const CSS = `
264
264
  font-size: 12px;
265
265
  }
266
266
  .dsh-pe-undo-x:hover { opacity: 1; background: var(--dsw-alias-bg-layer-2, rgba(128, 128, 128, 0.12)); }
267
+ .dsh-pe-segmented-labels [role="tab"] {
268
+ min-width: 0;
269
+ overflow: hidden;
270
+ text-overflow: ellipsis;
271
+ text-align: center;
272
+ white-space: nowrap;
273
+ }
274
+ .dsh-pe-advanced {
275
+ margin-top: 12px;
276
+ border-top: 1px solid var(--dsw-alias-border-l3, rgba(128, 128, 128, 0.22));
277
+ }
278
+ .dsh-pe-advanced > summary {
279
+ display: flex;
280
+ align-items: center;
281
+ gap: 8px;
282
+ min-height: 40px;
283
+ padding: 0 4px;
284
+ list-style: none;
285
+ font-size: 13px;
286
+ font-weight: 500;
287
+ color: var(--dsw-alias-label-secondary, inherit);
288
+ cursor: pointer;
289
+ user-select: none;
290
+ }
291
+ .dsh-pe-advanced > summary::-webkit-details-marker { display: none; }
292
+ .dsh-pe-advanced > summary::marker { content: ''; }
293
+ .dsh-pe-advanced > summary::before {
294
+ content: '';
295
+ flex: none;
296
+ width: 0;
297
+ height: 0;
298
+ border-top: 4px solid transparent;
299
+ border-bottom: 4px solid transparent;
300
+ border-left: 5px solid currentColor;
301
+ transition: transform 120ms ease;
302
+ }
303
+ .dsh-pe-advanced[open] > summary::before { transform: rotate(90deg); }
304
+ .dsh-pe-advanced > summary:hover {
305
+ color: var(--dsw-alias-label-primary, inherit);
306
+ background: rgba(127, 127, 127, 0.08);
307
+ border-radius: 6px;
308
+ }
309
+ .dsh-pe-advanced > summary:focus-visible {
310
+ outline: 2px solid var(--dsw-alias-state-business-primary, #4f8cff);
311
+ outline-offset: -2px;
312
+ border-radius: 6px;
313
+ }
314
+ .dsh-pe-advanced[open] > summary { margin-bottom: 4px; }
315
+ .dsh-pe-advanced + .dsh-pe-form-footer { margin-top: 0; }
316
+ .dsh-pe-chip-reset:hover:not(:disabled),
317
+ .dsh-pe-chip-refresh:hover:not(:disabled) {
318
+ --pe-chip-bg: var(--dsw-alias-interactive-bg-hover, rgba(127, 127, 127, 0.18));
319
+ --pe-chip-color: var(--dsw-alias-label-primary, inherit);
320
+ }
321
+ .dsh-pe-chip-reset:focus-visible,
322
+ .dsh-pe-chip-refresh:focus-visible {
323
+ outline: 2px solid var(--dsw-alias-state-business-primary, #4f8cff);
324
+ outline-offset: 2px;
325
+ }
326
+ .dsh-pe-form-footer {
327
+ display: flex;
328
+ justify-content: flex-end;
329
+ margin-top: 12px;
330
+ padding-top: 10px;
331
+ border-top: 1px solid var(--dsw-alias-border-l3, rgba(128, 128, 128, 0.22));
332
+ }
333
+ .dsh-pe-save-group {
334
+ display: flex;
335
+ align-items: center;
336
+ justify-content: flex-end;
337
+ flex-wrap: wrap;
338
+ gap: 8px;
339
+ min-width: 0;
340
+ max-width: 100%;
341
+ margin-left: auto;
342
+ }
343
+ .dsh-pe-save-status {
344
+ min-width: 0;
345
+ max-width: 100%;
346
+ font-size: 12px;
347
+ color: var(--dsw-alias-label-secondary, inherit);
348
+ text-align: right;
349
+ overflow-wrap: anywhere;
350
+ }
351
+ .dsh-pe-save-button {
352
+ flex: none;
353
+ margin-left: 0;
354
+ height: 28px;
355
+ padding: 0 14px;
356
+ border: 1px solid var(--dsw-alias-border-l2, rgba(128, 128, 128, 0.32));
357
+ border-radius: 8px;
358
+ background: var(--dsw-alias-bg-layer-1, transparent);
359
+ color: inherit;
360
+ font: inherit;
361
+ font-size: 12px;
362
+ cursor: pointer;
363
+ }
364
+ .dsh-pe-save-button:hover:not(:disabled) { background: rgba(127, 127, 127, 0.12); }
365
+ .dsh-pe-save-button:disabled { opacity: 0.5; cursor: default; }
267
366
  `
268
367
 
269
368
  /**