Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Feat: Divider component now supports gradient background (#11130)
NFishb3d65cc7df03
diff --git a/web/app/components/base/divider/index.tsx b/web/app/components/base/divider/index.tsxindex 4b351dea99f..fcee10a9e2e 100644--- a/web/app/components/base/divider/index.tsx+++ b/web/app/components/base/divider/index.tsx@@ -3,17 +3,21 @@ import React from 'react'import { type VariantProps, cva } from 'class-variance-authority'import classNames from '@/utils/classnames'-const dividerVariants = cva(- 'bg-divider-regular',+const dividerVariants = cva('',{variants: {type: {- horizontal: 'w-full h-[0.5px] my-2',+ horizontal: 'w-full h-[0.5px] my-2 ',vertical: 'w-[1px] h-full mx-2',},+ bgStyle: {+ gradient: 'bg-gradient-to-r from-divider-regular to-background-gradient-mask-transparent',+ solid: 'bg-divider-regular',+ },},defaultVariants: {type: 'horizontal',+ bgStyle: 'solid',},},)@@ -23,9 +27,9 @@ type DividerProps = {style?: CSSProperties} & VariantProps<typeof dividerVariants>-const Divider: FC<DividerProps> = ({ type, className = '', style }) => {+const Divider: FC<DividerProps> = ({ type, bgStyle, className = '', style }) => {return (- <div className={classNames(dividerVariants({ type }), className)} style={style}></div>+ <div className={classNames(dividerVariants({ type, bgStyle }), className)} style={style}></div>)}