@docmd/ui 0.6.3 → 0.6.5

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.
@@ -989,6 +989,31 @@ body.has-menubar-header .docmd-menubar {
989
989
  width: 100%;
990
990
  }
991
991
 
992
+ .docmd-embed {
993
+ margin: 1.5rem auto;
994
+ border-radius: var(--docmd-radius-lg, 12px);
995
+ max-width: 100%;
996
+ display: block;
997
+ }
998
+ iframe.docmd-embed {
999
+ width: 100%;
1000
+ aspect-ratio: 16 / 9;
1001
+ border: none !important;
1002
+ }
1003
+ iframe.docmd-embed[data-short="true"] {
1004
+ aspect-ratio: 9 / 16;
1005
+ max-width: 400px;
1006
+ }
1007
+ blockquote.docmd-embed {
1008
+ width: 100%;
1009
+ border: none !important;
1010
+ display: flex;
1011
+ justify-content: center;
1012
+ }
1013
+ .docmd-embed-fallback {
1014
+ margin: 1.5rem 0;
1015
+ display: flex;
1016
+ }
992
1017
  .version-dropdown-toggle {
993
1018
  display: flex;
994
1019
  align-items: center;
@@ -1246,6 +1271,7 @@ html[data-theme=dark] .theme-toggle-button .icon-sun {
1246
1271
  background-color: var(--bg-color);
1247
1272
  box-shadow: var(--shadow-sm);
1248
1273
  overflow: hidden;
1274
+
1249
1275
  }
1250
1276
 
1251
1277
  .callout {
@@ -2561,4 +2587,43 @@ hr {
2561
2587
 
2562
2588
  code {
2563
2589
  padding: .15em .5em;
2590
+ }
2591
+
2592
+ .docmd-container.grids {
2593
+ display: grid;
2594
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
2595
+ gap: var(--space-6);
2596
+ margin: var(--space-4) 0;
2597
+ width: 100%;
2598
+ border: 0;
2599
+ box-shadow: none;
2600
+ padding: 0;
2601
+
2602
+ }
2603
+
2604
+ .docmd-container.grid-item {
2605
+ display: flex;
2606
+ flex-direction: column;
2607
+ gap: var(--space-4);
2608
+ min-width: 0;
2609
+ background: transparent;
2610
+ padding: var(--space-1);
2611
+ border: 0;
2612
+ box-shadow: none;
2613
+ margin-bottom: 0;
2614
+
2615
+ }
2616
+
2617
+ ul.contains-task-list {
2618
+ list-style: none !important;
2619
+ padding-left: 0.5em;
2620
+ }
2621
+
2622
+ ul.contains-task-list > li::marker {
2623
+ content: none !important;
2624
+ display: none !important;
2625
+ }
2626
+
2627
+ .task-list-item-checkbox {
2628
+ margin-top: .25em;
2564
2629
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmd/ui",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "Base UI templates and assets for docmd.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",