@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciromaciel/dashboard-kit",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "The components every dashboard shares: table, empty state, loading state, destructive confirm, danger zone and wordmark.",
@@ -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) {