From 5411caee5b114cb77c4eafa8c19ce583bb555c53 Mon Sep 17 00:00:00 2001 From: Melloware Date: Sat, 17 Sep 2022 09:26:39 -0400 Subject: [PATCH] Fix #3288: Add global index.d.ts (#3338) --- components/lib/index.d.ts | 106 ++++++++++++++++++++++++++++++++++++++ package-build.json | 2 + 2 files changed, 108 insertions(+) create mode 100644 components/lib/index.d.ts diff --git a/components/lib/index.d.ts b/components/lib/index.d.ts new file mode 100644 index 0000000000..ad6ea057c0 --- /dev/null +++ b/components/lib/index.d.ts @@ -0,0 +1,106 @@ +export * from './accordion/accordion'; +export * from './api/api'; +export * from './autocomplete/autocomplete'; +export * from './avatar/avatar'; +export * from './avatargroup/avatargroup'; +export * from './badge/badge'; +export * from './blockui/blockui'; +export * from './breadcrumb/breadcrumb'; +export * from './button/button'; +export * from './calendar/calendar'; +export * from './captcha/captcha'; +export * from './card/card'; +export * from './carousel/carousel'; +export * from './cascadeselect/cascadeselect'; +export * from './chart/chart'; +export * from './checkbox/checkbox'; +export * from './chip/chip'; +export * from './chips/chips'; +export * from './colorpicker/colorpicker'; +export * from './column/column'; +export * from './columngroup/columngroup'; +export * from './confirmdialog/confirmdialog'; +export * from './confirmpopup/confirmpopup'; +export * from './contextmenu/contextmenu'; +export * from './csstransition/csstransition'; +export * from './datascroller/datascroller'; +export * from './datatable/datatable'; +export * from './dataview/dataview'; +export * from './deferredcontent/deferredcontent'; +export * from './dialog/dialog'; +export * from './divider/divider'; +export * from './dock/dock'; +export * from './dropdown/dropdown'; +export * from './editor/editor'; +export * from './fieldset/fieldset'; +export * from './fileupload/fileupload'; +export * from './fullcalendar/fullcalendar'; +export * from './galleria/galleria'; +export * from './gmap/gmap'; +export * from './hooks/hooks'; +export * from './image/image'; +export * from './inplace/inplace'; +export * from './inputmask/inputmask'; +export * from './inputnumber/inputnumber'; +export * from './inputswitch/inputswitch'; +export * from './inputtext/inputtext'; +export * from './inputtextarea/inputtextarea'; +export * from './keyfilter/keyfilteroptions'; +export * from './knob/knob'; +export * from './listbox/listbox'; +export * from './megamenu/megamenu'; +export * from './mention/mention'; +export * from './menu/menu'; +export * from './menubar/menubar'; +export * from './menuitem/menuitem'; +export * from './message/message'; +export * from './messages/messages'; +export * from './multiselect/multiselect'; +export * from './multistatecheckbox/multistatecheckbox'; +export * from './orderlist/orderlist'; +export * from './organizationchart/organizationchart'; +export * from './overlaypanel/overlaypanel'; +export * from './overlayservice/overlayservice'; +export * from './paginator/paginator'; +export * from './panel/panel'; +export * from './panelmenu/panelmenu'; +export * from './password/password'; +export * from './picklist/picklist'; +export * from './progressbar/progressbar'; +export * from './progressspinner/progressspinner'; +export * from './radiobutton/radiobutton'; +export * from './rating/rating'; +export * from './ripple/ripple'; +export * from './row/row'; +export * from './scrollpanel/scrollpanel'; +export * from './scrolltop/scrolltop'; +export * from './selectbutton/selectbutton'; +export * from './selectitem/selectitem'; +export * from './sidebar/sidebar'; +export * from './skeleton/skeleton'; +export * from './slidemenu/slidemenu'; +export * from './slider/slider'; +export * from './speeddial/speeddial'; +export * from './splitbutton/splitbutton'; +export * from './splitter/splitter'; +export * from './steps/steps'; +export * from './styleclass/styleclass'; +export * from './tabmenu/tabmenu'; +export * from './tabview/tabview'; +export * from './tag/tag'; +export * from './terminal/terminal'; +export * from './terminalservice/terminalservice'; +export * from './tieredmenu/tieredmenu'; +export * from './timeline/timeline'; +export * from './toast/toast'; +export * from './togglebutton/togglebutton'; +export * from './toolbar/toolbar'; +export * from './tooltip/tooltip'; +export * from './tooltip/tooltipoptions'; +export * from './tree/tree'; +export * from './treenode/treenode'; +export * from './treeselect/treeselect'; +export * from './treetable/treetable'; +export * from './tristatecheckbox/tristatecheckbox'; +export * from './utils/utils'; +export * from './virtualscroller/virtualscroller'; diff --git a/package-build.json b/package-build.json index ba52a790ef..29355be171 100644 --- a/package-build.json +++ b/package-build.json @@ -34,6 +34,8 @@ "jsdelivr": "primereact.all.min.js", "main": "primereact.all.min.js", "module": "primereact.all.esm.min.js", + "web-types": "web-types.json", + "types": "index.d.ts", "peerDependencies": { "@types/react": "^17.0.0 || ^18.0.0", "react": "^17.0.0 || ^18.0.0",