@discuss-ds/ui 0.23.0 → 0.24.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @discuss-ds/ui
2
2
 
3
+ ## 0.24.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#92](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/92) [`6477868`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/6477868c4a29e522791868b1a91f637be6c6306e) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - `InlineEdit`: the read text now shows the text cursor on hover (it showed the default arrow), as editable text should. A disabled field keeps the not-allowed cursor.
8
+
9
+ ## 0.24.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#90](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/90) [`e939c7a`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/e939c7a960bbb9a18ef12cf1775004b63ccdc533) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - `StatCard`: new `success` (green) and `destructive` (red) variants next to `warning`, for stats that report a good or bad state, such as an issue count. Existing variants are unchanged.
14
+
3
15
  ## 0.23.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -1699,7 +1699,8 @@ var InlineEdit = React24.forwardRef(
1699
1699
  // one. The extra 1px of bottom padding keeps the height identical so the text never jumps.
1700
1700
  selected ? "rounded-none border-b-2 border-accent-foreground py-1" : "rounded-none border-b border-transparent pb-1.25 pt-1 enabled:hover:border-input-muted enabled:focus-visible:border-input-muted"
1701
1701
  ) : "rounded-md border border-transparent py-1 enabled:focus-visible:border-input-accent",
1702
- "enabled:hover:bg-secondary disabled:cursor-not-allowed disabled:opacity-50",
1702
+ // The text is editable in place, so hovering it shows the text cursor.
1703
+ "enabled:cursor-text enabled:hover:bg-secondary disabled:cursor-not-allowed disabled:opacity-50",
1703
1704
  textClasses
1704
1705
  ),
1705
1706
  children: [
@@ -3569,7 +3570,9 @@ var statCardVariants = (0, import_class_variance_authority6.cva)("flex min-w-0 f
3569
3570
  default: "border-border bg-transparent",
3570
3571
  // A card tinted with the secondary background and no border, for stats on a white panel.
3571
3572
  subtle: "border-transparent bg-secondary",
3572
- warning: "border-warning-soft-border bg-warning-soft"
3573
+ warning: "border-warning-soft-border bg-warning-soft",
3574
+ success: "border-success-soft-border bg-success-soft",
3575
+ destructive: "border-destructive-soft-border bg-destructive-soft"
3573
3576
  }
3574
3577
  },
3575
3578
  defaultVariants: { variant: "default" }