@wpic/ui 0.9.10 → 0.9.12

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": "@wpic/ui",
3
- "version": "0.9.10",
3
+ "version": "0.9.12",
4
4
  "type": "module",
5
5
  "description": "WPIC shared Vue 3 component library",
6
6
  "publishConfig": {
package/src/style.css CHANGED
@@ -435,17 +435,27 @@ input[type="range"].wpic-legacy-slider-themed::-webkit-slider-thumb {
435
435
  .wpic-theme .wpic-modal-panel:not(.wpic-modal-panel--frameless) { background: var(--wpic-popover); color: var(--wpic-text); border-color: var(--wpic-border); }
436
436
  /* Tooltips keep an inverse surface, independent of popover customization. */
437
437
  .wpic-tooltip-panel {
438
- background: #242720;
439
- color: #f7f8f5;
440
- border: 1px solid rgb(255 255 255 / 0.12);
441
- border-radius: 8px;
442
- padding: 7px 11px;
438
+ background: #000;
439
+ color: #fff;
440
+ border: 1px solid var(--color-zinc-200, #e4e4e7);
441
+ border-radius: 6px;
442
+ padding: 0.5rem 0.75rem;
443
+ font-size: 0.875rem;
444
+ line-height: 1.25rem;
443
445
  box-shadow: 0 5px 16px rgb(0 0 0 / 0.2);
444
446
  }
447
+ /* The arrow is a rotated square; floating-ui positions it along the panel edge
448
+ and WTooltip pushes it -4px past the side opposite the resolved placement. */
449
+ .wpic-tooltip-arrow {
450
+ position: absolute;
451
+ width: 8px;
452
+ height: 8px;
453
+ background: #000;
454
+ transform: rotate(45deg);
455
+ }
445
456
  .dark .wpic-tooltip-panel:not([data-wpic-theme="light"]),
446
457
  .wpic-tooltip-panel[data-wpic-theme="dark"] {
447
- background: #090a05;
448
- border: 0;
458
+ border-color: var(--color-gray-900, #18181b);
449
459
  }
450
460
  .wpic-theme .wpic-modal-panel :is(.wpic\:text-zinc-900, .wpic\:text-zinc-800, .wpic\:text-zinc-700, .wpic\:text-zinc-200, .wpic\:text-zinc-100) { color: var(--wpic-text); }
451
461
  .wpic-theme .wpic-modal-panel :is(.wpic\:text-zinc-500, .wpic\:text-zinc-400) { color: var(--wpic-dim); }