@zextras/carbonio-ui-preview 0.0.1 → 0.0.2
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/dist/carbonio-ui-preview.es.js +29610 -11
- package/package.json +1 -1
- package/src/preview/PdfPreview.tsx +1 -1
- package/vite.config.ts +0 -24
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ import findIndex from 'lodash/findIndex';
|
|
|
16
16
|
import findLastIndex from 'lodash/findLastIndex';
|
|
17
17
|
import map from 'lodash/map';
|
|
18
18
|
import type { DocumentProps } from 'react-pdf';
|
|
19
|
-
import { Document, Page } from 'react-pdf
|
|
19
|
+
import { Document, Page } from 'react-pdf';
|
|
20
20
|
import styled, { css, SimpleInterpolation } from 'styled-components';
|
|
21
21
|
|
|
22
22
|
import FocusWithin from './FocusWithin';
|
package/vite.config.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2021 Zextras <https://www.zextras.com>
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: AGPL-3.0-only
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import path from 'path';
|
|
8
|
-
import { defineConfig } from 'vite';
|
|
9
|
-
import dts from 'vite-dts';
|
|
10
|
-
|
|
11
|
-
const isExternal = (id: string): boolean => !id.startsWith('.') && !path.isAbsolute(id);
|
|
12
|
-
|
|
13
|
-
export default defineConfig(() => ({
|
|
14
|
-
build: {
|
|
15
|
-
lib: {
|
|
16
|
-
entry: path.resolve(__dirname, 'src/index.ts'),
|
|
17
|
-
formats: ['es']
|
|
18
|
-
},
|
|
19
|
-
rollupOptions: {
|
|
20
|
-
external: isExternal
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
plugins: [dts()]
|
|
24
|
-
}));
|