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
chore(deps): bump base ui to 1.4.1 (#35459)
yyh73f9a9e7d622
diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 0c276fae9e2..0725b3bb7d9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -16,8 +16,8 @@ catalogs:specifier: 8.2.0version: 8.2.0'@base-ui/react':- specifier: 1.4.0- version: 1.4.0+ specifier: 1.4.1+ version: 1.4.1'@chromatic-com/storybook':specifier: 5.1.2version: 5.1.2@@ -643,7 +643,7 @@ importers:devDependencies:'@base-ui/react':specifier: 'catalog:''@chromatic-com/storybook':specifier: 'catalog:'version: 5.1.2([email protected](@testing-library/[email protected])([email protected]([email protected]))([email protected]))@@ -790,7 +790,7 @@ importers:version: 1.27.7(@amplitude/[email protected])'@base-ui/react':specifier: 'catalog:''@emoji-mart/data':specifier: 'catalog:'version: 1.2.1@@ -1539,8 +1539,8 @@ packages:resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}engines: {node: '>=6.9.0'}- '@base-ui/[email protected]':- resolution: {integrity: sha512-QcqdVbr/+ba2/RAKJIV1PV6S02Q5+r6a4Eym8ndBw+ZbBILkkmQAyRxXCg/pArrHnkrGeU8goe26aw0h6eE8pg==}+ '@base-ui/[email protected]':+ resolution: {integrity: sha512-Ab5/LIhcmL8BQcsBUYiOfkSDRdLpvgUBzMK30cu684JPcLclYlztharvCZyNNgzJtbAiREzI9q0pI5erHCMgCw==}engines: {node: '>=14.0.0'}peerDependencies:'@date-fns/tz': ^1.2.0@@ -1549,11 +1549,15 @@ packages:react: ^17 || ^18 || ^19react-dom: ^17 || ^18 || ^19peerDependenciesMeta:+ '@date-fns/tz':+ optional: true'@types/react':optional: true+ date-fns:+ optional: true- '@base-ui/[email protected]':- resolution: {integrity: sha512-nXYKhiL/0JafyJE8PfcflipGftOftlIwKd72rU15iZ1M5yqgg5J9P8NHU71GReDuXco5MJA/eVQqUT5WRqX9sA==}+ '@base-ui/[email protected]':+ resolution: {integrity: sha512-jvOi+c+ftGlGotNcKnzPVg2IhCaDTB6/6R3JeqdjdXktuAJi3wKH9T7+svuaKh1mmfVU11UWzUZVH74JDfi/wQ==}peerDependencies:'@types/react': ^17 || ^18 || ^19react: ^17 || ^18 || ^19@@ -8622,10 +8626,10 @@ snapshots:'@babel/helper-string-parser': 7.27.1'@babel/helper-validator-identifier': 7.28.5- '@base-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ '@base-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.29.2- '@base-ui/utils': 0.2.7(@types/[email protected])([email protected]([email protected]))([email protected])+ '@base-ui/utils': 0.2.8(@types/[email protected])([email protected]([email protected]))([email protected])'@floating-ui/utils': 0.2.11react: 19.2.5@@ -8634,7 +8638,7 @@ snapshots:optionalDependencies:'@types/react': 19.2.14- '@base-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ '@base-ui/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.29.2'@floating-ui/utils': 0.2.11diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex f02d05b233b..5afca57719d 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -50,7 +50,7 @@ catalog:'@amplitude/analytics-browser': 2.39.0'@amplitude/plugin-session-replay-browser': 1.27.7'@antfu/eslint-config': 8.2.0- '@base-ui/react': 1.4.0+ '@base-ui/react': 1.4.1'@chromatic-com/storybook': 5.1.2'@cucumber/cucumber': 12.8.0'@egoist/tailwindcss-icons': 1.9.2diff --git a/web/eslint.config.mjs b/web/eslint.config.mjsindex 62cc63536f7..2a043ac73db 100644--- a/web/eslint.config.mjs+++ b/web/eslint.config.mjs@@ -13,9 +13,9 @@ import storybook from 'eslint-plugin-storybook'import {HYOBAN_PREFER_TAILWIND_ICONS_OPTIONS,NEXT_PLATFORM_RESTRICTED_IMPORT_PATHS,- NEXT_PLATFORM_RESTRICTED_IMPORT_PATTERNS,OVERLAY_MIGRATION_LEGACY_BASE_FILES,OVERLAY_RESTRICTED_IMPORT_PATTERNS,+ WEB_RESTRICTED_IMPORT_PATTERNS,} from './eslint.constants.mjs'import dify from './plugins/eslint/index.js'@@ -161,13 +161,13 @@ export default antfu(},},{- name: 'dify/no-direct-next-imports',+ name: 'dify/restricted-imports',files: [GLOB_TS, GLOB_TSX],ignores: ['next/**'],rules: {'no-restricted-imports': ['error', {paths: NEXT_PLATFORM_RESTRICTED_IMPORT_PATHS,- patterns: NEXT_PLATFORM_RESTRICTED_IMPORT_PATTERNS,+ patterns: WEB_RESTRICTED_IMPORT_PATTERNS,}],},},@@ -183,7 +183,7 @@ export default antfu('no-restricted-imports': ['error', {paths: NEXT_PLATFORM_RESTRICTED_IMPORT_PATHS,patterns: [- ...NEXT_PLATFORM_RESTRICTED_IMPORT_PATTERNS,+ ...WEB_RESTRICTED_IMPORT_PATTERNS,...OVERLAY_RESTRICTED_IMPORT_PATTERNS,],}],diff --git a/web/eslint.constants.mjs b/web/eslint.constants.mjsindex 1c09cbcb231..1039a300ec6 100644--- a/web/eslint.constants.mjs+++ b/web/eslint.constants.mjs@@ -5,7 +5,7 @@ export const NEXT_PLATFORM_RESTRICTED_IMPORT_PATHS = [},]-export const NEXT_PLATFORM_RESTRICTED_IMPORT_PATTERNS = [+const NEXT_PLATFORM_RESTRICTED_IMPORT_PATTERNS = [{group: ['next/image'],message: 'Do not import next/image. Use native img tags instead.',@@ -20,6 +20,21 @@ export const NEXT_PLATFORM_RESTRICTED_IMPORT_PATTERNS = [},]+const BASE_UI_RESTRICTED_IMPORT_PATTERNS = [+ {+ group: [+ '@base-ui/react',+ '@base-ui/react/*',+ ],+ message: 'Do not import Base UI directly in web. Use @langgenius/dify-ui/* primitives instead.',+ },+]++export const WEB_RESTRICTED_IMPORT_PATTERNS = [+ ...NEXT_PLATFORM_RESTRICTED_IMPORT_PATTERNS,+ ...BASE_UI_RESTRICTED_IMPORT_PATTERNS,+]+export const OVERLAY_RESTRICTED_IMPORT_PATTERNS = [{group: [