kyd-shared-badge 0.3.51 → 0.3.52
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 +1 -1
- package/src/types.ts +11 -1
package/package.json
CHANGED
|
@@ -179,7 +179,7 @@ const SharedBadgeDisplay = ({ badgeData, chatProps, headless }: { badgeData: Pub
|
|
|
179
179
|
setActiveTab(t.key);
|
|
180
180
|
try { if (typeof window !== 'undefined') window.history.replaceState(null, '', `#${t.key}`); } catch {}
|
|
181
181
|
}}
|
|
182
|
-
className={`px-3 sm:px-4 py-2 text-sm rounded-t flex items-center gap-2 cursor-pointer ${activeTab === t.key ? 'font-semibold' : ''}`}
|
|
182
|
+
className={`px-3 text-xs sm:text-base sm:px-4 py-2 text-sm rounded-t flex items-center gap-2 cursor-pointer ${activeTab === t.key ? 'font-semibold' : ''}`}
|
|
183
183
|
style={{
|
|
184
184
|
color: 'var(--text-main)',
|
|
185
185
|
background: activeTab === t.key ? 'var(--content-card-background)' : 'transparent',
|
package/src/types.ts
CHANGED
|
@@ -466,4 +466,14 @@ export interface TopBusinessRule {
|
|
|
466
466
|
label: string;
|
|
467
467
|
weight: number;
|
|
468
468
|
uid: string;
|
|
469
|
-
}
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type Role = {
|
|
472
|
+
roleId: string;
|
|
473
|
+
name: string;
|
|
474
|
+
description?: string;
|
|
475
|
+
organization?: string;
|
|
476
|
+
createdAt?: string;
|
|
477
|
+
userId?: string;
|
|
478
|
+
}
|
|
479
|
+
|