Skip to content

Commit

Permalink
feat(common-ui): added lib level access to common components
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Zedel <manuel.zedel@northern.tech>
  • Loading branch information
mzedel committed Nov 14, 2024
1 parent e7f25d2 commit 58b79cf
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 2 deletions.
39 changes: 39 additions & 0 deletions packages/common-ui/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
export * from './src/dialogs';

export * from './src/forms';

export * from './src/ConfirmModal';
export { default as Alert } from './src/alert';
export * from './src/asyncautocomplete';
export * from './src/chipselect';
export * from './src/configurationobject';
export * from './src/confirm';
export * from './src/copy-code';
export * from './src/copytext';
export * from './src/detailsindicator';
export * from './src/detailstable';
export * from './src/deviceidentity';
export * from './src/devicenameinput';
export * from './src/docslink';
export * from './src/DrawerTitle';
export * from './src/editablelongtext';
export { default as EnterpriseNotification } from './src/enterpriseNotification';
export * from './src/enterpriseNotification';
export * from './src/expandable-attribute';
export * from './src/filesize';
export * from './src/info-hint';
export * from './src/infotext';
export * from './src/left-nav';
export { default as LinedHeader } from './src/lined-header';
export * from './src/lined-header';
export * from './src/list';
export * from './src/loader';
export { default as MaterialDesignIcon } from './src/materialdesignicon';
export * from './src/mendertooltip';
export { default as Pagination } from './src/pagination';
export * from './src/pagination';
export { default as Search } from './src/search';
export * from './src/search';
export { default as SharedSnackbar } from './src/sharedsnackbar';
export * from './src/time';
export * from './src/xterm';
4 changes: 2 additions & 2 deletions packages/common-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
},
"exports": {
"./*": {
"types": "./dist/*.js",
"import": "./dist/*.mjs",
"require": "./dist/*.js",
"types": "./dist/*.js"
"require": "./dist/*.js"
}
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/common-ui/src/dialogs/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export * from './confirmdismisshelptips';
export * from './deviceconnectiondialog';
export * from './feedback';
export * from './log';
export * from './physicaldeviceonboarding';
export * from './startupnotification';
export * from './virtualdeviceonboarding';
10 changes: 10 additions & 0 deletions packages/common-ui/src/forms/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export * from './autocomplete';
export * from './clickfilter';
export * from './fileupload';
export * from './filters';
export * from './form';
export * from './formcheckbox';
export * from './keyvalueeditor';
export * from './passwordinput';
export * from './textinput';
export * from './timeframe-picker';

0 comments on commit 58b79cf

Please sign in to comment.