Skip to content

Commit 1ef0e5b

Browse files
committed
[fix] some Releasing details
1 parent 00c60a5 commit 1ef0e5b

File tree

7 files changed

+26
-12
lines changed

7 files changed

+26
-12
lines changed

.npmignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
.parcel-cache/
1+
.eslintrc.json
22
/*.ts
33
docs/
44
preview/
5+
api-extractor.json
6+
stories/
7+
.storybook/
8+
storybook-static/
59
.vscode/settings.json
610
.husky/
711
.github/

ReadMe.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ A **[React][1] advanced components library** based on [TypeScript][2] & [Bootstr
2828
12. [Open Map](source/OpenMap/index.tsx)
2929
13. [Table Spinner](source/TableSpinner.tsx)
3030
14. [Loading](source/Loading.tsx)
31-
15. [Idea Popover](source/IdeaPopover.tsx)
32-
16. [Idea Dialog](source/IdeaDialog.tsx)
31+
15. [Overlay Box](source/OverlayBox.tsx)
32+
16. [Dialog](source/Dialog.tsx)
3333

3434
#### Data components
3535

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "idea-react",
3-
"version": "1.0.0-beta.1",
3+
"version": "1.0.0-rc.2",
44
"license": "LGPL-2.1",
55
"author": "shiy2008@gmail.com",
66
"description": "A React advanced components library based on TypeScript & Bootstrap, built by idea2app remote developers team.",

preview/index.tsx

+1-6
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ interface State {
2424
pageIndex: number;
2525
selectValue: string;
2626
showLoading: boolean;
27-
showDialog: boolean;
28-
showFormDialog: boolean;
2927
mapAddressName: string;
3028
}
3129

@@ -34,8 +32,6 @@ export class App extends PureComponent<{}, State> {
3432
pageIndex: 1,
3533
selectValue: '0',
3634
showLoading: false,
37-
showDialog: false,
38-
showFormDialog: false,
3935
mapAddressName: '成都市'
4036
};
4137

@@ -75,8 +71,7 @@ export class App extends PureComponent<{}, State> {
7571
};
7672

7773
render() {
78-
const { selectValue, showLoading, showDialog, mapAddressName } =
79-
this.state;
74+
const { selectValue, showLoading, mapAddressName } = this.state;
8075

8176
return (
8277
<div className="bg-light">
File renamed without changes.

source/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ export * from './Avatar';
33
export * from './ClickBoundary';
44
export * from './CodeBlock';
55
export * from './color';
6+
export * from './Dialog';
67
export * from './Editor';
78
export * from './EditorHTML';
89
export * from './Icon';
9-
export * from './IdeaDialog';
1010
export * from './Loading';
1111
export * from './Nameplate';
1212
export * from './OpenMap';

vite.config.ts

+16-1
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,36 @@ export default defineConfig(({ mode }) => {
4545
external: [
4646
'@editorjs/editorjs',
4747
'@editorjs/paragraph',
48+
'classnames',
4849
'editorjs-html',
50+
'iterable-observer',
51+
'koajax',
52+
'leaflet',
53+
'lodash',
4954
'mobx',
5055
'mobx-react',
56+
'prismjs',
5157
'react',
5258
'react-bootstrap',
5359
'react-dom',
54-
'react-editor-js'
60+
'react-editor-js',
61+
'react-element-to-jsx-string',
62+
'react-leaflet',
63+
'web-utility'
5564
],
5665
output: {
5766
globals: {
5867
'@editorjs/editorjs': 'EditorJS',
5968
'@editorjs/paragraph': 'Paragraph',
69+
classnames: 'classNames',
6070
'editorjs-html': 'edjsHTML',
71+
'iterable-observer': 'IterableObserver',
72+
koajax: 'KoAJAX',
73+
leaflet: 'leaflet',
74+
lodash: '_',
6175
mobx: 'mobx',
6276
'mobx-react': 'mobxReact',
77+
prismjs: 'Prism',
6378
react: 'React',
6479
'react-bootstrap': 'ReactBootstrap',
6580
'react-dom': 'ReactDOM',

0 commit comments

Comments
 (0)