@aracreate/arm-ui 3.10.0 → 3.10.2

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/dist/index.d.mts CHANGED
@@ -319,10 +319,13 @@ interface AppCardProps {
319
319
  icon: ReactNode;
320
320
  name: string;
321
321
  description: string;
322
+ /** Short status shown as a pill after the name ("BETA"). It never shrinks,
323
+ * so a long name truncates in front of it. */
324
+ badge?: string;
322
325
  }
323
326
  /** Workspace-shortcut tile: icon + name header, description, "Open" CTA
324
327
  * footer. Used for the home dashboard's granted-apps grid. */
325
- declare function AppCard({ href, icon, name, description }: AppCardProps): React$1.JSX.Element;
328
+ declare function AppCard({ href, icon, name, description, badge }: AppCardProps): React$1.JSX.Element;
326
329
 
327
330
  interface ActivityRowProps {
328
331
  /** Short colored tag, e.g. "AUTH", "ROLE", "PROV" — matches an audit-log
@@ -526,7 +529,7 @@ declare const ACTIVITY_META: Record<ActivityType, {
526
529
  * `AuditService.log` and must match it exactly. `action` is a plain varchar
527
530
  * there, not a Postgres enum, so nothing but this map and a code review stops
528
531
  * the two drifting apart. Add here whenever a new action is logged. */
529
- type AuditAction = "USER_UPDATED" | "USER_DISABLED" | "USER_ENABLED" | "USER_APPROVED" | "USER_REJECTED" | "SIGNUP_NOTIFICATIONS_ON" | "SIGNUP_NOTIFICATIONS_OFF" | "APPROVAL_EMAIL_RESENT" | "USER_DELETED" | "ADMIN_GRANTED" | "ADMIN_REVOKED" | "ADMIN_ROLE_CHANGED" | "SESSION_REVOKED" | "APP_GRANTED" | "APP_REVOKED";
532
+ type AuditAction = "USER_UPDATED" | "USER_DISABLED" | "USER_ENABLED" | "USER_APPROVED" | "USER_REJECTED" | "SIGNUP_NOTIFICATIONS_ON" | "SIGNUP_NOTIFICATIONS_OFF" | "APPROVAL_EMAIL_RESENT" | "USER_DELETED" | "ADMIN_GRANTED" | "ADMIN_REVOKED" | "ADMIN_ROLE_CHANGED" | "SESSION_REVOKED" | "APP_GRANTED" | "APP_REVOKED" | "BUNDLE_GRANTED" | "BUNDLE_REVOKED";
530
533
  /** `badge` is for <Badge color={...} />, `tag`/`color` for the compact
531
534
  * monospace tag used in per-user activity lists.
532
535
  *
package/dist/index.d.ts CHANGED
@@ -319,10 +319,13 @@ interface AppCardProps {
319
319
  icon: ReactNode;
320
320
  name: string;
321
321
  description: string;
322
+ /** Short status shown as a pill after the name ("BETA"). It never shrinks,
323
+ * so a long name truncates in front of it. */
324
+ badge?: string;
322
325
  }
323
326
  /** Workspace-shortcut tile: icon + name header, description, "Open" CTA
324
327
  * footer. Used for the home dashboard's granted-apps grid. */
325
- declare function AppCard({ href, icon, name, description }: AppCardProps): React$1.JSX.Element;
328
+ declare function AppCard({ href, icon, name, description, badge }: AppCardProps): React$1.JSX.Element;
326
329
 
327
330
  interface ActivityRowProps {
328
331
  /** Short colored tag, e.g. "AUTH", "ROLE", "PROV" — matches an audit-log
@@ -526,7 +529,7 @@ declare const ACTIVITY_META: Record<ActivityType, {
526
529
  * `AuditService.log` and must match it exactly. `action` is a plain varchar
527
530
  * there, not a Postgres enum, so nothing but this map and a code review stops
528
531
  * the two drifting apart. Add here whenever a new action is logged. */
529
- type AuditAction = "USER_UPDATED" | "USER_DISABLED" | "USER_ENABLED" | "USER_APPROVED" | "USER_REJECTED" | "SIGNUP_NOTIFICATIONS_ON" | "SIGNUP_NOTIFICATIONS_OFF" | "APPROVAL_EMAIL_RESENT" | "USER_DELETED" | "ADMIN_GRANTED" | "ADMIN_REVOKED" | "ADMIN_ROLE_CHANGED" | "SESSION_REVOKED" | "APP_GRANTED" | "APP_REVOKED";
532
+ type AuditAction = "USER_UPDATED" | "USER_DISABLED" | "USER_ENABLED" | "USER_APPROVED" | "USER_REJECTED" | "SIGNUP_NOTIFICATIONS_ON" | "SIGNUP_NOTIFICATIONS_OFF" | "APPROVAL_EMAIL_RESENT" | "USER_DELETED" | "ADMIN_GRANTED" | "ADMIN_REVOKED" | "ADMIN_ROLE_CHANGED" | "SESSION_REVOKED" | "APP_GRANTED" | "APP_REVOKED" | "BUNDLE_GRANTED" | "BUNDLE_REVOKED";
530
533
  /** `badge` is for <Badge color={...} />, `tag`/`color` for the compact
531
534
  * monospace tag used in per-user activity lists.
532
535
  *