@tesouro/embedded-components-react 0.10.15 → 0.11.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/README.md +70 -6
- package/dist/index.d.ts +21 -2
- package/dist/index.js +56 -55
- package/dist/lib/WidgetProvider.d.ts +21 -2
- package/dist/lib/WidgetProvider.js +15 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +54 -52
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/PdfFileViewer.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +133 -130
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmbeddedToaster.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/HostIsolationScope/HostIsolationScope.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index.js +3 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/csp.js +37 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/pdfWorkerSrc.js +9 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +4088 -4100
- package/dist/pdf.worker.min.mjs +28 -0
- package/package.json +13 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tesouro/embedded-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
"ignore": [
|
|
13
13
|
"msw",
|
|
14
14
|
"@mswjs/interceptors"
|
|
15
|
+
],
|
|
16
|
+
"pin": [
|
|
17
|
+
"react-pdf"
|
|
15
18
|
]
|
|
16
19
|
},
|
|
17
20
|
"repository": {
|
|
@@ -30,6 +33,7 @@
|
|
|
30
33
|
"exports": {
|
|
31
34
|
"./package.json": "./package.json",
|
|
32
35
|
"./styles.css": "./dist/index.css",
|
|
36
|
+
"./pdf.worker.min.mjs": "./dist/pdf.worker.min.mjs",
|
|
33
37
|
".": {
|
|
34
38
|
"types": "./dist/index.d.ts",
|
|
35
39
|
"import": "./dist/index.js",
|
|
@@ -110,7 +114,9 @@
|
|
|
110
114
|
"rollup-plugin-dts",
|
|
111
115
|
"@tailwindcss/cli",
|
|
112
116
|
"tailwindcss",
|
|
113
|
-
"tw-animate-css"
|
|
117
|
+
"tw-animate-css",
|
|
118
|
+
"react-pdf",
|
|
119
|
+
"pdfjs-dist"
|
|
114
120
|
]
|
|
115
121
|
}
|
|
116
122
|
],
|
|
@@ -120,6 +126,8 @@
|
|
|
120
126
|
"vite build",
|
|
121
127
|
"node scripts/bundle-dts.mjs",
|
|
122
128
|
"tailwindcss -i src/styles.css -o dist/index.css",
|
|
129
|
+
"node scripts/stage-pdf-worker.mjs",
|
|
130
|
+
"node scripts/check-inline-assets.mjs",
|
|
123
131
|
"node scripts/check-tecton-isolation.mjs"
|
|
124
132
|
],
|
|
125
133
|
"parallel": false
|
|
@@ -169,6 +177,7 @@
|
|
|
169
177
|
"@vitest/browser",
|
|
170
178
|
"@vitest/browser-playwright",
|
|
171
179
|
"msw",
|
|
180
|
+
"pdfjs-dist",
|
|
172
181
|
"storybook",
|
|
173
182
|
"vite",
|
|
174
183
|
"vite-plugin-svgr",
|
|
@@ -253,13 +262,14 @@
|
|
|
253
262
|
"clsx": "^2.1.1",
|
|
254
263
|
"cmdk": "^1.1.1",
|
|
255
264
|
"date-fns": "^4.4.0",
|
|
265
|
+
"get-nonce": "^1.0.1",
|
|
256
266
|
"lucide-react": "^1.31.0",
|
|
257
267
|
"posthog-js": "^1.372.3",
|
|
258
268
|
"radix-ui": "^1.6.7",
|
|
259
269
|
"react-confetti": "^6.4.0",
|
|
260
270
|
"react-day-picker": "^9.14.0",
|
|
261
271
|
"react-error-boundary": "^6.1.6",
|
|
262
|
-
"react-pdf": "
|
|
272
|
+
"react-pdf": "10.5.0",
|
|
263
273
|
"react-webcam": "^7.2.0",
|
|
264
274
|
"sonner": "^2.0.8",
|
|
265
275
|
"tailwind-merge": "^3.7.0",
|