@ciromaciel/dashboard-kit 1.8.0 → 1.8.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/package.json +1 -1
- package/src/components/Tag.jsx +2 -1
package/package.json
CHANGED
package/src/components/Tag.jsx
CHANGED
|
@@ -28,8 +28,9 @@ const TONES = {
|
|
|
28
28
|
up: { border: 'var(--mantine-color-gray-3)', color: 'var(--mantine-color-gray-7)', background: 'transparent' },
|
|
29
29
|
no: { border: 'var(--mantine-color-red-6)', color: 'var(--mantine-color-red-7)', background: 'transparent' },
|
|
30
30
|
}
|
|
31
|
-
// The older names the copies used.
|
|
31
|
+
// The older names the copies used: `ok` (Videos, People), `default` (People).
|
|
32
32
|
TONES.ok = TONES.up
|
|
33
|
+
TONES.default = TONES.neutral
|
|
33
34
|
|
|
34
35
|
// forwardRef so a Tooltip can wrap it (the e-mail log explains a failure on hover).
|
|
35
36
|
export const Tag = forwardRef(function Tag({ tone = 'neutral', icon: Icon, children, style, ...rest }, ref) {
|