Skip to content

Commit

Permalink
chore(BuildTool): follow old behavior to transform js
Browse files Browse the repository at this point in the history
  • Loading branch information
YSMJ1994 committed Dec 29, 2023
1 parent 2493ba5 commit b7721f1
Show file tree
Hide file tree
Showing 6 changed files with 655 additions and 436 deletions.
1 change: 0 additions & 1 deletion components/button/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export interface ButtonProps extends HTMLAttributesWeak, CommonProps {
* 按钮的类型
* @en Typeo of button
* @defaultValue 'normal'
* @version 123
*/
type?: 'primary' | 'secondary' | 'normal';

Expand Down
43 changes: 29 additions & 14 deletions components/util/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
export * as dom from './dom';
export * as env from './env';
export * as events from './events';
export * as func from './func';
export * as log from './log';
export * as obj from './object';
export * as str from './string';
export * as support from './support';
export * as focus from './focus';
export * as htmlId from './htmlId';
export { default as guid } from './guid';
export { default as KEYCODE } from './keycode';
export { default as datejs } from './date';
export { default as pickAttrs } from './pick-attrs';
import * as _dom from './dom';
import * as _env from './env';
import * as _events from './events';
import * as _func from './func';
import * as _log from './log';
import * as _object from './object';
import * as _string from './string';
import * as _support from './support';
import * as _focus from './focus';
import * as _htmlId from './htmlId';
import _guid from './guid';
import _KEYCODE from './keycode';
import _date from './date';
import _pickAttrs from './pick-attrs';

export const dom = _dom;
export const env = _env;
export const events = _events;
export const func = _func;
export const log = _log;
export const obj = _object;
export const str = _string;
export const support = _support;
export const focus = _focus;
export const guid = _guid;
export const KEYCODE = _KEYCODE;
export const htmlId = _htmlId;
export const datejs = _date;
export const pickAttrs = _pickAttrs;
export * from './types';
Loading

0 comments on commit b7721f1

Please sign in to comment.