@donotdev/components 0.0.15 → 0.0.17

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.
@@ -3132,7 +3132,7 @@ em {
3132
3132
 
3133
3133
  .dndev-cta-actions {
3134
3134
  display: flex;
3135
- flex-direction: column;
3135
+ flex-direction: row;
3136
3136
  gap: var(--gap-md);
3137
3137
  justify-content: center;
3138
3138
  }
@@ -3167,13 +3167,6 @@ em {
3167
3167
  border-color: var(--foreground);
3168
3168
  }
3169
3169
 
3170
- @media (width >= 768px) {
3171
-
3172
- .dndev-cta-actions {
3173
- flex-direction: row;
3174
- }
3175
- }
3176
-
3177
3170
  /* packages/components/src/atomic/Card/Card.css */
3178
3171
 
3179
3172
  /* Card layout - grid with gap */
@@ -3623,12 +3616,10 @@ em {
3623
3616
  /* Code-specific overrides: background color, text color, and layout */
3624
3617
  display: flex;
3625
3618
  flex-direction: column;
3626
- background: var(
3627
- --muted
3628
- ); /* Override surface gradient with code-specific dark background */
3629
- color: var(
3630
- --muted-foreground
3631
- ); /* Override surface text color for dark background */
3619
+ background: var(--muted);
3620
+ /* Override surface gradient with code-specific dark background */
3621
+ color: var(--muted-foreground);
3622
+ /* Override surface text color for dark background */
3632
3623
  overflow: hidden;
3633
3624
  font-family: var(--font-mono);
3634
3625
  font-size: var(--font-size-sm);
@@ -3702,8 +3693,6 @@ em {
3702
3693
  white-space: pre;
3703
3694
  overflow-x: auto;
3704
3695
  overflow-y: visible;
3705
- min-width: -moz-min-content;
3706
- min-width: min-content;
3707
3696
  }
3708
3697
 
3709
3698
  .dndev-code-pre[data-compact='true'] {
@@ -3720,16 +3709,19 @@ em {
3720
3709
  user-select: none;
3721
3710
  padding-inline-end: var(--gap-md);
3722
3711
  text-align: end;
3723
- font-size: inherit; /* Match parent code font-size */
3712
+ font-size: inherit;
3713
+ /* Match parent code font-size */
3724
3714
  opacity: var(--opacity-muted);
3725
3715
  width: 3rem;
3726
3716
  flex-shrink: 0;
3727
3717
  color: var(--muted-foreground);
3728
- line-height: 1.5; /* Consistent line height */
3718
+ line-height: 1.5;
3719
+ /* Consistent line height */
3729
3720
  }
3730
3721
 
3731
3722
  .dndev-code-line-number {
3732
- line-height: inherit; /* Inherit from parent */
3723
+ line-height: inherit;
3724
+ /* Inherit from parent */
3733
3725
  }
3734
3726
 
3735
3727
  .dndev-code-code {
@@ -3737,8 +3729,10 @@ em {
3737
3729
  min-width: 0;
3738
3730
  text-align: start;
3739
3731
  display: block;
3740
- line-height: 1.5; /* Match line numbers */
3741
- font-size: var(--font-size-sm); /* Explicit match with line numbers */
3732
+ line-height: 1.5;
3733
+ /* Match line numbers */
3734
+ font-size: var(--font-size-sm);
3735
+ /* Explicit match with line numbers */
3742
3736
  }
3743
3737
 
3744
3738
  /* Ensure shiki-generated code respects line-height AND font-size */
@@ -3746,7 +3740,8 @@ em {
3746
3740
  .dndev-code-code pre,
3747
3741
  .dndev-code-code code {
3748
3742
  line-height: inherit;
3749
- font-size: inherit; /* Match parent font-size */
3743
+ font-size: inherit;
3744
+ /* Match parent font-size */
3750
3745
  }
3751
3746
 
3752
3747
  /* packages/components/src/atomic/Command/Command.css */
@@ -7527,6 +7522,10 @@ input[type='number'] {
7527
7522
  font-weight: var(--font-weight-bold);
7528
7523
  }
7529
7524
 
7525
+ .dndev-text-base[data-italic] {
7526
+ font-style: italic;
7527
+ }
7528
+
7530
7529
  /* packages/components/src/atomic/Toaster/Toaster.css */
7531
7530
 
7532
7531
  .dndev-toast-viewport {
@@ -7726,8 +7725,9 @@ input[type='number'] {
7726
7725
 
7727
7726
  .dndev-toggle-group {
7728
7727
  display: inline-flex;
7728
+ flex-wrap: wrap;
7729
7729
  align-items: center;
7730
- gap: 0;
7730
+ gap: var(--gap-sm);
7731
7731
  padding: 0.125rem;
7732
7732
  border-radius: var(--radius-interactive);
7733
7733
  background-color: var(--muted);
@@ -7923,12 +7923,16 @@ input[type='number'] {
7923
7923
 
7924
7924
  .dndev-video-dialog {
7925
7925
  max-width: 90vw;
7926
- max-height: 90vh;
7927
7926
  }
7928
7927
 
7929
7928
  .dndev-video-dialog .dndev-modal-body {
7930
7929
  padding: 0;
7930
+ overflow: hidden;
7931
+ }
7932
+
7933
+ .dndev-video-dialog .dndev-video-frame {
7931
7934
  aspect-ratio: 16/9;
7935
+ max-height: calc(90vh - 5rem);
7932
7936
  }
7933
7937
 
7934
7938
  /* 6. Animation keyframes */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donotdev/components",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Styled UI components for DoNotDev",