Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
update button stories
Scott Wilson95a9250a640e
diff --git a/frontend/src/components/v3/generic/Button/Button.stories.tsx b/frontend/src/components/v3/generic/Button/Button.stories.tsxindex 542528ede7..1d4d0a8524 100644--- a/frontend/src/components/v3/generic/Button/Button.stories.tsx+++ b/frontend/src/components/v3/generic/Button/Button.stories.tsx@@ -29,8 +29,8 @@ const meta = {variant: {control: "select",options: [- "default","outline",+ "ghost","neutral","success","info",@@ -100,7 +100,8 @@ export const Neutral: Story = {parameters: {docs: {description: {- story: "Use this variant for general actions. [TBD]"+ story:+ "Use this variant for neutral / general actions that don't warrant a semantic tone — a step up from `ghost` with a subtle filled background."}}}@@ -349,3 +350,25 @@ export const IsPending: Story = {}}};++export const IsDisabled: Story = {+ name: "Example: isDisabled",+ args: {+ variant: "neutral",+ isDisabled: true,+ children: (+ <>+ Login+ <LogInIcon />+ </>+ )+ },+ parameters: {+ docs: {+ description: {+ story:+ "Use the `isDisabled` prop to block interaction and mute the button (50% opacity). Applies to every variant identically."+ }+ }+ }+};