tharaday 0.6.3 → 0.7.0

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.
@@ -68,20 +68,18 @@ export const Tooltip = ({
68
68
  onKeyDown={handleKeyDown}
69
69
  >
70
70
  <div className={styles.trigger}>{trigger}</div>
71
- {isVisible && (
72
- <div
73
- className={clsx(
74
- styles.tooltip,
75
- styles[position],
76
- styles[variant],
77
- isVisible && styles.visible
78
- )}
79
- id={tooltipId}
80
- role="tooltip"
81
- >
82
- {content}
83
- </div>
84
- )}
71
+ <div
72
+ className={clsx(
73
+ styles.tooltip,
74
+ styles[position],
75
+ styles[variant],
76
+ isVisible && styles.visible
77
+ )}
78
+ id={tooltipId}
79
+ role="tooltip"
80
+ >
81
+ {content}
82
+ </div>
85
83
  </div>
86
84
  );
87
85
  };
@@ -58,17 +58,17 @@
58
58
  --red-950: color-mix(in srgb, var(--red) 25%, #000000);
59
59
 
60
60
  /* Warning (Amber/Orange) */
61
- --orange-50: #fffbeb;
62
- --orange-100: #fef3c7;
63
- --orange-200: #fde68a;
64
- --orange-300: #fcd34d;
65
- --orange-400: #fbbf24;
66
- --orange-500: #f59e0b;
67
- --orange-600: #d97706;
68
- --orange-700: #b45309;
69
- --orange-800: #92400e;
70
- --orange-900: #78350f;
71
- --orange-950: #451a03;
61
+ --orange-50: color-mix(in srgb, var(--orange) 10%, #ffffff);
62
+ --orange-100: color-mix(in srgb, var(--orange) 20%, #ffffff);
63
+ --orange-200: color-mix(in srgb, var(--orange) 35%, #ffffff);
64
+ --orange-300: color-mix(in srgb, var(--orange) 55%, #ffffff);
65
+ --orange-400: color-mix(in srgb, var(--orange) 75%, #ffffff);
66
+ --orange-500: var(--orange);
67
+ --orange-600: color-mix(in srgb, var(--orange) 85%, #000000);
68
+ --orange-700: color-mix(in srgb, var(--orange) 70%, #000000);
69
+ --orange-800: color-mix(in srgb, var(--orange) 55%, #000000);
70
+ --orange-900: color-mix(in srgb, var(--orange) 40%, #000000);
71
+ --orange-950: color-mix(in srgb, var(--orange) 25%, #000000);
72
72
 
73
73
  /* Retro palette */
74
74
  --retro-yellow: #faca78;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
package/tsconfig.app.json CHANGED
@@ -24,5 +24,6 @@
24
24
  "noFallthroughCasesInSwitch": true,
25
25
  "noUncheckedSideEffectImports": true
26
26
  },
27
- "include": ["src"]
27
+ "include": ["src"],
28
+ "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx", "src/test"]
28
29
  }
package/.versionrc.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "skip": {
3
- "commit": false,
4
- "tag": false
5
- }
6
- }