@sisense/sdk-shared-ui 2.1.1 → 2.3.0
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/dist/Breadcrumbs-B-OHBus7.cjs +3 -0
- package/dist/{Breadcrumbs-qJmt9n6B.js → Breadcrumbs-DrCp8avo.js} +12 -13
- package/dist/Button-CvkAcTyS.cjs +1 -0
- package/dist/{Button-Y7DwfxdO.js → Button-cvim-8Bz.js} +345 -165
- package/dist/{ButtonBase-UWHDpyst.js → ButtonBase-4TqAVSBf.js} +166 -164
- package/dist/ButtonBase-hZEG-21k.cjs +74 -0
- package/dist/Checkbox-BbF4jutm.cjs +1 -0
- package/dist/{Checkbox-BNkk6YDz.js → Checkbox-aMi60WQj.js} +249 -171
- package/dist/CircularProgress-B3FkrcM6.js +249 -0
- package/dist/CircularProgress-BWqRJiR-.cjs +28 -0
- package/dist/DEPRECATED_Tooltip-C3s_235Q.js +1961 -0
- package/dist/DEPRECATED_Tooltip-DL3MmzWZ.cjs +25 -0
- package/dist/{Dropdown-D8rLKKcl.cjs → Dropdown-B6uSaA3z.cjs} +1 -1
- package/dist/{Dropdown-DtWYpFk8.js → Dropdown-BzcjbX6k.js} +2 -2
- package/dist/{Icon-KwS2TWVq.cjs → Icon-DFhY5sRf.cjs} +1 -1
- package/dist/{Icon-JQpFT2bY.js → Icon-DVO7Byvy.js} +2 -2
- package/dist/{Menu-DkPO8bCf.cjs → Menu-CgLII61r.cjs} +1 -1
- package/dist/{Menu-EXiwd8T_.js → Menu-DqvdoiKn.js} +2 -2
- package/dist/{Popover-BjgDIgO7.cjs → Popover-DHy8NRMc.cjs} +1 -1
- package/dist/{Popover-CiYeL2VE.js → Popover-KR_Rc69g.js} +1 -1
- package/dist/Portal-B6TDsfBi.cjs +1 -0
- package/dist/{Portal-DUw3q8Mq.js → Portal-C6RJkJ6n.js} +253 -318
- package/dist/{SvgIcon-DXzFs5aw.cjs → SvgIcon-CjUZ_jwt.cjs} +1 -1
- package/dist/{SvgIcon-5KhsYNcu.js → SvgIcon-a_07YA77.js} +7 -7
- package/dist/TablePagination-CNwjJIdB.cjs +15 -0
- package/dist/{TablePagination-CgaKWA2r.js → TablePagination-D4-bcrO_.js} +2003 -1784
- package/dist/Tooltip-BjyR1mIC.cjs +7 -0
- package/dist/{Tooltip-BpA4opI3.js → Tooltip-CWF5y-3F.js} +20 -19
- package/dist/TransitionGroupContext-BNiEy2cD.js +119 -0
- package/dist/TransitionGroupContext-CJJeIdck.cjs +2 -0
- package/dist/{Typography-BDMqUlbg.cjs → Typography-Pieq_mxw.cjs} +1 -1
- package/dist/{Typography-pY0gGUzu.js → Typography-ReSKaH87.js} +6 -6
- package/dist/__test-helpers__/test-setup.d.ts +2 -0
- package/dist/__test-helpers__/test-setup.d.ts.map +1 -0
- package/dist/{createSvgIcon-B28x3Jky.js → createSvgIcon-CiRZfwSO.js} +1 -1
- package/dist/{createSvgIcon-KaV60kcg.cjs → createSvgIcon-DgE0zN0k.cjs} +1 -1
- package/dist/{emotion-cache-provider-CsTOkc-k.js → emotion-cache-provider-B6yKtm_a.js} +1980 -2095
- package/dist/emotion-cache-provider-XZE1SDsY.cjs +122 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +11 -11
- package/dist/index.umd.js +188 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lib/Button/Button.cjs +1 -1
- package/dist/lib/Button/Button.js +2 -2
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +1 -1
- package/dist/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/Menu/Menu.cjs +1 -1
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Popover/Popover.cjs +1 -1
- package/dist/lib/Popover/Popover.d.ts +1 -1
- package/dist/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.js +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lightweight/Breadcrumbs-BMR7xumU.js +37 -0
- package/dist/lightweight/Breadcrumbs-BgNa_noo.cjs +1 -0
- package/dist/lightweight/Button-C0bT7IWv.js +96 -0
- package/dist/lightweight/Button-O3zEYLfM.cjs +1 -0
- package/dist/lightweight/CheckableList-1Jq4spYu.cjs +1 -0
- package/dist/lightweight/CheckableList-DTTE9oEw.js +21 -0
- package/dist/lightweight/Checkbox-DqAy-3w-.js +34 -0
- package/dist/lightweight/Checkbox-hyvVpMGp.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Button-CKGdJitl.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Button-Dhs0ieAl.js +87 -0
- package/dist/lightweight/DEPRECATED_Checkbox-Be1l_Vce.js +63 -0
- package/dist/lightweight/DEPRECATED_Checkbox-BggU0HO5.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Icon-Bgufd-9Q.js +56 -0
- package/dist/lightweight/DEPRECATED_Icon-DC1Hc9iB.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
- package/dist/lightweight/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Tooltip-C3s_235Q.js +1961 -0
- package/dist/lightweight/DEPRECATED_Tooltip-DL3MmzWZ.cjs +25 -0
- package/dist/lightweight/Dropdown-B6uSaA3z.cjs +1 -0
- package/dist/lightweight/Dropdown-C5DcG6WG.js +231 -0
- package/dist/lightweight/Icon-4kNYAFUz.cjs +1 -0
- package/dist/lightweight/Icon-DQNqONXU.js +133 -0
- package/dist/lightweight/Input-CNvYE0Er.js +119 -0
- package/dist/lightweight/Input-_wNCDCdI.cjs +1 -0
- package/dist/lightweight/LazyLoader-DB86QSSx.js +18 -0
- package/dist/lightweight/LazyLoader-gOLNhxc-.cjs +1 -0
- package/dist/lightweight/Menu-CgLII61r.cjs +1 -0
- package/dist/lightweight/Menu-DeHgR0JO.js +1211 -0
- package/dist/lightweight/Popover-BAehEo3a.js +49 -0
- package/dist/lightweight/Popover-DHy8NRMc.cjs +1 -0
- package/dist/lightweight/RadioButton-BpAksn2s.js +70 -0
- package/dist/lightweight/RadioButton-Ds-0wj0r.cjs +1 -0
- package/dist/lightweight/TablePagination-Czpnhvp6.cjs +1 -0
- package/dist/lightweight/TablePagination-D1tyNTa7.js +338 -0
- package/dist/lightweight/Tooltip-BcjJxRj4.cjs +1 -0
- package/dist/lightweight/Tooltip-DUpknkQW.js +59 -0
- package/dist/lightweight/Typography-BT1q5az1.cjs +1 -0
- package/dist/lightweight/Typography-CvzdielF.js +153 -0
- package/dist/lightweight/__test-helpers__/test-setup.d.ts +2 -0
- package/dist/lightweight/__test-helpers__/test-setup.d.ts.map +1 -0
- package/dist/lightweight/align.interface-B17uA473.cjs +1 -0
- package/dist/lightweight/align.interface-DdWsijrT.js +4 -0
- package/dist/lightweight/emotion-cache-provider-BsnmG_09.cjs +1 -0
- package/dist/lightweight/emotion-cache-provider-CE1QZs6M.js +18 -0
- package/dist/lightweight/index-B-zZeebW.cjs +20 -0
- package/dist/lightweight/index-D0lMis-I.js +667 -0
- package/dist/lightweight/index.cjs +1 -0
- package/dist/lightweight/index.d.ts +2 -0
- package/dist/lightweight/index.d.ts.map +1 -0
- package/dist/lightweight/index.js +48 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.js +7 -0
- package/dist/lightweight/lib/Breadcrumbs/index.d.ts +5 -0
- package/dist/lightweight/lib/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts +4 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/Button.cjs +1 -0
- package/dist/lightweight/lib/Button/Button.d.ts +10 -0
- package/dist/lightweight/lib/Button/Button.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/Button.js +7 -0
- package/dist/lightweight/lib/Button/index.d.ts +5 -0
- package/dist/lightweight/lib/Button/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/themes/buttonsTheme.d.ts +11 -0
- package/dist/lightweight/lib/Button/themes/buttonsTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Button/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.cjs +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.d.ts +16 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.d.ts.map +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.js +5 -0
- package/dist/lightweight/lib/CheckableList/index.d.ts +4 -0
- package/dist/lightweight/lib/CheckableList/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.cjs +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.d.ts +20 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.js +5 -0
- package/dist/lightweight/lib/Checkbox/index.d.ts +4 -0
- package/dist/lightweight/lib/Checkbox/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
- package/dist/lightweight/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Checkbox/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
- package/dist/lightweight/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Button/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Button/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.cjs +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts +32 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.js +5 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts +3 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts +3 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/hooks/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/hooks/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
- package/dist/lightweight/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/index.d.ts +5 -0
- package/dist/lightweight/lib/Dropdown/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/types.d.ts +12 -0
- package/dist/lightweight/lib/Dropdown/types.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/Icon.cjs +1 -0
- package/dist/lightweight/lib/Icon/Icon.d.ts +13 -0
- package/dist/lightweight/lib/Icon/Icon.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/Icon.js +5 -0
- package/dist/lightweight/lib/Icon/index.d.ts +4 -0
- package/dist/lightweight/lib/Icon/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/iconTheme.d.ts +8 -0
- package/dist/lightweight/lib/Icon/themes/iconTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Icon/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/Input/Input.cjs +1 -0
- package/dist/lightweight/lib/Input/Input.d.ts +28 -0
- package/dist/lightweight/lib/Input/Input.d.ts.map +1 -0
- package/dist/lightweight/lib/Input/Input.js +5 -0
- package/dist/lightweight/lib/Input/index.d.ts +4 -0
- package/dist/lightweight/lib/Input/index.d.ts.map +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.cjs +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts +9 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.js +5 -0
- package/dist/lightweight/lib/LazyLoader/index.d.ts +4 -0
- package/dist/lightweight/lib/LazyLoader/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
- package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/index.d.ts +2 -0
- package/dist/lightweight/lib/Menu/Confirmation/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/translation.d.ts +2 -0
- package/dist/lightweight/lib/Menu/Confirmation/translation.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Menu.cjs +1 -0
- package/dist/lightweight/lib/Menu/Menu.d.ts +80 -0
- package/dist/lightweight/lib/Menu/Menu.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Menu.js +8 -0
- package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
- package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/MenuItem/index.d.ts +3 -0
- package/dist/lightweight/lib/Menu/MenuItem/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/index.d.ts +6 -0
- package/dist/lightweight/lib/Menu/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/utils.d.ts +6 -0
- package/dist/lightweight/lib/Menu/utils.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/Popover.cjs +1 -0
- package/dist/lightweight/lib/Popover/Popover.d.ts +16 -0
- package/dist/lightweight/lib/Popover/Popover.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/Popover.js +7 -0
- package/dist/lightweight/lib/Popover/align.interface.d.ts +23 -0
- package/dist/lightweight/lib/Popover/align.interface.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/index.d.ts +6 -0
- package/dist/lightweight/lib/Popover/index.d.ts.map +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.cjs +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.d.ts +20 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.d.ts.map +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.js +5 -0
- package/dist/lightweight/lib/RadioButton/index.d.ts +4 -0
- package/dist/lightweight/lib/RadioButton/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.cjs +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.d.ts +19 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.js +5 -0
- package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/index.d.ts +4 -0
- package/dist/lightweight/lib/TablePagination/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.cjs +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.d.ts +10 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.js +7 -0
- package/dist/lightweight/lib/Tooltip/index.d.ts +5 -0
- package/dist/lightweight/lib/Tooltip/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Tooltip/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
- package/dist/lightweight/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/Typography.cjs +1 -0
- package/dist/lightweight/lib/Typography/Typography.d.ts +11 -0
- package/dist/lightweight/lib/Typography/Typography.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/Typography.js +7 -0
- package/dist/lightweight/lib/Typography/index.d.ts +5 -0
- package/dist/lightweight/lib/Typography/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Typography/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/typographyTheme.d.ts +21 -0
- package/dist/lightweight/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/common/emotion-cache-provider.d.ts +11 -0
- package/dist/lightweight/lib/common/emotion-cache-provider.d.ts.map +1 -0
- package/dist/lightweight/lib/constants/styleguideConstants.d.ts +9 -0
- package/dist/lightweight/lib/constants/styleguideConstants.d.ts.map +1 -0
- package/dist/lightweight/lib/index.d.ts +20 -0
- package/dist/lightweight/lib/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/colors/index.d.ts +2 -0
- package/dist/lightweight/lib/themes/colors/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/colors/siColors.d.ts +140 -0
- package/dist/lightweight/lib/themes/colors/siColors.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/index.d.ts +3 -0
- package/dist/lightweight/lib/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/themes.cjs +2 -0
- package/dist/lightweight/lib/themes/themes.js +142 -0
- package/dist/lightweight/lib/themes/types/SisenseTheme.d.ts +12 -0
- package/dist/lightweight/lib/themes/types/SisenseTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/types/index.d.ts +2 -0
- package/dist/lightweight/lib/themes/types/index.d.ts.map +1 -0
- package/dist/lightweight/package.json +248 -0
- package/dist/lightweight/styleguideConstants-CtXkvIZK.cjs +1 -0
- package/dist/lightweight/styleguideConstants-D4Yls16w.js +11 -0
- package/dist/package.json +34 -14
- package/dist/resolveComponentProps-BjHOskdg.cjs +1 -0
- package/dist/resolveComponentProps-L5VTqIs8.js +80 -0
- package/dist/useFormControl-DNim9J_T.cjs +1 -0
- package/dist/useFormControl-lYrMmqEx.js +56 -0
- package/dist/useId-CK6Kn3Tn.js +21 -0
- package/dist/useId-DNXtOFeX.cjs +1 -0
- package/dist/useSlot-BHK4fbKV.cjs +3 -0
- package/dist/useSlot-DUGuD2Ya.js +77 -0
- package/dist/useSlotProps-9rt1So3E.js +25 -0
- package/dist/useSlotProps-ChaoOi-_.cjs +1 -0
- package/dist/{useTheme-CzEManLl.js → useTheme-DPwUUXTG.js} +1 -1
- package/dist/{useTheme-DmoPdQRb.cjs → useTheme-Dn8Us9iT.cjs} +1 -1
- package/package.json +34 -14
- package/dist/Breadcrumbs-Da5cnPID.cjs +0 -3
- package/dist/Button-RoXZvXZf.cjs +0 -1
- package/dist/ButtonBase-CISYuRKV.cjs +0 -74
- package/dist/Checkbox-DpGUO-Li.cjs +0 -1
- package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +0 -2316
- package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +0 -27
- package/dist/Portal-CtJkkaJ7.cjs +0 -1
- package/dist/TablePagination-baLnBUNn.cjs +0 -15
- package/dist/Tooltip-Dcsip2Zy.cjs +0 -7
- package/dist/assertThisInitialized-BSnhOY1M.cjs +0 -1
- package/dist/assertThisInitialized-lz6cHcRv.js +0 -8
- package/dist/deepmerge-BuAjuQR6.cjs +0 -17
- package/dist/deepmerge-DNqbOtFI.js +0 -177
- package/dist/emotion-cache-provider-C66nBUtN.cjs +0 -114
- package/dist/extends-DX42hfxm.js +0 -13
- package/dist/extends-q0Hkx4pQ.cjs +0 -1
- package/dist/setPrototypeOf-BmHXYjK5.cjs +0 -1
- package/dist/setPrototypeOf-CEtRTXk2.js +0 -19
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useControlled-Ysk4KqoX.cjs +0 -3
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useFormControl-haP0iPhl.cjs +0 -1
- package/dist/useSlotProps-BxlgPyQJ.js +0 -102
- package/dist/useSlotProps-DS82uuM_.cjs +0 -1
- package/dist/useTimeout-DwkOFF8P.cjs +0 -2
- package/dist/useTimeout-Oe_jK-ia.js +0 -92
|
@@ -1,22 +1,56 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import { r as lt, m as ct, a as pt } from "./useSlotProps-BxlgPyQJ.js";
|
|
4
|
-
import { _ as ft, T as Q, c as Y, u as q, b as dt, e as W, s as X } from "./useTimeout-Oe_jK-ia.js";
|
|
1
|
+
import * as p from "react";
|
|
2
|
+
import w from "react";
|
|
5
3
|
import { P as e } from "./index-D0lMis-I.js";
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import { jsx as
|
|
9
|
-
import { _ as
|
|
10
|
-
import * as
|
|
11
|
-
import
|
|
12
|
-
function
|
|
13
|
-
const
|
|
14
|
-
|
|
4
|
+
import { v as at, t as ut, w as G, x as ct } from "./emotion-cache-provider-B6yKtm_a.js";
|
|
5
|
+
import { u as lt } from "./useTheme-DPwUUXTG.js";
|
|
6
|
+
import { jsx as pt } from "react/jsx-runtime";
|
|
7
|
+
import { c as j, _ as ft, b as dt, T as W, d as Et, u as X } from "./TransitionGroupContext-BNiEy2cD.js";
|
|
8
|
+
import * as mt from "react-dom";
|
|
9
|
+
import L from "react-dom";
|
|
10
|
+
function ht(o) {
|
|
11
|
+
const {
|
|
12
|
+
prototype: s = {}
|
|
13
|
+
} = o;
|
|
14
|
+
return !!s.isReactComponent;
|
|
15
|
+
}
|
|
16
|
+
function z(o, s, a, r, n) {
|
|
17
|
+
const t = o[s], i = n || s;
|
|
18
|
+
if (t == null || // When server-side rendering React doesn't warn either.
|
|
19
|
+
// This is not an accurate check for SSR.
|
|
20
|
+
// This is only in place for Emotion compat.
|
|
21
|
+
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
22
|
+
typeof window > "u")
|
|
23
|
+
return null;
|
|
24
|
+
let u;
|
|
25
|
+
const l = t.type;
|
|
26
|
+
return typeof l == "function" && !ht(l) && (u = "Did you accidentally use a plain function component for an element instead?"), u !== void 0 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
27
|
+
}
|
|
28
|
+
const B = j(e.element, z);
|
|
29
|
+
B.isRequired = j(e.element.isRequired, z);
|
|
30
|
+
function xt(o, s, a, r, n) {
|
|
31
|
+
if (process.env.NODE_ENV === "production")
|
|
32
|
+
return null;
|
|
33
|
+
const t = o[s], i = n || s;
|
|
34
|
+
return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
|
|
15
35
|
}
|
|
16
|
-
|
|
36
|
+
function _t(o) {
|
|
37
|
+
return o && o.ownerDocument || document;
|
|
38
|
+
}
|
|
39
|
+
function q(o, s) {
|
|
40
|
+
typeof o == "function" ? o(s) : o && (o.current = s);
|
|
41
|
+
}
|
|
42
|
+
function K(o) {
|
|
43
|
+
var s;
|
|
44
|
+
return parseInt(p.version, 10) >= 19 ? ((s = o == null ? void 0 : o.props) == null ? void 0 : s.ref) || null : (o == null ? void 0 : o.ref) || null;
|
|
45
|
+
}
|
|
46
|
+
function gt() {
|
|
47
|
+
const o = lt(ut);
|
|
48
|
+
return process.env.NODE_ENV !== "production" && p.useDebugValue(o), o[at] || o;
|
|
49
|
+
}
|
|
50
|
+
const U = {
|
|
17
51
|
disabled: !1
|
|
18
52
|
};
|
|
19
|
-
var
|
|
53
|
+
var vt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
|
|
20
54
|
enter: e.number,
|
|
21
55
|
exit: e.number,
|
|
22
56
|
appear: e.number
|
|
@@ -33,138 +67,138 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
|
|
|
33
67
|
exitDone: e.string,
|
|
34
68
|
exitActive: e.string
|
|
35
69
|
})]);
|
|
36
|
-
var
|
|
70
|
+
var Tt = function(s) {
|
|
37
71
|
return s.scrollTop;
|
|
38
|
-
},
|
|
39
|
-
ft(s,
|
|
40
|
-
function s(
|
|
72
|
+
}, S = "unmounted", v = "exited", T = "entering", R = "entered", V = "exiting", m = /* @__PURE__ */ function(o) {
|
|
73
|
+
ft(s, o);
|
|
74
|
+
function s(r, n) {
|
|
41
75
|
var t;
|
|
42
|
-
t =
|
|
43
|
-
var
|
|
44
|
-
return t.appearStatus = null,
|
|
76
|
+
t = o.call(this, r, n) || this;
|
|
77
|
+
var i = n, u = i && !i.isMounting ? r.enter : r.appear, l;
|
|
78
|
+
return t.appearStatus = null, r.in ? u ? (l = v, t.appearStatus = T) : l = R : r.unmountOnExit || r.mountOnEnter ? l = S : l = v, t.state = {
|
|
45
79
|
status: l
|
|
46
80
|
}, t.nextCallback = null, t;
|
|
47
81
|
}
|
|
48
|
-
s.getDerivedStateFromProps = function(
|
|
49
|
-
var
|
|
50
|
-
return
|
|
51
|
-
status:
|
|
82
|
+
s.getDerivedStateFromProps = function(n, t) {
|
|
83
|
+
var i = n.in;
|
|
84
|
+
return i && t.status === S ? {
|
|
85
|
+
status: v
|
|
52
86
|
} : null;
|
|
53
87
|
};
|
|
54
88
|
var a = s.prototype;
|
|
55
89
|
return a.componentDidMount = function() {
|
|
56
90
|
this.updateStatus(!0, this.appearStatus);
|
|
57
|
-
}, a.componentDidUpdate = function(
|
|
91
|
+
}, a.componentDidUpdate = function(n) {
|
|
58
92
|
var t = null;
|
|
59
|
-
if (
|
|
60
|
-
var
|
|
61
|
-
this.props.in ?
|
|
93
|
+
if (n !== this.props) {
|
|
94
|
+
var i = this.state.status;
|
|
95
|
+
this.props.in ? i !== T && i !== R && (t = T) : (i === T || i === R) && (t = V);
|
|
62
96
|
}
|
|
63
97
|
this.updateStatus(!1, t);
|
|
64
98
|
}, a.componentWillUnmount = function() {
|
|
65
99
|
this.cancelNextCallback();
|
|
66
100
|
}, a.getTimeouts = function() {
|
|
67
|
-
var
|
|
68
|
-
return t =
|
|
101
|
+
var n = this.props.timeout, t, i, u;
|
|
102
|
+
return t = i = u = n, n != null && typeof n != "number" && (t = n.exit, i = n.enter, u = n.appear !== void 0 ? n.appear : i), {
|
|
69
103
|
exit: t,
|
|
70
|
-
enter:
|
|
104
|
+
enter: i,
|
|
71
105
|
appear: u
|
|
72
106
|
};
|
|
73
|
-
}, a.updateStatus = function(
|
|
74
|
-
if (
|
|
75
|
-
if (this.cancelNextCallback(), t ===
|
|
107
|
+
}, a.updateStatus = function(n, t) {
|
|
108
|
+
if (n === void 0 && (n = !1), t !== null)
|
|
109
|
+
if (this.cancelNextCallback(), t === T) {
|
|
76
110
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
77
|
-
var
|
|
78
|
-
|
|
111
|
+
var i = this.props.nodeRef ? this.props.nodeRef.current : L.findDOMNode(this);
|
|
112
|
+
i && Tt(i);
|
|
79
113
|
}
|
|
80
|
-
this.performEnter(
|
|
114
|
+
this.performEnter(n);
|
|
81
115
|
} else
|
|
82
116
|
this.performExit();
|
|
83
|
-
else this.props.unmountOnExit && this.state.status ===
|
|
84
|
-
status:
|
|
117
|
+
else this.props.unmountOnExit && this.state.status === v && this.setState({
|
|
118
|
+
status: S
|
|
85
119
|
});
|
|
86
|
-
}, a.performEnter = function(
|
|
87
|
-
var t = this,
|
|
88
|
-
if (!
|
|
120
|
+
}, a.performEnter = function(n) {
|
|
121
|
+
var t = this, i = this.props.enter, u = this.context ? this.context.isMounting : n, l = this.props.nodeRef ? [u] : [L.findDOMNode(this), u], f = l[0], h = l[1], O = this.getTimeouts(), _ = u ? O.appear : O.enter;
|
|
122
|
+
if (!n && !i || U.disabled) {
|
|
89
123
|
this.safeSetState({
|
|
90
|
-
status:
|
|
124
|
+
status: R
|
|
91
125
|
}, function() {
|
|
92
|
-
t.props.onEntered(
|
|
126
|
+
t.props.onEntered(f);
|
|
93
127
|
});
|
|
94
128
|
return;
|
|
95
129
|
}
|
|
96
|
-
this.props.onEnter(
|
|
97
|
-
status:
|
|
130
|
+
this.props.onEnter(f, h), this.safeSetState({
|
|
131
|
+
status: T
|
|
98
132
|
}, function() {
|
|
99
|
-
t.props.onEntering(
|
|
133
|
+
t.props.onEntering(f, h), t.onTransitionEnd(_, function() {
|
|
100
134
|
t.safeSetState({
|
|
101
|
-
status:
|
|
135
|
+
status: R
|
|
102
136
|
}, function() {
|
|
103
|
-
t.props.onEntered(
|
|
137
|
+
t.props.onEntered(f, h);
|
|
104
138
|
});
|
|
105
139
|
});
|
|
106
140
|
});
|
|
107
141
|
}, a.performExit = function() {
|
|
108
|
-
var
|
|
109
|
-
if (!t ||
|
|
142
|
+
var n = this, t = this.props.exit, i = this.getTimeouts(), u = this.props.nodeRef ? void 0 : L.findDOMNode(this);
|
|
143
|
+
if (!t || U.disabled) {
|
|
110
144
|
this.safeSetState({
|
|
111
|
-
status:
|
|
145
|
+
status: v
|
|
112
146
|
}, function() {
|
|
113
|
-
|
|
147
|
+
n.props.onExited(u);
|
|
114
148
|
});
|
|
115
149
|
return;
|
|
116
150
|
}
|
|
117
151
|
this.props.onExit(u), this.safeSetState({
|
|
118
|
-
status:
|
|
152
|
+
status: V
|
|
119
153
|
}, function() {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
status:
|
|
154
|
+
n.props.onExiting(u), n.onTransitionEnd(i.exit, function() {
|
|
155
|
+
n.safeSetState({
|
|
156
|
+
status: v
|
|
123
157
|
}, function() {
|
|
124
|
-
|
|
158
|
+
n.props.onExited(u);
|
|
125
159
|
});
|
|
126
160
|
});
|
|
127
161
|
});
|
|
128
162
|
}, a.cancelNextCallback = function() {
|
|
129
163
|
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
130
|
-
}, a.safeSetState = function(
|
|
131
|
-
t = this.setNextCallback(t), this.setState(
|
|
132
|
-
}, a.setNextCallback = function(
|
|
133
|
-
var t = this,
|
|
164
|
+
}, a.safeSetState = function(n, t) {
|
|
165
|
+
t = this.setNextCallback(t), this.setState(n, t);
|
|
166
|
+
}, a.setNextCallback = function(n) {
|
|
167
|
+
var t = this, i = !0;
|
|
134
168
|
return this.nextCallback = function(u) {
|
|
135
|
-
|
|
169
|
+
i && (i = !1, t.nextCallback = null, n(u));
|
|
136
170
|
}, this.nextCallback.cancel = function() {
|
|
137
|
-
|
|
171
|
+
i = !1;
|
|
138
172
|
}, this.nextCallback;
|
|
139
|
-
}, a.onTransitionEnd = function(
|
|
173
|
+
}, a.onTransitionEnd = function(n, t) {
|
|
140
174
|
this.setNextCallback(t);
|
|
141
|
-
var
|
|
142
|
-
if (!
|
|
175
|
+
var i = this.props.nodeRef ? this.props.nodeRef.current : L.findDOMNode(this), u = n == null && !this.props.addEndListener;
|
|
176
|
+
if (!i || u) {
|
|
143
177
|
setTimeout(this.nextCallback, 0);
|
|
144
178
|
return;
|
|
145
179
|
}
|
|
146
180
|
if (this.props.addEndListener) {
|
|
147
|
-
var l = this.props.nodeRef ? [this.nextCallback] : [
|
|
148
|
-
this.props.addEndListener(
|
|
181
|
+
var l = this.props.nodeRef ? [this.nextCallback] : [i, this.nextCallback], f = l[0], h = l[1];
|
|
182
|
+
this.props.addEndListener(f, h);
|
|
149
183
|
}
|
|
150
|
-
|
|
184
|
+
n != null && setTimeout(this.nextCallback, n);
|
|
151
185
|
}, a.render = function() {
|
|
152
|
-
var
|
|
153
|
-
if (
|
|
186
|
+
var n = this.state.status;
|
|
187
|
+
if (n === S)
|
|
154
188
|
return null;
|
|
155
|
-
var t = this.props,
|
|
189
|
+
var t = this.props, i = t.children;
|
|
156
190
|
t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
|
|
157
|
-
var u =
|
|
191
|
+
var u = dt(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
158
192
|
return (
|
|
159
193
|
// allows for nested Transitions
|
|
160
|
-
/* @__PURE__ */
|
|
194
|
+
/* @__PURE__ */ w.createElement(W.Provider, {
|
|
161
195
|
value: null
|
|
162
|
-
}, typeof
|
|
196
|
+
}, typeof i == "function" ? i(n, u) : w.cloneElement(w.Children.only(i), u))
|
|
163
197
|
);
|
|
164
198
|
}, s;
|
|
165
|
-
}(
|
|
166
|
-
|
|
167
|
-
|
|
199
|
+
}(w.Component);
|
|
200
|
+
m.contextType = W;
|
|
201
|
+
m.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
168
202
|
/**
|
|
169
203
|
* A React reference to DOM element that need to transition:
|
|
170
204
|
* https://stackoverflow.com/a/51127130/4671932
|
|
@@ -177,9 +211,9 @@ h.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
177
211
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
178
212
|
*/
|
|
179
213
|
nodeRef: e.shape({
|
|
180
|
-
current: typeof Element > "u" ? e.any : function(
|
|
181
|
-
var
|
|
182
|
-
return e.instanceOf(
|
|
214
|
+
current: typeof Element > "u" ? e.any : function(o, s, a, r, n, t) {
|
|
215
|
+
var i = o[s];
|
|
216
|
+
return e.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(o, s, a, r, n, t);
|
|
183
217
|
}
|
|
184
218
|
}),
|
|
185
219
|
/**
|
|
@@ -260,11 +294,11 @@ h.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
260
294
|
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
261
295
|
*/
|
|
262
296
|
timeout: function(s) {
|
|
263
|
-
var a =
|
|
297
|
+
var a = vt;
|
|
264
298
|
s.addEndListener || (a = a.isRequired);
|
|
265
|
-
for (var
|
|
266
|
-
|
|
267
|
-
return a.apply(void 0, [s].concat(
|
|
299
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
|
|
300
|
+
n[t - 1] = arguments[t];
|
|
301
|
+
return a.apply(void 0, [s].concat(n));
|
|
268
302
|
},
|
|
269
303
|
/**
|
|
270
304
|
* Add a custom transition end trigger. Called with the transitioning
|
|
@@ -333,248 +367,152 @@ h.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
333
367
|
*/
|
|
334
368
|
onExited: e.func
|
|
335
369
|
} : {};
|
|
336
|
-
function
|
|
370
|
+
function D() {
|
|
337
371
|
}
|
|
338
|
-
|
|
372
|
+
m.defaultProps = {
|
|
339
373
|
in: !1,
|
|
340
374
|
mountOnEnter: !1,
|
|
341
375
|
unmountOnExit: !1,
|
|
342
376
|
appear: !1,
|
|
343
377
|
enter: !0,
|
|
344
378
|
exit: !0,
|
|
345
|
-
onEnter:
|
|
346
|
-
onEntering:
|
|
347
|
-
onEntered:
|
|
348
|
-
onExit:
|
|
349
|
-
onExiting:
|
|
350
|
-
onExited:
|
|
379
|
+
onEnter: D,
|
|
380
|
+
onEntering: D,
|
|
381
|
+
onEntered: D,
|
|
382
|
+
onExit: D,
|
|
383
|
+
onExiting: D,
|
|
384
|
+
onExited: D
|
|
351
385
|
};
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
prototype: s = {}
|
|
360
|
-
} = n;
|
|
361
|
-
return !!s.isReactComponent;
|
|
362
|
-
}
|
|
363
|
-
function Z(n, s, a, i, o) {
|
|
364
|
-
const t = n[s], r = o || s;
|
|
365
|
-
if (t == null || // When server-side rendering React doesn't warn either.
|
|
366
|
-
// This is not an accurate check for SSR.
|
|
367
|
-
// This is only in place for Emotion compat.
|
|
368
|
-
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
369
|
-
typeof window > "u")
|
|
370
|
-
return null;
|
|
371
|
-
let u;
|
|
372
|
-
const l = t.type;
|
|
373
|
-
return typeof l == "function" && !Nt(l) && (u = "Did you accidentally use a plain function component for an element instead?"), u !== void 0 ? new Error(`Invalid ${i} \`${r}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
374
|
-
}
|
|
375
|
-
const tt = Y(e.element, Z);
|
|
376
|
-
tt.isRequired = Y(e.element.isRequired, Z);
|
|
377
|
-
const Dt = "exact-prop: ";
|
|
378
|
-
function Rt(n) {
|
|
379
|
-
return process.env.NODE_ENV === "production" ? n : {
|
|
380
|
-
...n,
|
|
381
|
-
[Dt]: (s) => {
|
|
382
|
-
const a = Object.keys(s).filter((i) => !n.hasOwnProperty(i));
|
|
383
|
-
return a.length > 0 ? new Error(`The following props are not supported: ${a.map((i) => `\`${i}\``).join(", ")}. Please remove them.`) : null;
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
}
|
|
387
|
-
function Ot(n, s, a, i, o) {
|
|
388
|
-
if (process.env.NODE_ENV === "production")
|
|
389
|
-
return null;
|
|
390
|
-
const t = n[s], r = o || s;
|
|
391
|
-
return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${i} \`${r}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
|
|
392
|
-
}
|
|
393
|
-
function Ut(n) {
|
|
394
|
-
return n && n.ownerDocument || document;
|
|
395
|
-
}
|
|
396
|
-
let B = 0;
|
|
397
|
-
function St(n) {
|
|
398
|
-
const [s, a] = f.useState(n), i = n || s;
|
|
399
|
-
return f.useEffect(() => {
|
|
400
|
-
s == null && (B += 1, a(`mui-${B}`));
|
|
401
|
-
}, [s]), i;
|
|
402
|
-
}
|
|
403
|
-
const Pt = {
|
|
404
|
-
...f
|
|
405
|
-
}, K = Pt.useId;
|
|
406
|
-
function jt(n) {
|
|
407
|
-
if (K !== void 0) {
|
|
408
|
-
const s = K();
|
|
409
|
-
return n ?? s;
|
|
410
|
-
}
|
|
411
|
-
return St(n);
|
|
412
|
-
}
|
|
413
|
-
function et(n) {
|
|
414
|
-
var s;
|
|
415
|
-
return parseInt(f.version, 10) >= 19 ? ((s = n == null ? void 0 : n.props) == null ? void 0 : s.ref) || null : (n == null ? void 0 : n.ref) || null;
|
|
416
|
-
}
|
|
417
|
-
function qt(n, s) {
|
|
418
|
-
const {
|
|
419
|
-
className: a,
|
|
420
|
-
elementType: i,
|
|
421
|
-
ownerState: o,
|
|
422
|
-
externalForwardedProps: t,
|
|
423
|
-
internalForwardedProps: r,
|
|
424
|
-
...u
|
|
425
|
-
} = s, {
|
|
426
|
-
component: l,
|
|
427
|
-
slots: p = {
|
|
428
|
-
[n]: void 0
|
|
429
|
-
},
|
|
430
|
-
slotProps: d = {
|
|
431
|
-
[n]: void 0
|
|
432
|
-
},
|
|
433
|
-
...v
|
|
434
|
-
} = t, b = p[n] || i, N = lt(d[n], o), {
|
|
435
|
-
props: {
|
|
436
|
-
component: D,
|
|
437
|
-
...E
|
|
438
|
-
},
|
|
439
|
-
internalRef: $
|
|
440
|
-
} = ct({
|
|
441
|
-
className: a,
|
|
442
|
-
...u,
|
|
443
|
-
externalForwardedProps: n === "root" ? v : void 0,
|
|
444
|
-
externalSlotProps: N
|
|
445
|
-
}), A = q($, N == null ? void 0 : N.ref, s.ref), _ = n === "root" ? D || l : D, w = pt(b, {
|
|
446
|
-
...n === "root" && !l && !p[n] && r,
|
|
447
|
-
...n !== "root" && !p[n] && r,
|
|
448
|
-
...E,
|
|
449
|
-
..._ && {
|
|
450
|
-
as: _
|
|
451
|
-
},
|
|
452
|
-
ref: A
|
|
453
|
-
}, o);
|
|
454
|
-
return [b, w];
|
|
455
|
-
}
|
|
456
|
-
const Ct = (n) => n.scrollTop;
|
|
457
|
-
function J(n, s) {
|
|
386
|
+
m.UNMOUNTED = S;
|
|
387
|
+
m.EXITED = v;
|
|
388
|
+
m.ENTERING = T;
|
|
389
|
+
m.ENTERED = R;
|
|
390
|
+
m.EXITING = V;
|
|
391
|
+
const yt = (o) => o.scrollTop;
|
|
392
|
+
function F(o, s) {
|
|
458
393
|
const {
|
|
459
394
|
timeout: a,
|
|
460
|
-
easing:
|
|
461
|
-
style:
|
|
462
|
-
} =
|
|
395
|
+
easing: r,
|
|
396
|
+
style: n = {}
|
|
397
|
+
} = o;
|
|
463
398
|
return {
|
|
464
|
-
duration:
|
|
465
|
-
easing:
|
|
466
|
-
delay:
|
|
399
|
+
duration: n.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
|
|
400
|
+
easing: n.transitionTimingFunction ?? (typeof r == "object" ? r[s.mode] : r),
|
|
401
|
+
delay: n.transitionDelay
|
|
467
402
|
};
|
|
468
403
|
}
|
|
469
|
-
function
|
|
470
|
-
return `scale(${
|
|
404
|
+
function A(o) {
|
|
405
|
+
return `scale(${o}, ${o ** 2})`;
|
|
471
406
|
}
|
|
472
|
-
const
|
|
407
|
+
const bt = {
|
|
473
408
|
entering: {
|
|
474
409
|
opacity: 1,
|
|
475
|
-
transform:
|
|
410
|
+
transform: A(1)
|
|
476
411
|
},
|
|
477
412
|
entered: {
|
|
478
413
|
opacity: 1,
|
|
479
414
|
transform: "none"
|
|
480
415
|
}
|
|
481
|
-
},
|
|
416
|
+
}, I = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), H = /* @__PURE__ */ p.forwardRef(function(s, a) {
|
|
482
417
|
const {
|
|
483
|
-
addEndListener:
|
|
484
|
-
appear:
|
|
418
|
+
addEndListener: r,
|
|
419
|
+
appear: n = !0,
|
|
485
420
|
children: t,
|
|
486
|
-
easing:
|
|
421
|
+
easing: i,
|
|
487
422
|
in: u,
|
|
488
423
|
onEnter: l,
|
|
489
|
-
onEntered:
|
|
490
|
-
onEntering:
|
|
491
|
-
onExit:
|
|
492
|
-
onExited:
|
|
493
|
-
onExiting:
|
|
494
|
-
style:
|
|
495
|
-
timeout:
|
|
424
|
+
onEntered: f,
|
|
425
|
+
onEntering: h,
|
|
426
|
+
onExit: O,
|
|
427
|
+
onExited: _,
|
|
428
|
+
onExiting: J,
|
|
429
|
+
style: M,
|
|
430
|
+
timeout: x = "auto",
|
|
496
431
|
// eslint-disable-next-line react/prop-types
|
|
497
|
-
TransitionComponent:
|
|
498
|
-
...
|
|
499
|
-
} = s,
|
|
432
|
+
TransitionComponent: Q = m,
|
|
433
|
+
...Y
|
|
434
|
+
} = s, Z = Et(), k = p.useRef(), y = gt(), C = p.useRef(null), tt = X(C, K(t), a), b = (c) => (g) => {
|
|
500
435
|
if (c) {
|
|
501
|
-
const
|
|
502
|
-
|
|
436
|
+
const d = C.current;
|
|
437
|
+
g === void 0 ? c(d) : c(d, g);
|
|
503
438
|
}
|
|
504
|
-
},
|
|
505
|
-
|
|
439
|
+
}, et = b(h), nt = b((c, g) => {
|
|
440
|
+
yt(c);
|
|
506
441
|
const {
|
|
507
|
-
duration:
|
|
508
|
-
delay:
|
|
509
|
-
easing:
|
|
510
|
-
} =
|
|
511
|
-
style:
|
|
512
|
-
timeout:
|
|
513
|
-
easing:
|
|
442
|
+
duration: d,
|
|
443
|
+
delay: P,
|
|
444
|
+
easing: E
|
|
445
|
+
} = F({
|
|
446
|
+
style: M,
|
|
447
|
+
timeout: x,
|
|
448
|
+
easing: i
|
|
514
449
|
}, {
|
|
515
450
|
mode: "enter"
|
|
516
451
|
});
|
|
517
|
-
let
|
|
518
|
-
|
|
519
|
-
duration:
|
|
520
|
-
delay:
|
|
521
|
-
}),
|
|
522
|
-
duration:
|
|
523
|
-
delay:
|
|
524
|
-
easing:
|
|
525
|
-
})].join(","), l && l(c,
|
|
526
|
-
}), it =
|
|
452
|
+
let N;
|
|
453
|
+
x === "auto" ? (N = y.transitions.getAutoHeightDuration(c.clientHeight), k.current = N) : N = d, c.style.transition = [y.transitions.create("opacity", {
|
|
454
|
+
duration: N,
|
|
455
|
+
delay: P
|
|
456
|
+
}), y.transitions.create("transform", {
|
|
457
|
+
duration: I ? N : N * 0.666,
|
|
458
|
+
delay: P,
|
|
459
|
+
easing: E
|
|
460
|
+
})].join(","), l && l(c, g);
|
|
461
|
+
}), it = b(f), ot = b(J), rt = b((c) => {
|
|
527
462
|
const {
|
|
528
|
-
duration:
|
|
529
|
-
delay:
|
|
530
|
-
easing:
|
|
531
|
-
} =
|
|
532
|
-
style:
|
|
533
|
-
timeout:
|
|
534
|
-
easing:
|
|
463
|
+
duration: g,
|
|
464
|
+
delay: d,
|
|
465
|
+
easing: P
|
|
466
|
+
} = F({
|
|
467
|
+
style: M,
|
|
468
|
+
timeout: x,
|
|
469
|
+
easing: i
|
|
535
470
|
}, {
|
|
536
471
|
mode: "exit"
|
|
537
472
|
});
|
|
538
|
-
let
|
|
539
|
-
|
|
540
|
-
duration:
|
|
541
|
-
delay:
|
|
542
|
-
}),
|
|
543
|
-
duration:
|
|
544
|
-
delay:
|
|
545
|
-
easing:
|
|
546
|
-
})].join(","), c.style.opacity = 0, c.style.transform =
|
|
547
|
-
}),
|
|
548
|
-
return /* @__PURE__ */
|
|
549
|
-
appear:
|
|
473
|
+
let E;
|
|
474
|
+
x === "auto" ? (E = y.transitions.getAutoHeightDuration(c.clientHeight), k.current = E) : E = g, c.style.transition = [y.transitions.create("opacity", {
|
|
475
|
+
duration: E,
|
|
476
|
+
delay: d
|
|
477
|
+
}), y.transitions.create("transform", {
|
|
478
|
+
duration: I ? E : E * 0.666,
|
|
479
|
+
delay: I ? d : d || E * 0.333,
|
|
480
|
+
easing: P
|
|
481
|
+
})].join(","), c.style.opacity = 0, c.style.transform = A(0.75), O && O(c);
|
|
482
|
+
}), st = b(_);
|
|
483
|
+
return /* @__PURE__ */ pt(Q, {
|
|
484
|
+
appear: n,
|
|
550
485
|
in: u,
|
|
551
|
-
nodeRef:
|
|
552
|
-
onEnter:
|
|
486
|
+
nodeRef: C,
|
|
487
|
+
onEnter: nt,
|
|
553
488
|
onEntered: it,
|
|
554
|
-
onEntering:
|
|
555
|
-
onExit:
|
|
556
|
-
onExited:
|
|
557
|
-
onExiting:
|
|
489
|
+
onEntering: et,
|
|
490
|
+
onExit: rt,
|
|
491
|
+
onExited: st,
|
|
492
|
+
onExiting: ot,
|
|
558
493
|
addEndListener: (c) => {
|
|
559
|
-
|
|
494
|
+
x === "auto" && Z.start(k.current || 0, c), r && r(C.current, c);
|
|
560
495
|
},
|
|
561
|
-
timeout:
|
|
562
|
-
...
|
|
563
|
-
children: (c,
|
|
496
|
+
timeout: x === "auto" ? null : x,
|
|
497
|
+
...Y,
|
|
498
|
+
children: (c, {
|
|
499
|
+
ownerState: g,
|
|
500
|
+
...d
|
|
501
|
+
}) => /* @__PURE__ */ p.cloneElement(t, {
|
|
564
502
|
style: {
|
|
565
503
|
opacity: 0,
|
|
566
|
-
transform:
|
|
504
|
+
transform: A(0.75),
|
|
567
505
|
visibility: c === "exited" && !u ? "hidden" : void 0,
|
|
568
|
-
...
|
|
569
|
-
...
|
|
506
|
+
...bt[c],
|
|
507
|
+
...M,
|
|
570
508
|
...t.props.style
|
|
571
509
|
},
|
|
572
|
-
ref:
|
|
573
|
-
...
|
|
510
|
+
ref: tt,
|
|
511
|
+
...d
|
|
574
512
|
})
|
|
575
513
|
});
|
|
576
514
|
});
|
|
577
|
-
process.env.NODE_ENV !== "production" && (
|
|
515
|
+
process.env.NODE_ENV !== "production" && (H.propTypes = {
|
|
578
516
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
579
517
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
580
518
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -594,7 +532,7 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
|
|
|
594
532
|
/**
|
|
595
533
|
* A single child content element.
|
|
596
534
|
*/
|
|
597
|
-
children:
|
|
535
|
+
children: B.isRequired,
|
|
598
536
|
/**
|
|
599
537
|
* The transition timing function.
|
|
600
538
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -648,35 +586,35 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
|
|
|
648
586
|
exit: e.number
|
|
649
587
|
})])
|
|
650
588
|
});
|
|
651
|
-
|
|
652
|
-
function
|
|
653
|
-
return typeof
|
|
589
|
+
H && (H.muiSupportAuto = !0);
|
|
590
|
+
function Nt(o) {
|
|
591
|
+
return typeof o == "function" ? o() : o;
|
|
654
592
|
}
|
|
655
|
-
const
|
|
593
|
+
const $ = /* @__PURE__ */ p.forwardRef(function(s, a) {
|
|
656
594
|
const {
|
|
657
|
-
children:
|
|
658
|
-
container:
|
|
595
|
+
children: r,
|
|
596
|
+
container: n,
|
|
659
597
|
disablePortal: t = !1
|
|
660
|
-
} = s, [
|
|
661
|
-
if (
|
|
662
|
-
t || u(
|
|
663
|
-
}, [
|
|
664
|
-
if (
|
|
665
|
-
return
|
|
666
|
-
|
|
598
|
+
} = s, [i, u] = p.useState(null), l = X(/* @__PURE__ */ p.isValidElement(r) ? K(r) : null, a);
|
|
599
|
+
if (G(() => {
|
|
600
|
+
t || u(Nt(n) || document.body);
|
|
601
|
+
}, [n, t]), G(() => {
|
|
602
|
+
if (i && !t)
|
|
603
|
+
return q(a, i), () => {
|
|
604
|
+
q(a, null);
|
|
667
605
|
};
|
|
668
|
-
}, [a,
|
|
669
|
-
if (/* @__PURE__ */
|
|
670
|
-
const
|
|
606
|
+
}, [a, i, t]), t) {
|
|
607
|
+
if (/* @__PURE__ */ p.isValidElement(r)) {
|
|
608
|
+
const f = {
|
|
671
609
|
ref: l
|
|
672
610
|
};
|
|
673
|
-
return /* @__PURE__ */
|
|
611
|
+
return /* @__PURE__ */ p.cloneElement(r, f);
|
|
674
612
|
}
|
|
675
|
-
return
|
|
613
|
+
return r;
|
|
676
614
|
}
|
|
677
|
-
return
|
|
615
|
+
return i && /* @__PURE__ */ mt.createPortal(r, i);
|
|
678
616
|
});
|
|
679
|
-
process.env.NODE_ENV !== "production" && (
|
|
617
|
+
process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
680
618
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
681
619
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
682
620
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -695,26 +633,23 @@ process.env.NODE_ENV !== "production" && (j.propTypes = {
|
|
|
695
633
|
* By default, it uses the body of the top-level document object,
|
|
696
634
|
* so it's simply `document.body` most of the time.
|
|
697
635
|
*/
|
|
698
|
-
container: e.oneOfType([
|
|
636
|
+
container: e.oneOfType([xt, e.func]),
|
|
699
637
|
/**
|
|
700
638
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
701
639
|
* @default false
|
|
702
640
|
*/
|
|
703
641
|
disablePortal: e.bool
|
|
704
642
|
});
|
|
705
|
-
process.env.NODE_ENV !== "production" && (
|
|
643
|
+
process.env.NODE_ENV !== "production" && ($.propTypes = ct($.propTypes));
|
|
706
644
|
export {
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
Ut as o,
|
|
718
|
-
Ct as r,
|
|
719
|
-
Tt as u
|
|
645
|
+
H as G,
|
|
646
|
+
xt as H,
|
|
647
|
+
$ as P,
|
|
648
|
+
m as T,
|
|
649
|
+
F as a,
|
|
650
|
+
B as e,
|
|
651
|
+
K as g,
|
|
652
|
+
_t as o,
|
|
653
|
+
yt as r,
|
|
654
|
+
gt as u
|
|
720
655
|
};
|