@harnessio/ui 1.3.9 → 1.3.10

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.
@@ -378,7 +378,7 @@ const Q = {
378
378
  paddingInline: "var(--cn-badge-md-px)",
379
379
  gap: "var(--cn-badge-md-gap)",
380
380
  minWidth: "fit-content",
381
- "@apply select-none font-body-single-line-normal truncate": "",
381
+ "@apply font-body-single-line-normal truncate": "",
382
382
  /** Size */
383
383
  "&:where(.cn-badge-sm)": {
384
384
  gap: "var(--cn-badge-sm-gap)",
@@ -875,8 +875,10 @@ const ce = {
875
875
  border: "var(--cn-card-border) solid var(--cn-border-2)",
876
876
  borderRadius: "var(--cn-card-md-radius)",
877
877
  backgroundColor: "var(--cn-bg-1)",
878
- "@apply flex overflow-hidden select-none": "",
878
+ "@apply flex overflow-hidden": "",
879
+ // Clickable cards stay non-selectable so a drag-selection can't fire the card's click handler.
879
880
  "&:where(.cn-card-interactive)": {
881
+ "@apply select-none": "",
880
882
  "&:hover:not(.cn-card-disabled)": {
881
883
  borderColor: "var(--cn-border-brand)"
882
884
  }
@@ -4320,7 +4322,7 @@ const mr = {
4320
4322
  "@apply flex items-end justify-end grow-0": ""
4321
4323
  },
4322
4324
  "&-title": {
4323
- "@apply min-w-0 select-none": ""
4325
+ "@apply min-w-0": ""
4324
4326
  }
4325
4327
  }
4326
4328
  }