Skip to content

Commit

Permalink
modify version
Browse files Browse the repository at this point in the history
  • Loading branch information
aelf-lxy committed Mar 14, 2024
1 parent 8321003 commit ebc608e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-design/common",
"version": "1.0.0.alpha.1",
"version": "1.0.0-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aelf-design",
"version": "1.0.0.alpha.1",
"version": "1.0.0-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
7 changes: 2 additions & 5 deletions packages/component/src/ProgressModal/demos/basic.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import React from 'react';
import { Button } from 'aelf-design';

import { IStepItem } from '../../RichProgress/index';
import ProgressModal from '../index';
import { Button, IProgressStepItem, ProgressModal } from 'aelf-design';

const App: React.FC = () => {
const [showProgress, setShowProgress] = React.useState(false);
const steps: IStepItem[] = [
const steps: IProgressStepItem[] = [
{
title: 'Title1Title1Title1',
subTitle: 'subTitle1subTitle1.',
Expand Down
5 changes: 2 additions & 3 deletions packages/component/src/RichProgress/demos/basic.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from 'react';

import RichProgress, { IStepItem } from '../index';
import { IProgressStepItem, RichProgress } from 'aelf-design';

const App: React.FC = () => {
const steps: IStepItem[] = [
const steps: IProgressStepItem[] = [
{
title: 'Title1Title1Title1',
subTitle: 'subTitle1subTitle1.',
Expand Down
6 changes: 5 additions & 1 deletion packages/component/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ export type { ICarouselProps } from './Carousel';
export { default as UploadButton } from './UploadButton';
export type { IUploadButtonProps } from './UploadButton';
export { default as RichProgress } from './RichProgress';
export type { ProgressLineType, IStepItem, IProgressStepsProps } from './RichProgress';
export type {
ProgressLineType,
IStepItem as IProgressStepItem,
IProgressStepsProps,
} from './RichProgress';
export { default as ProgressModal } from './ProgressModal';
export type { IProgressModalProps } from './ProgressModal';

Expand Down
2 changes: 1 addition & 1 deletion packages/internal-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-design/internal-icons",
"version": "1.0.0.alpha.1",
"version": "1.0.0-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit ebc608e

Please sign in to comment.