@procore/data-table 14.5.1 → 14.7.0

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/package.json CHANGED
@@ -1,29 +1,32 @@
1
1
  {
2
2
  "name": "@procore/data-table",
3
- "version": "14.5.1",
3
+ "version": "14.7.0",
4
4
  "description": "Complex data grid built on top of ag-grid, with DST components and styles.",
5
- "main": "dist/modern/index.js",
6
- "module": "dist/modern/index.mjs",
5
+ "type": "module",
6
+ "main": "dist/legacy/index.cjs",
7
+ "module": "dist/legacy/index.js",
8
+ "types": "dist/legacy/index.d.ts",
7
9
  "exports": {
8
10
  ".": {
9
11
  "import": {
10
- "types": "./dist/modern/index.d.mts",
11
- "default": "./dist/modern/index.mjs"
12
+ "types": "./dist/modern/index.d.ts",
13
+ "default": "./dist/modern/index.js"
12
14
  },
13
15
  "require": {
14
- "types": "./dist/modern/index.d.mts",
15
- "default": "./dist/modern/index.mjs"
16
+ "types": "./dist/modern/index.d.cts",
17
+ "default": "./dist/modern/index.cjs"
16
18
  }
17
19
  },
18
20
  "./package.json": "./package.json"
19
21
  },
20
- "types": "dist/modern/index.d.mts",
21
22
  "publishConfig": {
22
23
  "access": "public"
23
24
  },
25
+ "sideEffects": [
26
+ "**/*.scss"
27
+ ],
24
28
  "scripts": {
25
29
  "build": "NODE_ENV=production tsup",
26
- "build:types": "tsc -p . --emitDeclarationOnly",
27
30
  "chromatic": "chromatic --project-token=67f7a4f5cd9d",
28
31
  "chromatic:ci": "chromatic --ci --storybook-build-dir ./storybook-static --project-token=${CHROMATIC_DATA_TABLE_TOKEN} --exit-once-uploaded --only-changed --skip=\"dependabot*\"",
29
32
  "clean": "rimraf dist",
@@ -36,8 +39,9 @@
36
39
  "cypress:run": "cypress run -b ${CYPRESS_BROWSER-chrome} --spec ${CYPRESS_SPEC-cypress/e2e/**/*.e2e.ts}",
37
40
  "cypress:run:all": "start-server-and-test storybook-static:server http://127.0.0.1:6006 'yarn cypress:run'",
38
41
  "cypress:install": "cypress install",
39
- "prettier": "prettier --write",
40
- "prettier:check": "prettier --check",
42
+ "format": "prettier --ignore-unknown --write --cache .",
43
+ "format:check": "prettier --ignore-unknown --check --cache .",
44
+ "lint:types": "tsc --noEmit",
41
45
  "storybook": "storybook dev -p 6006",
42
46
  "storybook-static:server": "http-server ./storybook-static -p 6006 -c-1 --silent",
43
47
  "build-storybook": "storybook build --webpack-stats-json -- --test",
@@ -75,7 +79,7 @@
75
79
  },
76
80
  "dependencies": {
77
81
  "@procore/labs-datetime-select": "0.1.0",
78
- "@procore/labs-group-by-select": "3.1.1",
82
+ "@procore/labs-group-by-select": "3.1.2",
79
83
  "@procore/toast-alert": "5.1.0",
80
84
  "classnames": "2.5.1",
81
85
  "date-fns": "2.29.1",
@@ -104,7 +108,7 @@
104
108
  "@procore/core-css": "10.17.0",
105
109
  "@procore/core-icons": "12.0.0",
106
110
  "@procore/core-prettier": "10.2.0",
107
- "@procore/core-react": "12.4.2",
111
+ "@procore/core-react": "12.6.0",
108
112
  "@procore/eslint-config": "10.0.0",
109
113
  "@procore/globalization-toolkit": "3.1.0",
110
114
  "@procore/labs-financials-utils": "3.0.1",