@discuss-ds/ui 0.39.0 → 0.39.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 +6 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @discuss-ds/ui
|
|
2
2
|
|
|
3
|
+
## 0.39.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#145](https://github.com/TamyresLucas/Discuss-UI-Storybook/pull/145) [`0c94b7e`](https://github.com/TamyresLucas/Discuss-UI-Storybook/commit/0c94b7e4076177e42ef6c636c1287a0a5bf7f338) Thanks [@TamyresLucas](https://github.com/TamyresLucas)! - Checked Checkbox and Radio now use the accent foreground colour (the same purple as the other accent icons and text) for their border and fill, instead of the lighter `ring` colour. Nothing else about them changes.
|
|
8
|
+
|
|
3
9
|
## 0.39.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -500,9 +500,9 @@ var Checkbox = React8.forwardRef(
|
|
|
500
500
|
className: cn(
|
|
501
501
|
"peer inline-flex size-4 shrink-0 items-center justify-center rounded-xxs border-2 border-input bg-surface transition-colors",
|
|
502
502
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
503
|
-
//
|
|
504
|
-
"data-[state=checked]:border-
|
|
505
|
-
"data-[state=indeterminate]:border-
|
|
503
|
+
// Selected controls use the accent foreground, the same colour as the other accent icons and text (they used the lighter `ring` before).
|
|
504
|
+
"data-[state=checked]:border-accent-foreground data-[state=checked]:bg-accent-foreground data-[state=checked]:text-label",
|
|
505
|
+
"data-[state=indeterminate]:border-accent-foreground data-[state=indeterminate]:bg-accent-foreground data-[state=indeterminate]:text-label",
|
|
506
506
|
className
|
|
507
507
|
),
|
|
508
508
|
...props,
|
|
@@ -558,12 +558,12 @@ var RadioGroupItem = React9.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
558
558
|
className: cn(
|
|
559
559
|
"peer inline-flex size-4 shrink-0 items-center justify-center rounded-full border-2 border-input bg-surface transition-colors",
|
|
560
560
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
561
|
-
//
|
|
562
|
-
"data-[state=checked]:border-
|
|
561
|
+
// Selected controls use the accent foreground, the same colour as the other accent icons and text (they used the lighter `ring` before).
|
|
562
|
+
"data-[state=checked]:border-accent-foreground",
|
|
563
563
|
className
|
|
564
564
|
),
|
|
565
565
|
...props,
|
|
566
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_radix_ui7.RadioGroup.Indicator, { className: "size-2 rounded-full bg-
|
|
566
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_radix_ui7.RadioGroup.Indicator, { className: "size-2 rounded-full bg-accent-foreground" })
|
|
567
567
|
}
|
|
568
568
|
));
|
|
569
569
|
RadioGroupItem.displayName = "RadioGroupItem";
|