@primereact/mcp 11.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +45 -0
- package/README.md +94 -0
- package/data/llms/headless/add-ons/introduction.md +16 -0
- package/data/llms/headless/components/accordion/api.json +252 -0
- package/data/llms/headless/components/accordion.md +196 -0
- package/data/llms/headless/components/animateonscroll/api.json +88 -0
- package/data/llms/headless/components/animateonscroll.md +141 -0
- package/data/llms/headless/components/autocomplete/api.json +787 -0
- package/data/llms/headless/components/autocomplete.md +249 -0
- package/data/llms/headless/components/avatar/api.json +154 -0
- package/data/llms/headless/components/avatar.md +149 -0
- package/data/llms/headless/components/badge/api.json +68 -0
- package/data/llms/headless/components/badge.md +150 -0
- package/data/llms/headless/components/breadcrumb/api.json +142 -0
- package/data/llms/headless/components/breadcrumb.md +149 -0
- package/data/llms/headless/components/button/api.json +62 -0
- package/data/llms/headless/components/button.md +73 -0
- package/data/llms/headless/components/card/api.json +36 -0
- package/data/llms/headless/components/card.md +96 -0
- package/data/llms/headless/components/carousel/api.json +793 -0
- package/data/llms/headless/components/carousel.md +196 -0
- package/data/llms/headless/components/checkbox/api.json +593 -0
- package/data/llms/headless/components/checkbox.md +184 -0
- package/data/llms/headless/components/chip/api.json +107 -0
- package/data/llms/headless/components/chip.md +141 -0
- package/data/llms/headless/components/collapsible/api.json +301 -0
- package/data/llms/headless/components/collapsible.md +136 -0
- package/data/llms/headless/components/compare/api.json +533 -0
- package/data/llms/headless/components/compare.md +142 -0
- package/data/llms/headless/components/contextmenu/api.json +495 -0
- package/data/llms/headless/components/contextmenu.md +282 -0
- package/data/llms/headless/components/datatable/api.json +1680 -0
- package/data/llms/headless/components/datatable.md +258 -0
- package/data/llms/headless/components/dataview/api.json +199 -0
- package/data/llms/headless/components/dataview.md +147 -0
- package/data/llms/headless/components/datepicker/api.json +2796 -0
- package/data/llms/headless/components/datepicker.md +456 -0
- package/data/llms/headless/components/dialog/api.json +626 -0
- package/data/llms/headless/components/dialog.md +280 -0
- package/data/llms/headless/components/divider/api.json +130 -0
- package/data/llms/headless/components/divider.md +92 -0
- package/data/llms/headless/components/drawer/api.json +425 -0
- package/data/llms/headless/components/drawer.md +220 -0
- package/data/llms/headless/components/fieldset/api.json +195 -0
- package/data/llms/headless/components/fieldset.md +154 -0
- package/data/llms/headless/components/fileupload/api.json +905 -0
- package/data/llms/headless/components/fileupload.md +323 -0
- package/data/llms/headless/components/floatlabel/api.json +36 -0
- package/data/llms/headless/components/floatlabel.md +19 -0
- package/data/llms/headless/components/fluid/api.json +36 -0
- package/data/llms/headless/components/fluid.md +19 -0
- package/data/llms/headless/components/focustrap/api.json +135 -0
- package/data/llms/headless/components/focustrap.md +125 -0
- package/data/llms/headless/components/gallery/api.json +1349 -0
- package/data/llms/headless/components/gallery.md +355 -0
- package/data/llms/headless/components/iconfield/api.json +62 -0
- package/data/llms/headless/components/iconfield.md +19 -0
- package/data/llms/headless/components/iftalabel/api.json +62 -0
- package/data/llms/headless/components/iftalabel.md +19 -0
- package/data/llms/headless/components/inplace/api.json +340 -0
- package/data/llms/headless/components/inplace.md +153 -0
- package/data/llms/headless/components/inputcolor/api.json +469 -0
- package/data/llms/headless/components/inputcolor.md +253 -0
- package/data/llms/headless/components/inputgroup/api.json +62 -0
- package/data/llms/headless/components/inputgroup.md +19 -0
- package/data/llms/headless/components/inputnumber/api.json +554 -0
- package/data/llms/headless/components/inputnumber.md +167 -0
- package/data/llms/headless/components/inputotp/api.json +276 -0
- package/data/llms/headless/components/inputotp.md +130 -0
- package/data/llms/headless/components/inputpassword/api.json +180 -0
- package/data/llms/headless/components/inputpassword.md +117 -0
- package/data/llms/headless/components/inputtags/api.json +497 -0
- package/data/llms/headless/components/inputtags.md +298 -0
- package/data/llms/headless/components/inputtext/api.json +81 -0
- package/data/llms/headless/components/inputtext.md +109 -0
- package/data/llms/headless/components/knob/api.json +429 -0
- package/data/llms/headless/components/knob.md +151 -0
- package/data/llms/headless/components/label/api.json +62 -0
- package/data/llms/headless/components/label.md +19 -0
- package/data/llms/headless/components/listbox/api.json +814 -0
- package/data/llms/headless/components/listbox.md +194 -0
- package/data/llms/headless/components/menu/api.json +1247 -0
- package/data/llms/headless/components/menu.md +283 -0
- package/data/llms/headless/components/message/api.json +131 -0
- package/data/llms/headless/components/message.md +143 -0
- package/data/llms/headless/components/metergroup/api.json +266 -0
- package/data/llms/headless/components/metergroup.md +129 -0
- package/data/llms/headless/components/motion/api.json +237 -0
- package/data/llms/headless/components/motion.md +160 -0
- package/data/llms/headless/components/navigationmenu/api.json +220 -0
- package/data/llms/headless/components/navigationmenu.md +166 -0
- package/data/llms/headless/components/orderlist/api.json +196 -0
- package/data/llms/headless/components/orderlist.md +221 -0
- package/data/llms/headless/components/organizationchart/api.json +372 -0
- package/data/llms/headless/components/organizationchart.md +254 -0
- package/data/llms/headless/components/paginator/api.json +311 -0
- package/data/llms/headless/components/paginator.md +187 -0
- package/data/llms/headless/components/panel/api.json +195 -0
- package/data/llms/headless/components/panel.md +150 -0
- package/data/llms/headless/components/picklist/api.json +293 -0
- package/data/llms/headless/components/picklist.md +270 -0
- package/data/llms/headless/components/popover/api.json +405 -0
- package/data/llms/headless/components/popover.md +301 -0
- package/data/llms/headless/components/portal/api.json +56 -0
- package/data/llms/headless/components/portal.md +102 -0
- package/data/llms/headless/components/positioner/api.json +165 -0
- package/data/llms/headless/components/positioner.md +181 -0
- package/data/llms/headless/components/progressbar/api.json +87 -0
- package/data/llms/headless/components/progressbar.md +122 -0
- package/data/llms/headless/components/progressspinner/api.json +337 -0
- package/data/llms/headless/components/progressspinner.md +128 -0
- package/data/llms/headless/components/radiobutton/api.json +569 -0
- package/data/llms/headless/components/radiobutton.md +195 -0
- package/data/llms/headless/components/rating/api.json +347 -0
- package/data/llms/headless/components/rating.md +181 -0
- package/data/llms/headless/components/scrollarea/api.json +730 -0
- package/data/llms/headless/components/scrollarea.md +232 -0
- package/data/llms/headless/components/select/api.json +829 -0
- package/data/llms/headless/components/select.md +262 -0
- package/data/llms/headless/components/sidebar/api.json +433 -0
- package/data/llms/headless/components/sidebar.md +266 -0
- package/data/llms/headless/components/skeleton/api.json +68 -0
- package/data/llms/headless/components/skeleton.md +95 -0
- package/data/llms/headless/components/slider/api.json +559 -0
- package/data/llms/headless/components/slider.md +158 -0
- package/data/llms/headless/components/speeddial/api.json +459 -0
- package/data/llms/headless/components/speeddial.md +181 -0
- package/data/llms/headless/components/splitter/api.json +582 -0
- package/data/llms/headless/components/splitter.md +159 -0
- package/data/llms/headless/components/stepper/api.json +385 -0
- package/data/llms/headless/components/stepper.md +183 -0
- package/data/llms/headless/components/styleclass/api.json +134 -0
- package/data/llms/headless/components/styleclass.md +129 -0
- package/data/llms/headless/components/tabs/api.json +336 -0
- package/data/llms/headless/components/tabs.md +158 -0
- package/data/llms/headless/components/tag/api.json +62 -0
- package/data/llms/headless/components/tag.md +121 -0
- package/data/llms/headless/components/terminal/api.json +117 -0
- package/data/llms/headless/components/terminal.md +183 -0
- package/data/llms/headless/components/textarea/api.json +81 -0
- package/data/llms/headless/components/textarea.md +110 -0
- package/data/llms/headless/components/timeline/api.json +270 -0
- package/data/llms/headless/components/timeline.md +117 -0
- package/data/llms/headless/components/toast/api.json +455 -0
- package/data/llms/headless/components/toast.md +277 -0
- package/data/llms/headless/components/togglebutton/api.json +357 -0
- package/data/llms/headless/components/togglebutton.md +183 -0
- package/data/llms/headless/components/toggleswitch/api.json +326 -0
- package/data/llms/headless/components/toggleswitch.md +164 -0
- package/data/llms/headless/components/toolbar/api.json +68 -0
- package/data/llms/headless/components/toolbar.md +96 -0
- package/data/llms/headless/components/tooltip/api.json +478 -0
- package/data/llms/headless/components/tooltip.md +233 -0
- package/data/llms/headless/components/tree/api.json +1297 -0
- package/data/llms/headless/components/tree.md +297 -0
- package/data/llms/headless/components/treetable/api.json +1680 -0
- package/data/llms/headless/components/treetable.md +177 -0
- package/data/llms/headless/guides/ai/llms.md +25 -0
- package/data/llms/headless/guides/installation.md +126 -0
- package/data/llms/headless/guides/introduction.md +20 -0
- package/data/llms/headless/guides/misc/accessibility.md +228 -0
- package/data/llms/headless/llms.md +25 -0
- package/data/llms/headless/resources/introduction.md +15 -0
- package/data/llms/hooks/gettingstarted/introduction.md +34 -0
- package/data/llms/hooks/gettingstarted/setup.md +54 -0
- package/data/llms/hooks/use-attr-selector.md +25 -0
- package/data/llms/hooks/use-controlled-state.md +31 -0
- package/data/llms/hooks/use-event-listener.md +37 -0
- package/data/llms/hooks/use-filter.md +312 -0
- package/data/llms/hooks/use-hot-key.md +40 -0
- package/data/llms/hooks/use-id.md +24 -0
- package/data/llms/hooks/use-intersection-observer.md +42 -0
- package/data/llms/hooks/use-is-mobile.md +24 -0
- package/data/llms/hooks/use-key-filter.md +139 -0
- package/data/llms/hooks/use-local-storage.md +28 -0
- package/data/llms/hooks/use-mask.md +53 -0
- package/data/llms/hooks/use-match-media.md +28 -0
- package/data/llms/hooks/use-mount-effect.md +25 -0
- package/data/llms/hooks/use-mounted.md +36 -0
- package/data/llms/hooks/use-number-formatter.md +48 -0
- package/data/llms/hooks/use-presence.md +44 -0
- package/data/llms/hooks/use-previous.md +28 -0
- package/data/llms/hooks/use-props.md +37 -0
- package/data/llms/hooks/use-queue-task.md +29 -0
- package/data/llms/hooks/use-scrolltop.md +87 -0
- package/data/llms/hooks/use-sortable-list.md +226 -0
- package/data/llms/hooks/use-tree-filter.md +216 -0
- package/data/llms/hooks/use-unmount-effect.md +23 -0
- package/data/llms/hooks/use-update-effect.md +27 -0
- package/data/llms/hooks/use-view-transition.md +31 -0
- package/data/llms/hooks/use-visibility-change.md +30 -0
- package/data/llms/llms-full.txt +125291 -0
- package/data/llms/llms.txt +379 -0
- package/data/llms/manifest.json +12409 -0
- package/data/llms/mcp-data.json +14481 -0
- package/data/llms/primitive/add-ons/introduction.md +16 -0
- package/data/llms/primitive/components/accordion/api.json +1411 -0
- package/data/llms/primitive/components/accordion.md +231 -0
- package/data/llms/primitive/components/animateonscroll/api.json +193 -0
- package/data/llms/primitive/components/animateonscroll.md +91 -0
- package/data/llms/primitive/components/autocomplete/api.json +3167 -0
- package/data/llms/primitive/components/autocomplete.md +344 -0
- package/data/llms/primitive/components/avatar/api.json +703 -0
- package/data/llms/primitive/components/avatar.md +134 -0
- package/data/llms/primitive/components/badge/api.json +363 -0
- package/data/llms/primitive/components/badge.md +118 -0
- package/data/llms/primitive/components/breadcrumb/api.json +1162 -0
- package/data/llms/primitive/components/breadcrumb.md +196 -0
- package/data/llms/primitive/components/button/api.json +246 -0
- package/data/llms/primitive/components/button.md +114 -0
- package/data/llms/primitive/components/buttongroup/api.json +168 -0
- package/data/llms/primitive/components/buttongroup.md +43 -0
- package/data/llms/primitive/components/card/api.json +1252 -0
- package/data/llms/primitive/components/card.md +159 -0
- package/data/llms/primitive/components/carousel/api.json +1374 -0
- package/data/llms/primitive/components/carousel.md +220 -0
- package/data/llms/primitive/components/checkbox/api.json +697 -0
- package/data/llms/primitive/components/checkbox.md +160 -0
- package/data/llms/primitive/components/checkboxgroup/api.json +252 -0
- package/data/llms/primitive/components/checkboxgroup.md +58 -0
- package/data/llms/primitive/components/chip/api.json +853 -0
- package/data/llms/primitive/components/chip.md +135 -0
- package/data/llms/primitive/components/collapsible/api.json +581 -0
- package/data/llms/primitive/components/collapsible.md +133 -0
- package/data/llms/primitive/components/compare/api.json +909 -0
- package/data/llms/primitive/components/compare.md +156 -0
- package/data/llms/primitive/components/contextmenu/api.json +3454 -0
- package/data/llms/primitive/components/contextmenu.md +483 -0
- package/data/llms/primitive/components/datatable/api.json +7832 -0
- package/data/llms/primitive/components/datatable.md +561 -0
- package/data/llms/primitive/components/dataview/api.json +819 -0
- package/data/llms/primitive/components/dataview.md +163 -0
- package/data/llms/primitive/components/datepicker/api.json +9055 -0
- package/data/llms/primitive/components/datepicker.md +760 -0
- package/data/llms/primitive/components/dialog/api.json +2491 -0
- package/data/llms/primitive/components/dialog.md +276 -0
- package/data/llms/primitive/components/divider/api.json +214 -0
- package/data/llms/primitive/components/divider.md +96 -0
- package/data/llms/primitive/components/drawer/api.json +1879 -0
- package/data/llms/primitive/components/drawer.md +220 -0
- package/data/llms/primitive/components/fieldset/api.json +1116 -0
- package/data/llms/primitive/components/fieldset.md +183 -0
- package/data/llms/primitive/components/fileupload/api.json +2445 -0
- package/data/llms/primitive/components/fileupload.md +282 -0
- package/data/llms/primitive/components/floatlabel/api.json +176 -0
- package/data/llms/primitive/components/floatlabel.md +47 -0
- package/data/llms/primitive/components/focustrap/api.json +241 -0
- package/data/llms/primitive/components/focustrap.md +93 -0
- package/data/llms/primitive/components/gallery/api.json +3622 -0
- package/data/llms/primitive/components/gallery.md +387 -0
- package/data/llms/primitive/components/iconfield/api.json +322 -0
- package/data/llms/primitive/components/iconfield.md +53 -0
- package/data/llms/primitive/components/iftalabel/api.json +177 -0
- package/data/llms/primitive/components/iftalabel.md +47 -0
- package/data/llms/primitive/components/inplace/api.json +783 -0
- package/data/llms/primitive/components/inplace.md +141 -0
- package/data/llms/primitive/components/inputcolor/api.json +2211 -0
- package/data/llms/primitive/components/inputcolor.md +295 -0
- package/data/llms/primitive/components/inputnumber/api.json +469 -0
- package/data/llms/primitive/components/inputnumber.md +99 -0
- package/data/llms/primitive/components/inputotp/api.json +469 -0
- package/data/llms/primitive/components/inputotp.md +121 -0
- package/data/llms/primitive/components/inputpassword/api.json +278 -0
- package/data/llms/primitive/components/inputpassword.md +84 -0
- package/data/llms/primitive/components/inputtags/api.json +407 -0
- package/data/llms/primitive/components/inputtags.md +243 -0
- package/data/llms/primitive/components/inputtext/api.json +207 -0
- package/data/llms/primitive/components/inputtext.md +81 -0
- package/data/llms/primitive/components/knob/api.json +841 -0
- package/data/llms/primitive/components/knob.md +148 -0
- package/data/llms/primitive/components/label/api.json +177 -0
- package/data/llms/primitive/components/label.md +44 -0
- package/data/llms/primitive/components/listbox/api.json +1741 -0
- package/data/llms/primitive/components/listbox.md +206 -0
- package/data/llms/primitive/components/menu/api.json +3836 -0
- package/data/llms/primitive/components/menu.md +479 -0
- package/data/llms/primitive/components/message/api.json +863 -0
- package/data/llms/primitive/components/message.md +151 -0
- package/data/llms/primitive/components/metergroup/api.json +1222 -0
- package/data/llms/primitive/components/metergroup.md +209 -0
- package/data/llms/primitive/components/motion.md +112 -0
- package/data/llms/primitive/components/navigationmenu/api.json +298 -0
- package/data/llms/primitive/components/navigationmenu.md +184 -0
- package/data/llms/primitive/components/organizationchart.md +133 -0
- package/data/llms/primitive/components/paginator/api.json +1637 -0
- package/data/llms/primitive/components/paginator.md +223 -0
- package/data/llms/primitive/components/panel/api.json +1270 -0
- package/data/llms/primitive/components/panel.md +186 -0
- package/data/llms/primitive/components/popover/api.json +2281 -0
- package/data/llms/primitive/components/popover.md +277 -0
- package/data/llms/primitive/components/portal/api.json +176 -0
- package/data/llms/primitive/components/portal.md +79 -0
- package/data/llms/primitive/components/progressbar/api.json +857 -0
- package/data/llms/primitive/components/progressbar.md +153 -0
- package/data/llms/primitive/components/progressspinner/api.json +725 -0
- package/data/llms/primitive/components/progressspinner.md +133 -0
- package/data/llms/primitive/components/radiobutton/api.json +929 -0
- package/data/llms/primitive/components/radiobutton.md +201 -0
- package/data/llms/primitive/components/rating/api.json +878 -0
- package/data/llms/primitive/components/rating.md +160 -0
- package/data/llms/primitive/components/scrollarea/api.json +1187 -0
- package/data/llms/primitive/components/scrollarea.md +255 -0
- package/data/llms/primitive/components/select/api.json +3167 -0
- package/data/llms/primitive/components/select.md +351 -0
- package/data/llms/primitive/components/sidebar/api.json +3699 -0
- package/data/llms/primitive/components/sidebar.md +444 -0
- package/data/llms/primitive/components/skeleton/api.json +213 -0
- package/data/llms/primitive/components/skeleton.md +80 -0
- package/data/llms/primitive/components/slider/api.json +1066 -0
- package/data/llms/primitive/components/slider.md +161 -0
- package/data/llms/primitive/components/speeddial/api.json +1002 -0
- package/data/llms/primitive/components/speeddial.md +197 -0
- package/data/llms/primitive/components/splitter/api.json +901 -0
- package/data/llms/primitive/components/splitter.md +137 -0
- package/data/llms/primitive/components/stepper/api.json +2102 -0
- package/data/llms/primitive/components/stepper.md +253 -0
- package/data/llms/primitive/components/styleclass.md +399 -0
- package/data/llms/primitive/components/tabs/api.json +1705 -0
- package/data/llms/primitive/components/tabs.md +200 -0
- package/data/llms/primitive/components/tag/api.json +189 -0
- package/data/llms/primitive/components/tag.md +100 -0
- package/data/llms/primitive/components/terminal/api.json +1709 -0
- package/data/llms/primitive/components/terminal.md +227 -0
- package/data/llms/primitive/components/textarea/api.json +213 -0
- package/data/llms/primitive/components/textarea.md +83 -0
- package/data/llms/primitive/components/timeline/api.json +1180 -0
- package/data/llms/primitive/components/timeline.md +185 -0
- package/data/llms/primitive/components/toast/api.json +2102 -0
- package/data/llms/primitive/components/toast.md +291 -0
- package/data/llms/primitive/components/togglebutton/api.json +433 -0
- package/data/llms/primitive/components/togglebutton.md +161 -0
- package/data/llms/primitive/components/togglebuttongroup/api.json +276 -0
- package/data/llms/primitive/components/togglebuttongroup.md +61 -0
- package/data/llms/primitive/components/toggleswitch/api.json +681 -0
- package/data/llms/primitive/components/toggleswitch.md +149 -0
- package/data/llms/primitive/components/toolbar/api.json +646 -0
- package/data/llms/primitive/components/toolbar.md +126 -0
- package/data/llms/primitive/components/tooltip/api.json +1534 -0
- package/data/llms/primitive/components/tooltip.md +202 -0
- package/data/llms/primitive/components/tree/api.json +2952 -0
- package/data/llms/primitive/components/tree.md +292 -0
- package/data/llms/primitive/components/treetable.md +187 -0
- package/data/llms/primitive/components/visuallyhidden/api.json +186 -0
- package/data/llms/primitive/components/visuallyhidden.md +87 -0
- package/data/llms/primitive/guides/ai/llms.md +25 -0
- package/data/llms/primitive/guides/icons/customicons.md +47 -0
- package/data/llms/primitive/guides/icons/primeicons.md +112 -0
- package/data/llms/primitive/guides/installation.md +115 -0
- package/data/llms/primitive/guides/introduction.md +20 -0
- package/data/llms/primitive/guides/misc/accessibility.md +215 -0
- package/data/llms/primitive/guides/misc/passthrough.md +95 -0
- package/data/llms/primitive/guides/misc/rtl.md +27 -0
- package/data/llms/primitive/llms.md +25 -0
- package/data/llms/primitive/resources/introduction.md +15 -0
- package/data/llms/styled/add-ons/introduction.md +16 -0
- package/data/llms/styled/components/accordion.md +735 -0
- package/data/llms/styled/components/animateonscroll.md +264 -0
- package/data/llms/styled/components/autocomplete.md +1597 -0
- package/data/llms/styled/components/avatar.md +313 -0
- package/data/llms/styled/components/badge.md +213 -0
- package/data/llms/styled/components/breadcrumb.md +461 -0
- package/data/llms/styled/components/button/api.json +246 -0
- package/data/llms/styled/components/button.md +641 -0
- package/data/llms/styled/components/buttongroup.md +614 -0
- package/data/llms/styled/components/card.md +228 -0
- package/data/llms/styled/components/carousel.md +388 -0
- package/data/llms/styled/components/checkbox.md +329 -0
- package/data/llms/styled/components/checkboxgroup.md +619 -0
- package/data/llms/styled/components/chip.md +300 -0
- package/data/llms/styled/components/compare.md +271 -0
- package/data/llms/styled/components/contextmenu.md +550 -0
- package/data/llms/styled/components/datatable.md +8259 -0
- package/data/llms/styled/components/dataview.md +907 -0
- package/data/llms/styled/components/datepicker.md +2807 -0
- package/data/llms/styled/components/dialog.md +1047 -0
- package/data/llms/styled/components/divider.md +207 -0
- package/data/llms/styled/components/drawer.md +470 -0
- package/data/llms/styled/components/fieldset.md +334 -0
- package/data/llms/styled/components/fileupload.md +747 -0
- package/data/llms/styled/components/floatlabel/api.json +210 -0
- package/data/llms/styled/components/floatlabel.md +231 -0
- package/data/llms/styled/components/fluid/api.json +204 -0
- package/data/llms/styled/components/fluid.md +177 -0
- package/data/llms/styled/components/focustrap.md +203 -0
- package/data/llms/styled/components/gallery.md +553 -0
- package/data/llms/styled/components/iconfield/api.json +382 -0
- package/data/llms/styled/components/iconfield.md +385 -0
- package/data/llms/styled/components/iftalabel/api.json +237 -0
- package/data/llms/styled/components/iftalabel.md +158 -0
- package/data/llms/styled/components/inplace.md +312 -0
- package/data/llms/styled/components/inputcolor.md +674 -0
- package/data/llms/styled/components/inputgroup/api.json +399 -0
- package/data/llms/styled/components/inputgroup.md +604 -0
- package/data/llms/styled/components/inputmask.md +282 -0
- package/data/llms/styled/components/inputnumber.md +563 -0
- package/data/llms/styled/components/inputotp.md +335 -0
- package/data/llms/styled/components/inputpassword.md +630 -0
- package/data/llms/styled/components/inputtags.md +727 -0
- package/data/llms/styled/components/inputtext.md +190 -0
- package/data/llms/styled/components/keyfilter.md +289 -0
- package/data/llms/styled/components/knob.md +305 -0
- package/data/llms/styled/components/label/api.json +237 -0
- package/data/llms/styled/components/label.md +224 -0
- package/data/llms/styled/components/listbox.md +807 -0
- package/data/llms/styled/components/menu.md +1175 -0
- package/data/llms/styled/components/message.md +570 -0
- package/data/llms/styled/components/metergroup.md +449 -0
- package/data/llms/styled/components/navigationmenu.md +926 -0
- package/data/llms/styled/components/orderlist.md +519 -0
- package/data/llms/styled/components/organizationchart/api.json +1457 -0
- package/data/llms/styled/components/organizationchart.md +791 -0
- package/data/llms/styled/components/overlaymanager.md +519 -0
- package/data/llms/styled/components/paginator.md +506 -0
- package/data/llms/styled/components/panel.md +394 -0
- package/data/llms/styled/components/picklist.md +1004 -0
- package/data/llms/styled/components/popover.md +372 -0
- package/data/llms/styled/components/progressbar.md +438 -0
- package/data/llms/styled/components/progressspinner.md +128 -0
- package/data/llms/styled/components/radiobutton.md +488 -0
- package/data/llms/styled/components/rating/api.json +766 -0
- package/data/llms/styled/components/rating.md +518 -0
- package/data/llms/styled/components/scrollarea.md +627 -0
- package/data/llms/styled/components/select.md +2122 -0
- package/data/llms/styled/components/sidebar.md +1587 -0
- package/data/llms/styled/components/skeleton.md +226 -0
- package/data/llms/styled/components/slider.md +453 -0
- package/data/llms/styled/components/speeddial.md +723 -0
- package/data/llms/styled/components/splitter.md +536 -0
- package/data/llms/styled/components/stepper.md +614 -0
- package/data/llms/styled/components/tabs.md +543 -0
- package/data/llms/styled/components/tag.md +263 -0
- package/data/llms/styled/components/terminal.md +543 -0
- package/data/llms/styled/components/textarea.md +257 -0
- package/data/llms/styled/components/timeline.md +620 -0
- package/data/llms/styled/components/toast.md +1013 -0
- package/data/llms/styled/components/togglebutton.md +287 -0
- package/data/llms/styled/components/togglebuttongroup.md +328 -0
- package/data/llms/styled/components/toggleswitch.md +262 -0
- package/data/llms/styled/components/toolbar.md +187 -0
- package/data/llms/styled/components/tooltip.md +430 -0
- package/data/llms/styled/components/tree.md +1386 -0
- package/data/llms/styled/components/treetable.md +6842 -0
- package/data/llms/styled/guides/ai/llms.md +25 -0
- package/data/llms/styled/guides/configuration.md +151 -0
- package/data/llms/styled/guides/icons/customicons.md +47 -0
- package/data/llms/styled/guides/icons/primeicons.md +112 -0
- package/data/llms/styled/guides/installation/astro.md +97 -0
- package/data/llms/styled/guides/installation/manual.md +3 -0
- package/data/llms/styled/guides/installation/nextjs.md +129 -0
- package/data/llms/styled/guides/installation/react-router.md +88 -0
- package/data/llms/styled/guides/installation/tanstack.md +92 -0
- package/data/llms/styled/guides/installation/vite.md +91 -0
- package/data/llms/styled/guides/installation.md +42 -0
- package/data/llms/styled/guides/introduction.md +20 -0
- package/data/llms/styled/guides/misc/accessibility.md +211 -0
- package/data/llms/styled/guides/misc/animations.md +389 -0
- package/data/llms/styled/guides/misc/passthrough.md +95 -0
- package/data/llms/styled/guides/misc/rtl.md +27 -0
- package/data/llms/styled/guides/theming/styled.md +779 -0
- package/data/llms/styled/guides/theming/tailwind.md +473 -0
- package/data/llms/styled/guides/theming/unstyled.md +115 -0
- package/data/llms/styled/resources/introduction.md +15 -0
- package/data/llms/tailwind/add-ons/introduction.md +16 -0
- package/data/llms/tailwind/components/accordion.md +383 -0
- package/data/llms/tailwind/components/autocomplete.md +1346 -0
- package/data/llms/tailwind/components/avatar.md +305 -0
- package/data/llms/tailwind/components/badge.md +207 -0
- package/data/llms/tailwind/components/breadcrumb.md +387 -0
- package/data/llms/tailwind/components/button/api.json +246 -0
- package/data/llms/tailwind/components/button.md +617 -0
- package/data/llms/tailwind/components/buttongroup.md +599 -0
- package/data/llms/tailwind/components/card.md +224 -0
- package/data/llms/tailwind/components/carousel.md +329 -0
- package/data/llms/tailwind/components/checkbox.md +179 -0
- package/data/llms/tailwind/components/checkboxgroup.md +279 -0
- package/data/llms/tailwind/components/chip.md +304 -0
- package/data/llms/tailwind/components/compare.md +295 -0
- package/data/llms/tailwind/components/contextmenu.md +415 -0
- package/data/llms/tailwind/components/datatable.md +4062 -0
- package/data/llms/tailwind/components/dataview.md +864 -0
- package/data/llms/tailwind/components/datepicker.md +823 -0
- package/data/llms/tailwind/components/dialog.md +1216 -0
- package/data/llms/tailwind/components/divider.md +205 -0
- package/data/llms/tailwind/components/drawer.md +500 -0
- package/data/llms/tailwind/components/fieldset.md +326 -0
- package/data/llms/tailwind/components/fluid.md +117 -0
- package/data/llms/tailwind/components/iconfield.md +197 -0
- package/data/llms/tailwind/components/inplace.md +324 -0
- package/data/llms/tailwind/components/inputcolor.md +493 -0
- package/data/llms/tailwind/components/inputgroup.md +375 -0
- package/data/llms/tailwind/components/inputnumber.md +463 -0
- package/data/llms/tailwind/components/inputotp.md +255 -0
- package/data/llms/tailwind/components/inputpassword.md +543 -0
- package/data/llms/tailwind/components/inputtext.md +141 -0
- package/data/llms/tailwind/components/label.md +100 -0
- package/data/llms/tailwind/components/listbox.md +886 -0
- package/data/llms/tailwind/components/menu.md +1049 -0
- package/data/llms/tailwind/components/message.md +575 -0
- package/data/llms/tailwind/components/metergroup.md +510 -0
- package/data/llms/tailwind/components/navigationmenu.md +528 -0
- package/data/llms/tailwind/components/overlaymanager.md +567 -0
- package/data/llms/tailwind/components/paginator.md +306 -0
- package/data/llms/tailwind/components/panel.md +395 -0
- package/data/llms/tailwind/components/popover.md +424 -0
- package/data/llms/tailwind/components/progressbar.md +313 -0
- package/data/llms/tailwind/components/radiobutton.md +366 -0
- package/data/llms/tailwind/components/rating.md +300 -0
- package/data/llms/tailwind/components/scrollarea.md +638 -0
- package/data/llms/tailwind/components/select.md +1220 -0
- package/data/llms/tailwind/components/sidebar.md +1511 -0
- package/data/llms/tailwind/components/skeleton.md +236 -0
- package/data/llms/tailwind/components/slider.md +291 -0
- package/data/llms/tailwind/components/splitter.md +546 -0
- package/data/llms/tailwind/components/tabs.md +462 -0
- package/data/llms/tailwind/components/tag.md +255 -0
- package/data/llms/tailwind/components/textarea.md +170 -0
- package/data/llms/tailwind/components/timeline.md +656 -0
- package/data/llms/tailwind/components/toast.md +246 -0
- package/data/llms/tailwind/components/togglebutton.md +264 -0
- package/data/llms/tailwind/components/togglebuttongroup.md +262 -0
- package/data/llms/tailwind/components/toggleswitch.md +203 -0
- package/data/llms/tailwind/components/toolbar.md +192 -0
- package/data/llms/tailwind/components/tooltip.md +449 -0
- package/data/llms/tailwind/guides/ai/llms.md +25 -0
- package/data/llms/tailwind/guides/icons/customicons.md +47 -0
- package/data/llms/tailwind/guides/icons/primeicons.md +112 -0
- package/data/llms/tailwind/guides/installation/astro.md +165 -0
- package/data/llms/tailwind/guides/installation/manual.md +3 -0
- package/data/llms/tailwind/guides/installation/nextjs.md +169 -0
- package/data/llms/tailwind/guides/installation/react-router.md +157 -0
- package/data/llms/tailwind/guides/installation/tanstack.md +161 -0
- package/data/llms/tailwind/guides/installation/vite.md +160 -0
- package/data/llms/tailwind/guides/installation.md +42 -0
- package/data/llms/tailwind/guides/introduction.md +20 -0
- package/data/llms/tailwind/guides/misc/accessibility.md +205 -0
- package/data/llms/tailwind/guides/misc/passthrough.md +95 -0
- package/data/llms/tailwind/guides/misc/rtl.md +27 -0
- package/data/llms/tailwind/guides/theming/guide.md +179 -0
- package/data/llms/tailwind/guides/theming.md +191 -0
- package/data/llms/tailwind/llms.md +25 -0
- package/data/llms/tailwind/resources/introduction.md +15 -0
- package/data/manifest.json +12409 -0
- package/data/mcp-data.json +14481 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +2 -0
- package/package.json +61 -0
|
@@ -0,0 +1,2281 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "PopoverArrow",
|
|
4
|
+
"source": "apps/showcase/assets/apidoc/popoverarrow.json",
|
|
5
|
+
"data": {
|
|
6
|
+
"description": "PopoverArrow is a component that displays the arrow of a popover.",
|
|
7
|
+
"interfaces": {
|
|
8
|
+
"PopoverArrowPassThrough": {
|
|
9
|
+
"description": "Defines passthrough(pt) options of PopoverArrow component.",
|
|
10
|
+
"relatedProp": "",
|
|
11
|
+
"props": [
|
|
12
|
+
{
|
|
13
|
+
"name": "root",
|
|
14
|
+
"type": "PopoverArrowPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
15
|
+
"default": "",
|
|
16
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"methods": []
|
|
20
|
+
},
|
|
21
|
+
"PopoverArrowProps": {
|
|
22
|
+
"description": "Defines valid properties in PopoverArrow component.",
|
|
23
|
+
"relatedProp": "",
|
|
24
|
+
"extendedTypes": "BaseComponentProps<PopoverArrowInstance, unknown, PopoverArrowPassThrough>",
|
|
25
|
+
"props": [
|
|
26
|
+
{
|
|
27
|
+
"name": "ref",
|
|
28
|
+
"type": "Ref<unknown>",
|
|
29
|
+
"default": "",
|
|
30
|
+
"description": "The reference to the component instance."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "pIf",
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"default": "true",
|
|
36
|
+
"description": "Whether the component should be rendered."
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "style",
|
|
40
|
+
"type": "CSSProperties | ((instance?: PopoverArrowInstance) => CSSProperties)",
|
|
41
|
+
"default": "",
|
|
42
|
+
"description": "The style to apply to the component."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "className",
|
|
46
|
+
"type": "string | ((instance?: PopoverArrowInstance) => string)",
|
|
47
|
+
"default": "",
|
|
48
|
+
"description": "The class name to apply to the component."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "as",
|
|
52
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
53
|
+
"default": "",
|
|
54
|
+
"description": "The component type to render."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "asChild",
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"default": "false",
|
|
60
|
+
"description": "Whether the component should be rendered as a child component."
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "instance",
|
|
64
|
+
"type": "PopoverArrowInstance",
|
|
65
|
+
"default": "",
|
|
66
|
+
"description": "The instance to pass to the component."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "pt",
|
|
70
|
+
"type": "SafeRecord<PopoverArrowPassThrough>",
|
|
71
|
+
"default": "",
|
|
72
|
+
"description": "The pass-through props to pass to the component."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "ptOptions",
|
|
76
|
+
"type": "PassThroughOptions",
|
|
77
|
+
"default": "",
|
|
78
|
+
"description": "The pass-through options to pass to the component."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "unstyled",
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"default": "",
|
|
84
|
+
"description": "Whether the component should be rendered without classes."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "dt",
|
|
88
|
+
"type": "unknown",
|
|
89
|
+
"default": "",
|
|
90
|
+
"description": "The design token to use for the component."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "styles",
|
|
94
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
95
|
+
"default": "",
|
|
96
|
+
"description": "The styles to use for the component."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "render",
|
|
100
|
+
"type": "(instance: PopoverArrowInstance) => ReactNode",
|
|
101
|
+
"default": "",
|
|
102
|
+
"description": "The render function to render the component with instance access."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "children",
|
|
106
|
+
"type": "any",
|
|
107
|
+
"default": "",
|
|
108
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "[key: string]",
|
|
112
|
+
"type": "any",
|
|
113
|
+
"description": ""
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "pt-{optionName}-*",
|
|
117
|
+
"type": "-",
|
|
118
|
+
"default": "",
|
|
119
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
120
|
+
"deprecated": false
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"methods": []
|
|
124
|
+
},
|
|
125
|
+
"PopoverArrowState": {
|
|
126
|
+
"description": "Defines valid state in PopoverArrow component.",
|
|
127
|
+
"relatedProp": "",
|
|
128
|
+
"props": [],
|
|
129
|
+
"methods": []
|
|
130
|
+
},
|
|
131
|
+
"PopoverArrowExposes": {
|
|
132
|
+
"description": "Defines the methods and properties exposed by PopoverArrow component.",
|
|
133
|
+
"relatedProp": "",
|
|
134
|
+
"props": [
|
|
135
|
+
{
|
|
136
|
+
"name": "popover",
|
|
137
|
+
"type": "PopoverRootInstance",
|
|
138
|
+
"default": "",
|
|
139
|
+
"description": "The Popover component instance."
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"methods": []
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"types": {
|
|
146
|
+
"PopoverArrowPassThroughType": {
|
|
147
|
+
"description": "Defines passthrough(pt) options type in PopoverArrow component.",
|
|
148
|
+
"values": "PassThroughType<PopoverArrowInstance, E>"
|
|
149
|
+
},
|
|
150
|
+
"PopoverArrowInstance": {
|
|
151
|
+
"description": "Instance of PopoverArrow component.",
|
|
152
|
+
"values": "ComponentInstance<PopoverArrowProps, PopoverArrowState, PopoverArrowExposes>"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"variables": {}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "PopoverClose",
|
|
160
|
+
"source": "apps/showcase/assets/apidoc/popoverclose.json",
|
|
161
|
+
"data": {
|
|
162
|
+
"description": "PopoverClose is a component that displays the close button of a popover.",
|
|
163
|
+
"interfaces": {
|
|
164
|
+
"PopoverClosePassThrough": {
|
|
165
|
+
"description": "Defines passthrough(pt) options of PopoverClose component.",
|
|
166
|
+
"relatedProp": "",
|
|
167
|
+
"props": [
|
|
168
|
+
{
|
|
169
|
+
"name": "root",
|
|
170
|
+
"type": "PopoverClosePassThroughType<HTMLAttributes<HTMLButtonElement>>",
|
|
171
|
+
"default": "",
|
|
172
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"methods": []
|
|
176
|
+
},
|
|
177
|
+
"PopoverCloseProps": {
|
|
178
|
+
"description": "Defines valid properties in PopoverClose component.",
|
|
179
|
+
"relatedProp": "",
|
|
180
|
+
"extendedTypes": "BaseComponentProps<PopoverCloseInstance, unknown, PopoverClosePassThrough>",
|
|
181
|
+
"props": [
|
|
182
|
+
{
|
|
183
|
+
"name": "ref",
|
|
184
|
+
"type": "Ref<unknown>",
|
|
185
|
+
"default": "",
|
|
186
|
+
"description": "The reference to the component instance."
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "pIf",
|
|
190
|
+
"type": "boolean",
|
|
191
|
+
"default": "true",
|
|
192
|
+
"description": "Whether the component should be rendered."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "style",
|
|
196
|
+
"type": "CSSProperties | ((instance?: PopoverCloseInstance) => CSSProperties)",
|
|
197
|
+
"default": "",
|
|
198
|
+
"description": "The style to apply to the component."
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "className",
|
|
202
|
+
"type": "string | ((instance?: PopoverCloseInstance) => string)",
|
|
203
|
+
"default": "",
|
|
204
|
+
"description": "The class name to apply to the component."
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "as",
|
|
208
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
209
|
+
"default": "",
|
|
210
|
+
"description": "The component type to render."
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "asChild",
|
|
214
|
+
"type": "boolean",
|
|
215
|
+
"default": "false",
|
|
216
|
+
"description": "Whether the component should be rendered as a child component."
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "instance",
|
|
220
|
+
"type": "PopoverCloseInstance",
|
|
221
|
+
"default": "",
|
|
222
|
+
"description": "The instance to pass to the component."
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "pt",
|
|
226
|
+
"type": "SafeRecord<PopoverClosePassThrough>",
|
|
227
|
+
"default": "",
|
|
228
|
+
"description": "The pass-through props to pass to the component."
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "ptOptions",
|
|
232
|
+
"type": "PassThroughOptions",
|
|
233
|
+
"default": "",
|
|
234
|
+
"description": "The pass-through options to pass to the component."
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "unstyled",
|
|
238
|
+
"type": "boolean",
|
|
239
|
+
"default": "",
|
|
240
|
+
"description": "Whether the component should be rendered without classes."
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "dt",
|
|
244
|
+
"type": "unknown",
|
|
245
|
+
"default": "",
|
|
246
|
+
"description": "The design token to use for the component."
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "styles",
|
|
250
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
251
|
+
"default": "",
|
|
252
|
+
"description": "The styles to use for the component."
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "render",
|
|
256
|
+
"type": "(instance: PopoverCloseInstance) => ReactNode",
|
|
257
|
+
"default": "",
|
|
258
|
+
"description": "The render function to render the component with instance access."
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "children",
|
|
262
|
+
"type": "any",
|
|
263
|
+
"default": "",
|
|
264
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "[key: string]",
|
|
268
|
+
"type": "any",
|
|
269
|
+
"description": ""
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "pt-{optionName}-*",
|
|
273
|
+
"type": "-",
|
|
274
|
+
"default": "",
|
|
275
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
276
|
+
"deprecated": false
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"methods": []
|
|
280
|
+
},
|
|
281
|
+
"PopoverCloseState": {
|
|
282
|
+
"description": "Defines valid state in PopoverClose component.",
|
|
283
|
+
"relatedProp": "",
|
|
284
|
+
"props": [],
|
|
285
|
+
"methods": []
|
|
286
|
+
},
|
|
287
|
+
"PopoverCloseExposes": {
|
|
288
|
+
"description": "Defines the methods and properties exposed by PopoverClose component.",
|
|
289
|
+
"relatedProp": "",
|
|
290
|
+
"props": [
|
|
291
|
+
{
|
|
292
|
+
"name": "popover",
|
|
293
|
+
"type": "PopoverRootInstance",
|
|
294
|
+
"default": "",
|
|
295
|
+
"description": "The Popover component instance."
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"methods": []
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"types": {
|
|
302
|
+
"PopoverClosePassThroughType": {
|
|
303
|
+
"description": "Defines passthrough(pt) options type in PopoverClose component.",
|
|
304
|
+
"values": "PassThroughType<PopoverCloseInstance, E>"
|
|
305
|
+
},
|
|
306
|
+
"PopoverCloseInstance": {
|
|
307
|
+
"description": "Instance of PopoverClose component.",
|
|
308
|
+
"values": "ComponentInstance<PopoverCloseProps, PopoverCloseState, PopoverCloseExposes>"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"variables": {}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "PopoverContent",
|
|
316
|
+
"source": "apps/showcase/assets/apidoc/popovercontent.json",
|
|
317
|
+
"data": {
|
|
318
|
+
"description": "PopoverContent is a component that displays the content of a popover.",
|
|
319
|
+
"interfaces": {
|
|
320
|
+
"PopoverContentPassThrough": {
|
|
321
|
+
"description": "Defines passthrough(pt) options of PopoverContent component.",
|
|
322
|
+
"relatedProp": "",
|
|
323
|
+
"props": [
|
|
324
|
+
{
|
|
325
|
+
"name": "root",
|
|
326
|
+
"type": "PopoverContentPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
327
|
+
"default": "",
|
|
328
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"methods": []
|
|
332
|
+
},
|
|
333
|
+
"PopoverContentProps": {
|
|
334
|
+
"description": "Defines valid properties in PopoverContent component.",
|
|
335
|
+
"relatedProp": "",
|
|
336
|
+
"extendedTypes": "BaseComponentProps<PopoverContentInstance, unknown, PopoverContentPassThrough>",
|
|
337
|
+
"props": [
|
|
338
|
+
{
|
|
339
|
+
"name": "ref",
|
|
340
|
+
"type": "Ref<unknown>",
|
|
341
|
+
"default": "",
|
|
342
|
+
"description": "The reference to the component instance."
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"name": "pIf",
|
|
346
|
+
"type": "boolean",
|
|
347
|
+
"default": "true",
|
|
348
|
+
"description": "Whether the component should be rendered."
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "style",
|
|
352
|
+
"type": "CSSProperties | ((instance?: PopoverContentInstance) => CSSProperties)",
|
|
353
|
+
"default": "",
|
|
354
|
+
"description": "The style to apply to the component."
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "className",
|
|
358
|
+
"type": "string | ((instance?: PopoverContentInstance) => string)",
|
|
359
|
+
"default": "",
|
|
360
|
+
"description": "The class name to apply to the component."
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "as",
|
|
364
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
365
|
+
"default": "",
|
|
366
|
+
"description": "The component type to render."
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "asChild",
|
|
370
|
+
"type": "boolean",
|
|
371
|
+
"default": "false",
|
|
372
|
+
"description": "Whether the component should be rendered as a child component."
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "instance",
|
|
376
|
+
"type": "PopoverContentInstance",
|
|
377
|
+
"default": "",
|
|
378
|
+
"description": "The instance to pass to the component."
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "pt",
|
|
382
|
+
"type": "SafeRecord<PopoverContentPassThrough>",
|
|
383
|
+
"default": "",
|
|
384
|
+
"description": "The pass-through props to pass to the component."
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "ptOptions",
|
|
388
|
+
"type": "PassThroughOptions",
|
|
389
|
+
"default": "",
|
|
390
|
+
"description": "The pass-through options to pass to the component."
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "unstyled",
|
|
394
|
+
"type": "boolean",
|
|
395
|
+
"default": "",
|
|
396
|
+
"description": "Whether the component should be rendered without classes."
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "dt",
|
|
400
|
+
"type": "unknown",
|
|
401
|
+
"default": "",
|
|
402
|
+
"description": "The design token to use for the component."
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "styles",
|
|
406
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
407
|
+
"default": "",
|
|
408
|
+
"description": "The styles to use for the component."
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "render",
|
|
412
|
+
"type": "(instance: PopoverContentInstance) => ReactNode",
|
|
413
|
+
"default": "",
|
|
414
|
+
"description": "The render function to render the component with instance access."
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "children",
|
|
418
|
+
"type": "any",
|
|
419
|
+
"default": "",
|
|
420
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "[key: string]",
|
|
424
|
+
"type": "any",
|
|
425
|
+
"description": ""
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "pt-{optionName}-*",
|
|
429
|
+
"type": "-",
|
|
430
|
+
"default": "",
|
|
431
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
432
|
+
"deprecated": false
|
|
433
|
+
}
|
|
434
|
+
],
|
|
435
|
+
"methods": []
|
|
436
|
+
},
|
|
437
|
+
"PopoverContentState": {
|
|
438
|
+
"description": "Defines valid state in PopoverContent component.",
|
|
439
|
+
"relatedProp": "",
|
|
440
|
+
"props": [],
|
|
441
|
+
"methods": []
|
|
442
|
+
},
|
|
443
|
+
"PopoverContentExposes": {
|
|
444
|
+
"description": "Defines the methods and properties exposed by PopoverContent component.",
|
|
445
|
+
"relatedProp": "",
|
|
446
|
+
"props": [
|
|
447
|
+
{
|
|
448
|
+
"name": "popover",
|
|
449
|
+
"type": "PopoverRootInstance",
|
|
450
|
+
"default": "",
|
|
451
|
+
"description": "The Popover component instance."
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"methods": []
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"types": {
|
|
458
|
+
"PopoverContentPassThroughType": {
|
|
459
|
+
"description": "Defines passthrough(pt) options type in PopoverContent component.",
|
|
460
|
+
"values": "PassThroughType<PopoverContentInstance, E>"
|
|
461
|
+
},
|
|
462
|
+
"PopoverContentInstance": {
|
|
463
|
+
"description": "Instance of PopoverContent component.",
|
|
464
|
+
"values": "ComponentInstance<PopoverContentProps, PopoverContentState, PopoverContentExposes>"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"variables": {}
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "PopoverDescription",
|
|
472
|
+
"source": "apps/showcase/assets/apidoc/popoverdescription.json",
|
|
473
|
+
"data": {
|
|
474
|
+
"description": "PopoverDescription is a component that displays the description of a popover.",
|
|
475
|
+
"interfaces": {
|
|
476
|
+
"PopoverDescriptionPassThrough": {
|
|
477
|
+
"description": "Defines passthrough(pt) options of PopoverDescription component.",
|
|
478
|
+
"relatedProp": "",
|
|
479
|
+
"props": [
|
|
480
|
+
{
|
|
481
|
+
"name": "root",
|
|
482
|
+
"type": "PopoverDescriptionPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
483
|
+
"default": "",
|
|
484
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
485
|
+
}
|
|
486
|
+
],
|
|
487
|
+
"methods": []
|
|
488
|
+
},
|
|
489
|
+
"PopoverDescriptionProps": {
|
|
490
|
+
"description": "Defines valid properties in PopoverDescription component.",
|
|
491
|
+
"relatedProp": "",
|
|
492
|
+
"extendedTypes": "BaseComponentProps<PopoverDescriptionInstance, unknown, PopoverDescriptionPassThrough>",
|
|
493
|
+
"props": [
|
|
494
|
+
{
|
|
495
|
+
"name": "ref",
|
|
496
|
+
"type": "Ref<unknown>",
|
|
497
|
+
"default": "",
|
|
498
|
+
"description": "The reference to the component instance."
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "pIf",
|
|
502
|
+
"type": "boolean",
|
|
503
|
+
"default": "true",
|
|
504
|
+
"description": "Whether the component should be rendered."
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "style",
|
|
508
|
+
"type": "CSSProperties | ((instance?: PopoverDescriptionInstance) => CSSProperties)",
|
|
509
|
+
"default": "",
|
|
510
|
+
"description": "The style to apply to the component."
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "className",
|
|
514
|
+
"type": "string | ((instance?: PopoverDescriptionInstance) => string)",
|
|
515
|
+
"default": "",
|
|
516
|
+
"description": "The class name to apply to the component."
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"name": "as",
|
|
520
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
521
|
+
"default": "",
|
|
522
|
+
"description": "The component type to render."
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "asChild",
|
|
526
|
+
"type": "boolean",
|
|
527
|
+
"default": "false",
|
|
528
|
+
"description": "Whether the component should be rendered as a child component."
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "instance",
|
|
532
|
+
"type": "PopoverDescriptionInstance",
|
|
533
|
+
"default": "",
|
|
534
|
+
"description": "The instance to pass to the component."
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "pt",
|
|
538
|
+
"type": "SafeRecord<PopoverDescriptionPassThrough>",
|
|
539
|
+
"default": "",
|
|
540
|
+
"description": "The pass-through props to pass to the component."
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "ptOptions",
|
|
544
|
+
"type": "PassThroughOptions",
|
|
545
|
+
"default": "",
|
|
546
|
+
"description": "The pass-through options to pass to the component."
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "unstyled",
|
|
550
|
+
"type": "boolean",
|
|
551
|
+
"default": "",
|
|
552
|
+
"description": "Whether the component should be rendered without classes."
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "dt",
|
|
556
|
+
"type": "unknown",
|
|
557
|
+
"default": "",
|
|
558
|
+
"description": "The design token to use for the component."
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "styles",
|
|
562
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
563
|
+
"default": "",
|
|
564
|
+
"description": "The styles to use for the component."
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "render",
|
|
568
|
+
"type": "(instance: PopoverDescriptionInstance) => ReactNode",
|
|
569
|
+
"default": "",
|
|
570
|
+
"description": "The render function to render the component with instance access."
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "children",
|
|
574
|
+
"type": "any",
|
|
575
|
+
"default": "",
|
|
576
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "[key: string]",
|
|
580
|
+
"type": "any",
|
|
581
|
+
"description": ""
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "pt-{optionName}-*",
|
|
585
|
+
"type": "-",
|
|
586
|
+
"default": "",
|
|
587
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
588
|
+
"deprecated": false
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"methods": []
|
|
592
|
+
},
|
|
593
|
+
"PopoverDescriptionState": {
|
|
594
|
+
"description": "Defines valid state in PopoverDescription component.",
|
|
595
|
+
"relatedProp": "",
|
|
596
|
+
"props": [],
|
|
597
|
+
"methods": []
|
|
598
|
+
},
|
|
599
|
+
"PopoverDescriptionExposes": {
|
|
600
|
+
"description": "Defines the methods and properties exposed by PopoverDescription component.",
|
|
601
|
+
"relatedProp": "",
|
|
602
|
+
"props": [
|
|
603
|
+
{
|
|
604
|
+
"name": "popover",
|
|
605
|
+
"type": "PopoverRootInstance",
|
|
606
|
+
"default": "",
|
|
607
|
+
"description": "The Popover component instance."
|
|
608
|
+
}
|
|
609
|
+
],
|
|
610
|
+
"methods": []
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"types": {
|
|
614
|
+
"PopoverDescriptionPassThroughType": {
|
|
615
|
+
"description": "Defines passthrough(pt) options type in PopoverDescription component.",
|
|
616
|
+
"values": "PassThroughType<PopoverDescriptionInstance, E>"
|
|
617
|
+
},
|
|
618
|
+
"PopoverDescriptionInstance": {
|
|
619
|
+
"description": "Instance of PopoverDescription component.",
|
|
620
|
+
"values": "ComponentInstance<PopoverDescriptionProps, PopoverDescriptionState, PopoverDescriptionExposes>"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
"variables": {}
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "PopoverFooter",
|
|
628
|
+
"source": "apps/showcase/assets/apidoc/popoverfooter.json",
|
|
629
|
+
"data": {
|
|
630
|
+
"description": "PopoverFooter is a component that displays the footer of a popover.",
|
|
631
|
+
"interfaces": {
|
|
632
|
+
"PopoverFooterPassThrough": {
|
|
633
|
+
"description": "Defines passthrough(pt) options of PopoverFooter component.",
|
|
634
|
+
"relatedProp": "",
|
|
635
|
+
"props": [
|
|
636
|
+
{
|
|
637
|
+
"name": "root",
|
|
638
|
+
"type": "PopoverFooterPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
639
|
+
"default": "",
|
|
640
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"methods": []
|
|
644
|
+
},
|
|
645
|
+
"PopoverFooterProps": {
|
|
646
|
+
"description": "Defines valid properties in PopoverFooter component.",
|
|
647
|
+
"relatedProp": "",
|
|
648
|
+
"extendedTypes": "BaseComponentProps<PopoverFooterInstance, unknown, PopoverFooterPassThrough>",
|
|
649
|
+
"props": [
|
|
650
|
+
{
|
|
651
|
+
"name": "ref",
|
|
652
|
+
"type": "Ref<unknown>",
|
|
653
|
+
"default": "",
|
|
654
|
+
"description": "The reference to the component instance."
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "pIf",
|
|
658
|
+
"type": "boolean",
|
|
659
|
+
"default": "true",
|
|
660
|
+
"description": "Whether the component should be rendered."
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "style",
|
|
664
|
+
"type": "CSSProperties | ((instance?: PopoverFooterInstance) => CSSProperties)",
|
|
665
|
+
"default": "",
|
|
666
|
+
"description": "The style to apply to the component."
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "className",
|
|
670
|
+
"type": "string | ((instance?: PopoverFooterInstance) => string)",
|
|
671
|
+
"default": "",
|
|
672
|
+
"description": "The class name to apply to the component."
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "as",
|
|
676
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
677
|
+
"default": "",
|
|
678
|
+
"description": "The component type to render."
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "asChild",
|
|
682
|
+
"type": "boolean",
|
|
683
|
+
"default": "false",
|
|
684
|
+
"description": "Whether the component should be rendered as a child component."
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "instance",
|
|
688
|
+
"type": "PopoverFooterInstance",
|
|
689
|
+
"default": "",
|
|
690
|
+
"description": "The instance to pass to the component."
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "pt",
|
|
694
|
+
"type": "SafeRecord<PopoverFooterPassThrough>",
|
|
695
|
+
"default": "",
|
|
696
|
+
"description": "The pass-through props to pass to the component."
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"name": "ptOptions",
|
|
700
|
+
"type": "PassThroughOptions",
|
|
701
|
+
"default": "",
|
|
702
|
+
"description": "The pass-through options to pass to the component."
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "unstyled",
|
|
706
|
+
"type": "boolean",
|
|
707
|
+
"default": "",
|
|
708
|
+
"description": "Whether the component should be rendered without classes."
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "dt",
|
|
712
|
+
"type": "unknown",
|
|
713
|
+
"default": "",
|
|
714
|
+
"description": "The design token to use for the component."
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "styles",
|
|
718
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
719
|
+
"default": "",
|
|
720
|
+
"description": "The styles to use for the component."
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"name": "render",
|
|
724
|
+
"type": "(instance: PopoverFooterInstance) => ReactNode",
|
|
725
|
+
"default": "",
|
|
726
|
+
"description": "The render function to render the component with instance access."
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "children",
|
|
730
|
+
"type": "any",
|
|
731
|
+
"default": "",
|
|
732
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "[key: string]",
|
|
736
|
+
"type": "any",
|
|
737
|
+
"description": ""
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "pt-{optionName}-*",
|
|
741
|
+
"type": "-",
|
|
742
|
+
"default": "",
|
|
743
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
744
|
+
"deprecated": false
|
|
745
|
+
}
|
|
746
|
+
],
|
|
747
|
+
"methods": []
|
|
748
|
+
},
|
|
749
|
+
"PopoverFooterState": {
|
|
750
|
+
"description": "Defines valid state in PopoverFooter component.",
|
|
751
|
+
"relatedProp": "",
|
|
752
|
+
"props": [],
|
|
753
|
+
"methods": []
|
|
754
|
+
},
|
|
755
|
+
"PopoverFooterExposes": {
|
|
756
|
+
"description": "Defines the methods and properties exposed by PopoverFooter component.",
|
|
757
|
+
"relatedProp": "",
|
|
758
|
+
"props": [
|
|
759
|
+
{
|
|
760
|
+
"name": "popover",
|
|
761
|
+
"type": "PopoverRootInstance",
|
|
762
|
+
"default": "",
|
|
763
|
+
"description": "The Popover component instance."
|
|
764
|
+
}
|
|
765
|
+
],
|
|
766
|
+
"methods": []
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
"types": {
|
|
770
|
+
"PopoverFooterPassThroughType": {
|
|
771
|
+
"description": "Defines passthrough(pt) options type in PopoverFooter component.",
|
|
772
|
+
"values": "PassThroughType<PopoverFooterInstance, E>"
|
|
773
|
+
},
|
|
774
|
+
"PopoverFooterInstance": {
|
|
775
|
+
"description": "Instance of PopoverFooter component.",
|
|
776
|
+
"values": "ComponentInstance<PopoverFooterProps, PopoverFooterState, PopoverFooterExposes>"
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"variables": {}
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"name": "PopoverHeader",
|
|
784
|
+
"source": "apps/showcase/assets/apidoc/popoverheader.json",
|
|
785
|
+
"data": {
|
|
786
|
+
"description": "PopoverHeader is a component that displays the header of a popover.",
|
|
787
|
+
"interfaces": {
|
|
788
|
+
"PopoverHeaderPassThrough": {
|
|
789
|
+
"description": "Defines passthrough(pt) options of PopoverHeader component.",
|
|
790
|
+
"relatedProp": "",
|
|
791
|
+
"props": [
|
|
792
|
+
{
|
|
793
|
+
"name": "root",
|
|
794
|
+
"type": "PopoverHeaderPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
795
|
+
"default": "",
|
|
796
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"methods": []
|
|
800
|
+
},
|
|
801
|
+
"PopoverHeaderProps": {
|
|
802
|
+
"description": "Defines valid properties in PopoverHeader component.",
|
|
803
|
+
"relatedProp": "",
|
|
804
|
+
"extendedTypes": "BaseComponentProps<PopoverHeaderInstance, unknown, PopoverHeaderPassThrough>",
|
|
805
|
+
"props": [
|
|
806
|
+
{
|
|
807
|
+
"name": "ref",
|
|
808
|
+
"type": "Ref<unknown>",
|
|
809
|
+
"default": "",
|
|
810
|
+
"description": "The reference to the component instance."
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"name": "pIf",
|
|
814
|
+
"type": "boolean",
|
|
815
|
+
"default": "true",
|
|
816
|
+
"description": "Whether the component should be rendered."
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "style",
|
|
820
|
+
"type": "CSSProperties | ((instance?: PopoverHeaderInstance) => CSSProperties)",
|
|
821
|
+
"default": "",
|
|
822
|
+
"description": "The style to apply to the component."
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"name": "className",
|
|
826
|
+
"type": "string | ((instance?: PopoverHeaderInstance) => string)",
|
|
827
|
+
"default": "",
|
|
828
|
+
"description": "The class name to apply to the component."
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "as",
|
|
832
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
833
|
+
"default": "",
|
|
834
|
+
"description": "The component type to render."
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "asChild",
|
|
838
|
+
"type": "boolean",
|
|
839
|
+
"default": "false",
|
|
840
|
+
"description": "Whether the component should be rendered as a child component."
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "instance",
|
|
844
|
+
"type": "PopoverHeaderInstance",
|
|
845
|
+
"default": "",
|
|
846
|
+
"description": "The instance to pass to the component."
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"name": "pt",
|
|
850
|
+
"type": "SafeRecord<PopoverHeaderPassThrough>",
|
|
851
|
+
"default": "",
|
|
852
|
+
"description": "The pass-through props to pass to the component."
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "ptOptions",
|
|
856
|
+
"type": "PassThroughOptions",
|
|
857
|
+
"default": "",
|
|
858
|
+
"description": "The pass-through options to pass to the component."
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"name": "unstyled",
|
|
862
|
+
"type": "boolean",
|
|
863
|
+
"default": "",
|
|
864
|
+
"description": "Whether the component should be rendered without classes."
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"name": "dt",
|
|
868
|
+
"type": "unknown",
|
|
869
|
+
"default": "",
|
|
870
|
+
"description": "The design token to use for the component."
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "styles",
|
|
874
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
875
|
+
"default": "",
|
|
876
|
+
"description": "The styles to use for the component."
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "render",
|
|
880
|
+
"type": "(instance: PopoverHeaderInstance) => ReactNode",
|
|
881
|
+
"default": "",
|
|
882
|
+
"description": "The render function to render the component with instance access."
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"name": "children",
|
|
886
|
+
"type": "any",
|
|
887
|
+
"default": "",
|
|
888
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "[key: string]",
|
|
892
|
+
"type": "any",
|
|
893
|
+
"description": ""
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"name": "pt-{optionName}-*",
|
|
897
|
+
"type": "-",
|
|
898
|
+
"default": "",
|
|
899
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
900
|
+
"deprecated": false
|
|
901
|
+
}
|
|
902
|
+
],
|
|
903
|
+
"methods": []
|
|
904
|
+
},
|
|
905
|
+
"PopoverHeaderState": {
|
|
906
|
+
"description": "Defines valid state in PopoverHeader component.",
|
|
907
|
+
"relatedProp": "",
|
|
908
|
+
"props": [],
|
|
909
|
+
"methods": []
|
|
910
|
+
},
|
|
911
|
+
"PopoverHeaderExposes": {
|
|
912
|
+
"description": "Defines the methods and properties exposed by PopoverHeader component.",
|
|
913
|
+
"relatedProp": "",
|
|
914
|
+
"props": [
|
|
915
|
+
{
|
|
916
|
+
"name": "popover",
|
|
917
|
+
"type": "PopoverRootInstance",
|
|
918
|
+
"default": "",
|
|
919
|
+
"description": "The Popover component instance."
|
|
920
|
+
}
|
|
921
|
+
],
|
|
922
|
+
"methods": []
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
"types": {
|
|
926
|
+
"PopoverHeaderPassThroughType": {
|
|
927
|
+
"description": "Defines passthrough(pt) options type in PopoverHeader component.",
|
|
928
|
+
"values": "PassThroughType<PopoverHeaderInstance, E>"
|
|
929
|
+
},
|
|
930
|
+
"PopoverHeaderInstance": {
|
|
931
|
+
"description": "Instance of PopoverHeader component.",
|
|
932
|
+
"values": "ComponentInstance<PopoverHeaderProps, PopoverHeaderState, PopoverHeaderExposes>"
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
"variables": {}
|
|
936
|
+
}
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"name": "PopoverPopup",
|
|
940
|
+
"source": "apps/showcase/assets/apidoc/popoverpopup.json",
|
|
941
|
+
"data": {
|
|
942
|
+
"description": "PopoverPopup is a component that displays the popup of a popover.",
|
|
943
|
+
"interfaces": {
|
|
944
|
+
"PopoverPopupPassThrough": {
|
|
945
|
+
"description": "Defines passthrough(pt) options of PopoverPopup component.",
|
|
946
|
+
"relatedProp": "",
|
|
947
|
+
"props": [
|
|
948
|
+
{
|
|
949
|
+
"name": "root",
|
|
950
|
+
"type": "PopoverPopupPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
951
|
+
"default": "",
|
|
952
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
953
|
+
}
|
|
954
|
+
],
|
|
955
|
+
"methods": []
|
|
956
|
+
},
|
|
957
|
+
"PopoverPopupProps": {
|
|
958
|
+
"description": "Defines valid properties in PopoverPopup component.",
|
|
959
|
+
"relatedProp": "",
|
|
960
|
+
"extendedTypes": "BaseComponentProps<PopoverPopupInstance, unknown, PopoverPopupPassThrough>",
|
|
961
|
+
"props": [
|
|
962
|
+
{
|
|
963
|
+
"name": "ref",
|
|
964
|
+
"type": "Ref<unknown>",
|
|
965
|
+
"default": "",
|
|
966
|
+
"description": "The reference to the component instance."
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"name": "pIf",
|
|
970
|
+
"type": "boolean",
|
|
971
|
+
"default": "true",
|
|
972
|
+
"description": "Whether the component should be rendered."
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"name": "style",
|
|
976
|
+
"type": "CSSProperties | ((instance?: PopoverPopupInstance) => CSSProperties)",
|
|
977
|
+
"default": "",
|
|
978
|
+
"description": "The style to apply to the component."
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "className",
|
|
982
|
+
"type": "string | ((instance?: PopoverPopupInstance) => string)",
|
|
983
|
+
"default": "",
|
|
984
|
+
"description": "The class name to apply to the component."
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"name": "as",
|
|
988
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
989
|
+
"default": "",
|
|
990
|
+
"description": "The component type to render."
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "asChild",
|
|
994
|
+
"type": "boolean",
|
|
995
|
+
"default": "false",
|
|
996
|
+
"description": "Whether the component should be rendered as a child component."
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"name": "instance",
|
|
1000
|
+
"type": "PopoverPopupInstance",
|
|
1001
|
+
"default": "",
|
|
1002
|
+
"description": "The instance to pass to the component."
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"name": "pt",
|
|
1006
|
+
"type": "SafeRecord<PopoverPopupPassThrough>",
|
|
1007
|
+
"default": "",
|
|
1008
|
+
"description": "The pass-through props to pass to the component."
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "ptOptions",
|
|
1012
|
+
"type": "PassThroughOptions",
|
|
1013
|
+
"default": "",
|
|
1014
|
+
"description": "The pass-through options to pass to the component."
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"name": "unstyled",
|
|
1018
|
+
"type": "boolean",
|
|
1019
|
+
"default": "",
|
|
1020
|
+
"description": "Whether the component should be rendered without classes."
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "dt",
|
|
1024
|
+
"type": "unknown",
|
|
1025
|
+
"default": "",
|
|
1026
|
+
"description": "The design token to use for the component."
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"name": "styles",
|
|
1030
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
1031
|
+
"default": "",
|
|
1032
|
+
"description": "The styles to use for the component."
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"name": "render",
|
|
1036
|
+
"type": "(instance: PopoverPopupInstance) => ReactNode",
|
|
1037
|
+
"default": "",
|
|
1038
|
+
"description": "The render function to render the component with instance access."
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"name": "children",
|
|
1042
|
+
"type": "any",
|
|
1043
|
+
"default": "",
|
|
1044
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "motionProps",
|
|
1048
|
+
"type": "UseMotionProps",
|
|
1049
|
+
"default": "",
|
|
1050
|
+
"description": "Used to apply motion to the popup element. It accepts the same properties as useMotion hook."
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "[key: string]",
|
|
1054
|
+
"type": "any",
|
|
1055
|
+
"description": ""
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "pt-{optionName}-*",
|
|
1059
|
+
"type": "-",
|
|
1060
|
+
"default": "",
|
|
1061
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
1062
|
+
"deprecated": false
|
|
1063
|
+
}
|
|
1064
|
+
],
|
|
1065
|
+
"methods": []
|
|
1066
|
+
},
|
|
1067
|
+
"PopoverPopupState": {
|
|
1068
|
+
"description": "Defines valid state in PopoverPopup component.",
|
|
1069
|
+
"relatedProp": "",
|
|
1070
|
+
"props": [],
|
|
1071
|
+
"methods": []
|
|
1072
|
+
},
|
|
1073
|
+
"PopoverPopupExposes": {
|
|
1074
|
+
"description": "Defines the methods and properties exposed by PopoverPopup component.",
|
|
1075
|
+
"relatedProp": "",
|
|
1076
|
+
"props": [
|
|
1077
|
+
{
|
|
1078
|
+
"name": "popover",
|
|
1079
|
+
"type": "PopoverRootInstance",
|
|
1080
|
+
"default": "",
|
|
1081
|
+
"description": "The Popover component instance."
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "motion",
|
|
1085
|
+
"type": "UseMotionInstance",
|
|
1086
|
+
"default": "",
|
|
1087
|
+
"description": "The motion instance for enter/leave animations."
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"methods": []
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
"types": {
|
|
1094
|
+
"PopoverPopupPassThroughType": {
|
|
1095
|
+
"description": "Defines passthrough(pt) options type in PopoverPopup component.",
|
|
1096
|
+
"values": "PassThroughType<PopoverPopupInstance, E>"
|
|
1097
|
+
},
|
|
1098
|
+
"PopoverPopupInstance": {
|
|
1099
|
+
"description": "Instance of PopoverPopup component.",
|
|
1100
|
+
"values": "ComponentInstance<PopoverPopupProps, PopoverPopupState, PopoverPopupExposes>"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
"variables": {}
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"name": "PopoverPortal",
|
|
1108
|
+
"source": "apps/showcase/assets/apidoc/popoverportal.json",
|
|
1109
|
+
"data": {
|
|
1110
|
+
"description": "PopoverPortal is a component that displays the portal of a popover.",
|
|
1111
|
+
"interfaces": {
|
|
1112
|
+
"PopoverPortalPassThrough": {
|
|
1113
|
+
"description": "Defines passthrough(pt) options of PopoverPortal component.",
|
|
1114
|
+
"relatedProp": "",
|
|
1115
|
+
"props": [
|
|
1116
|
+
{
|
|
1117
|
+
"name": "root",
|
|
1118
|
+
"type": "PopoverPortalPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1119
|
+
"default": "",
|
|
1120
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
1121
|
+
}
|
|
1122
|
+
],
|
|
1123
|
+
"methods": []
|
|
1124
|
+
},
|
|
1125
|
+
"PopoverPortalProps": {
|
|
1126
|
+
"description": "Defines valid properties in PopoverPortal component.",
|
|
1127
|
+
"relatedProp": "",
|
|
1128
|
+
"extendedTypes": "BaseComponentProps<PopoverPortalInstance, PortalProps, PopoverPortalPassThrough>",
|
|
1129
|
+
"props": [
|
|
1130
|
+
{
|
|
1131
|
+
"name": "ref",
|
|
1132
|
+
"type": "Ref<unknown>",
|
|
1133
|
+
"default": "",
|
|
1134
|
+
"description": "The reference to the component instance."
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"name": "pIf",
|
|
1138
|
+
"type": "boolean",
|
|
1139
|
+
"default": "true",
|
|
1140
|
+
"description": "Whether the component should be rendered."
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "style",
|
|
1144
|
+
"type": "(CSSProperties | ((instance?: PortalInstance) => CSSProperties)) & (CSSProperties | ((instance?: PopoverPortalInstance) => CSSProperties))",
|
|
1145
|
+
"default": "",
|
|
1146
|
+
"description": "The style to apply to the component."
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"name": "className",
|
|
1150
|
+
"type": "(string | ((instance?: PortalInstance) => string)) & (string | ((instance?: PopoverPortalInstance) => string))",
|
|
1151
|
+
"default": "",
|
|
1152
|
+
"description": "The class name to apply to the component."
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"name": "as",
|
|
1156
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
1157
|
+
"default": "",
|
|
1158
|
+
"description": "The component type to render."
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "asChild",
|
|
1162
|
+
"type": "boolean",
|
|
1163
|
+
"default": "false",
|
|
1164
|
+
"description": "Whether the component should be rendered as a child component."
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"name": "instance",
|
|
1168
|
+
"type": "BaseInstance<SafeRecord<PortalProps>, unknown, HTMLElement> & { props: SafeRecord<SafeRecord<PortalProps>>; attrs: Omit<SafeRecord<SafeRecord<PortalProps>>, string | number | symbol> & Record<PropertyKey, unknown> } & { state: SafeRecord; $computedSetup: SafeRecord } & PortalExposes & Record<PropertyKey, unknown> & useComponentPTReturnType & useComponentStyleReturnType & BaseInstance<SafeRecord<PopoverPortalProps>, unknown, HTMLElement> & { props: SafeRecord<SafeRecord<PopoverPortalProps>>; attrs: Omit<SafeRecord<SafeRecord<PopoverPortalProps>>, string | number | symbol> & Record<PropertyKey, unknown> } & { state: SafeRecord; $computedSetup: SafeRecord } & PopoverPortalExposes",
|
|
1169
|
+
"default": "",
|
|
1170
|
+
"description": "The instance to pass to the component."
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"name": "pt",
|
|
1174
|
+
"type": "PortalPassThrough & Record<PropertyKey, unknown> & PopoverPortalPassThrough",
|
|
1175
|
+
"default": "",
|
|
1176
|
+
"description": "The pass-through props to pass to the component."
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"name": "ptOptions",
|
|
1180
|
+
"type": "PassThroughOptions",
|
|
1181
|
+
"default": "",
|
|
1182
|
+
"description": "The pass-through options to pass to the component."
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"name": "unstyled",
|
|
1186
|
+
"type": "boolean",
|
|
1187
|
+
"default": "",
|
|
1188
|
+
"description": "Whether the component should be rendered without classes."
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"name": "dt",
|
|
1192
|
+
"type": "unknown",
|
|
1193
|
+
"default": "",
|
|
1194
|
+
"description": "The design token to use for the component."
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"name": "styles",
|
|
1198
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
1199
|
+
"default": "",
|
|
1200
|
+
"description": "The styles to use for the component."
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "render",
|
|
1204
|
+
"type": "(instance: PortalInstance) => ReactNode & (instance: PopoverPortalInstance) => ReactNode",
|
|
1205
|
+
"default": "",
|
|
1206
|
+
"description": "The render function to render the component with instance access."
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"name": "children",
|
|
1210
|
+
"type": "any",
|
|
1211
|
+
"default": "",
|
|
1212
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": "onMounted",
|
|
1216
|
+
"type": "() => void",
|
|
1217
|
+
"default": "",
|
|
1218
|
+
"description": "Callback function to invoke when the portal is mounted."
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"name": "onUnmounted",
|
|
1222
|
+
"type": "() => void",
|
|
1223
|
+
"default": "",
|
|
1224
|
+
"description": "Callback function to invoke when the portal is unmounted."
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"name": "element",
|
|
1228
|
+
"type": "HTMLElement | ReactNode",
|
|
1229
|
+
"default": "",
|
|
1230
|
+
"description": "The element to be rendered as the portal."
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"name": "elementRef",
|
|
1234
|
+
"type": "RefObject<HTMLElement>",
|
|
1235
|
+
"default": "",
|
|
1236
|
+
"description": "The element reference to be rendered as the portal."
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"name": "appendTo",
|
|
1240
|
+
"type": "string | HTMLElement | ((instance: PortalInstance) => HTMLElement)",
|
|
1241
|
+
"default": "'body'",
|
|
1242
|
+
"description": "The DOM element where the portal should be appended to."
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "[key: string]",
|
|
1246
|
+
"type": "any",
|
|
1247
|
+
"description": ""
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"name": "pt-{optionName}-*",
|
|
1251
|
+
"type": "-",
|
|
1252
|
+
"default": "",
|
|
1253
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
1254
|
+
"deprecated": false
|
|
1255
|
+
}
|
|
1256
|
+
],
|
|
1257
|
+
"methods": []
|
|
1258
|
+
},
|
|
1259
|
+
"PopoverPortalState": {
|
|
1260
|
+
"description": "Defines valid state in PopoverPortal component.",
|
|
1261
|
+
"relatedProp": "",
|
|
1262
|
+
"props": [],
|
|
1263
|
+
"methods": []
|
|
1264
|
+
},
|
|
1265
|
+
"PopoverPortalExposes": {
|
|
1266
|
+
"description": "Defines the methods and properties exposed by PopoverPortal component.",
|
|
1267
|
+
"relatedProp": "",
|
|
1268
|
+
"props": [
|
|
1269
|
+
{
|
|
1270
|
+
"name": "popover",
|
|
1271
|
+
"type": "PopoverRootInstance",
|
|
1272
|
+
"default": "",
|
|
1273
|
+
"description": "The Popover component instance."
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
"methods": []
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
"types": {
|
|
1280
|
+
"PopoverPortalPassThroughType": {
|
|
1281
|
+
"description": "Defines passthrough(pt) options type in PopoverPortal component.",
|
|
1282
|
+
"values": "PassThroughType<PopoverPortalInstance, E>"
|
|
1283
|
+
},
|
|
1284
|
+
"PopoverPortalInstance": {
|
|
1285
|
+
"description": "Instance of PopoverPortal component.",
|
|
1286
|
+
"values": "ComponentInstance<PopoverPortalProps, PopoverPortalState, PopoverPortalExposes>"
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
"variables": {}
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "PopoverPositioner",
|
|
1294
|
+
"source": "apps/showcase/assets/apidoc/popoverpositioner.json",
|
|
1295
|
+
"data": {
|
|
1296
|
+
"description": "PopoverPositioner is a component that displays the positioner of a popover.",
|
|
1297
|
+
"interfaces": {
|
|
1298
|
+
"PopoverPositionerPassThrough": {
|
|
1299
|
+
"description": "Defines passthrough(pt) options of PopoverPositioner component.",
|
|
1300
|
+
"relatedProp": "",
|
|
1301
|
+
"props": [
|
|
1302
|
+
{
|
|
1303
|
+
"name": "root",
|
|
1304
|
+
"type": "PopoverPositionerPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1305
|
+
"default": "",
|
|
1306
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
1307
|
+
}
|
|
1308
|
+
],
|
|
1309
|
+
"methods": []
|
|
1310
|
+
},
|
|
1311
|
+
"PopoverPositionerProps": {
|
|
1312
|
+
"description": "Defines valid properties in PopoverPositioner component.",
|
|
1313
|
+
"relatedProp": "",
|
|
1314
|
+
"extendedTypes": "BaseComponentProps<PopoverPositionerInstance, UsePositionerProps, PopoverPositionerPassThrough>",
|
|
1315
|
+
"props": [
|
|
1316
|
+
{
|
|
1317
|
+
"name": "ref",
|
|
1318
|
+
"type": "Ref<unknown>",
|
|
1319
|
+
"default": "",
|
|
1320
|
+
"description": "The reference to the component instance."
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"name": "pIf",
|
|
1324
|
+
"type": "boolean",
|
|
1325
|
+
"default": "true",
|
|
1326
|
+
"description": "Whether the component should be rendered."
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"name": "style",
|
|
1330
|
+
"type": "CSSProperties | ((instance?: PopoverPositionerInstance) => CSSProperties)",
|
|
1331
|
+
"default": "",
|
|
1332
|
+
"description": "The style to apply to the component."
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"name": "className",
|
|
1336
|
+
"type": "string | ((instance?: PopoverPositionerInstance) => string)",
|
|
1337
|
+
"default": "",
|
|
1338
|
+
"description": "The class name to apply to the component."
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"name": "as",
|
|
1342
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
1343
|
+
"default": "",
|
|
1344
|
+
"description": "The component type to render."
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "asChild",
|
|
1348
|
+
"type": "boolean",
|
|
1349
|
+
"default": "false",
|
|
1350
|
+
"description": "Whether the component should be rendered as a child component."
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "instance",
|
|
1354
|
+
"type": "PopoverPositionerInstance",
|
|
1355
|
+
"default": "",
|
|
1356
|
+
"description": "The instance to pass to the component."
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"name": "pt",
|
|
1360
|
+
"type": "SafeRecord<PopoverPositionerPassThrough>",
|
|
1361
|
+
"default": "",
|
|
1362
|
+
"description": "The pass-through props to pass to the component."
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"name": "ptOptions",
|
|
1366
|
+
"type": "PassThroughOptions",
|
|
1367
|
+
"default": "",
|
|
1368
|
+
"description": "The pass-through options to pass to the component."
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"name": "unstyled",
|
|
1372
|
+
"type": "boolean",
|
|
1373
|
+
"default": "",
|
|
1374
|
+
"description": "Whether the component should be rendered without classes."
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"name": "dt",
|
|
1378
|
+
"type": "unknown",
|
|
1379
|
+
"default": "",
|
|
1380
|
+
"description": "The design token to use for the component."
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"name": "styles",
|
|
1384
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
1385
|
+
"default": "",
|
|
1386
|
+
"description": "The styles to use for the component."
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"name": "render",
|
|
1390
|
+
"type": "(instance: PopoverPositionerInstance) => ReactNode",
|
|
1391
|
+
"default": "",
|
|
1392
|
+
"description": "The render function to render the component with instance access."
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
"name": "children",
|
|
1396
|
+
"type": "any",
|
|
1397
|
+
"default": "",
|
|
1398
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "side",
|
|
1402
|
+
"type": "SideType",
|
|
1403
|
+
"default": "",
|
|
1404
|
+
"description": "The side of the positioner."
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"name": "align",
|
|
1408
|
+
"type": "AlignType",
|
|
1409
|
+
"default": "",
|
|
1410
|
+
"description": "The align of the positioner."
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"name": "sideOffset",
|
|
1414
|
+
"type": "number",
|
|
1415
|
+
"default": "",
|
|
1416
|
+
"description": "The side offset of the positioner."
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"name": "alignOffset",
|
|
1420
|
+
"type": "number",
|
|
1421
|
+
"default": "",
|
|
1422
|
+
"description": "The align offset of the positioner."
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
"name": "flip",
|
|
1426
|
+
"type": "boolean",
|
|
1427
|
+
"default": "",
|
|
1428
|
+
"description": "Whether to flip the positioner."
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"name": "shift",
|
|
1432
|
+
"type": "boolean",
|
|
1433
|
+
"default": "",
|
|
1434
|
+
"description": "Whether to shift the positioner."
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"name": "hideWhenDetached",
|
|
1438
|
+
"type": "boolean",
|
|
1439
|
+
"default": "",
|
|
1440
|
+
"description": "Whether to hide the positioner when detached."
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "strategy",
|
|
1444
|
+
"type": "\"fixed\" | \"absolute\"",
|
|
1445
|
+
"default": "'fixed'",
|
|
1446
|
+
"description": "The positioning strategy."
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
"name": "boundary",
|
|
1450
|
+
"type": "HTMLElement",
|
|
1451
|
+
"default": "",
|
|
1452
|
+
"description": "The boundary element that constrains the positioner placement.\nUsed in JS fallback mode only; CSS Anchor mode uses the containing block."
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"name": "anchor",
|
|
1456
|
+
"type": "HTMLElement",
|
|
1457
|
+
"default": "",
|
|
1458
|
+
"description": "The anchor element."
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"name": "content",
|
|
1462
|
+
"type": "HTMLDivElement",
|
|
1463
|
+
"default": "",
|
|
1464
|
+
"description": "The content element."
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"name": "arrow",
|
|
1468
|
+
"type": "HTMLDivElement",
|
|
1469
|
+
"default": "",
|
|
1470
|
+
"description": "The arrow element."
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"name": "autoZIndex",
|
|
1474
|
+
"type": "boolean",
|
|
1475
|
+
"default": "true",
|
|
1476
|
+
"description": "Whether to automatically manage layering."
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"name": "baseZIndex",
|
|
1480
|
+
"type": "number",
|
|
1481
|
+
"default": "0",
|
|
1482
|
+
"description": "Base zIndex value to use in layering."
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"name": "onPlacementChange",
|
|
1486
|
+
"type": "(placement: { side: SideType; align: AlignType }) => void",
|
|
1487
|
+
"default": "",
|
|
1488
|
+
"description": "Callback invoked when the actual placement changes due to flip or shift."
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"name": "[key: string]",
|
|
1492
|
+
"type": "any",
|
|
1493
|
+
"description": ""
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "pt-{optionName}-*",
|
|
1497
|
+
"type": "-",
|
|
1498
|
+
"default": "",
|
|
1499
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
1500
|
+
"deprecated": false
|
|
1501
|
+
}
|
|
1502
|
+
],
|
|
1503
|
+
"methods": []
|
|
1504
|
+
},
|
|
1505
|
+
"PopoverPositionerState": {
|
|
1506
|
+
"description": "Defines valid state in PopoverPositioner component.",
|
|
1507
|
+
"relatedProp": "",
|
|
1508
|
+
"props": [],
|
|
1509
|
+
"methods": []
|
|
1510
|
+
},
|
|
1511
|
+
"PopoverPositionerExposes": {
|
|
1512
|
+
"description": "Defines the methods and properties exposed by PopoverPositioner component.",
|
|
1513
|
+
"relatedProp": "",
|
|
1514
|
+
"props": [
|
|
1515
|
+
{
|
|
1516
|
+
"name": "popover",
|
|
1517
|
+
"type": "PopoverRootInstance",
|
|
1518
|
+
"default": "",
|
|
1519
|
+
"description": "The Popover component instance."
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "positioner",
|
|
1523
|
+
"type": "UsePositionerInstance",
|
|
1524
|
+
"default": "",
|
|
1525
|
+
"description": "The positioner instance for floating positioning."
|
|
1526
|
+
}
|
|
1527
|
+
],
|
|
1528
|
+
"methods": []
|
|
1529
|
+
}
|
|
1530
|
+
},
|
|
1531
|
+
"types": {
|
|
1532
|
+
"PopoverPositionerPassThroughType": {
|
|
1533
|
+
"description": "Defines passthrough(pt) options type in PopoverPositioner component.",
|
|
1534
|
+
"values": "PassThroughType<PopoverPositionerInstance, E>"
|
|
1535
|
+
},
|
|
1536
|
+
"PopoverPositionerInstance": {
|
|
1537
|
+
"description": "Instance of PopoverPositioner component.",
|
|
1538
|
+
"values": "ComponentInstance<PopoverPositionerProps, PopoverPositionerState, PopoverPositionerExposes>"
|
|
1539
|
+
}
|
|
1540
|
+
},
|
|
1541
|
+
"variables": {}
|
|
1542
|
+
}
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"name": "PopoverRoot",
|
|
1546
|
+
"source": "apps/showcase/assets/apidoc/popoverroot.json",
|
|
1547
|
+
"data": {
|
|
1548
|
+
"description": "Popover component is used to display a popover to the user.",
|
|
1549
|
+
"interfaces": {
|
|
1550
|
+
"PopoverRootPassThrough": {
|
|
1551
|
+
"description": "Defines passthrough(pt) options of Popover component.",
|
|
1552
|
+
"relatedProp": "",
|
|
1553
|
+
"props": [
|
|
1554
|
+
{
|
|
1555
|
+
"name": "root",
|
|
1556
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1557
|
+
"default": "",
|
|
1558
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "trigger",
|
|
1562
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1563
|
+
"default": "",
|
|
1564
|
+
"description": "Used to pass attributes to the trigger's DOM element."
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"name": "positioner",
|
|
1568
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1569
|
+
"default": "",
|
|
1570
|
+
"description": "Used to pass attributes to the positioner's DOM element."
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"name": "popup",
|
|
1574
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1575
|
+
"default": "",
|
|
1576
|
+
"description": "Used to pass attributes to the popup's DOM element."
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"name": "arrow",
|
|
1580
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1581
|
+
"default": "",
|
|
1582
|
+
"description": "Used to pass attributes to the arrow's DOM element."
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"name": "header",
|
|
1586
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1587
|
+
"default": "",
|
|
1588
|
+
"description": "Used to pass attributes to the header's DOM element."
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "title",
|
|
1592
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1593
|
+
"default": "",
|
|
1594
|
+
"description": "Used to pass attributes to the title's DOM element."
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"name": "description",
|
|
1598
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1599
|
+
"default": "",
|
|
1600
|
+
"description": "Used to pass attributes to the description's DOM element."
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"name": "content",
|
|
1604
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1605
|
+
"default": "",
|
|
1606
|
+
"description": "Used to pass attributes to the content's DOM element."
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"name": "footer",
|
|
1610
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1611
|
+
"default": "",
|
|
1612
|
+
"description": "Used to pass attributes to the footer's DOM element."
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"name": "close",
|
|
1616
|
+
"type": "PopoverRootPassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1617
|
+
"default": "",
|
|
1618
|
+
"description": "Used to pass attributes to the close's DOM element."
|
|
1619
|
+
}
|
|
1620
|
+
],
|
|
1621
|
+
"methods": []
|
|
1622
|
+
},
|
|
1623
|
+
"PopoverRootProps": {
|
|
1624
|
+
"description": "Defines valid properties in Popover component.",
|
|
1625
|
+
"relatedProp": "",
|
|
1626
|
+
"extendedTypes": "BaseComponentProps<PopoverRootInstance, UsePopoverProps, PopoverRootPassThrough>",
|
|
1627
|
+
"props": [
|
|
1628
|
+
{
|
|
1629
|
+
"name": "ref",
|
|
1630
|
+
"type": "Ref<unknown>",
|
|
1631
|
+
"default": "",
|
|
1632
|
+
"description": "The reference to the component instance."
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"name": "pIf",
|
|
1636
|
+
"type": "boolean",
|
|
1637
|
+
"default": "true",
|
|
1638
|
+
"description": "Whether the component should be rendered."
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "style",
|
|
1642
|
+
"type": "CSSProperties | ((instance?: PopoverRootInstance) => CSSProperties)",
|
|
1643
|
+
"default": "",
|
|
1644
|
+
"description": "The style to apply to the component."
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"name": "className",
|
|
1648
|
+
"type": "string | ((instance?: PopoverRootInstance) => string)",
|
|
1649
|
+
"default": "",
|
|
1650
|
+
"description": "The class name to apply to the component."
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "as",
|
|
1654
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
1655
|
+
"default": "",
|
|
1656
|
+
"description": "The component type to render."
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"name": "asChild",
|
|
1660
|
+
"type": "boolean",
|
|
1661
|
+
"default": "false",
|
|
1662
|
+
"description": "Whether the component should be rendered as a child component."
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"name": "instance",
|
|
1666
|
+
"type": "PopoverRootInstance",
|
|
1667
|
+
"default": "",
|
|
1668
|
+
"description": "The instance to pass to the component."
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"name": "pt",
|
|
1672
|
+
"type": "SafeRecord<PopoverRootPassThrough>",
|
|
1673
|
+
"default": "",
|
|
1674
|
+
"description": "The pass-through props to pass to the component."
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"name": "ptOptions",
|
|
1678
|
+
"type": "PassThroughOptions",
|
|
1679
|
+
"default": "",
|
|
1680
|
+
"description": "The pass-through options to pass to the component."
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"name": "unstyled",
|
|
1684
|
+
"type": "boolean",
|
|
1685
|
+
"default": "",
|
|
1686
|
+
"description": "Whether the component should be rendered without classes."
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"name": "dt",
|
|
1690
|
+
"type": "unknown",
|
|
1691
|
+
"default": "",
|
|
1692
|
+
"description": "The design token to use for the component."
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"name": "styles",
|
|
1696
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
1697
|
+
"default": "",
|
|
1698
|
+
"description": "The styles to use for the component."
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"name": "render",
|
|
1702
|
+
"type": "(instance: PopoverRootInstance) => ReactNode",
|
|
1703
|
+
"default": "",
|
|
1704
|
+
"description": "The render function to render the component with instance access."
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"name": "children",
|
|
1708
|
+
"type": "any",
|
|
1709
|
+
"default": "",
|
|
1710
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"name": "anchor",
|
|
1714
|
+
"type": "HTMLElement",
|
|
1715
|
+
"default": "undefined",
|
|
1716
|
+
"description": "External anchor element for positioning the popover programmatically.\nWhen provided, it is used instead of the trigger element."
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"name": "defaultOpen",
|
|
1720
|
+
"type": "boolean",
|
|
1721
|
+
"default": "undefined",
|
|
1722
|
+
"description": "Whether the popover is open by default."
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"name": "open",
|
|
1726
|
+
"type": "boolean",
|
|
1727
|
+
"default": "undefined",
|
|
1728
|
+
"description": "Whether the popover is open."
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "trapped",
|
|
1732
|
+
"type": "boolean",
|
|
1733
|
+
"default": "false",
|
|
1734
|
+
"description": "When enabled, focus is trapped within the popover (modal behavior).\nWhen disabled, focus leaving the popover closes it (non-modal behavior)."
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"name": "autoFocus",
|
|
1738
|
+
"type": "boolean",
|
|
1739
|
+
"default": "true",
|
|
1740
|
+
"description": "Whether to focus the first focusable element when the popover is opened."
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"name": "closeOnEscape",
|
|
1744
|
+
"type": "boolean",
|
|
1745
|
+
"default": "true",
|
|
1746
|
+
"description": "Specifies if pressing escape key should hide the dialog."
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"name": "onOpenChange",
|
|
1750
|
+
"type": "(event: UsePopoverOpenChangeEvent) => void",
|
|
1751
|
+
"default": "undefined",
|
|
1752
|
+
"description": "Callback to invoke when the open state changes."
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"name": "onExitComplete",
|
|
1756
|
+
"type": "() => void",
|
|
1757
|
+
"default": "undefined",
|
|
1758
|
+
"description": "Callback fired after the leave (exit) transition completes."
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"name": "appendTo",
|
|
1762
|
+
"type": "\"body\" | HTMLElement | \"self\"",
|
|
1763
|
+
"default": "'body'",
|
|
1764
|
+
"description": "DOM element or CSS selector to append the overlay to."
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"name": "[key: string]",
|
|
1768
|
+
"type": "any",
|
|
1769
|
+
"description": ""
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
"name": "pt-{optionName}-*",
|
|
1773
|
+
"type": "-",
|
|
1774
|
+
"default": "",
|
|
1775
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
1776
|
+
"deprecated": false
|
|
1777
|
+
}
|
|
1778
|
+
],
|
|
1779
|
+
"methods": []
|
|
1780
|
+
},
|
|
1781
|
+
"PopoverRootState": {
|
|
1782
|
+
"description": "Defines valid state in Popover component.",
|
|
1783
|
+
"relatedProp": "",
|
|
1784
|
+
"extendedTypes": "UsePopoverState",
|
|
1785
|
+
"props": [
|
|
1786
|
+
{
|
|
1787
|
+
"name": "open",
|
|
1788
|
+
"type": "boolean",
|
|
1789
|
+
"default": "",
|
|
1790
|
+
"description": "Whether the popover is open."
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"name": "rendered",
|
|
1794
|
+
"type": "boolean",
|
|
1795
|
+
"default": "",
|
|
1796
|
+
"description": "Whether the popover positioner is rendered (stays true during exit animation)."
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"name": "trapped",
|
|
1800
|
+
"type": "boolean",
|
|
1801
|
+
"default": "",
|
|
1802
|
+
"description": "Whether focus is trapped within the popover."
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"name": "anchorElement",
|
|
1806
|
+
"type": "HTMLElement",
|
|
1807
|
+
"default": "",
|
|
1808
|
+
"description": "The anchor element."
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"name": "positionerElement",
|
|
1812
|
+
"type": "HTMLDivElement",
|
|
1813
|
+
"default": "",
|
|
1814
|
+
"description": "The positioner element."
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"name": "popupElement",
|
|
1818
|
+
"type": "HTMLElement",
|
|
1819
|
+
"default": "",
|
|
1820
|
+
"description": "The popup element."
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"name": "arrowElement",
|
|
1824
|
+
"type": "HTMLDivElement",
|
|
1825
|
+
"default": "",
|
|
1826
|
+
"description": "The arrow element."
|
|
1827
|
+
}
|
|
1828
|
+
],
|
|
1829
|
+
"methods": []
|
|
1830
|
+
},
|
|
1831
|
+
"PopoverRootExposes": {
|
|
1832
|
+
"description": "Defines the methods and properties exposed by Popover component.",
|
|
1833
|
+
"relatedProp": "",
|
|
1834
|
+
"extendedTypes": "UsePopoverExposes",
|
|
1835
|
+
"props": [
|
|
1836
|
+
{
|
|
1837
|
+
"name": "state",
|
|
1838
|
+
"type": "UsePopoverState",
|
|
1839
|
+
"default": "",
|
|
1840
|
+
"description": "The state of the usePopover."
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
"name": "setOpen",
|
|
1844
|
+
"type": "(open: boolean, originalEvent?: Event) => void",
|
|
1845
|
+
"default": "",
|
|
1846
|
+
"description": "Sets the open state."
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"name": "setArrowRef",
|
|
1850
|
+
"type": "(node: HTMLDivElement) => void",
|
|
1851
|
+
"default": "",
|
|
1852
|
+
"description": "Sets the arrow element."
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"name": "setAnchorRef",
|
|
1856
|
+
"type": "(node: HTMLElement) => void",
|
|
1857
|
+
"default": "",
|
|
1858
|
+
"description": "Sets the anchor element."
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"name": "setAnchorFallbackRef",
|
|
1862
|
+
"type": "(node: HTMLElement) => void",
|
|
1863
|
+
"default": "",
|
|
1864
|
+
"description": "Sets the fallback anchor element, used when the primary anchor is not set."
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"name": "setPositionerRef",
|
|
1868
|
+
"type": "(node: HTMLDivElement) => void",
|
|
1869
|
+
"default": "",
|
|
1870
|
+
"description": "Sets the positioner element."
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"name": "setPopupRef",
|
|
1874
|
+
"type": "(node: HTMLElement) => void",
|
|
1875
|
+
"default": "",
|
|
1876
|
+
"description": "Sets the popup element."
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "setRendered",
|
|
1880
|
+
"type": "(rendered: boolean) => void",
|
|
1881
|
+
"default": "",
|
|
1882
|
+
"description": "Sets the rendered state of the positioner."
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"name": "triggerProps",
|
|
1886
|
+
"type": "UsePopoverTriggerProps",
|
|
1887
|
+
"default": "",
|
|
1888
|
+
"description": "Pre-built props for the trigger element."
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"name": "popupProps",
|
|
1892
|
+
"type": "UsePopoverPopupProps",
|
|
1893
|
+
"default": "",
|
|
1894
|
+
"description": "Pre-built props for the popup element."
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"name": "closeProps",
|
|
1898
|
+
"type": "UsePopoverCloseProps",
|
|
1899
|
+
"default": "",
|
|
1900
|
+
"description": "Pre-built props for the close button."
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"name": "positionerProps",
|
|
1904
|
+
"type": "UsePopoverPositionerProps",
|
|
1905
|
+
"default": "",
|
|
1906
|
+
"description": "Pre-built props for the positioner element."
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
"name": "arrowProps",
|
|
1910
|
+
"type": "UsePopoverArrowProps",
|
|
1911
|
+
"default": "",
|
|
1912
|
+
"description": "Pre-built props for the arrow element."
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "focusTrap",
|
|
1916
|
+
"type": "UseFocusTrapExposes",
|
|
1917
|
+
"default": "",
|
|
1918
|
+
"description": "Focus trap exposes for sentinel rendering when trapped is true."
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "onOpenComplete",
|
|
1922
|
+
"type": "() => void",
|
|
1923
|
+
"default": "",
|
|
1924
|
+
"description": "Callback to invoke after the popover open animation completes.\nHandles autoFocus behavior internally."
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"name": "onCloseComplete",
|
|
1928
|
+
"type": "() => void",
|
|
1929
|
+
"default": "",
|
|
1930
|
+
"description": "Callback to invoke after the popover close animation completes."
|
|
1931
|
+
}
|
|
1932
|
+
],
|
|
1933
|
+
"methods": []
|
|
1934
|
+
},
|
|
1935
|
+
"PopoverRootOpenChangeEvent": {
|
|
1936
|
+
"description": "Event fired when the popover's open state changes.",
|
|
1937
|
+
"relatedProp": "",
|
|
1938
|
+
"extendedTypes": "UsePopoverOpenChangeEvent",
|
|
1939
|
+
"props": [
|
|
1940
|
+
{
|
|
1941
|
+
"name": "originalEvent",
|
|
1942
|
+
"type": "Event",
|
|
1943
|
+
"default": "",
|
|
1944
|
+
"description": "The original browser event that triggered the change."
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "value",
|
|
1948
|
+
"type": "boolean",
|
|
1949
|
+
"default": "",
|
|
1950
|
+
"description": "The open value of the popover."
|
|
1951
|
+
}
|
|
1952
|
+
],
|
|
1953
|
+
"methods": []
|
|
1954
|
+
}
|
|
1955
|
+
},
|
|
1956
|
+
"types": {
|
|
1957
|
+
"PopoverRootPassThroughType": {
|
|
1958
|
+
"description": "Defines passthrough(pt) options type in Popover component.",
|
|
1959
|
+
"values": "PassThroughType<PopoverRootInstance, E>"
|
|
1960
|
+
},
|
|
1961
|
+
"PopoverRootInstance": {
|
|
1962
|
+
"description": "Instance of Popover component.",
|
|
1963
|
+
"values": "ComponentInstance<PopoverRootProps, PopoverRootState, PopoverRootExposes>"
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
"variables": {}
|
|
1967
|
+
}
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"name": "PopoverTitle",
|
|
1971
|
+
"source": "apps/showcase/assets/apidoc/popovertitle.json",
|
|
1972
|
+
"data": {
|
|
1973
|
+
"description": "PopoverTitle is a component that displays the title of a popover.",
|
|
1974
|
+
"interfaces": {
|
|
1975
|
+
"PopoverTitlePassThrough": {
|
|
1976
|
+
"description": "Defines passthrough(pt) options of PopoverTitle component.",
|
|
1977
|
+
"relatedProp": "",
|
|
1978
|
+
"props": [
|
|
1979
|
+
{
|
|
1980
|
+
"name": "root",
|
|
1981
|
+
"type": "PopoverTitlePassThroughType<HTMLAttributes<HTMLDivElement>>",
|
|
1982
|
+
"default": "",
|
|
1983
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
1984
|
+
}
|
|
1985
|
+
],
|
|
1986
|
+
"methods": []
|
|
1987
|
+
},
|
|
1988
|
+
"PopoverTitleProps": {
|
|
1989
|
+
"description": "Defines valid properties in PopoverTitle component.",
|
|
1990
|
+
"relatedProp": "",
|
|
1991
|
+
"extendedTypes": "BaseComponentProps<PopoverTitleInstance, unknown, PopoverTitlePassThrough>",
|
|
1992
|
+
"props": [
|
|
1993
|
+
{
|
|
1994
|
+
"name": "ref",
|
|
1995
|
+
"type": "Ref<unknown>",
|
|
1996
|
+
"default": "",
|
|
1997
|
+
"description": "The reference to the component instance."
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"name": "pIf",
|
|
2001
|
+
"type": "boolean",
|
|
2002
|
+
"default": "true",
|
|
2003
|
+
"description": "Whether the component should be rendered."
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"name": "style",
|
|
2007
|
+
"type": "CSSProperties | ((instance?: PopoverTitleInstance) => CSSProperties)",
|
|
2008
|
+
"default": "",
|
|
2009
|
+
"description": "The style to apply to the component."
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"name": "className",
|
|
2013
|
+
"type": "string | ((instance?: PopoverTitleInstance) => string)",
|
|
2014
|
+
"default": "",
|
|
2015
|
+
"description": "The class name to apply to the component."
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "as",
|
|
2019
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2020
|
+
"default": "",
|
|
2021
|
+
"description": "The component type to render."
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"name": "asChild",
|
|
2025
|
+
"type": "boolean",
|
|
2026
|
+
"default": "false",
|
|
2027
|
+
"description": "Whether the component should be rendered as a child component."
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"name": "instance",
|
|
2031
|
+
"type": "PopoverTitleInstance",
|
|
2032
|
+
"default": "",
|
|
2033
|
+
"description": "The instance to pass to the component."
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
"name": "pt",
|
|
2037
|
+
"type": "SafeRecord<PopoverTitlePassThrough>",
|
|
2038
|
+
"default": "",
|
|
2039
|
+
"description": "The pass-through props to pass to the component."
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
"name": "ptOptions",
|
|
2043
|
+
"type": "PassThroughOptions",
|
|
2044
|
+
"default": "",
|
|
2045
|
+
"description": "The pass-through options to pass to the component."
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"name": "unstyled",
|
|
2049
|
+
"type": "boolean",
|
|
2050
|
+
"default": "",
|
|
2051
|
+
"description": "Whether the component should be rendered without classes."
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"name": "dt",
|
|
2055
|
+
"type": "unknown",
|
|
2056
|
+
"default": "",
|
|
2057
|
+
"description": "The design token to use for the component."
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"name": "styles",
|
|
2061
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
2062
|
+
"default": "",
|
|
2063
|
+
"description": "The styles to use for the component."
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"name": "render",
|
|
2067
|
+
"type": "(instance: PopoverTitleInstance) => ReactNode",
|
|
2068
|
+
"default": "",
|
|
2069
|
+
"description": "The render function to render the component with instance access."
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"name": "children",
|
|
2073
|
+
"type": "any",
|
|
2074
|
+
"default": "",
|
|
2075
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"name": "[key: string]",
|
|
2079
|
+
"type": "any",
|
|
2080
|
+
"description": ""
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"name": "pt-{optionName}-*",
|
|
2084
|
+
"type": "-",
|
|
2085
|
+
"default": "",
|
|
2086
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
2087
|
+
"deprecated": false
|
|
2088
|
+
}
|
|
2089
|
+
],
|
|
2090
|
+
"methods": []
|
|
2091
|
+
},
|
|
2092
|
+
"PopoverTitleState": {
|
|
2093
|
+
"description": "Defines valid state in PopoverTitle component.",
|
|
2094
|
+
"relatedProp": "",
|
|
2095
|
+
"props": [],
|
|
2096
|
+
"methods": []
|
|
2097
|
+
},
|
|
2098
|
+
"PopoverTitleExposes": {
|
|
2099
|
+
"description": "Defines the methods and properties exposed by PopoverTitle component.",
|
|
2100
|
+
"relatedProp": "",
|
|
2101
|
+
"props": [
|
|
2102
|
+
{
|
|
2103
|
+
"name": "popover",
|
|
2104
|
+
"type": "PopoverRootInstance",
|
|
2105
|
+
"default": "",
|
|
2106
|
+
"description": "The Popover component instance."
|
|
2107
|
+
}
|
|
2108
|
+
],
|
|
2109
|
+
"methods": []
|
|
2110
|
+
}
|
|
2111
|
+
},
|
|
2112
|
+
"types": {
|
|
2113
|
+
"PopoverTitlePassThroughType": {
|
|
2114
|
+
"description": "Defines passthrough(pt) options type in PopoverTitle component.",
|
|
2115
|
+
"values": "PassThroughType<PopoverTitleInstance, E>"
|
|
2116
|
+
},
|
|
2117
|
+
"PopoverTitleInstance": {
|
|
2118
|
+
"description": "Instance of PopoverTitle component.",
|
|
2119
|
+
"values": "ComponentInstance<PopoverTitleProps, PopoverTitleState, PopoverTitleExposes>"
|
|
2120
|
+
}
|
|
2121
|
+
},
|
|
2122
|
+
"variables": {}
|
|
2123
|
+
}
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"name": "PopoverTrigger",
|
|
2127
|
+
"source": "apps/showcase/assets/apidoc/popovertrigger.json",
|
|
2128
|
+
"data": {
|
|
2129
|
+
"description": "PopoverTrigger is a component that displays the trigger of a popover.",
|
|
2130
|
+
"interfaces": {
|
|
2131
|
+
"PopoverTriggerPassThrough": {
|
|
2132
|
+
"description": "Defines passthrough(pt) options of PopoverTrigger component.",
|
|
2133
|
+
"relatedProp": "",
|
|
2134
|
+
"props": [
|
|
2135
|
+
{
|
|
2136
|
+
"name": "root",
|
|
2137
|
+
"type": "PopoverTriggerPassThroughType<HTMLAttributes<HTMLButtonElement>>",
|
|
2138
|
+
"default": "",
|
|
2139
|
+
"description": "Used to pass attributes to the root's DOM element."
|
|
2140
|
+
}
|
|
2141
|
+
],
|
|
2142
|
+
"methods": []
|
|
2143
|
+
},
|
|
2144
|
+
"PopoverTriggerProps": {
|
|
2145
|
+
"description": "Defines valid properties in PopoverTrigger component.",
|
|
2146
|
+
"relatedProp": "",
|
|
2147
|
+
"extendedTypes": "BaseComponentProps<PopoverTriggerInstance, unknown, PopoverTriggerPassThrough>",
|
|
2148
|
+
"props": [
|
|
2149
|
+
{
|
|
2150
|
+
"name": "ref",
|
|
2151
|
+
"type": "Ref<unknown>",
|
|
2152
|
+
"default": "",
|
|
2153
|
+
"description": "The reference to the component instance."
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"name": "pIf",
|
|
2157
|
+
"type": "boolean",
|
|
2158
|
+
"default": "true",
|
|
2159
|
+
"description": "Whether the component should be rendered."
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"name": "style",
|
|
2163
|
+
"type": "CSSProperties | ((instance?: PopoverTriggerInstance) => CSSProperties)",
|
|
2164
|
+
"default": "",
|
|
2165
|
+
"description": "The style to apply to the component."
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "className",
|
|
2169
|
+
"type": "string | ((instance?: PopoverTriggerInstance) => string)",
|
|
2170
|
+
"default": "",
|
|
2171
|
+
"description": "The class name to apply to the component."
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"name": "as",
|
|
2175
|
+
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
2176
|
+
"default": "",
|
|
2177
|
+
"description": "The component type to render."
|
|
2178
|
+
},
|
|
2179
|
+
{
|
|
2180
|
+
"name": "asChild",
|
|
2181
|
+
"type": "boolean",
|
|
2182
|
+
"default": "false",
|
|
2183
|
+
"description": "Whether the component should be rendered as a child component."
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
"name": "instance",
|
|
2187
|
+
"type": "PopoverTriggerInstance",
|
|
2188
|
+
"default": "",
|
|
2189
|
+
"description": "The instance to pass to the component."
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"name": "pt",
|
|
2193
|
+
"type": "SafeRecord<PopoverTriggerPassThrough>",
|
|
2194
|
+
"default": "",
|
|
2195
|
+
"description": "The pass-through props to pass to the component."
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
"name": "ptOptions",
|
|
2199
|
+
"type": "PassThroughOptions",
|
|
2200
|
+
"default": "",
|
|
2201
|
+
"description": "The pass-through options to pass to the component."
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"name": "unstyled",
|
|
2205
|
+
"type": "boolean",
|
|
2206
|
+
"default": "",
|
|
2207
|
+
"description": "Whether the component should be rendered without classes."
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
"name": "dt",
|
|
2211
|
+
"type": "unknown",
|
|
2212
|
+
"default": "",
|
|
2213
|
+
"description": "The design token to use for the component."
|
|
2214
|
+
},
|
|
2215
|
+
{
|
|
2216
|
+
"name": "styles",
|
|
2217
|
+
"type": "StylesOptions<ComponentInstance>",
|
|
2218
|
+
"default": "",
|
|
2219
|
+
"description": "The styles to use for the component."
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"name": "render",
|
|
2223
|
+
"type": "(instance: PopoverTriggerInstance) => ReactNode",
|
|
2224
|
+
"default": "",
|
|
2225
|
+
"description": "The render function to render the component with instance access."
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "children",
|
|
2229
|
+
"type": "any",
|
|
2230
|
+
"default": "",
|
|
2231
|
+
"description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
"name": "[key: string]",
|
|
2235
|
+
"type": "any",
|
|
2236
|
+
"description": ""
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"name": "pt-{optionName}-*",
|
|
2240
|
+
"type": "-",
|
|
2241
|
+
"default": "",
|
|
2242
|
+
"description": "Pass through attributes for customizing component parts.",
|
|
2243
|
+
"deprecated": false
|
|
2244
|
+
}
|
|
2245
|
+
],
|
|
2246
|
+
"methods": []
|
|
2247
|
+
},
|
|
2248
|
+
"PopoverTriggerState": {
|
|
2249
|
+
"description": "Defines valid state in PopoverTrigger component.",
|
|
2250
|
+
"relatedProp": "",
|
|
2251
|
+
"props": [],
|
|
2252
|
+
"methods": []
|
|
2253
|
+
},
|
|
2254
|
+
"PopoverTriggerExposes": {
|
|
2255
|
+
"description": "Defines the methods and properties exposed by PopoverTrigger component.",
|
|
2256
|
+
"relatedProp": "",
|
|
2257
|
+
"props": [
|
|
2258
|
+
{
|
|
2259
|
+
"name": "popover",
|
|
2260
|
+
"type": "PopoverRootInstance",
|
|
2261
|
+
"default": "",
|
|
2262
|
+
"description": "The Popover component instance."
|
|
2263
|
+
}
|
|
2264
|
+
],
|
|
2265
|
+
"methods": []
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
"types": {
|
|
2269
|
+
"PopoverTriggerPassThroughType": {
|
|
2270
|
+
"description": "Defines passthrough(pt) options type in PopoverTrigger component.",
|
|
2271
|
+
"values": "PassThroughType<PopoverTriggerInstance, E>"
|
|
2272
|
+
},
|
|
2273
|
+
"PopoverTriggerInstance": {
|
|
2274
|
+
"description": "Instance of PopoverTrigger component.",
|
|
2275
|
+
"values": "ComponentInstance<PopoverTriggerProps, PopoverTriggerState, PopoverTriggerExposes>"
|
|
2276
|
+
}
|
|
2277
|
+
},
|
|
2278
|
+
"variables": {}
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
]
|