kyd-shared-badge 0.1.14 → 0.1.15
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/SharedBadgeDisplay.tsx +9 -9
- package/src/public/aigreen.png +0 -0
- package/src/public/aired.png +0 -0
- package/src/public/aiyellow.png +0 -0
- package/src/public/codegreen.png +0 -0
- package/src/public/codered.png +0 -0
- package/src/public/codeyellow.png +0 -0
- package/src/public/riskgreen.png +0 -0
- package/src/public/riskred.png +0 -0
- package/src/public/riskyellow.png +0 -0
package/package.json
CHANGED
|
@@ -11,15 +11,15 @@ import ProviderInsights from './components/ProviderInsights';
|
|
|
11
11
|
import IpRiskAnalysisDisplay from './components/IpRiskAnalysisDisplay';
|
|
12
12
|
|
|
13
13
|
// Icon images from this package's public folder (will be bundled as assets)
|
|
14
|
-
import RiskGreen from '
|
|
15
|
-
import RiskYellow from '
|
|
16
|
-
import RiskRed from '
|
|
17
|
-
import CodeGreen from '
|
|
18
|
-
import CodeYellow from '
|
|
19
|
-
import CodeRed from '
|
|
20
|
-
import AiGreen from '
|
|
21
|
-
import AiYellow from '
|
|
22
|
-
import AiRed from '
|
|
14
|
+
import RiskGreen from './public/riskgreen.png';
|
|
15
|
+
import RiskYellow from './public/riskyellow.png';
|
|
16
|
+
import RiskRed from './public/riskred.png';
|
|
17
|
+
import CodeGreen from './public/codegreen.png';
|
|
18
|
+
import CodeYellow from './public/codeyellow.png';
|
|
19
|
+
import CodeRed from './public/codered.png';
|
|
20
|
+
import AiGreen from './public/aigreen.png';
|
|
21
|
+
import AiYellow from './public/aiyellow.png';
|
|
22
|
+
import AiRed from './public/aired.png';
|
|
23
23
|
|
|
24
24
|
const getScoreColor = (score: number) => {
|
|
25
25
|
if (score >= 80) return 'text-[#6A9846]';
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|