fix margin and make text click-through

This commit is contained in:
x032205
2025-06-03 18:09:45 -04:00
parent dcb77bbdd4
commit 9e651a58e3
2 changed files with 33 additions and 35 deletions
+25 -27
View File
@@ -18,33 +18,33 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({
environmentsUsed: 0, environmentsUsed: 0,
identityLimit: null, identityLimit: null,
identitiesUsed: 0, identitiesUsed: 0,
dynamicSecret: false, dynamicSecret: true,
secretVersioning: true, secretVersioning: true,
pitRecovery: false, pitRecovery: true,
ipAllowlisting: false, ipAllowlisting: true,
rbac: false, rbac: true,
githubOrgSync: false, githubOrgSync: true,
customRateLimits: false, customRateLimits: false,
customAlerts: false, customAlerts: true,
secretAccessInsights: false, secretAccessInsights: true,
auditLogs: false, auditLogs: true,
auditLogsRetentionDays: 0, auditLogsRetentionDays: 3,
auditLogStreams: false, auditLogStreams: true,
auditLogStreamLimit: 3, auditLogStreamLimit: 3,
samlSSO: false, samlSSO: true,
hsm: false, hsm: true,
oidcSSO: false, oidcSSO: true,
scim: false, scim: true,
ldap: false, ldap: true,
groups: false, groups: true,
status: null, status: null,
trial_end: null, trial_end: null,
has_used_trial: true, has_used_trial: true,
secretApproval: false, secretApproval: true,
secretRotation: false, secretRotation: true,
caCrl: false, caCrl: true,
instanceUserManagement: false, instanceUserManagement: true,
externalKms: false, externalKms: true,
rateLimits: { rateLimits: {
readLimit: 60, readLimit: 60,
writeLimit: 200, writeLimit: 200,
@@ -52,12 +52,10 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({
}, },
pkiEst: false, pkiEst: false,
enforceMfa: false, enforceMfa: false,
projectTemplates: false, projectTemplates: true,
kmip: false, kmip: true,
gateway: false, gateway: true,
sshHostGroups: false, sshHostGroups: true
enterpriseSecretSyncs: false,
enterpriseAppConnections: false
}); });
export const setupLicenseRequestWithStore = ( export const setupLicenseRequestWithStore = (
@@ -351,7 +351,7 @@ export const SpecificPrivilegeSecretForm = ({
isChecked={field.value} isChecked={field.value}
onCheckedChange={(isChecked) => field.onChange(isChecked)} onCheckedChange={(isChecked) => field.onChange(isChecked)}
/> />
<div className="ml-1 flex flex-col text-mineshaft-300"> <div className="pointer-events-none ml-1 flex select-none flex-col text-mineshaft-300">
<div className="flex flex-row items-center gap-1"> <div className="flex flex-row items-center gap-1">
<FontAwesomeIcon <FontAwesomeIcon
icon={faEye} icon={faEye}
@@ -359,7 +359,7 @@ export const SpecificPrivilegeSecretForm = ({
/> />
<FormLabel <FormLabel
label="View" label="View"
className={`ml-0.5 mt-0 text-mineshaft-300 ${field.value ? "text-primary-200" : ""}`} className={`my-0 ml-0.5 text-mineshaft-300 ${field.value ? "text-primary-200" : ""}`}
/> />
</div> </div>
<p className="text-xs text-mineshaft-400">Read secret values</p> <p className="text-xs text-mineshaft-400">Read secret values</p>
@@ -382,7 +382,7 @@ export const SpecificPrivilegeSecretForm = ({
isChecked={field.value} isChecked={field.value}
onCheckedChange={(isChecked) => field.onChange(isChecked)} onCheckedChange={(isChecked) => field.onChange(isChecked)}
/> />
<div className="ml-1 flex flex-col text-mineshaft-300"> <div className="pointer-events-none ml-1 flex select-none flex-col text-mineshaft-300">
<div className="flex flex-row items-center gap-1"> <div className="flex flex-row items-center gap-1">
<FontAwesomeIcon <FontAwesomeIcon
icon={faPlus} icon={faPlus}
@@ -390,7 +390,7 @@ export const SpecificPrivilegeSecretForm = ({
/> />
<FormLabel <FormLabel
label="Create" label="Create"
className={`ml-0.5 mt-0 text-mineshaft-300 ${field.value ? "text-primary-200" : ""}`} className={`my-0 ml-0.5 text-mineshaft-300 ${field.value ? "text-primary-200" : ""}`}
/> />
</div> </div>
<p className="text-xs text-mineshaft-400">Create new secrets</p> <p className="text-xs text-mineshaft-400">Create new secrets</p>
@@ -415,7 +415,7 @@ export const SpecificPrivilegeSecretForm = ({
isChecked={field.value} isChecked={field.value}
onCheckedChange={(isChecked) => field.onChange(isChecked)} onCheckedChange={(isChecked) => field.onChange(isChecked)}
/> />
<div className="ml-1 flex flex-col text-mineshaft-300"> <div className="pointer-events-none ml-1 flex select-none flex-col text-mineshaft-300">
<div className="flex flex-row items-center gap-1"> <div className="flex flex-row items-center gap-1">
<FontAwesomeIcon <FontAwesomeIcon
icon={faPencil} icon={faPencil}
@@ -423,7 +423,7 @@ export const SpecificPrivilegeSecretForm = ({
/> />
<FormLabel <FormLabel
label="Modify" label="Modify"
className={`ml-0.5 mt-0 text-mineshaft-300 ${field.value ? "text-primary-200" : ""}`} className={`my-0 ml-0.5 text-mineshaft-300 ${field.value ? "text-primary-200" : ""}`}
/> />
</div> </div>
<p className="text-xs text-mineshaft-400">Update existing secrets</p> <p className="text-xs text-mineshaft-400">Update existing secrets</p>
@@ -446,7 +446,7 @@ export const SpecificPrivilegeSecretForm = ({
isChecked={field.value} isChecked={field.value}
onCheckedChange={(isChecked) => field.onChange(isChecked)} onCheckedChange={(isChecked) => field.onChange(isChecked)}
/> />
<div className="ml-1 flex flex-col text-mineshaft-300"> <div className="pointer-events-none ml-1 flex select-none flex-col text-mineshaft-300">
<div className="flex flex-row items-center gap-1"> <div className="flex flex-row items-center gap-1">
<FontAwesomeIcon <FontAwesomeIcon
icon={faTrashCan} icon={faTrashCan}
@@ -454,7 +454,7 @@ export const SpecificPrivilegeSecretForm = ({
/> />
<FormLabel <FormLabel
label="Delete" label="Delete"
className={`ml-0.5 mt-0 text-mineshaft-300 ${field.value ? "text-primary-200" : ""}`} className={`my-0 ml-0.5 text-mineshaft-300 ${field.value ? "text-primary-200" : ""}`}
/> />
</div> </div>
<p className="text-xs text-mineshaft-400">Delete existing secrets</p> <p className="text-xs text-mineshaft-400">Delete existing secrets</p>