domma-js 0.41.0 → 0.42.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.
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Elements CSS v0.41.0
2
+ * Domma Elements CSS v0.42.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-22T13:41:49.303Z
6
- * Commit: 5d8b7e1
5
+ * Built: 2026-08-22T16:17:44.114Z
6
+ * Commit: 0f0475f
7
7
  */
8
8
 
9
9
  /**
@@ -5336,7 +5336,9 @@ code {
5336
5336
  z-index: 1000;
5337
5337
  min-width: 10rem;
5338
5338
  padding: 0.5rem 0;
5339
- margin: 0.125rem 0 0;
5339
+ /* No margin: the menu is placed by JS from `offset`, and a margin here would
5340
+ silently add to it, so the box would not sit where it was measured to. */
5341
+ margin: 0;
5340
5342
  background-color: var(--dm-surface);
5341
5343
  border: 1px solid var(--dm-border);
5342
5344
  border-radius: var(--dm-radius-md);
@@ -5354,30 +5356,13 @@ code {
5354
5356
  }
5355
5357
 
5356
5358
  /*
5357
- * Hover bridge: the menu is rendered as a document.body sibling positioned with a
5358
- * small offset/margin gap from its trigger. On a hover-triggered dropdown that gap
5359
- * is a dead-zone - the pointer leaves the trigger before reaching the menu, firing
5360
- * the close. These transparent pseudo-elements extend the menu's hoverable area
5361
- * above and below it, so the trigger→menu path is one continuous hover surface.
5362
- * Only present on hover dropdowns, so click dropdowns are unaffected.
5359
+ * The trigger→menu gap is bridged in JS, not CSS. A transparent pseudo-element
5360
+ * strip used to sit above and below the menu to keep the hover path continuous,
5361
+ * but it only ever covered a fixed 12px directly in line with the menu box: any
5362
+ * `offset` larger than that, or an approach taken at an angle, fell outside it,
5363
+ * and while open it also blocked the page underneath. Dropdown._pointerInSafeZone()
5364
+ * does the same job geometrically - see src/elements.js.
5363
5365
  */
5364
- .domma-dropdown-menu-hover::before,
5365
- .domma-dropdown-menu-hover::after {
5366
- content: '';
5367
- position: absolute;
5368
- left: 0;
5369
- right: 0;
5370
- height: 0.75rem;
5371
- /* transparent - a hover surface only, never painted */
5372
- }
5373
-
5374
- .domma-dropdown-menu-hover::before {
5375
- bottom: 100%; /* bridges the gap when the menu opens below the trigger */
5376
- }
5377
-
5378
- .domma-dropdown-menu-hover::after {
5379
- top: 100%; /* bridges the gap when the menu opens above the trigger */
5380
- }
5381
5366
 
5382
5367
  .domma-dropdown-item {
5383
5368
  display: block;
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Grid CSS v0.41.0
2
+ * Domma Grid CSS v0.42.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-22T13:41:49.299Z
6
- * Commit: 5d8b7e1
5
+ * Built: 2026-08-22T16:17:44.108Z
6
+ * Commit: 0f0475f
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Syntax Highlighting CSS v0.41.0
2
+ * Domma Syntax Highlighting CSS v0.42.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-22T13:41:49.308Z
6
- * Commit: 5d8b7e1
5
+ * Built: 2026-08-22T16:17:44.119Z
6
+ * Commit: 0f0475f
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Themes v0.41.0
2
+ * Domma Themes v0.42.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-22T13:41:49.280Z
6
- * Commit: 5d8b7e1
5
+ * Built: 2026-08-22T16:17:44.088Z
6
+ * Commit: 0f0475f
7
7
  */
8
8
 
9
9
  /**