@procore/data-table 14.28.0-cdn.0 → 14.28.0-cdn.2
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/legacy/index.cjs +4 -5
- package/dist/legacy/index.js +5 -6
- package/dist/modern/index.cjs +4 -5
- package/dist/modern/index.js +5 -6
- package/package.json +3 -3
package/dist/legacy/index.cjs
CHANGED
|
@@ -109245,16 +109245,16 @@ var DataTable = ({
|
|
|
109245
109245
|
);
|
|
109246
109246
|
const contextPanel = useContextPanel();
|
|
109247
109247
|
const clientI18n = coreReact.useI18nContext();
|
|
109248
|
-
const isCDNEnabled =
|
|
109248
|
+
const isCDNEnabled = cdnTranslations.isCDNFeatureFlagEnabled(clientI18n, enableCDN);
|
|
109249
109249
|
const cdnTranslations$1 = cdnTranslations.useRequestTranslations(
|
|
109250
109250
|
{
|
|
109251
109251
|
locale: clientI18n.locale,
|
|
109252
109252
|
type: "file",
|
|
109253
|
-
absolute_file_path: (locale) => `core/packages/data-table/src/locales/${locale}
|
|
109253
|
+
absolute_file_path: (locale) => `core/packages/data-table/src/locales/${locale}`
|
|
109254
109254
|
},
|
|
109255
|
-
{ en: translations.en },
|
|
109255
|
+
{ en: translations.en, pseudo: translations.pseudo },
|
|
109256
109256
|
{
|
|
109257
|
-
translations,
|
|
109257
|
+
oldTranslations: translations,
|
|
109258
109258
|
enableCDN: isCDNEnabled
|
|
109259
109259
|
}
|
|
109260
109260
|
);
|
|
@@ -109266,7 +109266,6 @@ var DataTable = ({
|
|
|
109266
109266
|
}),
|
|
109267
109267
|
cdnTranslations$1.translations
|
|
109268
109268
|
),
|
|
109269
|
-
requestedTranslations: cdnTranslations$1,
|
|
109270
109269
|
enableCDN: isCDNEnabled
|
|
109271
109270
|
});
|
|
109272
109271
|
const rowSelectionRef = React80__default.default.useRef({
|
package/dist/legacy/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { formatNumber, formatCurrency, formatPercentage } from '@procore/labs-fi
|
|
|
10
10
|
import styled4, { css as css$1 } from 'styled-components';
|
|
11
11
|
import { format } from '@procore/labs-financials-utils/dist/format';
|
|
12
12
|
import { detectPrng, factory } from 'ulid';
|
|
13
|
-
import { useRequestTranslations } from '@procore/cdn-translations';
|
|
13
|
+
import { isCDNFeatureFlagEnabled, useRequestTranslations } from '@procore/cdn-translations';
|
|
14
14
|
import { useToastAlertContext, ToastAlertProvider } from '@procore/toast-alert';
|
|
15
15
|
import ReactDOM, { createPortal } from 'react-dom';
|
|
16
16
|
import { renderToString, renderToStaticMarkup } from 'react-dom/server';
|
|
@@ -109232,16 +109232,16 @@ var DataTable = ({
|
|
|
109232
109232
|
);
|
|
109233
109233
|
const contextPanel = useContextPanel();
|
|
109234
109234
|
const clientI18n = useI18nContext();
|
|
109235
|
-
const isCDNEnabled =
|
|
109235
|
+
const isCDNEnabled = isCDNFeatureFlagEnabled(clientI18n, enableCDN);
|
|
109236
109236
|
const cdnTranslations = useRequestTranslations(
|
|
109237
109237
|
{
|
|
109238
109238
|
locale: clientI18n.locale,
|
|
109239
109239
|
type: "file",
|
|
109240
|
-
absolute_file_path: (locale) => `core/packages/data-table/src/locales/${locale}
|
|
109240
|
+
absolute_file_path: (locale) => `core/packages/data-table/src/locales/${locale}`
|
|
109241
109241
|
},
|
|
109242
|
-
{ en: translations.en },
|
|
109242
|
+
{ en: translations.en, pseudo: translations.pseudo },
|
|
109243
109243
|
{
|
|
109244
|
-
translations,
|
|
109244
|
+
oldTranslations: translations,
|
|
109245
109245
|
enableCDN: isCDNEnabled
|
|
109246
109246
|
}
|
|
109247
109247
|
);
|
|
@@ -109253,7 +109253,6 @@ var DataTable = ({
|
|
|
109253
109253
|
}),
|
|
109254
109254
|
cdnTranslations.translations
|
|
109255
109255
|
),
|
|
109256
|
-
requestedTranslations: cdnTranslations,
|
|
109257
109256
|
enableCDN: isCDNEnabled
|
|
109258
109257
|
});
|
|
109259
109258
|
const rowSelectionRef = React80.useRef({
|
package/dist/modern/index.cjs
CHANGED
|
@@ -109065,16 +109065,16 @@ var DataTable = ({
|
|
|
109065
109065
|
);
|
|
109066
109066
|
const contextPanel = useContextPanel();
|
|
109067
109067
|
const clientI18n = coreReact.useI18nContext();
|
|
109068
|
-
const isCDNEnabled =
|
|
109068
|
+
const isCDNEnabled = cdnTranslations.isCDNFeatureFlagEnabled(clientI18n, enableCDN);
|
|
109069
109069
|
const cdnTranslations$1 = cdnTranslations.useRequestTranslations(
|
|
109070
109070
|
{
|
|
109071
109071
|
locale: clientI18n.locale,
|
|
109072
109072
|
type: "file",
|
|
109073
|
-
absolute_file_path: (locale) => `core/packages/data-table/src/locales/${locale}
|
|
109073
|
+
absolute_file_path: (locale) => `core/packages/data-table/src/locales/${locale}`
|
|
109074
109074
|
},
|
|
109075
|
-
{ en: translations.en },
|
|
109075
|
+
{ en: translations.en, pseudo: translations.pseudo },
|
|
109076
109076
|
{
|
|
109077
|
-
translations,
|
|
109077
|
+
oldTranslations: translations,
|
|
109078
109078
|
enableCDN: isCDNEnabled
|
|
109079
109079
|
}
|
|
109080
109080
|
);
|
|
@@ -109086,7 +109086,6 @@ var DataTable = ({
|
|
|
109086
109086
|
}),
|
|
109087
109087
|
cdnTranslations$1.translations
|
|
109088
109088
|
),
|
|
109089
|
-
requestedTranslations: cdnTranslations$1,
|
|
109090
109089
|
enableCDN: isCDNEnabled
|
|
109091
109090
|
});
|
|
109092
109091
|
const rowSelectionRef = React80__default.default.useRef({
|
package/dist/modern/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { formatNumber, formatCurrency, formatPercentage } from '@procore/labs-fi
|
|
|
10
10
|
import styled4, { css as css$1 } from 'styled-components';
|
|
11
11
|
import { format } from '@procore/labs-financials-utils/dist/format';
|
|
12
12
|
import { detectPrng, factory } from 'ulid';
|
|
13
|
-
import { useRequestTranslations } from '@procore/cdn-translations';
|
|
13
|
+
import { isCDNFeatureFlagEnabled, useRequestTranslations } from '@procore/cdn-translations';
|
|
14
14
|
import { useToastAlertContext, ToastAlertProvider } from '@procore/toast-alert';
|
|
15
15
|
import ReactDOM, { createPortal } from 'react-dom';
|
|
16
16
|
import { renderToString, renderToStaticMarkup } from 'react-dom/server';
|
|
@@ -109052,16 +109052,16 @@ var DataTable = ({
|
|
|
109052
109052
|
);
|
|
109053
109053
|
const contextPanel = useContextPanel();
|
|
109054
109054
|
const clientI18n = useI18nContext();
|
|
109055
|
-
const isCDNEnabled =
|
|
109055
|
+
const isCDNEnabled = isCDNFeatureFlagEnabled(clientI18n, enableCDN);
|
|
109056
109056
|
const cdnTranslations = useRequestTranslations(
|
|
109057
109057
|
{
|
|
109058
109058
|
locale: clientI18n.locale,
|
|
109059
109059
|
type: "file",
|
|
109060
|
-
absolute_file_path: (locale) => `core/packages/data-table/src/locales/${locale}
|
|
109060
|
+
absolute_file_path: (locale) => `core/packages/data-table/src/locales/${locale}`
|
|
109061
109061
|
},
|
|
109062
|
-
{ en: translations.en },
|
|
109062
|
+
{ en: translations.en, pseudo: translations.pseudo },
|
|
109063
109063
|
{
|
|
109064
|
-
translations,
|
|
109064
|
+
oldTranslations: translations,
|
|
109065
109065
|
enableCDN: isCDNEnabled
|
|
109066
109066
|
}
|
|
109067
109067
|
);
|
|
@@ -109073,7 +109073,6 @@ var DataTable = ({
|
|
|
109073
109073
|
}),
|
|
109074
109074
|
cdnTranslations.translations
|
|
109075
109075
|
),
|
|
109076
|
-
requestedTranslations: cdnTranslations,
|
|
109077
109076
|
enableCDN: isCDNEnabled
|
|
109078
109077
|
});
|
|
109079
109078
|
const rowSelectionRef = React80.useRef({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/data-table",
|
|
3
|
-
"version": "14.28.0-cdn.
|
|
3
|
+
"version": "14.28.0-cdn.2",
|
|
4
4
|
"description": "Complex data grid built on top of ag-grid, with DST components and styles.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/legacy/index.cjs",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"styled-components": ">= 5.1.1 < 6"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@procore/cdn-translations": "0.0
|
|
82
|
+
"@procore/cdn-translations": "0.1.0",
|
|
83
83
|
"@procore/error-pages": "0.2.1",
|
|
84
84
|
"@procore/labs-datetime-select": "0.1.1",
|
|
85
85
|
"@procore/labs-group-by-select": "4.0.0",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"@procore/core-css": "10.17.0",
|
|
115
115
|
"@procore/core-icons": "12.6.0",
|
|
116
116
|
"@procore/core-prettier": "10.2.0",
|
|
117
|
-
"@procore/core-react": "12.21.0-cdn.
|
|
117
|
+
"@procore/core-react": "12.21.0-cdn.2",
|
|
118
118
|
"@procore/eslint-config": "10.0.0",
|
|
119
119
|
"@procore/globalization-toolkit": "3.1.0",
|
|
120
120
|
"@procore/labs-financials-utils": "4.3.1",
|