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

View File

@@ -18,33 +18,33 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({
environmentsUsed: 0,
identityLimit: null,
identitiesUsed: 0,
dynamicSecret: false,
dynamicSecret: true,
secretVersioning: true,
pitRecovery: false,
ipAllowlisting: false,
rbac: false,
githubOrgSync: false,
pitRecovery: true,
ipAllowlisting: true,
rbac: true,
githubOrgSync: true,
customRateLimits: false,
customAlerts: false,
secretAccessInsights: false,
auditLogs: false,
auditLogsRetentionDays: 0,
auditLogStreams: false,
customAlerts: true,
secretAccessInsights: true,
auditLogs: true,
auditLogsRetentionDays: 3,
auditLogStreams: true,
auditLogStreamLimit: 3,
samlSSO: false,
hsm: false,
oidcSSO: false,
scim: false,
ldap: false,
groups: false,
samlSSO: true,
hsm: true,
oidcSSO: true,
scim: true,
ldap: true,
groups: true,
status: null,
trial_end: null,
has_used_trial: true,
secretApproval: false,
secretRotation: false,
caCrl: false,
instanceUserManagement: false,
externalKms: false,
secretApproval: true,
secretRotation: true,
caCrl: true,
instanceUserManagement: true,
externalKms: true,
rateLimits: {
readLimit: 60,
writeLimit: 200,
@@ -52,12 +52,10 @@ export const getDefaultOnPremFeatures = (): TFeatureSet => ({
},
pkiEst: false,
enforceMfa: false,
projectTemplates: false,
kmip: false,
gateway: false,
sshHostGroups: false,
enterpriseSecretSyncs: false,
enterpriseAppConnections: false
projectTemplates: true,
kmip: true,
gateway: true,
sshHostGroups: true
});
export const setupLicenseRequestWithStore = (

View File

@@ -351,7 +351,7 @@ export const SpecificPrivilegeSecretForm = ({
isChecked={field.value}
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">
<FontAwesomeIcon
icon={faEye}
@@ -359,7 +359,7 @@ export const SpecificPrivilegeSecretForm = ({
/>
<FormLabel
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>
<p className="text-xs text-mineshaft-400">Read secret values</p>
@@ -382,7 +382,7 @@ export const SpecificPrivilegeSecretForm = ({
isChecked={field.value}
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">
<FontAwesomeIcon
icon={faPlus}
@@ -390,7 +390,7 @@ export const SpecificPrivilegeSecretForm = ({
/>
<FormLabel
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>
<p className="text-xs text-mineshaft-400">Create new secrets</p>
@@ -415,7 +415,7 @@ export const SpecificPrivilegeSecretForm = ({
isChecked={field.value}
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">
<FontAwesomeIcon
icon={faPencil}
@@ -423,7 +423,7 @@ export const SpecificPrivilegeSecretForm = ({
/>
<FormLabel
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>
<p className="text-xs text-mineshaft-400">Update existing secrets</p>
@@ -446,7 +446,7 @@ export const SpecificPrivilegeSecretForm = ({
isChecked={field.value}
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">
<FontAwesomeIcon
icon={faTrashCan}
@@ -454,7 +454,7 @@ export const SpecificPrivilegeSecretForm = ({
/>
<FormLabel
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>
<p className="text-xs text-mineshaft-400">Delete existing secrets</p>