diff --git a/packages/ui/affix/package.json b/packages/ui/affix/package.json index 2e4c6b3a604a4fd051b2c72b16c4f830662eeea9..7b7eb104b38aff89deea2f7e6024edbf012e671c 100644 --- a/packages/ui/affix/package.json +++ b/packages/ui/affix/package.json @@ -1,6 +1,6 @@ { "name": "@osui/affix", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/anchor/package.json b/packages/ui/anchor/package.json index 746e026d14ca4121dcbb2c6b4c84adbcead20aaf..683f8de38b7b822d26a52d32d4ff6e5aef463bd4 100644 --- a/packages/ui/anchor/package.json +++ b/packages/ui/anchor/package.json @@ -1,6 +1,6 @@ { "name": "@osui/anchor", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/calendar/package.json b/packages/ui/calendar/package.json index 96d958401f0169f44b27c70697bfa35a2290d473..19c8dc717f982ef01c147b377ab8962d49c6c517 100644 --- a/packages/ui/calendar/package.json +++ b/packages/ui/calendar/package.json @@ -1,6 +1,6 @@ { "name": "@osui/calendar", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/card/package.json b/packages/ui/card/package.json index 3d4a7c89a149f705ccb0d9717a93530a3e2b01d1..0505488d54e9fa8c8808b68aed1809fc34a569aa 100644 --- a/packages/ui/card/package.json +++ b/packages/ui/card/package.json @@ -1,6 +1,6 @@ { "name": "@osui/card", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/divider/package.json b/packages/ui/divider/package.json index 7968ab75df62e515e4dae4b6940b1061a8a28c4a..4a54292ab60c734fb0cca1ff7a459bfcfac277d3 100644 --- a/packages/ui/divider/package.json +++ b/packages/ui/divider/package.json @@ -1,6 +1,6 @@ { "name": "@osui/divider", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/notification/package.json b/packages/ui/notification/package.json index 9c77e6068547844e1f16645c596e34f92e298f19..92863461efb9b3e200fa7491bba1d7e8ec81eaeb 100644 --- a/packages/ui/notification/package.json +++ b/packages/ui/notification/package.json @@ -1,6 +1,6 @@ { "name": "@osui/notification", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/page-header/package.json b/packages/ui/page-header/package.json index 32c4b7886ced3575a267c6dc523a5d38e39104a1..f865a482aa7a6df8515fb9f0ade0c8cf12236813 100644 --- a/packages/ui/page-header/package.json +++ b/packages/ui/page-header/package.json @@ -1,6 +1,6 @@ { "name": "@osui/page-header", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/popconfirm/package.json b/packages/ui/popconfirm/package.json index 218c86ce9fd98d8446c0f5b2a6cf98a668b0fb48..e532dcc8f502fb723303847b88894b28d907cd55 100644 --- a/packages/ui/popconfirm/package.json +++ b/packages/ui/popconfirm/package.json @@ -1,6 +1,6 @@ { "name": "@osui/popconfirm", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/rate/package.json b/packages/ui/rate/package.json index 7145a914bdfa17944ac5700ce37d1db820bd77c2..9560a007319a990d31e7f7d75bf3c661a9484822 100644 --- a/packages/ui/rate/package.json +++ b/packages/ui/rate/package.json @@ -1,6 +1,6 @@ { "name": "@osui/rate", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/result/package.json b/packages/ui/result/package.json index 1ac288209ccbfdad10f7cb9bfe13cfbed16dee62..bb31c72bdc0efe87e7a63b930c0938711a50bdfc 100644 --- a/packages/ui/result/package.json +++ b/packages/ui/result/package.json @@ -1,6 +1,6 @@ { "name": "@osui/result", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/slider/package.json b/packages/ui/slider/package.json index b6d8ff951f283637b2489d9206bc7387f6fded33..4df920bed1f5a6ab9158184c50b6fedd3f94f1ff 100644 --- a/packages/ui/slider/package.json +++ b/packages/ui/slider/package.json @@ -1,6 +1,6 @@ { "name": "@osui/slider", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/statistic/package.json b/packages/ui/statistic/package.json index 85f41bc2dd55805f134a85a9d156b90712c7f283..86cd3d7ef096a2041622e39c8b868bd605559fae 100644 --- a/packages/ui/statistic/package.json +++ b/packages/ui/statistic/package.json @@ -1,6 +1,6 @@ { "name": "@osui/statistic", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/transfer/package.json b/packages/ui/transfer/package.json index 33d7eb1ebf5c61917e8897403984798ccd24c03a..990c4f8c2987700435c769254c3f1e29e4078b42 100644 --- a/packages/ui/transfer/package.json +++ b/packages/ui/transfer/package.json @@ -1,6 +1,6 @@ { "name": "@osui/transfer", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js", diff --git a/packages/ui/ui/package.json b/packages/ui/ui/package.json index a1bd30eac47944070b2a750c048034dbd6be68b3..1e6916bc8399c8d1c45c296ebdd5f82dca30e702 100644 --- a/packages/ui/ui/package.json +++ b/packages/ui/ui/package.json @@ -50,7 +50,9 @@ } }, "dependencies": { + "@osui/affix": "0.8.1", "@osui/alert": "^0.8.3", + "@osui/anchor": "0.8.1", "@osui/auto-complete": "^0.8.4", "@osui/avatar": "^0.8.3", "@osui/back-top": "^0.8.3", @@ -58,12 +60,14 @@ "@osui/branch-dropdown": "^0.8.3", "@osui/breadcrumb": "^0.8.4", "@osui/button": "^0.8.3", + "@osui/calendar": "0.8.1", "@osui/cascader": "^0.8.4", "@osui/checkbox": "^0.8.3", "@osui/col": "^0.8.4", "@osui/collapse": "^0.8.3", "@osui/date-picker": "^0.8.3", "@osui/directory-navigator": "^0.8.3", + "@osui/divider": "0.8.1", "@osui/drawer": "^0.8.4", "@osui/dropdown": "^0.8.4", "@osui/empty": "^0.8.4", @@ -77,15 +81,22 @@ "@osui/menu-dropdown": "^0.8.4", "@osui/message": "^0.8.3", "@osui/modal": "^0.8.3", + "@osui/notification": "0.8.1", + "@osui/page-header": "0.8.1", "@osui/pagination": "^0.8.3", + "@osui/popconfirm": "0.8.1", "@osui/popover": "^0.8.3", "@osui/progress": "^0.8.3", "@osui/radio": "^0.8.5", + "@osui/rate": "0.8.1", + "@osui/result": "0.8.1", "@osui/row": "^0.8.4", "@osui/search-select-list": "^0.8.3", "@osui/select": "^0.8.3", + "@osui/slider": "0.8.1", "@osui/space": "^0.8.3", "@osui/spin": "^0.8.4", + "@osui/statistic": "0.8.1", "@osui/steps": "^0.8.4", "@osui/switch": "^0.8.3", "@osui/table": "^0.8.4", @@ -95,6 +106,7 @@ "@osui/timeline": "^0.8.3", "@osui/toggle-button": "^0.8.4", "@osui/tooltip": "^0.8.3", + "@osui/transfer": "0.8.1", "@osui/tree": "^0.8.4", "@osui/tree-select": "^0.8.4", "classnames": "^2.2.6", diff --git a/packages/ui/ui/scripts/build.sh b/packages/ui/ui/scripts/build.sh index 57427f8cb15052744414f9ba5131c7a8dbb67e36..bcaefd4a6df80536fd8118c0c670bd3d0881524a 100644 --- a/packages/ui/ui/scripts/build.sh +++ b/packages/ui/ui/scripts/build.sh @@ -17,7 +17,8 @@ DEPENDENCIES="" find $ROOT -maxdepth 1 -type d | grep -v -E $EXCLUDE_FOLDER | ( while IFS= read -r d; do COMPONENT=`echo $d | gsed 's|../||'` COMPONENT_NAME="$COMPONENT" - if [ "$COMPONENT_NAME" != "message" ] + # message 和 notification 需要保持小写 + if [[ "$COMPONENT_NAME" != "message" ]] && [[ "$COMPONENT_NAME" != "notification" ]] then COMPONENT_NAME=`echo $(tr '[:lower:]' '[:upper:]' <<< ${COMPONENT:0:1})${COMPONENT:1} | gsed -E 's/-(.)/\U\1/g'` fi diff --git a/packages/ui/ui/src/index.ts b/packages/ui/ui/src/index.ts index fc054a45a5234980dbe5bc0847771d3f63fd29f9..77c385fceeab54069550fd8521caf82024134372 100644 --- a/packages/ui/ui/src/index.ts +++ b/packages/ui/ui/src/index.ts @@ -1,47 +1,60 @@ // @ts-nocheck -export {default as Tabs} from '@osui/tabs'; -export {default as Tree} from '@osui/tree'; -export {default as TreeSelect} from '@osui/tree-select'; -export {default as Dropdown} from '@osui/dropdown'; -export {default as Drawer} from '@osui/drawer'; -export {default as Pagination} from '@osui/pagination'; -export {default as SearchSelectList} from '@osui/search-select-list'; -export {default as Form} from '@osui/form'; -export {default as Tooltip} from '@osui/tooltip'; -export {default as Radio} from '@osui/radio'; -export {default as Empty} from '@osui/empty'; -export {default as InputNumber} from '@osui/input-number'; +export {default as Affix} from '@osui/affix'; +export {default as Alert} from '@osui/alert'; +export {default as Anchor} from '@osui/anchor'; export {default as AutoComplete} from '@osui/auto-complete'; -export {default as Progress} from '@osui/progress'; +export {default as Avatar} from '@osui/avatar'; +export {default as BackTop} from '@osui/back-top'; +export {default as Badge} from '@osui/badge'; export {default as BranchDropdown} from '@osui/branch-dropdown'; -export {default as TimePicker} from '@osui/time-picker'; -export {default as Input} from '@osui/input'; -export {default as Alert} from '@osui/alert'; -export {default as Markdown} from '@osui/markdown'; +export {default as Breadcrumb} from '@osui/breadcrumb'; +export {default as Button} from '@osui/button'; +export {default as Calendar} from '@osui/calendar'; +export {default as Card} from '@osui/card'; export {default as Cascader} from '@osui/cascader'; export {default as Checkbox} from '@osui/checkbox'; -export {default as message} from '@osui/message'; +export {default as Col} from '@osui/col'; export {default as Collapse} from '@osui/collapse'; -export {default as BackTop} from '@osui/back-top'; -export {default as Spin} from '@osui/spin'; -export {default as DirectoryNavigator} from '@osui/directory-navigator'; -export {default as Popover} from '@osui/popover'; -export {default as Row} from '@osui/row'; -export {default as Button} from '@osui/button'; -export {default as Steps} from '@osui/steps'; export {default as DatePicker} from '@osui/date-picker'; -export {default as Table} from '@osui/table'; +export {default as DirectoryNavigator} from '@osui/directory-navigator'; +export {default as Divider} from '@osui/divider'; +export {default as Drawer} from '@osui/drawer'; +export {default as Dropdown} from '@osui/dropdown'; +export {default as Empty} from '@osui/empty'; +export {default as Form} from '@osui/form'; +export {default as Input} from '@osui/input'; +export {default as InputNumber} from '@osui/input-number'; export {default as List} from '@osui/list'; -export {default as MenuDropdown} from '@osui/menu-dropdown'; +export {default as Markdown} from '@osui/markdown'; export {default as Menu} from '@osui/menu'; -export {default as Avatar} from '@osui/avatar'; -export {default as Switch} from '@osui/switch'; -export {default as Select} from '@osui/select'; -export {default as Breadcrumb} from '@osui/breadcrumb'; +export {default as MenuDropdown} from '@osui/menu-dropdown'; +export {default as message} from '@osui/message'; export {default as Modal} from '@osui/modal'; +export {default as notification} from '@osui/notification'; +export {default as PageHeader} from '@osui/page-header'; +export {default as Pagination} from '@osui/pagination'; +export {default as Popconfirm} from '@osui/popconfirm'; +export {default as Popover} from '@osui/popover'; +export {default as Progress} from '@osui/progress'; +export {default as Radio} from '@osui/radio'; +export {default as Rate} from '@osui/rate'; +export {default as Result} from '@osui/result'; +export {default as Row} from '@osui/row'; +export {default as SearchSelectList} from '@osui/search-select-list'; +export {default as Select} from '@osui/select'; +export {default as Slider} from '@osui/slider'; export {default as Space} from '@osui/space'; -export {default as Timeline} from '@osui/timeline'; +export {default as Spin} from '@osui/spin'; +export {default as Statistic} from '@osui/statistic'; +export {default as Steps} from '@osui/steps'; +export {default as Switch} from '@osui/switch'; +export {default as Table} from '@osui/table'; +export {default as Tabs} from '@osui/tabs'; export {default as Tag} from '@osui/tag'; +export {default as Timeline} from '@osui/timeline'; +export {default as TimePicker} from '@osui/time-picker'; export {default as ToggleButton} from '@osui/toggle-button'; -export {default as Col} from '@osui/col'; -export {default as Badge} from '@osui/badge'; +export {default as Tooltip} from '@osui/tooltip'; +export {default as Transfer} from '@osui/transfer'; +export {default as Tree} from '@osui/tree'; +export {default as TreeSelect} from '@osui/tree-select'; diff --git a/templates/component/package.json b/templates/component/package.json index 871b6b5282300c1b4f1635faf730462ae9ff3151..c1fe49aa737c578773f63cb757a88adc303fad83 100644 --- a/templates/component/package.json +++ b/templates/component/package.json @@ -1,6 +1,6 @@ { "name": "@osui/{PkgComponentName}", - "version": "0.6.0", + "version": "0.8.1", "description": "", "main": "es/index.js", "module": "es/index.js",