From 74054df4586abf765509a3f976b7ce421b1c7715 Mon Sep 17 00:00:00 2001 From: Stephen Cooper Date: Wed, 11 Mar 2026 10:32:07 +0000 Subject: [PATCH 1/3] AG-13677 AG-16877 Note CellStyleModule required for provided column types (#13274) --- .../src/content/docs/column-definitions/index.mdoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/documentation/ag-grid-docs/src/content/docs/column-definitions/index.mdoc b/documentation/ag-grid-docs/src/content/docs/column-definitions/index.mdoc index 0cac4483176..dbcabd2297b 100644 --- a/documentation/ag-grid-docs/src/content/docs/column-definitions/index.mdoc +++ b/documentation/ag-grid-docs/src/content/docs/column-definitions/index.mdoc @@ -98,6 +98,10 @@ const gridOptions = { } ``` +{% note %} +The provided column types use cell classes to apply styling. The `CellStyleModule` is required for these types to work correctly. +{% /note %} + ## Updating Columns Columns can be controlled by updating the column state, or updating the column definition. From 734012677067455d239c5c791a402bf7240e456e Mon Sep 17 00:00:00 2001 From: Bernie Sumption Date: Wed, 11 Mar 2026 11:12:22 +0000 Subject: [PATCH 2/3] AG-16859 Update manual testing template for esbuild/CSS changes (#13275) --- esbuild.config.cjs | 30 ++---------- postcss-plugins.cjs | 26 +++++++++++ .../manual/template/src/angular/disabled.html | 17 +++++++ .../manual/template/src/angular/index.html | 14 +----- testing/manual/template/src/config.ts | 9 +--- testing/manual/template/vite.config.ts | 46 +++++++++++++++++-- 6 files changed, 94 insertions(+), 48 deletions(-) create mode 100644 postcss-plugins.cjs create mode 100644 testing/manual/template/src/angular/disabled.html diff --git a/esbuild.config.cjs b/esbuild.config.cjs index 4d57cc268c4..6cf4ee5dfc5 100644 --- a/esbuild.config.cjs +++ b/esbuild.config.cjs @@ -3,11 +3,7 @@ const { umdWrapper } = require('esbuild-plugin-umd-wrapper'); const fs = require('fs/promises'); const path = require('path'); const postcss = require('postcss'); -const cssAutoPrefix = require('autoprefixer'); -const cssNano = require('cssnano'); -const cssImport = require('postcss-import'); -const cssRtl = require('postcss-rtlcss'); -const cssUrl = require('postcss-url'); +const postcssPlugins = require('./postcss-plugins.cjs'); /** @type {import('esbuild').Plugin} */ const cssPlugin = { @@ -15,26 +11,10 @@ const cssPlugin = { setup(build) { build.onLoad({ filter: /\.css$/ }, async (args) => { const css = await require('fs').promises.readFile(args.path, 'utf8'); - const result = await postcss([ - cssImport(), - cssUrl({ url: 'inline' }), - cssAutoPrefix(), - cssRtl({ - ltrPrefix: `:where(.ag-ltr)`, - rtlPrefix: `:where(.ag-rtl)`, - bothPrefix: `:where(.ag-ltr, .ag-rtl)`, - }), - cssNano({ - preset: [ - 'default', - { - discardComments: true, - normalizeWhitespace: true, - minifySelectors: true, - }, - ], - }), - ]).process(css, { from: args.path, to: args.path }); + const result = await postcss(postcssPlugins).process(css, { + from: args.path, + to: args.path, + }); // UMD builds: non-source CSS (legacy themes) gets injected as