@jc-times/business-ui 0.2.54 → 0.2.55
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/CHANGELOG.md +8 -1
- package/bin/business-ui-gate.mjs +0 -0
- package/dist/Cascader.js +8 -0
- package/dist/Combobox.js +104 -61
- package/dist/MultilineAutoComplete.js +80 -0
- package/dist/SortableList.js +141 -31
- package/dist/business-ui.js +14 -12
- package/dist/document-viewer/DocumentViewer.js +42 -42
- package/dist/document-viewer-v2/DocumentViewerV2.js +19 -15
- package/dist/document-viewer-v2/HeadlessPdfViewer.js +216 -182
- package/dist/pdfium-viewer.js +1 -0
- package/dist/sortable-transfer-scope.js +36 -0
- package/dist/styles.css +1 -1
- package/dist/types/Combobox.d.ts +1 -0
- package/dist/types/MultilineAutoComplete.d.ts +20 -0
- package/dist/types/SortableList.d.ts +19 -2
- package/dist/types/UserProfilePopover.d.ts +0 -1
- package/dist/types/document-viewer/DocumentViewer.d.ts +2 -0
- package/dist/types/document-viewer-v2/DocumentViewerV2.d.ts +1 -0
- package/dist/types/document-viewer-v2/HeadlessPdfViewer.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/sortable-transfer-scope.d.ts +30 -0
- package/docs/agent-guide.md +1 -1
- package/docs/api.md +1 -1
- package/docs/document-viewer-v2.md +5 -4
- package/docs/release.md +7 -6
- package/docs/sortable-list.md +1 -1
- package/docs/viewport-qa.md +9 -3
- package/package.json +167 -168
package/package.json
CHANGED
|
@@ -1,168 +1,167 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@jc-times/business-ui",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"docs/
|
|
20
|
-
"docs/
|
|
21
|
-
"docs/
|
|
22
|
-
"docs/
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"docs/
|
|
26
|
-
"docs/
|
|
27
|
-
"docs/
|
|
28
|
-
"docs/
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"docs/document-viewer.md",
|
|
34
|
-
"docs/
|
|
35
|
-
"docs/
|
|
36
|
-
"docs/
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"./
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"@embedpdf/
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"@
|
|
108
|
-
"@
|
|
109
|
-
"@
|
|
110
|
-
"@
|
|
111
|
-
"@
|
|
112
|
-
"@
|
|
113
|
-
"@
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"@
|
|
120
|
-
"@
|
|
121
|
-
"@
|
|
122
|
-
"@
|
|
123
|
-
"@
|
|
124
|
-
"@
|
|
125
|
-
"@
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
"
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@jc-times/business-ui",
|
|
3
|
+
"version": "0.2.55",
|
|
4
|
+
"description": "Shared accessible business UI components for JC Times applications",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/jc-times/business-ui.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/jc-times/business-ui#readme",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"sideEffects": [
|
|
12
|
+
"**/*.css"
|
|
13
|
+
],
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"bin/business-ui-gate.mjs",
|
|
17
|
+
"AGENTS.md",
|
|
18
|
+
"docs/agent-guide.md",
|
|
19
|
+
"docs/api.md",
|
|
20
|
+
"docs/user-profile.md",
|
|
21
|
+
"docs/mrt-poc.md",
|
|
22
|
+
"docs/cascader.md",
|
|
23
|
+
"licenses/rc-cascader-MIT.txt",
|
|
24
|
+
"docs/component-strategy.md",
|
|
25
|
+
"docs/release.md",
|
|
26
|
+
"docs/viewport-qa.md",
|
|
27
|
+
"docs/modal-shell-migration.md",
|
|
28
|
+
"docs/maturity-migration.md",
|
|
29
|
+
"README.md",
|
|
30
|
+
"CHANGELOG.md",
|
|
31
|
+
"THIRD_PARTY_NOTICES.md",
|
|
32
|
+
"docs/document-viewer.md",
|
|
33
|
+
"docs/document-viewer-v2.md",
|
|
34
|
+
"docs/file-preparation.md",
|
|
35
|
+
"docs/data-table.md",
|
|
36
|
+
"docs/dependencies.md",
|
|
37
|
+
"patches",
|
|
38
|
+
"licenses/embedpdf-MIT.txt",
|
|
39
|
+
"docs/sortable-list.md"
|
|
40
|
+
],
|
|
41
|
+
"main": "./dist/business-ui.js",
|
|
42
|
+
"module": "./dist/business-ui.js",
|
|
43
|
+
"types": "./dist/types/index.d.ts",
|
|
44
|
+
"exports": {
|
|
45
|
+
"./amount-format": {
|
|
46
|
+
"types": "./dist/types/AmountFormat.d.ts",
|
|
47
|
+
"import": "./dist/amount-format.js"
|
|
48
|
+
},
|
|
49
|
+
".": {
|
|
50
|
+
"types": "./dist/types/index.d.ts",
|
|
51
|
+
"import": "./dist/business-ui.js"
|
|
52
|
+
},
|
|
53
|
+
"./chinese-address-regions": {
|
|
54
|
+
"types": "./dist/types/ChineseAddressRegions.d.ts",
|
|
55
|
+
"import": "./dist/chinese-address-regions.js"
|
|
56
|
+
},
|
|
57
|
+
"./styles.css": "./dist/styles.css",
|
|
58
|
+
"./document-viewer": {
|
|
59
|
+
"types": "./dist/types/DocumentViewer.d.ts",
|
|
60
|
+
"import": "./dist/document-viewer.js"
|
|
61
|
+
},
|
|
62
|
+
"./document-viewer-v2": {
|
|
63
|
+
"types": "./dist/types/DocumentViewerV2.d.ts",
|
|
64
|
+
"import": "./dist/document-viewer-v2.js"
|
|
65
|
+
},
|
|
66
|
+
"./document-render-budget": {
|
|
67
|
+
"types": "./dist/types/DocumentRenderBudget.d.ts",
|
|
68
|
+
"import": "./dist/document-render-budget.js"
|
|
69
|
+
},
|
|
70
|
+
"./data-table": {
|
|
71
|
+
"import": "./dist/data-table.js",
|
|
72
|
+
"types": "./dist/types/DataTable.d.ts"
|
|
73
|
+
},
|
|
74
|
+
"./pdfium-viewer": {
|
|
75
|
+
"types": "./dist/types/PdfiumViewer.d.ts",
|
|
76
|
+
"import": "./dist/pdfium-viewer.js"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"bin": {
|
|
80
|
+
"business-ui-gate": "./bin/business-ui-gate.mjs"
|
|
81
|
+
},
|
|
82
|
+
"peerDependencies": {
|
|
83
|
+
"@embedpdf/react-pdf-viewer": "2.15.0",
|
|
84
|
+
"lucide-react": ">=0.468.0 <2",
|
|
85
|
+
"pdfjs-dist": "6.3.289",
|
|
86
|
+
"react": ">=18 <20",
|
|
87
|
+
"react-dom": ">=18 <20"
|
|
88
|
+
},
|
|
89
|
+
"dependencies": {
|
|
90
|
+
"@embedpdf/core": "2.15.0",
|
|
91
|
+
"@embedpdf/engines": "2.15.0",
|
|
92
|
+
"@embedpdf/plugin-document-manager": "2.15.0",
|
|
93
|
+
"@embedpdf/plugin-interaction-manager": "2.15.0",
|
|
94
|
+
"@embedpdf/plugin-render": "2.15.0",
|
|
95
|
+
"@embedpdf/plugin-rotate": "2.15.0",
|
|
96
|
+
"@embedpdf/plugin-scroll": "2.15.0",
|
|
97
|
+
"@embedpdf/plugin-search": "2.15.0",
|
|
98
|
+
"@embedpdf/plugin-selection": "2.15.0",
|
|
99
|
+
"@embedpdf/plugin-thumbnail": "2.15.0",
|
|
100
|
+
"@embedpdf/plugin-viewport": "2.15.0",
|
|
101
|
+
"@embedpdf/plugin-zoom": "2.15.0",
|
|
102
|
+
"@emotion/react": "11.14.0",
|
|
103
|
+
"@emotion/styled": "11.14.1",
|
|
104
|
+
"@internationalized/date": "3.12.4",
|
|
105
|
+
"@mui/icons-material": "7.3.11",
|
|
106
|
+
"@mui/material": "7.3.11",
|
|
107
|
+
"@mui/x-date-pickers": "9.13.0",
|
|
108
|
+
"@radix-ui/react-dialog": "1.1.23",
|
|
109
|
+
"@radix-ui/react-popover": "1.1.23",
|
|
110
|
+
"@radix-ui/react-select": "2.3.7",
|
|
111
|
+
"@radix-ui/react-toast": "1.2.23",
|
|
112
|
+
"@radix-ui/react-tooltip": "1.2.16",
|
|
113
|
+
"@rc-component/cascader": "1.25.0",
|
|
114
|
+
"cn-division": "2026.0.1",
|
|
115
|
+
"material-react-table": "3.2.1",
|
|
116
|
+
"react-aria-components": "1.21.1"
|
|
117
|
+
},
|
|
118
|
+
"devDependencies": {
|
|
119
|
+
"@embedpdf/pdfium": "2.15.0",
|
|
120
|
+
"@embedpdf/react-pdf-viewer": "2.15.0",
|
|
121
|
+
"@playwright/test": "1.63.0",
|
|
122
|
+
"@testing-library/jest-dom": "7.0.1",
|
|
123
|
+
"@testing-library/react": "16.3.3",
|
|
124
|
+
"@types/react": "19.3.0",
|
|
125
|
+
"@types/react-dom": "19.3.0",
|
|
126
|
+
"dayjs": "1.11.23",
|
|
127
|
+
"jsdom": "30.0.1",
|
|
128
|
+
"lucide-react": "1.45.0",
|
|
129
|
+
"pdfjs-dist": "6.3.289",
|
|
130
|
+
"react": "19.3.0",
|
|
131
|
+
"react-dom": "19.3.0",
|
|
132
|
+
"typescript": "6.0.3",
|
|
133
|
+
"vite": "8.3.0",
|
|
134
|
+
"vitest": "5.0.0"
|
|
135
|
+
},
|
|
136
|
+
"engines": {
|
|
137
|
+
"node": ">=24.15.0"
|
|
138
|
+
},
|
|
139
|
+
"publishConfig": {
|
|
140
|
+
"access": "public",
|
|
141
|
+
"registry": "https://registry.npmjs.org/"
|
|
142
|
+
},
|
|
143
|
+
"peerDependenciesMeta": {
|
|
144
|
+
"@embedpdf/react-pdf-viewer": {
|
|
145
|
+
"optional": true
|
|
146
|
+
},
|
|
147
|
+
"pdfjs-dist": {
|
|
148
|
+
"optional": true
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"scripts": {
|
|
152
|
+
"dev:cascader": "vite --host 127.0.0.1 --port 4187 --strictPort",
|
|
153
|
+
"dev:mrt": "vite --config examples/mrt-poc/vite.config.ts",
|
|
154
|
+
"build:mrt": "vite build --config examples/mrt-poc/vite.config.ts",
|
|
155
|
+
"test:mrt": "playwright test --config examples/mrt-poc/playwright.config.ts",
|
|
156
|
+
"build": "vite build && tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
157
|
+
"build:matrix": "vite build --config examples/visual-matrix/vite.config.ts",
|
|
158
|
+
"dev:matrix": "vite examples/visual-matrix",
|
|
159
|
+
"test": "vitest run",
|
|
160
|
+
"test:browser": "playwright test",
|
|
161
|
+
"typecheck": "tsc --noEmit",
|
|
162
|
+
"verify": "pnpm typecheck && pnpm test && pnpm build && pnpm test:tree-shaking && pnpm build:matrix",
|
|
163
|
+
"pack:release": "pnpm verify && pnpm pack",
|
|
164
|
+
"publish:release": "node scripts/publish-release.mjs",
|
|
165
|
+
"test:tree-shaking": "node scripts/check-tree-shaking.mjs"
|
|
166
|
+
}
|
|
167
|
+
}
|