ag-grid-community 35.2.0 → 35.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1747,7 +1747,7 @@ function _findEnterpriseCoreModule(modules) {
1747
1747
  }
1748
1748
 
1749
1749
  // packages/ag-grid-community/src/version.ts
1750
- var VERSION = "35.2.0";
1750
+ var VERSION = "35.2.1";
1751
1751
 
1752
1752
  // packages/ag-grid-community/src/validation/logging.ts
1753
1753
  var MAX_URL_LENGTH = 2e3;
@@ -23066,19 +23066,20 @@ var shared_default = ':where([class^=ag-]),:where([class^=ag-]):after,:where([cl
23066
23066
  // packages/ag-grid-community/src/agStack/theming/inject.ts
23067
23067
  var IS_SSR = typeof window !== "object" || !window?.document?.fonts?.forEach;
23068
23068
  var FORCE_LEGACY_THEMES = false;
23069
- var _injectGlobalCSS = (css, styleContainer, debugId, layer, priority, nonce, isParams = false) => {
23069
+ var _injectGlobalCSS = (rawCss, styleContainer, debugId, layer, priority, nonce, isParams = false) => {
23070
23070
  if (IS_SSR || FORCE_LEGACY_THEMES) {
23071
23071
  return;
23072
23072
  }
23073
+ let injectedCss = rawCss;
23073
23074
  if (layer) {
23074
- css = `@layer ${CSS.escape(layer).replaceAll("\\.", ".")} { ${css} }`;
23075
+ injectedCss = `@layer ${CSS.escape(layer).replaceAll("\\.", ".")} { ${rawCss} }`;
23075
23076
  }
23076
23077
  let injections = injectionState.map.get(styleContainer);
23077
23078
  if (!injections) {
23078
23079
  injections = [];
23079
23080
  injectionState.map.set(styleContainer, injections);
23080
23081
  }
23081
- if (injections.some((i) => i.css === css)) {
23082
+ if (injections.some((i) => i.injectedCss === injectedCss)) {
23082
23083
  return;
23083
23084
  }
23084
23085
  const el = document.createElement("style");
@@ -23087,8 +23088,8 @@ var _injectGlobalCSS = (css, styleContainer, debugId, layer, priority, nonce, is
23087
23088
  }
23088
23089
  el.dataset.agCss = debugId;
23089
23090
  el.dataset.agCssVersion = VERSION;
23090
- el.textContent = css;
23091
- const newInjection = { css, el, priority, isParams };
23091
+ el.textContent = injectedCss;
23092
+ const newInjection = { rawCss, injectedCss, el, priority, isParams };
23092
23093
  let insertAfter;
23093
23094
  for (const injection of injections) {
23094
23095
  if (injection.priority > priority) {
@@ -23155,7 +23156,7 @@ var removeStaleParamsCss = (styleContainer, deleteAll = false) => {
23155
23156
  }
23156
23157
  const injections = injectionState.map.get(styleContainer) ?? [];
23157
23158
  for (let i = injections.length - 1; i >= 0; i--) {
23158
- if (deleteAll || injections[i].isParams && !neededCss.has(injections[i].css)) {
23159
+ if (deleteAll || injections[i].isParams && !neededCss.has(injections[i].rawCss)) {
23159
23160
  injections[i].el.remove();
23160
23161
  injections.splice(i, 1);
23161
23162
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.2.0",
3
+ "version": "35.2.1",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.2.0"
122
+ "ag-charts-types": "13.2.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "web-streams-polyfill": "^3.3.2",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.2.0",
3
+ "version": "35.2.1",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.2.0"
122
+ "ag-charts-types": "13.2.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "web-streams-polyfill": "^3.3.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.2.0",
3
+ "version": "35.2.1",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.2.0"
122
+ "ag-charts-types": "13.2.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "web-streams-polyfill": "^3.3.2",
@@ -3,12 +3,13 @@ export declare const IS_SSR: boolean;
3
3
  /** For testing, if true, only Vanilla examples will work and they will use legacy themes. */
4
4
  export declare const FORCE_LEGACY_THEMES = false;
5
5
  type InjectedStyle = {
6
- css: string;
6
+ rawCss: string;
7
+ injectedCss: string;
7
8
  el: HTMLStyleElement;
8
9
  priority: number;
9
10
  isParams: boolean;
10
11
  };
11
- export declare const _injectGlobalCSS: (css: string, styleContainer: HTMLElement, debugId: string, layer: string | undefined, priority: number, nonce: string | undefined, isParams?: boolean) => void;
12
+ export declare const _injectGlobalCSS: (rawCss: string, styleContainer: HTMLElement, debugId: string, layer: string | undefined, priority: number, nonce: string | undefined, isParams?: boolean) => void;
12
13
  export declare const _injectCoreAndModuleCSS: (styleContainer: HTMLElement, layer: string | undefined, nonce: string | undefined, moduleCss: Map<string, string[]> | undefined) => void;
13
14
  export declare const _useParamsCss: (environment: IEnvironment, paramsCss: string | null, paramsDebugId: string | null, styleContainer: HTMLElement, layer: string | undefined, nonce: string | undefined) => void;
14
15
  export declare const _unregisterInstanceUsingThemingAPI: (environment: IEnvironment) => void;
@@ -1 +1 @@
1
- export declare const VERSION = "35.2.0";
1
+ export declare const VERSION = "35.2.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-grid-community",
3
- "version": "35.2.0",
3
+ "version": "35.2.1",
4
4
  "description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",
5
5
  "main": "./dist/package/main.cjs.js",
6
6
  "types": "./dist/types/src/main.d.ts",
@@ -119,7 +119,7 @@
119
119
  ],
120
120
  "homepage": "https://www.ag-grid.com/",
121
121
  "dependencies": {
122
- "ag-charts-types": "13.2.0"
122
+ "ag-charts-types": "13.2.1"
123
123
  },
124
124
  "devDependencies": {
125
125
  "web-streams-polyfill": "^3.3.2",