@procore/data-table 14.31.0 → 14.33.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,11 +1,20 @@
1
1
  {
2
2
  "name": "@procore/data-table",
3
- "version": "14.31.0",
3
+ "version": "14.33.0",
4
4
  "description": "Complex data grid built on top of ag-grid, with DST components and styles.",
5
+ "author": "Procore Technologies",
6
+ "homepage": "https://github.com/procore/core/tree/main/packages/data-table",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/procore/core/",
10
+ "directory": "packages/data-table"
11
+ },
12
+ "bugs": "https://github.com/procore/core/issues",
13
+ "license": "SEE LICENSE IN LICENSE",
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
5
17
  "type": "module",
6
- "main": "dist/legacy/index.cjs",
7
- "module": "dist/legacy/index.js",
8
- "types": "dist/legacy/index.d.ts",
9
18
  "exports": {
10
19
  ".": {
11
20
  "import": {
@@ -19,55 +28,41 @@
19
28
  },
20
29
  "./package.json": "./package.json"
21
30
  },
22
- "publishConfig": {
23
- "access": "public"
24
- },
25
- "sideEffects": [
26
- "**/*.scss"
31
+ "main": "dist/legacy/index.cjs",
32
+ "module": "dist/legacy/index.js",
33
+ "types": "dist/legacy/index.d.ts",
34
+ "files": [
35
+ "dist",
36
+ "CHANGELOG.md",
37
+ "README.md",
38
+ "LICENSE",
39
+ "package.json"
27
40
  ],
28
41
  "scripts": {
29
42
  "build": "NODE_ENV=production tsup",
43
+ "build-storybook": "storybook build --webpack-stats-json -- --test",
30
44
  "chromatic": "dotenvx run -- chromatic",
31
45
  "chromatic:ci": "chromatic --ci --storybook-build-dir ./storybook-static --project-token=${CHROMATIC_DATA_TABLE_TOKEN} --exit-once-uploaded --only-changed --skip=\"dependabot*\"",
32
46
  "clean": "rimraf dist",
47
+ "cypress:component:run": "cypress run -b ${CYPRESS_BROWSER-chrome} --spec ${CYPRESS_SPEC-src/**/*.cy.tsx} --component",
33
48
  "cypress:dev:open": "start-server-and-test storybook http://127.0.0.1:6006 'yarn cypress:open'",
34
49
  "cypress:dev:run": "start-server-and-test storybook http://127.0.0.1:6006 'yarn cypress:run'",
50
+ "cypress:install": "cypress install",
35
51
  "cypress:open": "cypress open",
36
- "cypress:component:run": "cypress run -b ${CYPRESS_BROWSER-chrome} --spec ${CYPRESS_SPEC-src/**/*.cy.tsx} --component",
37
52
  "cypress:performance": "cypress run -b ${CYPRESS_BROWSER-chrome} --spec ${CYPRESS_SPEC-cypress/e2e/**/*.perf.ts}",
38
53
  "cypress:performance:run": "start-server-and-test storybook-static:server http://127.0.0.1:6006 cypress:performance",
39
54
  "cypress:run": "cypress run -b ${CYPRESS_BROWSER-chrome} --spec ${CYPRESS_SPEC-cypress/e2e/**/*.e2e.ts}",
40
55
  "cypress:run:all": "start-server-and-test storybook-static:server http://127.0.0.1:6006 'yarn dlx cypress run -b ${CYPRESS_BROWSER-chrome} --spec ${CYPRESS_SPEC-cypress/e2e/**/*.e2e.ts}'",
41
- "cypress:install": "cypress install",
42
56
  "format": "prettier --ignore-unknown --write --cache .",
43
57
  "format:check": "prettier --ignore-unknown --check --cache .",
44
58
  "lint:types": "tsc --noEmit",
45
59
  "pseudo": "pseudolocalize run ./src/locales",
46
60
  "storybook": "storybook dev -p 6006",
47
61
  "storybook-static:server": "http-server ./storybook-static -p 6006 -c-1 --silent",
48
- "build-storybook": "storybook build --webpack-stats-json -- --test",
49
62
  "test": "jest --runInBand --silent --logHeapUsage",
50
63
  "test:coverage": "yarn test -- --collectCoverage",
51
64
  "test:watch": "yarn run test --watch"
52
65
  },
53
- "files": [
54
- "dist",
55
- "CHANGELOG.md",
56
- "README.md",
57
- "LICENSE",
58
- "package.json"
59
- ],
60
- "repository": {
61
- "type": "git",
62
- "url": "https://github.com/procore/core/",
63
- "directory": "packages/data-table"
64
- },
65
- "author": "Procore Technologies",
66
- "license": "SEE LICENSE IN LICENSE",
67
- "bugs": {
68
- "url": "https://github.com/procore/core/issues"
69
- },
70
- "homepage": "https://github.com/procore/core/tree/main/packages/data-table",
71
66
  "peerDependencies": {
72
67
  "@procore/core-css": "^10.27.2",
73
68
  "@procore/core-icons": "^12.0.0",
@@ -76,13 +71,13 @@
76
71
  "@procore/labs-financials-utils": ">=3.0.1 < 5",
77
72
  "react": ">=16.8.0 < 19",
78
73
  "react-dom": ">=16.8.0 < 19",
79
- "styled-components": ">= 5.1.1 < 6"
74
+ "styled-components": ">= 5.1.1 < 7"
80
75
  },
81
76
  "dependencies": {
82
- "@procore/error-pages": "0.2.2",
83
- "@procore/labs-datetime-select": "0.1.2",
84
- "@procore/labs-group-by-select": "4.0.1",
85
- "@procore/toast-alert": "5.1.1",
77
+ "@procore/error-pages": "^0.2.3",
78
+ "@procore/labs-datetime-select": "^0.1.3",
79
+ "@procore/labs-group-by-select": "^4.1.0",
80
+ "@procore/toast-alert": "^5.1.1",
86
81
  "@procore/web-sdk-storage": "^0.1.0",
87
82
  "classnames": "2.5.1",
88
83
  "date-fns": "2.29.1",
@@ -111,9 +106,9 @@
111
106
  "@dotenvx/dotenvx": "1.6.4",
112
107
  "@ngneat/falso": "6.4.0",
113
108
  "@procore/core-css": "10.17.0",
114
- "@procore/core-icons": "12.6.1",
109
+ "@procore/core-icons": "^12.7.0",
115
110
  "@procore/core-prettier": "10.2.0",
116
- "@procore/core-react": "12.21.2",
111
+ "@procore/core-react": "^12.22.0",
117
112
  "@procore/eslint-config": "10.0.0",
118
113
  "@procore/globalization-toolkit": "3.1.0",
119
114
  "@procore/labs-financials-utils": "4.3.1",
@@ -127,16 +122,14 @@
127
122
  "@testing-library/cypress": "10.0.1",
128
123
  "@testing-library/dom": "8.20.0",
129
124
  "@testing-library/jest-dom": "5.16.4",
130
- "@testing-library/react": "11.0.4",
131
- "@testing-library/react-hooks": "8.0.1",
125
+ "@testing-library/react": "16.3.0",
132
126
  "@testing-library/user-event": "13.1.5",
133
127
  "@types/lodash.debounce": "4.0.7",
134
128
  "@types/lodash.isequal": "4.5.0",
135
129
  "@types/ramda": "0.28.23",
136
- "@types/react": "17.0.55",
137
- "@types/react-dom": "17.0.19",
130
+ "@types/react": "18.3.1",
131
+ "@types/react-dom": "18.3.1",
138
132
  "@types/safe-json-stringify": "^1.1.2",
139
- "@types/styled-components": "5.1.26",
140
133
  "@types/testing-library__jest-dom": "5.14.5",
141
134
  "@typescript-eslint/eslint-plugin": "5.48.2",
142
135
  "@typescript-eslint/parser": "5.48.1",
@@ -163,8 +156,8 @@
163
156
  "mocha-junit-reporter": "^2.2.1",
164
157
  "mochawesome": "^7.1.3",
165
158
  "postcss-modules": "^6.0.0",
166
- "react": "17.0.2",
167
- "react-dom": "17.0.2",
159
+ "react": "18.3.1",
160
+ "react-dom": "18.3.1",
168
161
  "rimraf": "3.0.2",
169
162
  "safe-json-stringify": "^1.2.0",
170
163
  "sass": "1.57.1",
@@ -172,8 +165,11 @@
172
165
  "start-server-and-test": "1.15.4",
173
166
  "storybook": "^7.5.3",
174
167
  "style-loader": "3.3.1",
175
- "styled-components": "5.3.9",
168
+ "styled-components": "6.1.18",
176
169
  "tsup": "^8.4.0",
177
170
  "typescript": "^4.9.5"
178
- }
171
+ },
172
+ "sideEffects": [
173
+ "**/*.scss"
174
+ ]
179
175
  }