@procore/data-table 14.6.0 → 14.8.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,30 +1,33 @@
1
1
  {
2
2
  "name": "@procore/data-table",
3
- "version": "14.6.0",
3
+ "version": "14.8.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
- "chromatic": "chromatic --project-token=67f7a4f5cd9d",
30
+ "chromatic": "dotenvx run -- chromatic",
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",
30
33
  "cypress:dev:open": "start-server-and-test storybook-static:server http://127.0.0.1:6006 cypress:open",
@@ -36,9 +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",
42
+ "format": "prettier --ignore-unknown --write --cache .",
43
+ "format:check": "prettier --ignore-unknown --check --cache .",
39
44
  "lint:types": "tsc --noEmit",
40
- "prettier": "prettier --write",
41
- "prettier:check": "prettier --check",
42
45
  "storybook": "storybook dev -p 6006",
43
46
  "storybook-static:server": "http-server ./storybook-static -p 6006 -c-1 --silent",
44
47
  "build-storybook": "storybook build --webpack-stats-json -- --test",
@@ -55,7 +58,7 @@
55
58
  ],
56
59
  "repository": {
57
60
  "type": "git",
58
- "url": "https://github.com:procore/core/",
61
+ "url": "https://github.com/procore/core/",
59
62
  "directory": "packages/data-table"
60
63
  },
61
64
  "author": "Procore Technologies",
@@ -101,11 +104,12 @@
101
104
  "@ag-grid-enterprise/server-side-row-model": "30.1.0",
102
105
  "@ag-grid-enterprise/set-filter": "30.1.0",
103
106
  "@babel/eslint-parser": "7.21.3",
107
+ "@dotenvx/dotenvx": "1.6.4",
104
108
  "@ngneat/falso": "6.4.0",
105
109
  "@procore/core-css": "10.17.0",
106
110
  "@procore/core-icons": "12.0.0",
107
111
  "@procore/core-prettier": "10.2.0",
108
- "@procore/core-react": "12.4.2",
112
+ "@procore/core-react": "12.6.0",
109
113
  "@procore/eslint-config": "10.0.0",
110
114
  "@procore/globalization-toolkit": "3.1.0",
111
115
  "@procore/labs-financials-utils": "3.0.1",