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.
- package/dist/ag-grid-community.js +8 -7
- package/dist/ag-grid-community.min.js +2 -2
- package/dist/ag-grid-community.min.noStyle.js +2 -2
- package/dist/ag-grid-community.noStyle.js +8 -7
- package/dist/package/main.cjs.js +8 -7
- package/dist/package/main.cjs.min.js +2 -2
- package/dist/package/main.esm.min.mjs +2 -2
- package/dist/package/main.esm.mjs +8 -7
- package/dist/package/package.json +2 -2
- package/dist/package.json +2 -2
- package/dist/types/package.json +2 -2
- package/dist/types/src/agStack/theming/inject.d.ts +3 -2
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -2253,7 +2253,7 @@ function _findEnterpriseCoreModule(modules) {
|
|
|
2253
2253
|
}
|
|
2254
2254
|
|
|
2255
2255
|
// packages/ag-grid-community/src/version.ts
|
|
2256
|
-
var VERSION = "35.2.
|
|
2256
|
+
var VERSION = "35.2.1";
|
|
2257
2257
|
|
|
2258
2258
|
// packages/ag-grid-community/src/validation/logging.ts
|
|
2259
2259
|
var MAX_URL_LENGTH = 2e3;
|
|
@@ -23572,19 +23572,20 @@ var shared_default = ':where([class^=ag-]),:where([class^=ag-]):after,:where([cl
|
|
|
23572
23572
|
// packages/ag-grid-community/src/agStack/theming/inject.ts
|
|
23573
23573
|
var IS_SSR = typeof window !== "object" || !window?.document?.fonts?.forEach;
|
|
23574
23574
|
var FORCE_LEGACY_THEMES = false;
|
|
23575
|
-
var _injectGlobalCSS = (
|
|
23575
|
+
var _injectGlobalCSS = (rawCss, styleContainer, debugId, layer, priority, nonce, isParams = false) => {
|
|
23576
23576
|
if (IS_SSR || FORCE_LEGACY_THEMES) {
|
|
23577
23577
|
return;
|
|
23578
23578
|
}
|
|
23579
|
+
let injectedCss = rawCss;
|
|
23579
23580
|
if (layer) {
|
|
23580
|
-
|
|
23581
|
+
injectedCss = `@layer ${CSS.escape(layer).replaceAll("\\.", ".")} { ${rawCss} }`;
|
|
23581
23582
|
}
|
|
23582
23583
|
let injections = injectionState.map.get(styleContainer);
|
|
23583
23584
|
if (!injections) {
|
|
23584
23585
|
injections = [];
|
|
23585
23586
|
injectionState.map.set(styleContainer, injections);
|
|
23586
23587
|
}
|
|
23587
|
-
if (injections.some((i) => i.
|
|
23588
|
+
if (injections.some((i) => i.injectedCss === injectedCss)) {
|
|
23588
23589
|
return;
|
|
23589
23590
|
}
|
|
23590
23591
|
const el = document.createElement("style");
|
|
@@ -23593,8 +23594,8 @@ var _injectGlobalCSS = (css, styleContainer, debugId, layer, priority, nonce, is
|
|
|
23593
23594
|
}
|
|
23594
23595
|
el.dataset.agCss = debugId;
|
|
23595
23596
|
el.dataset.agCssVersion = VERSION;
|
|
23596
|
-
el.textContent =
|
|
23597
|
-
const newInjection = {
|
|
23597
|
+
el.textContent = injectedCss;
|
|
23598
|
+
const newInjection = { rawCss, injectedCss, el, priority, isParams };
|
|
23598
23599
|
let insertAfter;
|
|
23599
23600
|
for (const injection of injections) {
|
|
23600
23601
|
if (injection.priority > priority) {
|
|
@@ -23661,7 +23662,7 @@ var removeStaleParamsCss = (styleContainer, deleteAll = false) => {
|
|
|
23661
23662
|
}
|
|
23662
23663
|
const injections = injectionState.map.get(styleContainer) ?? [];
|
|
23663
23664
|
for (let i = injections.length - 1; i >= 0; i--) {
|
|
23664
|
-
if (deleteAll || injections[i].isParams && !neededCss.has(injections[i].
|
|
23665
|
+
if (deleteAll || injections[i].isParams && !neededCss.has(injections[i].rawCss)) {
|
|
23665
23666
|
injections[i].el.remove();
|
|
23666
23667
|
injections.splice(i, 1);
|
|
23667
23668
|
}
|
package/dist/package/main.cjs.js
CHANGED
|
@@ -2245,7 +2245,7 @@ function _findEnterpriseCoreModule(modules) {
|
|
|
2245
2245
|
}
|
|
2246
2246
|
|
|
2247
2247
|
// packages/ag-grid-community/src/version.ts
|
|
2248
|
-
var VERSION = "35.2.
|
|
2248
|
+
var VERSION = "35.2.1";
|
|
2249
2249
|
|
|
2250
2250
|
// packages/ag-grid-community/src/validation/logging.ts
|
|
2251
2251
|
var MAX_URL_LENGTH = 2e3;
|
|
@@ -23564,19 +23564,20 @@ var shared_default = ':where([class^=ag-]),:where([class^=ag-]):after,:where([cl
|
|
|
23564
23564
|
// packages/ag-grid-community/src/agStack/theming/inject.ts
|
|
23565
23565
|
var IS_SSR = typeof window !== "object" || !window?.document?.fonts?.forEach;
|
|
23566
23566
|
var FORCE_LEGACY_THEMES = false;
|
|
23567
|
-
var _injectGlobalCSS = (
|
|
23567
|
+
var _injectGlobalCSS = (rawCss, styleContainer, debugId, layer, priority, nonce, isParams = false) => {
|
|
23568
23568
|
if (IS_SSR || FORCE_LEGACY_THEMES) {
|
|
23569
23569
|
return;
|
|
23570
23570
|
}
|
|
23571
|
+
let injectedCss = rawCss;
|
|
23571
23572
|
if (layer) {
|
|
23572
|
-
|
|
23573
|
+
injectedCss = `@layer ${CSS.escape(layer).replaceAll("\\.", ".")} { ${rawCss} }`;
|
|
23573
23574
|
}
|
|
23574
23575
|
let injections = injectionState.map.get(styleContainer);
|
|
23575
23576
|
if (!injections) {
|
|
23576
23577
|
injections = [];
|
|
23577
23578
|
injectionState.map.set(styleContainer, injections);
|
|
23578
23579
|
}
|
|
23579
|
-
if (injections.some((i) => i.
|
|
23580
|
+
if (injections.some((i) => i.injectedCss === injectedCss)) {
|
|
23580
23581
|
return;
|
|
23581
23582
|
}
|
|
23582
23583
|
const el = document.createElement("style");
|
|
@@ -23585,8 +23586,8 @@ var _injectGlobalCSS = (css, styleContainer, debugId, layer, priority, nonce, is
|
|
|
23585
23586
|
}
|
|
23586
23587
|
el.dataset.agCss = debugId;
|
|
23587
23588
|
el.dataset.agCssVersion = VERSION;
|
|
23588
|
-
el.textContent =
|
|
23589
|
-
const newInjection = {
|
|
23589
|
+
el.textContent = injectedCss;
|
|
23590
|
+
const newInjection = { rawCss, injectedCss, el, priority, isParams };
|
|
23590
23591
|
let insertAfter;
|
|
23591
23592
|
for (const injection of injections) {
|
|
23592
23593
|
if (injection.priority > priority) {
|
|
@@ -23653,7 +23654,7 @@ var removeStaleParamsCss = (styleContainer, deleteAll = false) => {
|
|
|
23653
23654
|
}
|
|
23654
23655
|
const injections = injectionState.map.get(styleContainer) ?? [];
|
|
23655
23656
|
for (let i = injections.length - 1; i >= 0; i--) {
|
|
23656
|
-
if (deleteAll || injections[i].isParams && !neededCss.has(injections[i].
|
|
23657
|
+
if (deleteAll || injections[i].isParams && !neededCss.has(injections[i].rawCss)) {
|
|
23657
23658
|
injections[i].el.remove();
|
|
23658
23659
|
injections.splice(i, 1);
|
|
23659
23660
|
}
|