@sisense/sdk-shared-ui 2.2.0 → 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,23 +1,20 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var re = (
|
|
1
|
+
var ve = Object.defineProperty;
|
|
2
|
+
var Se = (n, e, o) => e in n ? ve(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o;
|
|
3
|
+
var re = (n, e, o) => Se(n, typeof e != "symbol" ? e + "" : e, o);
|
|
4
4
|
import * as d from "react";
|
|
5
5
|
import H, { Children as Be, isValidElement as W, cloneElement as G } from "react";
|
|
6
6
|
import { P as t } from "./index-D0lMis-I.js";
|
|
7
|
-
import { f as E,
|
|
8
|
-
import { jsx as I, jsxs as
|
|
9
|
-
import { c as
|
|
10
|
-
|
|
11
|
-
import { _ as _e } from "./extends-DX42hfxm.js";
|
|
12
|
-
import { _ as Ae } from "./assertThisInitialized-lz6cHcRv.js";
|
|
13
|
-
function Xe(o) {
|
|
7
|
+
import { _ as Le, f as E, a as ce, k as te, s as ne, e as pe, g as ke, h as $e } from "./emotion-cache-provider-B6yKtm_a.js";
|
|
8
|
+
import { jsx as I, jsxs as Oe } from "react/jsx-runtime";
|
|
9
|
+
import { c as Fe, a as je, _ as Ie, b as Ue, T as ae, d as ze, u as le, e as J, i as ue, r as _e } from "./TransitionGroupContext-BNiEy2cD.js";
|
|
10
|
+
function Ae(n) {
|
|
14
11
|
const {
|
|
15
12
|
prototype: e = {}
|
|
16
|
-
} =
|
|
13
|
+
} = n;
|
|
17
14
|
return !!e.isReactComponent;
|
|
18
15
|
}
|
|
19
|
-
function
|
|
20
|
-
const s =
|
|
16
|
+
function Xe(n, e, o, l, i) {
|
|
17
|
+
const s = n[e], r = i || e;
|
|
21
18
|
if (s == null || // When server-side rendering React doesn't warn either.
|
|
22
19
|
// This is not an accurate check for SSR.
|
|
23
20
|
// This is only in place for emotion compat.
|
|
@@ -25,9 +22,9 @@ function Ye(o, e, n, l, i) {
|
|
|
25
22
|
typeof window > "u")
|
|
26
23
|
return null;
|
|
27
24
|
let u;
|
|
28
|
-
return typeof s == "function" && !
|
|
25
|
+
return typeof s == "function" && !Ae(s) && (u = "Did you accidentally provide a plain function component instead?"), u !== void 0 ? new Error(`Invalid ${l} \`${r}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
29
26
|
}
|
|
30
|
-
const
|
|
27
|
+
const Ye = Fe(t.elementType, Xe);
|
|
31
28
|
class Q {
|
|
32
29
|
constructor() {
|
|
33
30
|
re(this, "mountEffect", () => {
|
|
@@ -46,124 +43,129 @@ class Q {
|
|
|
46
43
|
return new Q();
|
|
47
44
|
}
|
|
48
45
|
static use() {
|
|
49
|
-
const e =
|
|
50
|
-
return e.shouldMount =
|
|
46
|
+
const e = je(Q.create).current, [o, l] = d.useState(!1);
|
|
47
|
+
return e.shouldMount = o, e.setShouldMount = l, d.useEffect(e.mountEffect, [o]), e;
|
|
51
48
|
}
|
|
52
49
|
mount() {
|
|
53
|
-
return this.mounted || (this.mounted =
|
|
50
|
+
return this.mounted || (this.mounted = qe(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
|
|
54
51
|
}
|
|
55
52
|
/* Ripple API */
|
|
56
53
|
start(...e) {
|
|
57
54
|
this.mount().then(() => {
|
|
58
|
-
var
|
|
59
|
-
return (
|
|
55
|
+
var o;
|
|
56
|
+
return (o = this.ref.current) == null ? void 0 : o.start(...e);
|
|
60
57
|
});
|
|
61
58
|
}
|
|
62
59
|
stop(...e) {
|
|
63
60
|
this.mount().then(() => {
|
|
64
|
-
var
|
|
65
|
-
return (
|
|
61
|
+
var o;
|
|
62
|
+
return (o = this.ref.current) == null ? void 0 : o.stop(...e);
|
|
66
63
|
});
|
|
67
64
|
}
|
|
68
65
|
pulsate(...e) {
|
|
69
66
|
this.mount().then(() => {
|
|
70
|
-
var
|
|
71
|
-
return (
|
|
67
|
+
var o;
|
|
68
|
+
return (o = this.ref.current) == null ? void 0 : o.pulsate(...e);
|
|
72
69
|
});
|
|
73
70
|
}
|
|
74
71
|
}
|
|
75
|
-
function
|
|
72
|
+
function Ke() {
|
|
76
73
|
return Q.use();
|
|
77
74
|
}
|
|
78
|
-
function
|
|
79
|
-
let
|
|
80
|
-
const
|
|
81
|
-
|
|
75
|
+
function qe() {
|
|
76
|
+
let n, e;
|
|
77
|
+
const o = new Promise((l, i) => {
|
|
78
|
+
n = l, e = i;
|
|
82
79
|
});
|
|
83
|
-
return
|
|
80
|
+
return o.resolve = n, o.reject = e, o;
|
|
81
|
+
}
|
|
82
|
+
function He(n) {
|
|
83
|
+
if (n === void 0)
|
|
84
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
85
|
+
return n;
|
|
84
86
|
}
|
|
85
|
-
function oe(
|
|
86
|
-
var
|
|
87
|
+
function oe(n, e) {
|
|
88
|
+
var o = function(s) {
|
|
87
89
|
return e && W(s) ? e(s) : s;
|
|
88
90
|
}, l = /* @__PURE__ */ Object.create(null);
|
|
89
|
-
return
|
|
91
|
+
return n && Be.map(n, function(i) {
|
|
90
92
|
return i;
|
|
91
93
|
}).forEach(function(i) {
|
|
92
|
-
l[i.key] =
|
|
94
|
+
l[i.key] = o(i);
|
|
93
95
|
}), l;
|
|
94
96
|
}
|
|
95
|
-
function We(
|
|
96
|
-
|
|
97
|
-
function
|
|
98
|
-
return h in e ? e[h] :
|
|
97
|
+
function We(n, e) {
|
|
98
|
+
n = n || {}, e = e || {};
|
|
99
|
+
function o(h) {
|
|
100
|
+
return h in e ? e[h] : n[h];
|
|
99
101
|
}
|
|
100
102
|
var l = /* @__PURE__ */ Object.create(null), i = [];
|
|
101
|
-
for (var s in
|
|
103
|
+
for (var s in n)
|
|
102
104
|
s in e ? i.length && (l[s] = i, i = []) : i.push(s);
|
|
103
105
|
var r, u = {};
|
|
104
106
|
for (var c in e) {
|
|
105
107
|
if (l[c])
|
|
106
108
|
for (r = 0; r < l[c].length; r++) {
|
|
107
109
|
var f = l[c][r];
|
|
108
|
-
u[l[c][r]] =
|
|
110
|
+
u[l[c][r]] = o(f);
|
|
109
111
|
}
|
|
110
|
-
u[c] =
|
|
112
|
+
u[c] = o(c);
|
|
111
113
|
}
|
|
112
114
|
for (r = 0; r < i.length; r++)
|
|
113
|
-
u[i[r]] =
|
|
115
|
+
u[i[r]] = o(i[r]);
|
|
114
116
|
return u;
|
|
115
117
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
118
|
+
function $(n, e, o) {
|
|
119
|
+
return o[e] != null ? o[e] : n.props[e];
|
|
118
120
|
}
|
|
119
|
-
function Ge(
|
|
120
|
-
return oe(
|
|
121
|
-
return G(
|
|
122
|
-
onExited: e.bind(null,
|
|
121
|
+
function Ge(n, e) {
|
|
122
|
+
return oe(n.children, function(o) {
|
|
123
|
+
return G(o, {
|
|
124
|
+
onExited: e.bind(null, o),
|
|
123
125
|
in: !0,
|
|
124
|
-
appear:
|
|
125
|
-
enter:
|
|
126
|
-
exit:
|
|
126
|
+
appear: $(o, "appear", n),
|
|
127
|
+
enter: $(o, "enter", n),
|
|
128
|
+
exit: $(o, "exit", n)
|
|
127
129
|
});
|
|
128
130
|
});
|
|
129
131
|
}
|
|
130
|
-
function Je(
|
|
131
|
-
var l = oe(
|
|
132
|
+
function Je(n, e, o) {
|
|
133
|
+
var l = oe(n.children), i = We(e, l);
|
|
132
134
|
return Object.keys(i).forEach(function(s) {
|
|
133
135
|
var r = i[s];
|
|
134
136
|
if (W(r)) {
|
|
135
137
|
var u = s in e, c = s in l, f = e[s], h = W(f) && !f.props.in;
|
|
136
138
|
c && (!u || h) ? i[s] = G(r, {
|
|
137
|
-
onExited:
|
|
139
|
+
onExited: o.bind(null, r),
|
|
138
140
|
in: !0,
|
|
139
|
-
exit:
|
|
140
|
-
enter:
|
|
141
|
+
exit: $(r, "exit", n),
|
|
142
|
+
enter: $(r, "enter", n)
|
|
141
143
|
}) : !c && u && !h ? i[s] = G(r, {
|
|
142
144
|
in: !1
|
|
143
145
|
}) : c && u && W(f) && (i[s] = G(r, {
|
|
144
|
-
onExited:
|
|
146
|
+
onExited: o.bind(null, r),
|
|
145
147
|
in: f.props.in,
|
|
146
|
-
exit:
|
|
147
|
-
enter:
|
|
148
|
+
exit: $(r, "exit", n),
|
|
149
|
+
enter: $(r, "enter", n)
|
|
148
150
|
}));
|
|
149
151
|
}
|
|
150
152
|
}), i;
|
|
151
153
|
}
|
|
152
|
-
var Qe = Object.values || function(
|
|
153
|
-
return Object.keys(
|
|
154
|
-
return
|
|
154
|
+
var Qe = Object.values || function(n) {
|
|
155
|
+
return Object.keys(n).map(function(e) {
|
|
156
|
+
return n[e];
|
|
155
157
|
});
|
|
156
158
|
}, Ze = {
|
|
157
159
|
component: "div",
|
|
158
160
|
childFactory: function(e) {
|
|
159
161
|
return e;
|
|
160
162
|
}
|
|
161
|
-
}, ie = /* @__PURE__ */ function(
|
|
162
|
-
|
|
163
|
+
}, ie = /* @__PURE__ */ function(n) {
|
|
164
|
+
Ie(e, n);
|
|
163
165
|
function e(l, i) {
|
|
164
166
|
var s;
|
|
165
|
-
s =
|
|
166
|
-
var r = s.handleExited.bind(
|
|
167
|
+
s = n.call(this, l, i) || this;
|
|
168
|
+
var r = s.handleExited.bind(He(s));
|
|
167
169
|
return s.state = {
|
|
168
170
|
contextValue: {
|
|
169
171
|
isMounting: !0
|
|
@@ -172,14 +174,14 @@ var Qe = Object.values || function(o) {
|
|
|
172
174
|
firstRender: !0
|
|
173
175
|
}, s;
|
|
174
176
|
}
|
|
175
|
-
var
|
|
176
|
-
return
|
|
177
|
+
var o = e.prototype;
|
|
178
|
+
return o.componentDidMount = function() {
|
|
177
179
|
this.mounted = !0, this.setState({
|
|
178
180
|
contextValue: {
|
|
179
181
|
isMounting: !1
|
|
180
182
|
}
|
|
181
183
|
});
|
|
182
|
-
},
|
|
184
|
+
}, o.componentWillUnmount = function() {
|
|
183
185
|
this.mounted = !1;
|
|
184
186
|
}, e.getDerivedStateFromProps = function(i, s) {
|
|
185
187
|
var r = s.children, u = s.handleExited, c = s.firstRender;
|
|
@@ -187,16 +189,16 @@ var Qe = Object.values || function(o) {
|
|
|
187
189
|
children: c ? Ge(i, u) : Je(i, r, u),
|
|
188
190
|
firstRender: !1
|
|
189
191
|
};
|
|
190
|
-
},
|
|
192
|
+
}, o.handleExited = function(i, s) {
|
|
191
193
|
var r = oe(this.props.children);
|
|
192
194
|
i.key in r || (i.props.onExited && i.props.onExited(s), this.mounted && this.setState(function(u) {
|
|
193
|
-
var c =
|
|
195
|
+
var c = Le({}, u.children);
|
|
194
196
|
return delete c[i.key], {
|
|
195
197
|
children: c
|
|
196
198
|
};
|
|
197
199
|
}));
|
|
198
|
-
},
|
|
199
|
-
var i = this.props, s = i.component, r = i.childFactory, u =
|
|
200
|
+
}, o.render = function() {
|
|
201
|
+
var i = this.props, s = i.component, r = i.childFactory, u = Ue(i, ["component", "childFactory"]), c = this.state.contextValue, f = Qe(this.state.children).map(r);
|
|
200
202
|
return delete u.appear, delete u.enter, delete u.exit, s === null ? /* @__PURE__ */ H.createElement(ae.Provider, {
|
|
201
203
|
value: c
|
|
202
204
|
}, f) : /* @__PURE__ */ H.createElement(ae.Provider, {
|
|
@@ -258,10 +260,10 @@ ie.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
258
260
|
childFactory: t.func
|
|
259
261
|
} : {};
|
|
260
262
|
ie.defaultProps = Ze;
|
|
261
|
-
function fe(
|
|
263
|
+
function fe(n) {
|
|
262
264
|
const {
|
|
263
265
|
className: e,
|
|
264
|
-
classes:
|
|
266
|
+
classes: o,
|
|
265
267
|
pulsate: l = !1,
|
|
266
268
|
rippleX: i,
|
|
267
269
|
rippleY: s,
|
|
@@ -269,22 +271,22 @@ function fe(o) {
|
|
|
269
271
|
in: u,
|
|
270
272
|
onExited: c,
|
|
271
273
|
timeout: f
|
|
272
|
-
} =
|
|
274
|
+
} = n, [h, m] = d.useState(!1), R = E(e, o.ripple, o.rippleVisible, l && o.ripplePulsate), D = {
|
|
273
275
|
width: r,
|
|
274
276
|
height: r,
|
|
275
277
|
top: -(r / 2) + s,
|
|
276
278
|
left: -(r / 2) + i
|
|
277
|
-
}, g = E(
|
|
279
|
+
}, g = E(o.child, h && o.childLeaving, l && o.childPulsate);
|
|
278
280
|
return !u && !h && m(!0), d.useEffect(() => {
|
|
279
281
|
if (!u && c != null) {
|
|
280
|
-
const
|
|
282
|
+
const S = setTimeout(c, f);
|
|
281
283
|
return () => {
|
|
282
|
-
clearTimeout(
|
|
284
|
+
clearTimeout(S);
|
|
283
285
|
};
|
|
284
286
|
}
|
|
285
287
|
}, [c, u, f]), /* @__PURE__ */ I("span", {
|
|
286
|
-
className:
|
|
287
|
-
style:
|
|
288
|
+
className: R,
|
|
289
|
+
style: D,
|
|
288
290
|
children: /* @__PURE__ */ I("span", {
|
|
289
291
|
className: g
|
|
290
292
|
})
|
|
@@ -381,14 +383,14 @@ const y = ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
|
|
|
381
383
|
animation-name: ${tt};
|
|
382
384
|
animation-duration: ${ee}ms;
|
|
383
385
|
animation-timing-function: ${({
|
|
384
|
-
theme:
|
|
385
|
-
}) =>
|
|
386
|
+
theme: n
|
|
387
|
+
}) => n.transitions.easing.easeInOut};
|
|
386
388
|
}
|
|
387
389
|
|
|
388
390
|
&.${y.ripplePulsate} {
|
|
389
391
|
animation-duration: ${({
|
|
390
|
-
theme:
|
|
391
|
-
}) =>
|
|
392
|
+
theme: n
|
|
393
|
+
}) => n.transitions.duration.shorter}ms;
|
|
392
394
|
}
|
|
393
395
|
|
|
394
396
|
& .${y.child} {
|
|
@@ -405,8 +407,8 @@ const y = ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
|
|
|
405
407
|
animation-name: ${nt};
|
|
406
408
|
animation-duration: ${ee}ms;
|
|
407
409
|
animation-timing-function: ${({
|
|
408
|
-
theme:
|
|
409
|
-
}) =>
|
|
410
|
+
theme: n
|
|
411
|
+
}) => n.transitions.easing.easeInOut};
|
|
410
412
|
}
|
|
411
413
|
|
|
412
414
|
& .${y.childPulsate} {
|
|
@@ -417,12 +419,12 @@ const y = ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
|
|
|
417
419
|
animation-name: ${ot};
|
|
418
420
|
animation-duration: 2500ms;
|
|
419
421
|
animation-timing-function: ${({
|
|
420
|
-
theme:
|
|
421
|
-
}) =>
|
|
422
|
+
theme: n
|
|
423
|
+
}) => n.transitions.easing.easeInOut};
|
|
422
424
|
animation-iteration-count: infinite;
|
|
423
425
|
animation-delay: 200ms;
|
|
424
426
|
}
|
|
425
|
-
`, de = /* @__PURE__ */ d.forwardRef(function(e,
|
|
427
|
+
`, de = /* @__PURE__ */ d.forwardRef(function(e, o) {
|
|
426
428
|
const l = pe({
|
|
427
429
|
props: e,
|
|
428
430
|
name: "MuiTouchRipple"
|
|
@@ -435,10 +437,10 @@ const y = ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
|
|
|
435
437
|
d.useEffect(() => {
|
|
436
438
|
m.current && (m.current(), m.current = null);
|
|
437
439
|
}, [c]);
|
|
438
|
-
const
|
|
440
|
+
const R = d.useRef(!1), D = ze(), g = d.useRef(null), S = d.useRef(null), x = d.useCallback((p) => {
|
|
439
441
|
const {
|
|
440
442
|
pulsate: T,
|
|
441
|
-
rippleX:
|
|
443
|
+
rippleX: M,
|
|
442
444
|
rippleY: j,
|
|
443
445
|
rippleSize: B,
|
|
444
446
|
cb: U
|
|
@@ -454,11 +456,11 @@ const y = ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
|
|
|
454
456
|
},
|
|
455
457
|
timeout: ee,
|
|
456
458
|
pulsate: T,
|
|
457
|
-
rippleX:
|
|
459
|
+
rippleX: M,
|
|
458
460
|
rippleY: j,
|
|
459
461
|
rippleSize: B
|
|
460
462
|
}, h.current)]), h.current += 1, m.current = U;
|
|
461
|
-
}, [s]), O = d.useCallback((p = {}, T = {},
|
|
463
|
+
}, [s]), O = d.useCallback((p = {}, T = {}, M = () => {
|
|
462
464
|
}) => {
|
|
463
465
|
const {
|
|
464
466
|
pulsate: j = !1,
|
|
@@ -466,70 +468,70 @@ const y = ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
|
|
|
466
468
|
fakeElement: U = !1
|
|
467
469
|
// For test purposes
|
|
468
470
|
} = T;
|
|
469
|
-
if ((p == null ? void 0 : p.type) === "mousedown" &&
|
|
470
|
-
|
|
471
|
+
if ((p == null ? void 0 : p.type) === "mousedown" && R.current) {
|
|
472
|
+
R.current = !1;
|
|
471
473
|
return;
|
|
472
474
|
}
|
|
473
|
-
(p == null ? void 0 : p.type) === "touchstart" && (
|
|
474
|
-
const C = U ? null :
|
|
475
|
+
(p == null ? void 0 : p.type) === "touchstart" && (R.current = !0);
|
|
476
|
+
const C = U ? null : S.current, N = C ? C.getBoundingClientRect() : {
|
|
475
477
|
width: 0,
|
|
476
478
|
height: 0,
|
|
477
479
|
left: 0,
|
|
478
480
|
top: 0
|
|
479
481
|
};
|
|
480
|
-
let
|
|
482
|
+
let V, P, v;
|
|
481
483
|
if (B || p === void 0 || p.clientX === 0 && p.clientY === 0 || !p.clientX && !p.touches)
|
|
482
|
-
|
|
484
|
+
V = Math.round(N.width / 2), P = Math.round(N.height / 2);
|
|
483
485
|
else {
|
|
484
486
|
const {
|
|
485
487
|
clientX: z,
|
|
486
488
|
clientY: L
|
|
487
489
|
} = p.touches && p.touches.length > 0 ? p.touches[0] : p;
|
|
488
|
-
|
|
490
|
+
V = Math.round(z - N.left), P = Math.round(L - N.top);
|
|
489
491
|
}
|
|
490
492
|
if (B)
|
|
491
|
-
|
|
493
|
+
v = Math.sqrt((2 * N.width ** 2 + N.height ** 2) / 3), v % 2 === 0 && (v += 1);
|
|
492
494
|
else {
|
|
493
|
-
const z = Math.max(Math.abs((C ? C.clientWidth : 0) -
|
|
494
|
-
|
|
495
|
+
const z = Math.max(Math.abs((C ? C.clientWidth : 0) - V), V) * 2 + 2, L = Math.max(Math.abs((C ? C.clientHeight : 0) - P), P) * 2 + 2;
|
|
496
|
+
v = Math.sqrt(z ** 2 + L ** 2);
|
|
495
497
|
}
|
|
496
498
|
p != null && p.touches ? g.current === null && (g.current = () => {
|
|
497
499
|
x({
|
|
498
500
|
pulsate: j,
|
|
499
|
-
rippleX:
|
|
501
|
+
rippleX: V,
|
|
500
502
|
rippleY: P,
|
|
501
|
-
rippleSize:
|
|
502
|
-
cb:
|
|
503
|
+
rippleSize: v,
|
|
504
|
+
cb: M
|
|
503
505
|
});
|
|
504
|
-
},
|
|
506
|
+
}, D.start(et, () => {
|
|
505
507
|
g.current && (g.current(), g.current = null);
|
|
506
508
|
})) : x({
|
|
507
509
|
pulsate: j,
|
|
508
|
-
rippleX:
|
|
510
|
+
rippleX: V,
|
|
509
511
|
rippleY: P,
|
|
510
|
-
rippleSize:
|
|
511
|
-
cb:
|
|
512
|
+
rippleSize: v,
|
|
513
|
+
cb: M
|
|
512
514
|
});
|
|
513
|
-
}, [i, x,
|
|
515
|
+
}, [i, x, D]), Y = d.useCallback(() => {
|
|
514
516
|
O({}, {
|
|
515
517
|
pulsate: !0
|
|
516
518
|
});
|
|
517
519
|
}, [O]), F = d.useCallback((p, T) => {
|
|
518
|
-
if (
|
|
519
|
-
g.current(), g.current = null,
|
|
520
|
+
if (D.clear(), (p == null ? void 0 : p.type) === "touchend" && g.current) {
|
|
521
|
+
g.current(), g.current = null, D.start(0, () => {
|
|
520
522
|
F(p, T);
|
|
521
523
|
});
|
|
522
524
|
return;
|
|
523
525
|
}
|
|
524
|
-
g.current = null, f((
|
|
525
|
-
}, [
|
|
526
|
-
return d.useImperativeHandle(
|
|
526
|
+
g.current = null, f((M) => M.length > 0 ? M.slice(1) : M), m.current = T;
|
|
527
|
+
}, [D]);
|
|
528
|
+
return d.useImperativeHandle(o, () => ({
|
|
527
529
|
pulsate: Y,
|
|
528
530
|
start: O,
|
|
529
531
|
stop: F
|
|
530
532
|
}), [Y, O, F]), /* @__PURE__ */ I(it, {
|
|
531
533
|
className: E(y.root, s.root, r),
|
|
532
|
-
ref:
|
|
534
|
+
ref: S,
|
|
533
535
|
...u,
|
|
534
536
|
children: /* @__PURE__ */ I(ie, {
|
|
535
537
|
component: null,
|
|
@@ -553,23 +555,23 @@ process.env.NODE_ENV !== "production" && (de.propTypes = {
|
|
|
553
555
|
*/
|
|
554
556
|
className: t.string
|
|
555
557
|
});
|
|
556
|
-
function rt(
|
|
557
|
-
return
|
|
558
|
+
function rt(n) {
|
|
559
|
+
return ke("MuiButtonBase", n);
|
|
558
560
|
}
|
|
559
|
-
const at = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), lt = (
|
|
561
|
+
const at = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), lt = (n) => {
|
|
560
562
|
const {
|
|
561
563
|
disabled: e,
|
|
562
|
-
focusVisible:
|
|
564
|
+
focusVisible: o,
|
|
563
565
|
focusVisibleClassName: l,
|
|
564
566
|
classes: i
|
|
565
|
-
} =
|
|
566
|
-
root: ["root", e && "disabled",
|
|
567
|
+
} = n, r = $e({
|
|
568
|
+
root: ["root", e && "disabled", o && "focusVisible"]
|
|
567
569
|
}, rt, i);
|
|
568
|
-
return
|
|
570
|
+
return o && l && (r.root += ` ${l}`), r;
|
|
569
571
|
}, ut = ne("button", {
|
|
570
572
|
name: "MuiButtonBase",
|
|
571
573
|
slot: "Root",
|
|
572
|
-
overridesResolver: (
|
|
574
|
+
overridesResolver: (n, e) => e.root
|
|
573
575
|
})({
|
|
574
576
|
display: "inline-flex",
|
|
575
577
|
alignItems: "center",
|
|
@@ -609,7 +611,7 @@ const at = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), lt = (o) =
|
|
|
609
611
|
"@media print": {
|
|
610
612
|
colorAdjust: "exact"
|
|
611
613
|
}
|
|
612
|
-
}), ct = /* @__PURE__ */ d.forwardRef(function(e,
|
|
614
|
+
}), ct = /* @__PURE__ */ d.forwardRef(function(e, o) {
|
|
613
615
|
const l = pe({
|
|
614
616
|
props: e,
|
|
615
617
|
name: "MuiButtonBase"
|
|
@@ -622,89 +624,89 @@ const at = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), lt = (o) =
|
|
|
622
624
|
disabled: f = !1,
|
|
623
625
|
disableRipple: h = !1,
|
|
624
626
|
disableTouchRipple: m = !1,
|
|
625
|
-
focusRipple:
|
|
626
|
-
focusVisibleClassName:
|
|
627
|
+
focusRipple: R = !1,
|
|
628
|
+
focusVisibleClassName: D,
|
|
627
629
|
LinkComponent: g = "a",
|
|
628
|
-
onBlur:
|
|
630
|
+
onBlur: S,
|
|
629
631
|
onClick: x,
|
|
630
632
|
onContextMenu: O,
|
|
631
633
|
onDragLeave: Y,
|
|
632
634
|
onFocus: F,
|
|
633
635
|
onFocusVisible: p,
|
|
634
636
|
onKeyDown: T,
|
|
635
|
-
onKeyUp:
|
|
637
|
+
onKeyUp: M,
|
|
636
638
|
onMouseDown: j,
|
|
637
639
|
onMouseLeave: B,
|
|
638
640
|
onMouseUp: U,
|
|
639
641
|
onTouchEnd: C,
|
|
640
|
-
onTouchMove:
|
|
641
|
-
onTouchStart:
|
|
642
|
+
onTouchMove: N,
|
|
643
|
+
onTouchStart: V,
|
|
642
644
|
tabIndex: P = 0,
|
|
643
|
-
TouchRippleProps:
|
|
645
|
+
TouchRippleProps: v,
|
|
644
646
|
touchRippleRef: z,
|
|
645
647
|
type: L,
|
|
646
648
|
..._
|
|
647
|
-
} = l, A = d.useRef(null), b =
|
|
648
|
-
f &&
|
|
649
|
+
} = l, A = d.useRef(null), b = Ke(), he = le(b.ref, z), [k, K] = d.useState(!1);
|
|
650
|
+
f && k && K(!1), d.useImperativeHandle(i, () => ({
|
|
649
651
|
focusVisible: () => {
|
|
650
652
|
K(!0), A.current.focus();
|
|
651
653
|
}
|
|
652
654
|
}), []);
|
|
653
655
|
const me = b.shouldMount && !h && !f;
|
|
654
656
|
d.useEffect(() => {
|
|
655
|
-
|
|
656
|
-
}, [h,
|
|
657
|
-
const be =
|
|
658
|
-
|
|
659
|
-
}, m), Te =
|
|
660
|
-
ue(a.target) || K(!1),
|
|
657
|
+
k && R && !h && b.pulsate();
|
|
658
|
+
}, [h, R, k, b]);
|
|
659
|
+
const be = w(b, "start", j, m), ge = w(b, "stop", O, m), ye = w(b, "stop", Y, m), Re = w(b, "stop", U, m), Me = w(b, "stop", (a) => {
|
|
660
|
+
k && a.preventDefault(), B && B(a);
|
|
661
|
+
}, m), Te = w(b, "start", V, m), Ce = w(b, "stop", C, m), Ee = w(b, "stop", N, m), xe = w(b, "stop", (a) => {
|
|
662
|
+
ue(a.target) || K(!1), S && S(a);
|
|
661
663
|
}, !1), Pe = J((a) => {
|
|
662
664
|
A.current || (A.current = a.currentTarget), ue(a.target) && (K(!0), p && p(a)), F && F(a);
|
|
663
665
|
}), Z = () => {
|
|
664
666
|
const a = A.current;
|
|
665
667
|
return c && c !== "button" && !(a.tagName === "A" && a.href);
|
|
666
|
-
},
|
|
667
|
-
|
|
668
|
+
}, we = J((a) => {
|
|
669
|
+
R && !a.repeat && k && a.key === " " && b.stop(a, () => {
|
|
668
670
|
b.start(a);
|
|
669
671
|
}), a.target === a.currentTarget && Z() && a.key === " " && a.preventDefault(), T && T(a), a.target === a.currentTarget && Z() && a.key === "Enter" && !f && (a.preventDefault(), x && x(a));
|
|
670
|
-
}),
|
|
671
|
-
|
|
672
|
+
}), De = J((a) => {
|
|
673
|
+
R && a.key === " " && k && !a.defaultPrevented && b.stop(a, () => {
|
|
672
674
|
b.pulsate(a);
|
|
673
|
-
}),
|
|
675
|
+
}), M && M(a), x && a.target === a.currentTarget && Z() && a.key === " " && !a.defaultPrevented && x(a);
|
|
674
676
|
});
|
|
675
677
|
let q = c;
|
|
676
678
|
q === "button" && (_.href || _.to) && (q = g);
|
|
677
679
|
const X = {};
|
|
678
680
|
q === "button" ? (X.type = L === void 0 ? "button" : L, X.disabled = f) : (!_.href && !_.to && (X.role = "button"), f && (X["aria-disabled"] = f));
|
|
679
|
-
const
|
|
681
|
+
const Ne = le(o, A), se = {
|
|
680
682
|
...l,
|
|
681
683
|
centerRipple: s,
|
|
682
684
|
component: c,
|
|
683
685
|
disabled: f,
|
|
684
686
|
disableRipple: h,
|
|
685
687
|
disableTouchRipple: m,
|
|
686
|
-
focusRipple:
|
|
688
|
+
focusRipple: R,
|
|
687
689
|
tabIndex: P,
|
|
688
|
-
focusVisible:
|
|
689
|
-
},
|
|
690
|
-
return /* @__PURE__ */
|
|
690
|
+
focusVisible: k
|
|
691
|
+
}, Ve = lt(se);
|
|
692
|
+
return /* @__PURE__ */ Oe(ut, {
|
|
691
693
|
as: q,
|
|
692
|
-
className: E(
|
|
694
|
+
className: E(Ve.root, u),
|
|
693
695
|
ownerState: se,
|
|
694
696
|
onBlur: xe,
|
|
695
697
|
onClick: x,
|
|
696
698
|
onContextMenu: ge,
|
|
697
699
|
onFocus: Pe,
|
|
698
|
-
onKeyDown:
|
|
699
|
-
onKeyUp:
|
|
700
|
+
onKeyDown: we,
|
|
701
|
+
onKeyUp: De,
|
|
700
702
|
onMouseDown: be,
|
|
701
|
-
onMouseLeave:
|
|
702
|
-
onMouseUp:
|
|
703
|
+
onMouseLeave: Me,
|
|
704
|
+
onMouseUp: Re,
|
|
703
705
|
onDragLeave: ye,
|
|
704
706
|
onTouchEnd: Ce,
|
|
705
707
|
onTouchMove: Ee,
|
|
706
708
|
onTouchStart: Te,
|
|
707
|
-
ref:
|
|
709
|
+
ref: Ne,
|
|
708
710
|
tabIndex: f ? -1 : P,
|
|
709
711
|
type: L,
|
|
710
712
|
...X,
|
|
@@ -712,12 +714,12 @@ const at = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), lt = (o) =
|
|
|
712
714
|
children: [r, me ? /* @__PURE__ */ I(de, {
|
|
713
715
|
ref: he,
|
|
714
716
|
center: s,
|
|
715
|
-
...
|
|
717
|
+
...v
|
|
716
718
|
}) : null]
|
|
717
719
|
});
|
|
718
720
|
});
|
|
719
|
-
function
|
|
720
|
-
return J((i) => (
|
|
721
|
+
function w(n, e, o, l = !1) {
|
|
722
|
+
return J((i) => (o && o(i), l || n[e](i), !0));
|
|
721
723
|
}
|
|
722
724
|
process.env.NODE_ENV !== "production" && (ct.propTypes = {
|
|
723
725
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
@@ -728,7 +730,7 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
|
|
|
728
730
|
* A ref for imperative actions.
|
|
729
731
|
* It currently only supports `focusVisible()` action.
|
|
730
732
|
*/
|
|
731
|
-
action:
|
|
733
|
+
action: _e,
|
|
732
734
|
/**
|
|
733
735
|
* If `true`, the ripples are centered.
|
|
734
736
|
* They won't start at the cursor interaction position.
|
|
@@ -751,7 +753,7 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
|
|
|
751
753
|
* The component used for the root node.
|
|
752
754
|
* Either a string to use a HTML element or a component.
|
|
753
755
|
*/
|
|
754
|
-
component:
|
|
756
|
+
component: Ye,
|
|
755
757
|
/**
|
|
756
758
|
* If `true`, the component is disabled.
|
|
757
759
|
* @default false
|
|
@@ -879,5 +881,5 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
|
|
|
879
881
|
});
|
|
880
882
|
export {
|
|
881
883
|
ct as B,
|
|
882
|
-
|
|
884
|
+
Ye as e
|
|
883
885
|
};
|