@conduction/docusaurus-preset 2.4.1 → 2.4.2

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": "@conduction/docusaurus-preset",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "scripts": {
5
5
  "prepack": "node scripts/prepack-bundle-css.js"
6
6
  },
@@ -24,3 +24,17 @@
24
24
  /* `left`, `top`, and optionally `z-index` are set inline by the
25
25
  component from the item's x/y/z values. */
26
26
  }
27
+
28
+ /* Widgets inside a scene drop their MyDash-style cobalt-900 dashboard
29
+ chrome. WidgetMock by default frames its tile in dark cobalt to
30
+ simulate "this widget is sitting on a MyDash board"; that read is
31
+ useful in widget-mock.html (the kit context) but inside a scene the
32
+ surrounding card already provides context, and the dark frame just
33
+ reads as a heavy border. So inside .sceneItem the .wmFrame becomes
34
+ white-on-white with a soft shadow, matching the SidebarMock chrome. */
35
+ .am .sceneItem .wmFrame {
36
+ background: white;
37
+ border: 1px solid var(--c-cobalt-100);
38
+ padding: 12px;
39
+ box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.1);
40
+ }