primereact 10.3.0 → 10.3.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/accordion/accordion.cjs.js +24 -20
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.d.ts +36 -1
- package/accordion/accordion.esm.js +16 -12
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +22 -18
- package/accordion/accordion.min.js +1 -1
- package/api/api.cjs.js +39 -33
- package/api/api.cjs.min.js +1 -1
- package/api/api.d.ts +14 -3
- package/api/api.esm.js +39 -33
- package/api/api.esm.min.js +1 -1
- package/api/api.js +39 -33
- package/api/api.min.js +1 -1
- package/autocomplete/autocomplete.cjs.js +24 -21
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.d.ts +6 -1
- package/autocomplete/autocomplete.esm.js +7 -4
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +24 -21
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +6 -4
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +3 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +7 -6
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +3 -1
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +3 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +4 -3
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/badge.cjs.js +3 -1
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +3 -1
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +4 -3
- package/badge/badge.min.js +1 -1
- package/blockui/blockui.cjs.js +11 -7
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +11 -7
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +11 -7
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +12 -11
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +3 -2
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +12 -11
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +9 -6
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +4 -1
- package/button/button.esm.min.js +1 -1
- package/button/button.js +10 -8
- package/button/button.min.js +1 -1
- package/calendar/calendar.cjs.js +158 -113
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.d.ts +3 -5
- package/calendar/calendar.esm.js +92 -47
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +158 -113
- package/calendar/calendar.min.js +1 -1
- package/card/card.cjs.js +11 -9
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +4 -2
- package/card/card.esm.min.js +1 -1
- package/card/card.js +10 -9
- package/card/card.min.js +1 -1
- package/carousel/carousel.cjs.js +1 -1
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +1 -1
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +1 -1
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/cascadeselect.cjs.js +60 -36
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.d.ts +27 -4
- package/cascadeselect/cascadeselect.esm.js +46 -22
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +61 -37
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +4 -3
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +3 -2
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +5 -4
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.js +31 -30
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +28 -27
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +32 -31
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +13 -7
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.d.ts +17 -2
- package/chip/chip.esm.js +9 -3
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +14 -9
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +10 -8
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +5 -3
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +10 -8
- package/chips/chips.min.js +1 -1
- package/colorpicker/colorpicker.cjs.js +9 -8
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.d.ts +1 -1
- package/colorpicker/colorpicker.esm.js +2 -1
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +9 -8
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/column.d.ts +1 -1
- package/componentbase/componentbase.cjs.js +62 -50
- package/componentbase/componentbase.cjs.min.js +1 -1
- package/componentbase/componentbase.esm.js +63 -51
- package/componentbase/componentbase.esm.min.js +1 -1
- package/componentbase/componentbase.js +62 -50
- package/componentbase/componentbase.min.js +1 -1
- package/confirmdialog/confirmdialog.cjs.js +32 -22
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.d.ts +19 -3
- package/confirmdialog/confirmdialog.esm.js +30 -20
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +32 -22
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/confirmpopup.cjs.js +41 -128
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.d.ts +12 -2
- package/confirmpopup/confirmpopup.esm.js +36 -123
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +41 -128
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/contextmenu.cjs.js +14 -12
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.d.ts +1 -1
- package/contextmenu/contextmenu.esm.js +5 -3
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +14 -12
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +1232 -649
- package/core/core.min.js +44 -44
- package/datascroller/datascroller.cjs.js +8 -7
- package/datascroller/datascroller.cjs.min.js +1 -1
- package/datascroller/datascroller.esm.js +3 -2
- package/datascroller/datascroller.esm.min.js +1 -1
- package/datascroller/datascroller.js +8 -7
- package/datascroller/datascroller.min.js +1 -1
- package/datatable/datatable.cjs.js +166 -146
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +4 -3
- package/datatable/datatable.esm.js +72 -52
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +166 -146
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.d.ts +1 -1
- package/deferredcontent/deferredcontent.cjs.js +3 -3
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +3 -3
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +4 -3
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +40 -130
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.d.ts +2 -2
- package/dialog/dialog.esm.js +35 -125
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +41 -131
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +6 -4
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +4 -2
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +5 -4
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +10 -9
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +3 -2
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +10 -9
- package/dock/dock.min.js +1 -1
- package/dropdown/dropdown.cjs.js +46 -36
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.d.ts +1 -1
- package/dropdown/dropdown.esm.js +21 -11
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +47 -37
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +8 -7
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +4 -3
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +8 -7
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +9 -8
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +3 -2
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +9 -8
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/fileupload.cjs.js +25 -24
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +5 -4
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +26 -26
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/galleria.cjs.js +13 -12
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +4 -3
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +14 -13
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +254 -94
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.d.ts +12 -4
- package/hooks/hooks.esm.js +253 -96
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +254 -94
- package/hooks/hooks.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +1 -1
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +1 -1
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +1 -1
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowup/index.cjs.js +1 -1
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +1 -1
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +1 -1
- package/icons/arrowup/index.min.js +1 -1
- package/icons/ban/index.cjs.js +1 -1
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +1 -1
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +1 -1
- package/icons/ban/index.min.js +1 -1
- package/icons/download/index.cjs.js +1 -1
- package/icons/download/index.cjs.min.js +1 -1
- package/icons/download/index.esm.js +1 -1
- package/icons/download/index.esm.min.js +1 -1
- package/icons/download/index.js +1 -1
- package/icons/download/index.min.js +1 -1
- package/icons/exclamationtriangle/index.cjs.js +1 -1
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +1 -1
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +1 -1
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/eyeslash/index.cjs.js +1 -1
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +1 -1
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +1 -1
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/filter/index.cjs.js +1 -1
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +1 -1
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +1 -1
- package/icons/filter/index.min.js +1 -1
- package/icons/filterslash/index.cjs.js +1 -1
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +1 -1
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +1 -1
- package/icons/filterslash/index.min.js +1 -1
- package/icons/infocircle/index.cjs.js +1 -1
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +1 -1
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +1 -1
- package/icons/infocircle/index.min.js +1 -1
- package/icons/pencil/index.cjs.js +1 -1
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +1 -1
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +1 -1
- package/icons/pencil/index.min.js +1 -1
- package/icons/plus/index.cjs.js +1 -1
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +1 -1
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +1 -1
- package/icons/plus/index.min.js +1 -1
- package/icons/refresh/index.cjs.js +1 -1
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +1 -1
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +1 -1
- package/icons/refresh/index.min.js +1 -1
- package/icons/search/index.cjs.js +1 -1
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +1 -1
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +1 -1
- package/icons/search/index.min.js +1 -1
- package/icons/searchminus/index.cjs.js +1 -1
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +1 -1
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +1 -1
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchplus/index.cjs.js +1 -1
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +1 -1
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +1 -1
- package/icons/searchplus/index.min.js +1 -1
- package/icons/sortalt/index.cjs.js +1 -1
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +1 -1
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +1 -1
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortamountdown/index.cjs.js +1 -1
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +1 -1
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +1 -1
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountupalt/index.cjs.js +1 -1
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +1 -1
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +1 -1
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/spinner/index.cjs.js +1 -1
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +1 -1
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +1 -1
- package/icons/spinner/index.min.js +1 -1
- package/icons/star/index.cjs.js +1 -1
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +1 -1
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +1 -1
- package/icons/star/index.min.js +1 -1
- package/icons/starfill/index.cjs.js +1 -1
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +1 -1
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +1 -1
- package/icons/starfill/index.min.js +1 -1
- package/icons/thlarge/index.cjs.js +1 -1
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +1 -1
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +1 -1
- package/icons/thlarge/index.min.js +1 -1
- package/icons/timescircle/index.cjs.js +1 -1
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +1 -1
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +1 -1
- package/icons/timescircle/index.min.js +1 -1
- package/icons/trash/index.cjs.js +1 -1
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +1 -1
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +1 -1
- package/icons/trash/index.min.js +1 -1
- package/icons/undo/index.cjs.js +1 -1
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +1 -1
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +1 -1
- package/icons/undo/index.min.js +1 -1
- package/icons/upload/index.cjs.js +1 -1
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +1 -1
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +1 -1
- package/icons/upload/index.min.js +1 -1
- package/icons/windowmaximize/index.cjs.js +1 -1
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +1 -1
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +1 -1
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowminimize/index.cjs.js +1 -1
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +1 -1
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +1 -1
- package/icons/windowminimize/index.min.js +1 -1
- package/image/image.cjs.js +45 -151
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +26 -132
- package/image/image.esm.min.js +1 -1
- package/image/image.js +46 -152
- package/image/image.min.js +1 -1
- package/inplace/inplace.cjs.js +12 -4
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +9 -1
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +13 -6
- package/inplace/inplace.min.js +1 -1
- package/inputmask/inputmask.cjs.js +15 -6
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +15 -6
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +15 -6
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +84 -26
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.d.ts +7 -0
- package/inputnumber/inputnumber.esm.js +80 -22
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +84 -26
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +8 -7
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +6 -5
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +8 -7
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/inputtext.cjs.js +10 -7
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +10 -7
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +11 -9
- package/inputtext/inputtext.min.js +1 -1
- package/inputtextarea/inputtextarea.cjs.js +3 -1
- package/inputtextarea/inputtextarea.cjs.min.js +1 -1
- package/inputtextarea/inputtextarea.esm.js +3 -1
- package/inputtextarea/inputtextarea.esm.min.js +1 -1
- package/inputtextarea/inputtextarea.js +4 -3
- package/inputtextarea/inputtextarea.min.js +1 -1
- package/knob/knob.cjs.js +7 -6
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +3 -2
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +8 -7
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +31 -14
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.d.ts +8 -3
- package/listbox/listbox.esm.js +23 -6
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +31 -14
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +94 -92
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +73 -71
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +94 -92
- package/megamenu/megamenu.min.js +1 -1
- package/mention/mention.cjs.js +133 -57
- package/mention/mention.cjs.min.js +1 -1
- package/mention/mention.d.ts +4 -0
- package/mention/mention.esm.js +128 -52
- package/mention/mention.esm.min.js +1 -1
- package/mention/mention.js +133 -57
- package/mention/mention.min.js +1 -1
- package/menu/menu.cjs.js +22 -117
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +1 -1
- package/menu/menu.esm.js +15 -110
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +22 -117
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +15 -13
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +4 -2
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +15 -13
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +5 -3
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +3 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.js +6 -5
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +5 -4
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +3 -2
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +6 -5
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +89 -67
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +5 -1
- package/multiselect/multiselect.esm.js +56 -34
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +90 -68
- package/multiselect/multiselect.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.cjs.js +5 -4
- package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.esm.js +3 -2
- package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
- package/multistatecheckbox/multistatecheckbox.js +5 -4
- package/multistatecheckbox/multistatecheckbox.min.js +1 -1
- package/orderlist/orderlist.cjs.js +21 -18
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.d.ts +11 -1
- package/orderlist/orderlist.esm.js +6 -3
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +21 -18
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +32 -19
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +15 -2
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +31 -19
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/overlaypanel.cjs.js +15 -109
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.d.ts +1 -1
- package/overlaypanel/overlaypanel.esm.js +12 -106
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +16 -110
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +271 -21
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.d.ts +2 -2
- package/paginator/paginator.esm.js +265 -15
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +271 -21
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +11 -10
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +3 -2
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +11 -10
- package/panel/panel.min.js +1 -1
- package/panelmenu/panelmenu.cjs.js +39 -34
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +20 -15
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +39 -34
- package/panelmenu/panelmenu.min.js +1 -1
- package/passthrough/index.cjs.js +5 -3
- package/passthrough/index.cjs.min.js +1 -1
- package/passthrough/index.d.ts +1 -0
- package/passthrough/index.esm.js +5 -3
- package/passthrough/index.esm.min.js +1 -1
- package/passthrough/index.js +5 -3
- package/passthrough/index.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +401 -391
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +401 -391
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +401 -391
- package/passthrough/tailwind/index.min.js +1 -1
- package/password/password.cjs.js +18 -12
- package/password/password.cjs.min.js +1 -1
- package/password/password.d.ts +1 -1
- package/password/password.esm.js +11 -5
- package/password/password.esm.min.js +1 -1
- package/password/password.js +18 -12
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +725 -192
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.d.ts +11 -1
- package/picklist/picklist.esm.js +713 -180
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +725 -192
- package/picklist/picklist.min.js +1 -1
- package/portal/portal.cjs.js +7 -1
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +7 -1
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +7 -1
- package/portal/portal.min.js +1 -1
- package/primereact.all.cjs.js +3715 -2447
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +3711 -2447
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +3715 -2447
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +8 -6
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +3 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +9 -8
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/progressspinner.cjs.js +5 -3
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +3 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +6 -5
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/radiobutton.cjs.js +32 -31
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +29 -28
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +33 -32
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +9 -7
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +4 -2
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +9 -8
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +18 -9
- package/resources/themes/arya-green/theme.css +18 -9
- package/resources/themes/arya-orange/theme.css +18 -9
- package/resources/themes/arya-purple/theme.css +18 -9
- package/resources/themes/bootstrap4-dark-blue/theme.css +18 -9
- package/resources/themes/bootstrap4-dark-purple/theme.css +18 -9
- package/resources/themes/bootstrap4-light-blue/theme.css +18 -9
- package/resources/themes/bootstrap4-light-purple/theme.css +18 -9
- package/resources/themes/fluent-light/theme.css +18 -9
- package/resources/themes/lara-dark-amber/theme.css +18 -9
- package/resources/themes/lara-dark-blue/theme.css +18 -9
- package/resources/themes/lara-dark-cyan/theme.css +18 -9
- package/resources/themes/lara-dark-green/theme.css +18 -9
- package/resources/themes/lara-dark-indigo/theme.css +18 -9
- package/resources/themes/lara-dark-pink/theme.css +18 -9
- package/resources/themes/lara-dark-purple/theme.css +18 -9
- package/resources/themes/lara-dark-teal/theme.css +18 -9
- package/resources/themes/lara-light-amber/theme.css +18 -9
- package/resources/themes/lara-light-blue/theme.css +18 -9
- package/resources/themes/lara-light-cyan/theme.css +18 -9
- package/resources/themes/lara-light-green/theme.css +18 -9
- package/resources/themes/lara-light-indigo/theme.css +18 -9
- package/resources/themes/lara-light-pink/theme.css +18 -9
- package/resources/themes/lara-light-purple/theme.css +18 -9
- package/resources/themes/lara-light-teal/theme.css +18 -9
- package/resources/themes/luna-amber/theme.css +18 -9
- package/resources/themes/luna-blue/theme.css +18 -9
- package/resources/themes/luna-green/theme.css +18 -9
- package/resources/themes/luna-pink/theme.css +18 -9
- package/resources/themes/md-dark-deeppurple/theme.css +18 -9
- package/resources/themes/md-dark-indigo/theme.css +18 -9
- package/resources/themes/md-light-deeppurple/theme.css +18 -9
- package/resources/themes/md-light-indigo/theme.css +18 -9
- package/resources/themes/mdc-dark-deeppurple/theme.css +18 -9
- package/resources/themes/mdc-dark-indigo/theme.css +18 -9
- package/resources/themes/mdc-light-deeppurple/theme.css +18 -9
- package/resources/themes/mdc-light-indigo/theme.css +18 -9
- package/resources/themes/mira/theme.css +18 -9
- package/resources/themes/nano/theme.css +18 -9
- package/resources/themes/nova/theme.css +18 -9
- package/resources/themes/nova-accent/theme.css +18 -9
- package/resources/themes/nova-alt/theme.css +18 -9
- package/resources/themes/rhea/theme.css +18 -9
- package/resources/themes/saga-blue/theme.css +18 -9
- package/resources/themes/saga-green/theme.css +18 -9
- package/resources/themes/saga-orange/theme.css +18 -9
- package/resources/themes/saga-purple/theme.css +18 -9
- package/resources/themes/soho-dark/theme.css +18 -9
- package/resources/themes/soho-light/theme.css +18 -9
- package/resources/themes/tailwind-light/theme.css +18 -9
- package/resources/themes/vela-blue/theme.css +18 -9
- package/resources/themes/vela-green/theme.css +18 -9
- package/resources/themes/vela-orange/theme.css +18 -9
- package/resources/themes/vela-purple/theme.css +18 -9
- package/resources/themes/viva-dark/theme.css +18 -9
- package/resources/themes/viva-light/theme.css +18 -9
- package/ripple/ripple.cjs.js +8 -4
- package/ripple/ripple.cjs.min.js +1 -1
- package/ripple/ripple.esm.js +9 -5
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +8 -4
- package/ripple/ripple.min.js +1 -1
- package/row/row.cjs.js +4 -2
- package/row/row.cjs.min.js +1 -1
- package/row/row.esm.js +4 -2
- package/row/row.esm.min.js +1 -1
- package/row/row.js +4 -3
- package/row/row.min.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +7 -6
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +3 -2
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +8 -7
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +4 -3
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +3 -2
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +4 -3
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +6 -3
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +4 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +7 -5
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.js +17 -113
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.d.ts +3 -3
- package/sidebar/sidebar.esm.js +12 -108
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +18 -114
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +3 -1
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +3 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +4 -3
- package/skeleton/skeleton.min.js +1 -1
- package/slidemenu/slidemenu.cjs.js +23 -116
- package/slidemenu/slidemenu.cjs.min.js +1 -1
- package/slidemenu/slidemenu.d.ts +1 -1
- package/slidemenu/slidemenu.esm.js +12 -105
- package/slidemenu/slidemenu.esm.min.js +1 -1
- package/slidemenu/slidemenu.js +23 -116
- package/slidemenu/slidemenu.min.js +1 -1
- package/slider/slider.cjs.js +6 -5
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +4 -3
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +6 -5
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +19 -10
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +14 -5
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +19 -10
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +105 -94
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.d.ts +1 -1
- package/splitbutton/splitbutton.esm.js +94 -83
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +105 -94
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +5 -4
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +3 -2
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +5 -4
- package/splitter/splitter.min.js +1 -1
- package/steps/steps.cjs.js +8 -7
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +3 -2
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +8 -7
- package/steps/steps.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +17 -14
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +12 -9
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +17 -14
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/tabview.cjs.js +38 -22
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.d.ts +35 -0
- package/tabview/tabview.esm.js +26 -10
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +38 -22
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +5 -3
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +3 -1
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +6 -5
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +11 -9
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +3 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +12 -11
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +14 -12
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.d.ts +1 -1
- package/tieredmenu/tieredmenu.esm.js +6 -4
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +14 -12
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/timeline.cjs.js +10 -8
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +3 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +10 -9
- package/timeline/timeline.min.js +1 -1
- package/toast/toast.cjs.js +12 -10
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.d.ts +2 -2
- package/toast/toast.esm.js +4 -2
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +12 -10
- package/toast/toast.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +78 -7
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +77 -6
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +79 -8
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/toolbar.cjs.js +7 -5
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +3 -1
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +7 -6
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +4 -3
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.d.ts +27 -0
- package/tooltip/tooltip.esm.js +3 -2
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +4 -3
- package/tooltip/tooltip.min.js +1 -1
- package/tooltip/tooltipoptions.d.ts +1 -1
- package/tree/tree.cjs.js +267 -150
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.d.ts +8 -0
- package/tree/tree.esm.js +250 -133
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +268 -152
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.cjs.js +209 -71
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.d.ts +26 -1
- package/treeselect/treeselect.esm.js +191 -53
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +210 -73
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/treetable.cjs.js +139 -107
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.d.ts +3 -3
- package/treetable/treetable.esm.js +86 -54
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +139 -107
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +6 -5
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +3 -2
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +6 -5
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +52 -9
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +3 -2
- package/utils/utils.esm.js +52 -10
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +52 -9
- package/utils/utils.min.js +1 -1
- package/web-types.json +137 -30
|
@@ -3258,6 +3258,7 @@
|
|
|
3258
3258
|
padding: 0.5rem 0;
|
|
3259
3259
|
border-bottom-right-radius: 3px;
|
|
3260
3260
|
border-bottom-left-radius: 3px;
|
|
3261
|
+
outline: 0 none;
|
|
3261
3262
|
}
|
|
3262
3263
|
.p-picklist .p-picklist-list .p-picklist-item {
|
|
3263
3264
|
padding: 0.5rem 1rem;
|
|
@@ -3271,15 +3272,17 @@
|
|
|
3271
3272
|
background: rgba(255, 255, 255, 0.03);
|
|
3272
3273
|
color: rgba(255, 255, 255, 0.87);
|
|
3273
3274
|
}
|
|
3274
|
-
.p-picklist .p-picklist-list .p-picklist-item
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
box-shadow: inset 0 0 0 0.15rem #a7d8a9;
|
|
3275
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
|
|
3276
|
+
color: rgba(255, 255, 255, 0.87);
|
|
3277
|
+
background: rgba(255, 255, 255, 0.09);
|
|
3278
3278
|
}
|
|
3279
3279
|
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
|
|
3280
3280
|
color: rgba(255, 255, 255, 0.87);
|
|
3281
3281
|
background: rgba(129, 199, 132, 0.16);
|
|
3282
3282
|
}
|
|
3283
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
|
|
3284
|
+
background: rgba(129, 199, 132, 0.24);
|
|
3285
|
+
}
|
|
3283
3286
|
.p-tree {
|
|
3284
3287
|
border: 1px solid #304562;
|
|
3285
3288
|
background: #1f2d40;
|
|
@@ -3289,6 +3292,12 @@
|
|
|
3289
3292
|
}
|
|
3290
3293
|
.p-tree .p-tree-container .p-treenode {
|
|
3291
3294
|
padding: 0.143rem;
|
|
3295
|
+
outline: 0 none;
|
|
3296
|
+
}
|
|
3297
|
+
.p-tree .p-tree-container .p-treenode:focus > .p-treenode-content {
|
|
3298
|
+
outline: 0 none;
|
|
3299
|
+
outline-offset: 0;
|
|
3300
|
+
box-shadow: inset 0 0 0 0.15rem #a7d8a9;
|
|
3292
3301
|
}
|
|
3293
3302
|
.p-tree .p-tree-container .p-treenode .p-treenode-content {
|
|
3294
3303
|
border-radius: 3px;
|
|
@@ -3325,11 +3334,6 @@
|
|
|
3325
3334
|
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
|
|
3326
3335
|
color: rgba(255, 255, 255, 0.87);
|
|
3327
3336
|
}
|
|
3328
|
-
.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {
|
|
3329
|
-
outline: 0 none;
|
|
3330
|
-
outline-offset: 0;
|
|
3331
|
-
box-shadow: inset 0 0 0 0.15rem #a7d8a9;
|
|
3332
|
-
}
|
|
3333
3337
|
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
|
|
3334
3338
|
background: rgba(129, 199, 132, 0.16);
|
|
3335
3339
|
color: rgba(255, 255, 255, 0.87);
|
|
@@ -3836,6 +3840,11 @@
|
|
|
3836
3840
|
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle {
|
|
3837
3841
|
background: #304562;
|
|
3838
3842
|
}
|
|
3843
|
+
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle:focus-visible {
|
|
3844
|
+
outline: 0 none;
|
|
3845
|
+
outline-offset: 0;
|
|
3846
|
+
box-shadow: 0 0 0 1px #a7d8a9;
|
|
3847
|
+
}
|
|
3839
3848
|
.p-splitter .p-splitter-gutter-resizing {
|
|
3840
3849
|
background: #304562;
|
|
3841
3850
|
}
|
|
@@ -3258,6 +3258,7 @@
|
|
|
3258
3258
|
padding: 0.5rem 0;
|
|
3259
3259
|
border-bottom-right-radius: 3px;
|
|
3260
3260
|
border-bottom-left-radius: 3px;
|
|
3261
|
+
outline: 0 none;
|
|
3261
3262
|
}
|
|
3262
3263
|
.p-picklist .p-picklist-list .p-picklist-item {
|
|
3263
3264
|
padding: 0.5rem 1rem;
|
|
@@ -3271,15 +3272,17 @@
|
|
|
3271
3272
|
background: rgba(255, 255, 255, 0.03);
|
|
3272
3273
|
color: rgba(255, 255, 255, 0.87);
|
|
3273
3274
|
}
|
|
3274
|
-
.p-picklist .p-picklist-list .p-picklist-item
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
box-shadow: inset 0 0 0 0.15rem #ffe284;
|
|
3275
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
|
|
3276
|
+
color: rgba(255, 255, 255, 0.87);
|
|
3277
|
+
background: rgba(255, 255, 255, 0.09);
|
|
3278
3278
|
}
|
|
3279
3279
|
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
|
|
3280
3280
|
color: rgba(255, 255, 255, 0.87);
|
|
3281
3281
|
background: rgba(255, 213, 79, 0.16);
|
|
3282
3282
|
}
|
|
3283
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
|
|
3284
|
+
background: rgba(255, 213, 79, 0.24);
|
|
3285
|
+
}
|
|
3283
3286
|
.p-tree {
|
|
3284
3287
|
border: 1px solid #304562;
|
|
3285
3288
|
background: #1f2d40;
|
|
@@ -3289,6 +3292,12 @@
|
|
|
3289
3292
|
}
|
|
3290
3293
|
.p-tree .p-tree-container .p-treenode {
|
|
3291
3294
|
padding: 0.143rem;
|
|
3295
|
+
outline: 0 none;
|
|
3296
|
+
}
|
|
3297
|
+
.p-tree .p-tree-container .p-treenode:focus > .p-treenode-content {
|
|
3298
|
+
outline: 0 none;
|
|
3299
|
+
outline-offset: 0;
|
|
3300
|
+
box-shadow: inset 0 0 0 0.15rem #ffe284;
|
|
3292
3301
|
}
|
|
3293
3302
|
.p-tree .p-tree-container .p-treenode .p-treenode-content {
|
|
3294
3303
|
border-radius: 3px;
|
|
@@ -3325,11 +3334,6 @@
|
|
|
3325
3334
|
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
|
|
3326
3335
|
color: rgba(255, 255, 255, 0.87);
|
|
3327
3336
|
}
|
|
3328
|
-
.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {
|
|
3329
|
-
outline: 0 none;
|
|
3330
|
-
outline-offset: 0;
|
|
3331
|
-
box-shadow: inset 0 0 0 0.15rem #ffe284;
|
|
3332
|
-
}
|
|
3333
3337
|
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
|
|
3334
3338
|
background: rgba(255, 213, 79, 0.16);
|
|
3335
3339
|
color: rgba(255, 255, 255, 0.87);
|
|
@@ -3836,6 +3840,11 @@
|
|
|
3836
3840
|
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle {
|
|
3837
3841
|
background: #304562;
|
|
3838
3842
|
}
|
|
3843
|
+
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle:focus-visible {
|
|
3844
|
+
outline: 0 none;
|
|
3845
|
+
outline-offset: 0;
|
|
3846
|
+
box-shadow: 0 0 0 1px #ffe284;
|
|
3847
|
+
}
|
|
3839
3848
|
.p-splitter .p-splitter-gutter-resizing {
|
|
3840
3849
|
background: #304562;
|
|
3841
3850
|
}
|
|
@@ -3258,6 +3258,7 @@
|
|
|
3258
3258
|
padding: 0.5rem 0;
|
|
3259
3259
|
border-bottom-right-radius: 3px;
|
|
3260
3260
|
border-bottom-left-radius: 3px;
|
|
3261
|
+
outline: 0 none;
|
|
3261
3262
|
}
|
|
3262
3263
|
.p-picklist .p-picklist-list .p-picklist-item {
|
|
3263
3264
|
padding: 0.5rem 1rem;
|
|
@@ -3271,15 +3272,17 @@
|
|
|
3271
3272
|
background: rgba(255, 255, 255, 0.03);
|
|
3272
3273
|
color: rgba(255, 255, 255, 0.87);
|
|
3273
3274
|
}
|
|
3274
|
-
.p-picklist .p-picklist-list .p-picklist-item
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
box-shadow: inset 0 0 0 0.15rem #cf95d9;
|
|
3275
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
|
|
3276
|
+
color: rgba(255, 255, 255, 0.87);
|
|
3277
|
+
background: rgba(255, 255, 255, 0.09);
|
|
3278
3278
|
}
|
|
3279
3279
|
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
|
|
3280
3280
|
color: rgba(255, 255, 255, 0.87);
|
|
3281
3281
|
background: rgba(186, 104, 200, 0.16);
|
|
3282
3282
|
}
|
|
3283
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
|
|
3284
|
+
background: rgba(186, 104, 200, 0.24);
|
|
3285
|
+
}
|
|
3283
3286
|
.p-tree {
|
|
3284
3287
|
border: 1px solid #304562;
|
|
3285
3288
|
background: #1f2d40;
|
|
@@ -3289,6 +3292,12 @@
|
|
|
3289
3292
|
}
|
|
3290
3293
|
.p-tree .p-tree-container .p-treenode {
|
|
3291
3294
|
padding: 0.143rem;
|
|
3295
|
+
outline: 0 none;
|
|
3296
|
+
}
|
|
3297
|
+
.p-tree .p-tree-container .p-treenode:focus > .p-treenode-content {
|
|
3298
|
+
outline: 0 none;
|
|
3299
|
+
outline-offset: 0;
|
|
3300
|
+
box-shadow: inset 0 0 0 0.15rem #cf95d9;
|
|
3292
3301
|
}
|
|
3293
3302
|
.p-tree .p-tree-container .p-treenode .p-treenode-content {
|
|
3294
3303
|
border-radius: 3px;
|
|
@@ -3325,11 +3334,6 @@
|
|
|
3325
3334
|
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
|
|
3326
3335
|
color: rgba(255, 255, 255, 0.87);
|
|
3327
3336
|
}
|
|
3328
|
-
.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {
|
|
3329
|
-
outline: 0 none;
|
|
3330
|
-
outline-offset: 0;
|
|
3331
|
-
box-shadow: inset 0 0 0 0.15rem #cf95d9;
|
|
3332
|
-
}
|
|
3333
3337
|
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
|
|
3334
3338
|
background: rgba(186, 104, 200, 0.16);
|
|
3335
3339
|
color: rgba(255, 255, 255, 0.87);
|
|
@@ -3836,6 +3840,11 @@
|
|
|
3836
3840
|
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle {
|
|
3837
3841
|
background: #304562;
|
|
3838
3842
|
}
|
|
3843
|
+
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle:focus-visible {
|
|
3844
|
+
outline: 0 none;
|
|
3845
|
+
outline-offset: 0;
|
|
3846
|
+
box-shadow: 0 0 0 1px #cf95d9;
|
|
3847
|
+
}
|
|
3839
3848
|
.p-splitter .p-splitter-gutter-resizing {
|
|
3840
3849
|
background: #304562;
|
|
3841
3850
|
}
|
|
@@ -3284,6 +3284,7 @@
|
|
|
3284
3284
|
padding: 0.5rem 0.5rem;
|
|
3285
3285
|
border-bottom-right-radius: 6px;
|
|
3286
3286
|
border-bottom-left-radius: 6px;
|
|
3287
|
+
outline: 0 none;
|
|
3287
3288
|
}
|
|
3288
3289
|
.p-picklist .p-picklist-list .p-picklist-item {
|
|
3289
3290
|
padding: 0.5rem 1rem;
|
|
@@ -3297,15 +3298,17 @@
|
|
|
3297
3298
|
background: rgba(158, 173, 230, 0.08);
|
|
3298
3299
|
color: rgba(255, 255, 255, 0.87);
|
|
3299
3300
|
}
|
|
3300
|
-
.p-picklist .p-picklist-list .p-picklist-item
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
box-shadow: inset 0 0 0 0.15rem #9eade6;
|
|
3301
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
|
|
3302
|
+
color: rgba(255, 255, 255, 0.87);
|
|
3303
|
+
background: rgba(158, 173, 230, 0.1);
|
|
3304
3304
|
}
|
|
3305
3305
|
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
|
|
3306
3306
|
color: #9eade6;
|
|
3307
3307
|
background: rgba(158, 173, 230, 0.16);
|
|
3308
3308
|
}
|
|
3309
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
|
|
3310
|
+
background: rgba(158, 173, 230, 0.24);
|
|
3311
|
+
}
|
|
3309
3312
|
.p-tree {
|
|
3310
3313
|
border: 2px solid #263238;
|
|
3311
3314
|
background: #161d21;
|
|
@@ -3315,6 +3318,12 @@
|
|
|
3315
3318
|
}
|
|
3316
3319
|
.p-tree .p-tree-container .p-treenode {
|
|
3317
3320
|
padding: 0.143rem;
|
|
3321
|
+
outline: 0 none;
|
|
3322
|
+
}
|
|
3323
|
+
.p-tree .p-tree-container .p-treenode:focus > .p-treenode-content {
|
|
3324
|
+
outline: 0 none;
|
|
3325
|
+
outline-offset: 0;
|
|
3326
|
+
box-shadow: inset 0 0 0 0.15rem #9eade6;
|
|
3318
3327
|
}
|
|
3319
3328
|
.p-tree .p-tree-container .p-treenode .p-treenode-content {
|
|
3320
3329
|
border-radius: 6px;
|
|
@@ -3351,11 +3360,6 @@
|
|
|
3351
3360
|
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
|
|
3352
3361
|
color: rgba(255, 255, 255, 0.87);
|
|
3353
3362
|
}
|
|
3354
|
-
.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {
|
|
3355
|
-
outline: 0 none;
|
|
3356
|
-
outline-offset: 0;
|
|
3357
|
-
box-shadow: inset 0 0 0 0.15rem #9eade6;
|
|
3358
|
-
}
|
|
3359
3363
|
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
|
|
3360
3364
|
background: rgba(158, 173, 230, 0.16);
|
|
3361
3365
|
color: #9eade6;
|
|
@@ -3862,6 +3866,11 @@
|
|
|
3862
3866
|
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle {
|
|
3863
3867
|
background: #263238;
|
|
3864
3868
|
}
|
|
3869
|
+
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle:focus-visible {
|
|
3870
|
+
outline: 0 none;
|
|
3871
|
+
outline-offset: 0;
|
|
3872
|
+
box-shadow: 0 0 0 1px #9eade6;
|
|
3873
|
+
}
|
|
3865
3874
|
.p-splitter .p-splitter-gutter-resizing {
|
|
3866
3875
|
background: #263238;
|
|
3867
3876
|
}
|
|
@@ -3284,6 +3284,7 @@
|
|
|
3284
3284
|
padding: 0.5rem 0.5rem;
|
|
3285
3285
|
border-bottom-right-radius: 6px;
|
|
3286
3286
|
border-bottom-left-radius: 6px;
|
|
3287
|
+
outline: 0 none;
|
|
3287
3288
|
}
|
|
3288
3289
|
.p-picklist .p-picklist-list .p-picklist-item {
|
|
3289
3290
|
padding: 0.5rem 1rem;
|
|
@@ -3297,15 +3298,17 @@
|
|
|
3297
3298
|
background: #edf0fa;
|
|
3298
3299
|
color: #6c6c6c;
|
|
3299
3300
|
}
|
|
3300
|
-
.p-picklist .p-picklist-list .p-picklist-item
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
box-shadow: inset 0 0 0 0.15rem #bbc7ee;
|
|
3301
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
|
|
3302
|
+
color: #6c6c6c;
|
|
3303
|
+
background: #e6e9f3;
|
|
3304
3304
|
}
|
|
3305
3305
|
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
|
|
3306
3306
|
color: #585858;
|
|
3307
3307
|
background: #ced6f1;
|
|
3308
3308
|
}
|
|
3309
|
+
.p-picklist .p-picklist-list .p-picklist-item.p-highlight.p-focus {
|
|
3310
|
+
background: #aebbe8;
|
|
3311
|
+
}
|
|
3309
3312
|
.p-tree {
|
|
3310
3313
|
border: 2px solid #ebebeb;
|
|
3311
3314
|
background: #ffffff;
|
|
@@ -3315,6 +3318,12 @@
|
|
|
3315
3318
|
}
|
|
3316
3319
|
.p-tree .p-tree-container .p-treenode {
|
|
3317
3320
|
padding: 0.143rem;
|
|
3321
|
+
outline: 0 none;
|
|
3322
|
+
}
|
|
3323
|
+
.p-tree .p-tree-container .p-treenode:focus > .p-treenode-content {
|
|
3324
|
+
outline: 0 none;
|
|
3325
|
+
outline-offset: 0;
|
|
3326
|
+
box-shadow: inset 0 0 0 0.15rem #bbc7ee;
|
|
3318
3327
|
}
|
|
3319
3328
|
.p-tree .p-tree-container .p-treenode .p-treenode-content {
|
|
3320
3329
|
border-radius: 6px;
|
|
@@ -3351,11 +3360,6 @@
|
|
|
3351
3360
|
.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {
|
|
3352
3361
|
color: #6c6c6c;
|
|
3353
3362
|
}
|
|
3354
|
-
.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {
|
|
3355
|
-
outline: 0 none;
|
|
3356
|
-
outline-offset: 0;
|
|
3357
|
-
box-shadow: inset 0 0 0 0.15rem #bbc7ee;
|
|
3358
|
-
}
|
|
3359
3363
|
.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {
|
|
3360
3364
|
background: #ced6f1;
|
|
3361
3365
|
color: #585858;
|
|
@@ -3862,6 +3866,11 @@
|
|
|
3862
3866
|
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle {
|
|
3863
3867
|
background: #ebebeb;
|
|
3864
3868
|
}
|
|
3869
|
+
.p-splitter .p-splitter-gutter .p-splitter-gutter-handle:focus-visible {
|
|
3870
|
+
outline: 0 none;
|
|
3871
|
+
outline-offset: 0;
|
|
3872
|
+
box-shadow: 0 0 0 0.1rem #bbc7ee;
|
|
3873
|
+
}
|
|
3865
3874
|
.p-splitter .p-splitter-gutter-resizing {
|
|
3866
3875
|
background: #ebebeb;
|
|
3867
3876
|
}
|
package/ripple/ripple.cjs.js
CHANGED
|
@@ -173,13 +173,16 @@ var Ripple = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.f
|
|
|
173
173
|
setMounted = _React$useState2[1];
|
|
174
174
|
var inkRef = React__namespace.useRef(null);
|
|
175
175
|
var targetRef = React__namespace.useRef(null);
|
|
176
|
+
var mergeProps = hooks.useMergeProps();
|
|
176
177
|
var context = React__namespace.useContext(PrimeReact.PrimeReactContext);
|
|
177
178
|
var props = RippleBase.getProps(inProps, context);
|
|
179
|
+
var isRippleActive = context && context.ripple || PrimeReact__default["default"].ripple;
|
|
178
180
|
var metaData = {
|
|
179
181
|
props: props
|
|
180
182
|
};
|
|
181
183
|
hooks.useStyle(RippleBase.css.styles, {
|
|
182
|
-
name: 'ripple'
|
|
184
|
+
name: 'ripple',
|
|
185
|
+
manual: !isRippleActive
|
|
183
186
|
});
|
|
184
187
|
var _RippleBase$setMetaDa = RippleBase.setMetaData(_objectSpread({}, metaData)),
|
|
185
188
|
ptm = _RippleBase$setMetaDa.ptm,
|
|
@@ -258,16 +261,17 @@ var Ripple = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.f
|
|
|
258
261
|
unbindEvents();
|
|
259
262
|
}
|
|
260
263
|
});
|
|
261
|
-
|
|
264
|
+
if (!isRippleActive) return null;
|
|
265
|
+
var rootProps = mergeProps({
|
|
262
266
|
'aria-hidden': true,
|
|
263
267
|
className: utils.classNames(cx('root'))
|
|
264
268
|
}, RippleBase.getOtherProps(props), ptm('root'));
|
|
265
|
-
return
|
|
269
|
+
return /*#__PURE__*/React__namespace.createElement("span", _extends({
|
|
266
270
|
role: "presentation",
|
|
267
271
|
ref: inkRef
|
|
268
272
|
}, rootProps, {
|
|
269
273
|
onAnimationEnd: onAnimationEnd
|
|
270
|
-
}))
|
|
274
|
+
}));
|
|
271
275
|
}));
|
|
272
276
|
Ripple.displayName = 'Ripple';
|
|
273
277
|
|
package/ripple/ripple.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("primereact/api"),t=require("primereact/hooks"),n=require("primereact/utils"),o=require("primereact/componentbase");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function u(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("primereact/api"),t=require("primereact/hooks"),n=require("primereact/utils"),o=require("primereact/componentbase");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function u(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var a=u(e),c=i(r);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(this,arguments)}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function s(e,r){if("object"!==p(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}function f(e){var r=s(e,"string");return"symbol"===p(r)?r:String(r)}function d(e){if(Array.isArray(e))return e}function m(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,i,u,a=[],c=!0,l=!1;try{if(i=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;c=!1}else for(;!(c=(n=i.call(t)).done)&&(a.push(n.value),a.length!==r);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(l)throw o}}return a}}function y(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function b(e,r){if(e){if("string"==typeof e)return y(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?y(e,r):void 0}}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var v=o.ComponentBase.extend({defaultProps:{__TYPE:"Ripple",children:void 0},css:{styles:"\n@layer primereact {\n .p-ripple {\n overflow: hidden;\n position: relative;\n }\n \n .p-ink {\n display: block;\n position: absolute;\n background: rgba(255, 255, 255, 0.5);\n border-radius: 100%;\n transform: scale(0);\n }\n \n .p-ink-active {\n animation: ripple 0.4s linear;\n }\n \n .p-ripple-disabled .p-ink {\n display: none;\n }\n}\n\n@keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}\n\n",classes:{root:"p-ink"}},getProps:function(e){return n.ObjectUtils.getMergedProps(e,v.defaultProps)},getOtherProps:function(e){return n.ObjectUtils.getDiffProps(e,v.defaultProps)}});function O(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function h(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?O(Object(t),!0).forEach((function(r){var n,o,i;n=e,i=t[r],(o=f(o=r))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var j=a.memo(a.forwardRef((function(e,o){var i,u,p=a.useState(!1),s=(u=2,d(i=p)||m(i,u)||b(i,u)||g()),f=s[0],y=s[1],O=a.useRef(null),j=a.useRef(null),P=t.useMergeProps(),w=a.useContext(r.PrimeReactContext),S=v.getProps(e,w),D=w&&w.ripple||c.default.ripple,E={props:S};t.useStyle(v.css.styles,{name:"ripple",manual:!D});var k=v.setMetaData(h({},E)),H=k.ptm,x=k.cx,C=function(){return O.current&&O.current.parentElement},M=function(){j.current&&j.current.addEventListener("pointerdown",A)},A=function(e){var r=n.DomHandler.getOffset(j.current),t=e.pageX-r.left+document.body.scrollTop-n.DomHandler.getWidth(O.current)/2,o=e.pageY-r.top+document.body.scrollLeft-n.DomHandler.getHeight(O.current)/2;R(t,o)},R=function(e,r){O.current&&"none"!==getComputedStyle(O.current,null).display&&(n.DomHandler.removeClass(O.current,"p-ink-active"),T(),O.current.style.top=r+"px",O.current.style.left=e+"px",n.DomHandler.addClass(O.current,"p-ink-active"))},T=function(){if(O.current&&!n.DomHandler.getHeight(O.current)&&!n.DomHandler.getWidth(O.current)){var e=Math.max(n.DomHandler.getOuterWidth(j.current),n.DomHandler.getOuterHeight(j.current));O.current.style.height=e+"px",O.current.style.width=e+"px"}};if(a.useImperativeHandle(o,(function(){return{props:S,getInk:function(){return O.current},getTarget:function(){return j.current}}})),t.useMountEffect((function(){y(!0)})),t.useUpdateEffect((function(){f&&O.current&&(j.current=C(),T(),M())}),[f]),t.useUpdateEffect((function(){O.current&&!j.current&&(j.current=C(),T(),M())})),t.useUnmountEffect((function(){O.current&&(j.current=null,j.current&&j.current.removeEventListener("pointerdown",A))})),!D)return null;var U=P({"aria-hidden":!0,className:n.classNames(x("root"))},v.getOtherProps(S),H("root"));return a.createElement("span",l({role:"presentation",ref:O},U,{onAnimationEnd:function(e){n.DomHandler.removeClass(e.currentTarget,"p-ink-active")}}))})));j.displayName="Ripple",exports.Ripple=j;
|
package/ripple/ripple.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import PrimeReact, { PrimeReactContext } from 'primereact/api';
|
|
4
|
-
import { useStyle, useMountEffect, useUpdateEffect, useUnmountEffect } from 'primereact/hooks';
|
|
5
|
-
import { ObjectUtils,
|
|
4
|
+
import { useMergeProps, useStyle, useMountEffect, useUpdateEffect, useUnmountEffect } from 'primereact/hooks';
|
|
5
|
+
import { ObjectUtils, classNames, DomHandler } from 'primereact/utils';
|
|
6
6
|
import { ComponentBase } from 'primereact/componentbase';
|
|
7
7
|
|
|
8
8
|
function _extends() {
|
|
@@ -146,13 +146,16 @@ var Ripple = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (in
|
|
|
146
146
|
setMounted = _React$useState2[1];
|
|
147
147
|
var inkRef = React.useRef(null);
|
|
148
148
|
var targetRef = React.useRef(null);
|
|
149
|
+
var mergeProps = useMergeProps();
|
|
149
150
|
var context = React.useContext(PrimeReactContext);
|
|
150
151
|
var props = RippleBase.getProps(inProps, context);
|
|
152
|
+
var isRippleActive = context && context.ripple || PrimeReact.ripple;
|
|
151
153
|
var metaData = {
|
|
152
154
|
props: props
|
|
153
155
|
};
|
|
154
156
|
useStyle(RippleBase.css.styles, {
|
|
155
|
-
name: 'ripple'
|
|
157
|
+
name: 'ripple',
|
|
158
|
+
manual: !isRippleActive
|
|
156
159
|
});
|
|
157
160
|
var _RippleBase$setMetaDa = RippleBase.setMetaData(_objectSpread({}, metaData)),
|
|
158
161
|
ptm = _RippleBase$setMetaDa.ptm,
|
|
@@ -231,16 +234,17 @@ var Ripple = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (in
|
|
|
231
234
|
unbindEvents();
|
|
232
235
|
}
|
|
233
236
|
});
|
|
237
|
+
if (!isRippleActive) return null;
|
|
234
238
|
var rootProps = mergeProps({
|
|
235
239
|
'aria-hidden': true,
|
|
236
240
|
className: classNames(cx('root'))
|
|
237
241
|
}, RippleBase.getOtherProps(props), ptm('root'));
|
|
238
|
-
return
|
|
242
|
+
return /*#__PURE__*/React.createElement("span", _extends({
|
|
239
243
|
role: "presentation",
|
|
240
244
|
ref: inkRef
|
|
241
245
|
}, rootProps, {
|
|
242
246
|
onAnimationEnd: onAnimationEnd
|
|
243
|
-
}))
|
|
247
|
+
}));
|
|
244
248
|
}));
|
|
245
249
|
Ripple.displayName = 'Ripple';
|
|
246
250
|
|
package/ripple/ripple.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as r from"react";import e,{PrimeReactContext as t}from"primereact/api";import{
|
|
1
|
+
import*as r from"react";import e,{PrimeReactContext as t}from"primereact/api";import{useMergeProps as n,useStyle as o,useMountEffect as i,useUpdateEffect as u,useUnmountEffect as c}from"primereact/hooks";import{ObjectUtils as a,classNames as l,DomHandler as p}from"primereact/utils";import{ComponentBase as s}from"primereact/componentbase";function f(){return f=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},f.apply(this,arguments)}function m(r){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},m(r)}function y(r,e){if("object"!==m(r)||null===r)return r;var t=r[Symbol.toPrimitive];if(void 0!==t){var n=t.call(r,e||"default");if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}function b(r){var e=y(r,"string");return"symbol"===m(e)?e:String(e)}function d(r){if(Array.isArray(r))return r}function g(r,e){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var n,o,i,u,c=[],a=!0,l=!1;try{if(i=(t=t.call(r)).next,0===e){if(Object(t)!==t)return;a=!1}else for(;!(a=(n=i.call(t)).done)&&(c.push(n.value),c.length!==e);a=!0);}catch(r){l=!0,o=r}finally{try{if(!a&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(l)throw o}}return c}}function v(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function h(r,e){if(r){if("string"==typeof r)return v(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?v(r,e):void 0}}function O(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var j=s.extend({defaultProps:{__TYPE:"Ripple",children:void 0},css:{styles:"\n@layer primereact {\n .p-ripple {\n overflow: hidden;\n position: relative;\n }\n \n .p-ink {\n display: block;\n position: absolute;\n background: rgba(255, 255, 255, 0.5);\n border-radius: 100%;\n transform: scale(0);\n }\n \n .p-ink-active {\n animation: ripple 0.4s linear;\n }\n \n .p-ripple-disabled .p-ink {\n display: none;\n }\n}\n\n@keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}\n\n",classes:{root:"p-ink"}},getProps:function(r){return a.getMergedProps(r,j.defaultProps)},getOtherProps:function(r){return a.getDiffProps(r,j.defaultProps)}});function P(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,n)}return t}function w(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?P(Object(t),!0).forEach((function(e){var n,o,i;n=r,i=t[e],(o=b(o=e))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}var S=r.memo(r.forwardRef((function(a,s){var m,y,b=r.useState(!1),v=(y=2,d(m=b)||g(m,y)||h(m,y)||O()),P=v[0],S=v[1],k=r.useRef(null),x=r.useRef(null),E=n(),A=r.useContext(t),C=j.getProps(a,A),D=A&&A.ripple||e.ripple,T={props:C};o(j.css.styles,{name:"ripple",manual:!D});var I=j.setMetaData(w({},T)),R=I.ptm,H=I.cx,M=function(){return k.current&&k.current.parentElement},L=function(){x.current&&x.current.addEventListener("pointerdown",N)},N=function(r){var e=p.getOffset(x.current),t=r.pageX-e.left+document.body.scrollTop-p.getWidth(k.current)/2,n=r.pageY-e.top+document.body.scrollLeft-p.getHeight(k.current)/2;W(t,n)},W=function(r,e){k.current&&"none"!==getComputedStyle(k.current,null).display&&(p.removeClass(k.current,"p-ink-active"),Y(),k.current.style.top=e+"px",k.current.style.left=r+"px",p.addClass(k.current,"p-ink-active"))},Y=function(){if(k.current&&!p.getHeight(k.current)&&!p.getWidth(k.current)){var r=Math.max(p.getOuterWidth(x.current),p.getOuterHeight(x.current));k.current.style.height=r+"px",k.current.style.width=r+"px"}};if(r.useImperativeHandle(s,(function(){return{props:C,getInk:function(){return k.current},getTarget:function(){return x.current}}})),i((function(){S(!0)})),u((function(){P&&k.current&&(x.current=M(),Y(),L())}),[P]),u((function(){k.current&&!x.current&&(x.current=M(),Y(),L())})),c((function(){k.current&&(x.current=null,x.current&&x.current.removeEventListener("pointerdown",N))})),!D)return null;var _=E({"aria-hidden":!0,className:l(H("root"))},j.getOtherProps(C),R("root"));return r.createElement("span",f({role:"presentation",ref:k},_,{onAnimationEnd:function(r){p.removeClass(r.currentTarget,"p-ink-active")}}))})));S.displayName="Ripple";export{S as Ripple};
|
package/ripple/ripple.js
CHANGED
|
@@ -166,13 +166,16 @@ this.primereact.ripple = (function (exports, React, PrimeReact, hooks, utils, co
|
|
|
166
166
|
setMounted = _React$useState2[1];
|
|
167
167
|
var inkRef = React__namespace.useRef(null);
|
|
168
168
|
var targetRef = React__namespace.useRef(null);
|
|
169
|
+
var mergeProps = hooks.useMergeProps();
|
|
169
170
|
var context = React__namespace.useContext(PrimeReact.PrimeReactContext);
|
|
170
171
|
var props = RippleBase.getProps(inProps, context);
|
|
172
|
+
var isRippleActive = context && context.ripple || PrimeReact__default["default"].ripple;
|
|
171
173
|
var metaData = {
|
|
172
174
|
props: props
|
|
173
175
|
};
|
|
174
176
|
hooks.useStyle(RippleBase.css.styles, {
|
|
175
|
-
name: 'ripple'
|
|
177
|
+
name: 'ripple',
|
|
178
|
+
manual: !isRippleActive
|
|
176
179
|
});
|
|
177
180
|
var _RippleBase$setMetaDa = RippleBase.setMetaData(_objectSpread({}, metaData)),
|
|
178
181
|
ptm = _RippleBase$setMetaDa.ptm,
|
|
@@ -251,16 +254,17 @@ this.primereact.ripple = (function (exports, React, PrimeReact, hooks, utils, co
|
|
|
251
254
|
unbindEvents();
|
|
252
255
|
}
|
|
253
256
|
});
|
|
254
|
-
|
|
257
|
+
if (!isRippleActive) return null;
|
|
258
|
+
var rootProps = mergeProps({
|
|
255
259
|
'aria-hidden': true,
|
|
256
260
|
className: utils.classNames(cx('root'))
|
|
257
261
|
}, RippleBase.getOtherProps(props), ptm('root'));
|
|
258
|
-
return
|
|
262
|
+
return /*#__PURE__*/React__namespace.createElement("span", _extends({
|
|
259
263
|
role: "presentation",
|
|
260
264
|
ref: inkRef
|
|
261
265
|
}, rootProps, {
|
|
262
266
|
onAnimationEnd: onAnimationEnd
|
|
263
|
-
}))
|
|
267
|
+
}));
|
|
264
268
|
}));
|
|
265
269
|
Ripple.displayName = 'Ripple';
|
|
266
270
|
|
package/ripple/ripple.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primereact=this.primereact||{},this.primereact.ripple=function(e,t,r,n,o,i){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=c(t),l=u(r);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function f(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function d(e){var t=f(e,"string");return"symbol"===s(t)?t:String(t)}function m(e){if(Array.isArray(e))return e}function y(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,u,c=[],a=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;a=!1}else for(;!(a=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{if(!a&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return c}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O=i.ComponentBase.extend({defaultProps:{__TYPE:"Ripple",children:void 0},css:{styles:"\n@layer primereact {\n .p-ripple {\n overflow: hidden;\n position: relative;\n }\n \n .p-ink {\n display: block;\n position: absolute;\n background: rgba(255, 255, 255, 0.5);\n border-radius: 100%;\n transform: scale(0);\n }\n \n .p-ink-active {\n animation: ripple 0.4s linear;\n }\n \n .p-ripple-disabled .p-ink {\n display: none;\n }\n}\n\n@keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}\n\n",classes:{root:"p-ink"}},getProps:function(e){return o.ObjectUtils.getMergedProps(e,O.defaultProps)},getOtherProps:function(e){return o.ObjectUtils.getDiffProps(e,O.defaultProps)}});function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){var n,o,i;n=e,i=r[t],(o=d(o=t))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P=a.memo(a.forwardRef((function(e,t){var i,u,c=a.useState(!1),s=(u=2,m(i=c)||y(i,u)||g(i,u)||v()),f=s[0],d=s[1],b=a.useRef(null),h=a.useRef(null),P=a.useContext(r.PrimeReactContext),
|
|
1
|
+
this.primereact=this.primereact||{},this.primereact.ripple=function(e,t,r,n,o,i){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=c(t),l=u(r);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function f(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function d(e){var t=f(e,"string");return"symbol"===s(t)?t:String(t)}function m(e){if(Array.isArray(e))return e}function y(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,u,c=[],a=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;a=!1}else for(;!(a=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{if(!a&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(l)throw o}}return c}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O=i.ComponentBase.extend({defaultProps:{__TYPE:"Ripple",children:void 0},css:{styles:"\n@layer primereact {\n .p-ripple {\n overflow: hidden;\n position: relative;\n }\n \n .p-ink {\n display: block;\n position: absolute;\n background: rgba(255, 255, 255, 0.5);\n border-radius: 100%;\n transform: scale(0);\n }\n \n .p-ink-active {\n animation: ripple 0.4s linear;\n }\n \n .p-ripple-disabled .p-ink {\n display: none;\n }\n}\n\n@keyframes ripple {\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}\n\n",classes:{root:"p-ink"}},getProps:function(e){return o.ObjectUtils.getMergedProps(e,O.defaultProps)},getOtherProps:function(e){return o.ObjectUtils.getDiffProps(e,O.defaultProps)}});function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){var n,o,i;n=e,i=r[t],(o=d(o=t))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P=a.memo(a.forwardRef((function(e,t){var i,u,c=a.useState(!1),s=(u=2,m(i=c)||y(i,u)||g(i,u)||v()),f=s[0],d=s[1],b=a.useRef(null),h=a.useRef(null),P=n.useMergeProps(),w=a.useContext(r.PrimeReactContext),S=O.getProps(e,w),D=w&&w.ripple||l.default.ripple,E={props:S};n.useStyle(O.css.styles,{name:"ripple",manual:!D});var k=O.setMetaData(j({},E)),H=k.ptm,x=k.cx,C=function(){return b.current&&b.current.parentElement},M=function(){h.current&&h.current.addEventListener("pointerdown",R)},R=function(e){var t=o.DomHandler.getOffset(h.current),r=e.pageX-t.left+document.body.scrollTop-o.DomHandler.getWidth(b.current)/2,n=e.pageY-t.top+document.body.scrollLeft-o.DomHandler.getHeight(b.current)/2;A(r,n)},A=function(e,t){b.current&&"none"!==getComputedStyle(b.current,null).display&&(o.DomHandler.removeClass(b.current,"p-ink-active"),T(),b.current.style.top=t+"px",b.current.style.left=e+"px",o.DomHandler.addClass(b.current,"p-ink-active"))},T=function(){if(b.current&&!o.DomHandler.getHeight(b.current)&&!o.DomHandler.getWidth(b.current)){var e=Math.max(o.DomHandler.getOuterWidth(h.current),o.DomHandler.getOuterHeight(h.current));b.current.style.height=e+"px",b.current.style.width=e+"px"}};if(a.useImperativeHandle(t,(function(){return{props:S,getInk:function(){return b.current},getTarget:function(){return h.current}}})),n.useMountEffect((function(){d(!0)})),n.useUpdateEffect((function(){f&&b.current&&(h.current=C(),T(),M())}),[f]),n.useUpdateEffect((function(){b.current&&!h.current&&(h.current=C(),T(),M())})),n.useUnmountEffect((function(){b.current&&(h.current=null,h.current&&h.current.removeEventListener("pointerdown",R))})),!D)return null;var U=P({"aria-hidden":!0,className:o.classNames(x("root"))},O.getOtherProps(S),H("root"));return a.createElement("span",p({role:"presentation",ref:b},U,{onAnimationEnd:function(e){o.DomHandler.removeClass(e.currentTarget,"p-ink-active")}}))})));return P.displayName="Ripple",e.Ripple=P,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.api,primereact.hooks,primereact.utils,primereact.componentbase);
|
package/row/row.cjs.js
CHANGED
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
|
|
6
6
|
var React = require('react');
|
|
7
|
+
var api = require('primereact/api');
|
|
8
|
+
var hooks = require('primereact/hooks');
|
|
7
9
|
var componentbase = require('primereact/componentbase');
|
|
8
10
|
var utils = require('primereact/utils');
|
|
9
|
-
var api = require('primereact/api');
|
|
10
11
|
|
|
11
12
|
function _interopNamespace(e) {
|
|
12
13
|
if (e && e.__esModule) return e;
|
|
@@ -41,6 +42,7 @@ var RowBase = componentbase.ComponentBase.extend({
|
|
|
41
42
|
});
|
|
42
43
|
|
|
43
44
|
var Row = function Row(inProps) {
|
|
45
|
+
var mergeProps = hooks.useMergeProps();
|
|
44
46
|
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
45
47
|
var props = RowBase.getProps(inProps, context);
|
|
46
48
|
//@todo Pass Parent MetaData
|
|
@@ -48,7 +50,7 @@ var Row = function Row(inProps) {
|
|
|
48
50
|
props: props
|
|
49
51
|
}),
|
|
50
52
|
ptm = _RowBase$setMetaData.ptm;
|
|
51
|
-
var rootProps =
|
|
53
|
+
var rootProps = mergeProps({
|
|
52
54
|
className: props.className,
|
|
53
55
|
style: props.style
|
|
54
56
|
}, RowBase.getOtherProps(props), ptm('root'));
|
package/row/row.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("primereact/api"),t=require("primereact/hooks"),o=require("primereact/componentbase"),a=require("primereact/utils");function n(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var s=n(e),u=o.ComponentBase.extend({defaultProps:{__TYPE:"Row",style:null,className:null,children:void 0},getCProp:function(e,r){return a.ObjectUtils.getComponentProp(e,r,u.defaultProps)}}),c=function(e){var o=t.useMergeProps(),a=s.useContext(r.PrimeReactContext),n=u.getProps(e,a),c=u.setMetaData({props:n}).ptm,i=o({className:n.className,style:n.style},u.getOtherProps(n),c("root"));return s.createElement("tr",i,n.children)};c.displayName="Row",exports.Row=c;
|
package/row/row.esm.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { ComponentBase } from 'primereact/componentbase';
|
|
4
|
-
import { ObjectUtils, mergeProps } from 'primereact/utils';
|
|
5
3
|
import { PrimeReactContext } from 'primereact/api';
|
|
4
|
+
import { useMergeProps } from 'primereact/hooks';
|
|
5
|
+
import { ComponentBase } from 'primereact/componentbase';
|
|
6
|
+
import { ObjectUtils } from 'primereact/utils';
|
|
6
7
|
|
|
7
8
|
var RowBase = ComponentBase.extend({
|
|
8
9
|
defaultProps: {
|
|
@@ -17,6 +18,7 @@ var RowBase = ComponentBase.extend({
|
|
|
17
18
|
});
|
|
18
19
|
|
|
19
20
|
var Row = function Row(inProps) {
|
|
21
|
+
var mergeProps = useMergeProps();
|
|
20
22
|
var context = React.useContext(PrimeReactContext);
|
|
21
23
|
var props = RowBase.getProps(inProps, context);
|
|
22
24
|
//@todo Pass Parent MetaData
|
package/row/row.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import{
|
|
1
|
+
import*as e from"react";import{PrimeReactContext as r}from"primereact/api";import{useMergeProps as t}from"primereact/hooks";import{ComponentBase as o}from"primereact/componentbase";import{ObjectUtils as a}from"primereact/utils";var p=o.extend({defaultProps:{__TYPE:"Row",style:null,className:null,children:void 0},getCProp:function(e,r){return a.getComponentProp(e,r,p.defaultProps)}}),m=function(o){var a=t(),m=e.useContext(r),s=p.getProps(o,m),i=p.setMetaData({props:s}).ptm,l=a({className:s.className,style:s.style},p.getOtherProps(s),i("root"));return e.createElement("tr",l,s.children)};m.displayName="Row";export{m as Row};
|
package/row/row.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
this.primereact = this.primereact || {};
|
|
2
|
-
this.primereact.row = (function (exports, React, componentbase, utils
|
|
2
|
+
this.primereact.row = (function (exports, React, api, hooks, componentbase, utils) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopNamespace(e) {
|
|
@@ -35,6 +35,7 @@ this.primereact.row = (function (exports, React, componentbase, utils, api) {
|
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
var Row = function Row(inProps) {
|
|
38
|
+
var mergeProps = hooks.useMergeProps();
|
|
38
39
|
var context = React__namespace.useContext(api.PrimeReactContext);
|
|
39
40
|
var props = RowBase.getProps(inProps, context);
|
|
40
41
|
//@todo Pass Parent MetaData
|
|
@@ -42,7 +43,7 @@ this.primereact.row = (function (exports, React, componentbase, utils, api) {
|
|
|
42
43
|
props: props
|
|
43
44
|
}),
|
|
44
45
|
ptm = _RowBase$setMetaData.ptm;
|
|
45
|
-
var rootProps =
|
|
46
|
+
var rootProps = mergeProps({
|
|
46
47
|
className: props.className,
|
|
47
48
|
style: props.style
|
|
48
49
|
}, RowBase.getOtherProps(props), ptm('root'));
|
|
@@ -56,4 +57,4 @@ this.primereact.row = (function (exports, React, componentbase, utils, api) {
|
|
|
56
57
|
|
|
57
58
|
return exports;
|
|
58
59
|
|
|
59
|
-
})({}, React, primereact.
|
|
60
|
+
})({}, React, primereact.api, primereact.hooks, primereact.componentbase, primereact.utils);
|