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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kyd-shared-badge",
3
- "version": "0.3.51",
3
+ "version": "0.3.52",
4
4
  "private": false,
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
@@ -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
+