@sisense/sdk-shared-ui 1.27.1 → 1.28.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/CheckableList-BLLCGCKX.cjs +1 -0
- package/dist/CheckableList-CC7iKnHq.js +21 -0
- package/dist/Checkbox-CrbGw8d7.js +513 -0
- package/dist/Checkbox-Dy9BTXfS.cjs +1 -0
- package/dist/DEPRECATED_Button-D2XS1y1r.cjs +1 -0
- package/dist/DEPRECATED_Button-m2ifXo3Q.js +87 -0
- package/dist/DEPRECATED_Checkbox-CYomxatm.cjs +1 -0
- package/dist/DEPRECATED_Checkbox-DWtXr5K7.js +63 -0
- package/dist/DEPRECATED_Icon-BQ4AqiI1.js +56 -0
- package/dist/DEPRECATED_Icon-iUszZb09.cjs +1 -0
- package/dist/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
- package/dist/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
- package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +2316 -0
- package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +27 -0
- package/dist/Dropdown-BtZZ4fY6.cjs +1 -0
- package/dist/Dropdown-BxoUPsca.js +231 -0
- package/dist/Icon-B1V-T6UH.cjs +1 -0
- package/dist/Icon-Cs6oGRgo.js +110 -0
- package/dist/Input-BghWSV2Z.js +119 -0
- package/dist/Input-Cd6a2FUC.cjs +1 -0
- package/dist/LazyLoader-DB86QSSx.js +18 -0
- package/dist/LazyLoader-gOLNhxc-.cjs +1 -0
- package/dist/Menu-BfAQOpHl.cjs +1 -0
- package/dist/Menu-C5wQnuq6.js +1212 -0
- package/dist/Popover-0n4kd3ut.js +49 -0
- package/dist/Popover-Bp5g_ws9.cjs +1 -0
- package/dist/RadioButton-BpAksn2s.js +70 -0
- package/dist/RadioButton-Ds-0wj0r.cjs +1 -0
- package/dist/SvgIcon-LwOuESoH.js +238 -0
- package/dist/SvgIcon-SnObJHZS.cjs +1 -0
- package/dist/TablePagination-B8I5QURH.js +7929 -0
- package/dist/TablePagination-DH0TZ21v.cjs +31 -0
- package/dist/ThemeProvider-aq1EWT1u.js +5041 -0
- package/dist/ThemeProvider-sqppyE-5.cjs +114 -0
- package/dist/Tooltip-Dokek6y8.cjs +7 -0
- package/dist/Tooltip-vVc6Lxew.js +2153 -0
- package/dist/TransitionGroupContext-BlR3HYBG.cjs +4 -0
- package/dist/TransitionGroupContext-Ci_clMyv.js +120 -0
- package/dist/Typography-C891hjk2.js +497 -0
- package/dist/Typography-vldQClJj.cjs +1 -0
- package/dist/align.interface-B17uA473.cjs +1 -0
- package/dist/align.interface-DdWsijrT.js +4 -0
- package/dist/assertThisInitialized-BSnhOY1M.cjs +1 -0
- package/dist/assertThisInitialized-lz6cHcRv.js +8 -0
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
- package/dist/createSvgIcon-CXJWSg3i.js +902 -0
- package/dist/createSvgIcon-DF4qzIJY.cjs +74 -0
- package/dist/extends-DX42hfxm.js +13 -0
- package/dist/extends-q0Hkx4pQ.cjs +1 -0
- package/dist/index-B-zZeebW.cjs +20 -0
- package/dist/index-D0lMis-I.js +667 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/CheckableList/CheckableList.cjs +1 -0
- package/dist/lib/CheckableList/CheckableList.d.ts +16 -0
- package/dist/lib/CheckableList/CheckableList.d.ts.map +1 -0
- package/dist/lib/CheckableList/CheckableList.js +5 -0
- package/dist/lib/CheckableList/index.d.ts +4 -0
- package/dist/lib/CheckableList/index.d.ts.map +1 -0
- package/dist/lib/Checkbox/Checkbox.cjs +1 -0
- package/dist/lib/Checkbox/Checkbox.d.ts +20 -0
- package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/lib/Checkbox/Checkbox.js +5 -0
- package/dist/lib/Checkbox/index.d.ts +4 -0
- package/dist/lib/Checkbox/index.d.ts.map +1 -0
- package/dist/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
- package/dist/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
- package/{src/lib/Checkbox/themes/index.ts → dist/lib/Checkbox/themes/index.d.ts} +1 -0
- package/dist/lib/Checkbox/themes/index.d.ts.map +1 -0
- package/dist/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
- package/dist/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
- package/dist/lib/DEPRECATED_Button/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Button/index.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
- package/dist/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
- package/dist/lib/DEPRECATED_Icon/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
- package/dist/lib/DEPRECATED_Toggle/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
- package/dist/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
- package/dist/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/Dropdown.cjs +1 -0
- package/dist/lib/Dropdown/Dropdown.d.ts +32 -0
- package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/lib/Dropdown/Dropdown.js +5 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
- package/{src/lib/Dropdown/DropdownButton/DropdownButtonBody/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts} +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
- package/{src/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts} +1 -0
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
- package/{src/lib/Dropdown/DropdownButton/hooks/index.tsx → dist/lib/Dropdown/DropdownButton/hooks/index.d.ts} +1 -0
- package/dist/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
- package/{src/lib/Dropdown/DropdownButton/index.ts → dist/lib/Dropdown/DropdownButton/index.d.ts} +1 -0
- package/dist/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
- package/{src/lib/Dropdown/hooks/index.tsx → dist/lib/Dropdown/hooks/index.d.ts} +1 -0
- package/dist/lib/Dropdown/hooks/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
- package/dist/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
- package/dist/lib/Dropdown/index.d.ts +5 -0
- package/dist/lib/Dropdown/index.d.ts.map +1 -0
- package/dist/lib/Dropdown/types.d.ts +12 -0
- package/dist/lib/Dropdown/types.d.ts.map +1 -0
- package/dist/lib/Icon/Icon.cjs +1 -0
- package/dist/lib/Icon/Icon.d.ts +13 -0
- package/dist/lib/Icon/Icon.d.ts.map +1 -0
- package/dist/lib/Icon/Icon.js +5 -0
- package/dist/lib/Icon/index.d.ts +4 -0
- package/dist/lib/Icon/index.d.ts.map +1 -0
- package/dist/lib/Icon/themes/iconTheme.d.ts +8 -0
- package/dist/lib/Icon/themes/iconTheme.d.ts.map +1 -0
- package/{src/lib/Icon/themes/index.ts → dist/lib/Icon/themes/index.d.ts} +1 -0
- package/dist/lib/Icon/themes/index.d.ts.map +1 -0
- package/dist/lib/Icon/themes/uiCustomization.d.ts +2 -0
- package/dist/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/Input/Input.cjs +1 -0
- package/dist/lib/Input/Input.d.ts +28 -0
- package/dist/lib/Input/Input.d.ts.map +1 -0
- package/dist/lib/Input/Input.js +5 -0
- package/dist/lib/Input/index.d.ts +4 -0
- package/dist/lib/Input/index.d.ts.map +1 -0
- package/dist/lib/LazyLoader/LazyLoader.cjs +1 -0
- package/dist/lib/LazyLoader/LazyLoader.d.ts +9 -0
- package/dist/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
- package/dist/lib/LazyLoader/LazyLoader.js +5 -0
- package/dist/lib/LazyLoader/index.d.ts +4 -0
- package/dist/lib/LazyLoader/index.d.ts.map +1 -0
- package/dist/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
- package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
- package/{src/lib/Menu/Confirmation/index.ts → dist/lib/Menu/Confirmation/index.d.ts} +1 -0
- package/dist/lib/Menu/Confirmation/index.d.ts.map +1 -0
- package/dist/lib/Menu/Confirmation/translation.d.ts +2 -0
- package/dist/lib/Menu/Confirmation/translation.d.ts.map +1 -0
- package/dist/lib/Menu/Menu.cjs +1 -0
- package/dist/lib/Menu/Menu.d.ts +80 -0
- package/dist/lib/Menu/Menu.d.ts.map +1 -0
- package/dist/lib/Menu/Menu.js +8 -0
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
- package/{src/lib/Menu/MenuItem/index.ts → dist/lib/Menu/MenuItem/index.d.ts} +1 -0
- package/dist/lib/Menu/MenuItem/index.d.ts.map +1 -0
- package/{src/lib/Menu/index.ts → dist/lib/Menu/index.d.ts} +2 -2
- package/dist/lib/Menu/index.d.ts.map +1 -0
- package/dist/lib/Menu/utils.d.ts +6 -0
- package/dist/lib/Menu/utils.d.ts.map +1 -0
- package/dist/lib/Popover/Popover.cjs +1 -0
- package/dist/lib/Popover/Popover.d.ts +16 -0
- package/dist/lib/Popover/Popover.d.ts.map +1 -0
- package/dist/lib/Popover/Popover.js +7 -0
- package/dist/lib/Popover/align.interface.d.ts +23 -0
- package/dist/lib/Popover/align.interface.d.ts.map +1 -0
- package/{src/lib/Popover/index.ts → dist/lib/Popover/index.d.ts} +2 -2
- package/dist/lib/Popover/index.d.ts.map +1 -0
- package/dist/lib/RadioButton/RadioButton.cjs +1 -0
- package/dist/lib/RadioButton/RadioButton.d.ts +20 -0
- package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -0
- package/dist/lib/RadioButton/RadioButton.js +5 -0
- package/dist/lib/RadioButton/index.d.ts +4 -0
- package/dist/lib/RadioButton/index.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/TablePagination/TablePagination.cjs +1 -0
- package/dist/lib/TablePagination/TablePagination.d.ts +19 -0
- package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -0
- package/dist/lib/TablePagination/TablePagination.js +5 -0
- package/dist/lib/TablePagination/TablePaginationContext.d.ts +3 -0
- package/dist/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
- package/dist/lib/TablePagination/index.d.ts +4 -0
- package/dist/lib/TablePagination/index.d.ts.map +1 -0
- package/{src/lib/TablePagination/themes/index.ts → dist/lib/TablePagination/themes/index.d.ts} +1 -0
- package/dist/lib/TablePagination/themes/index.d.ts.map +1 -0
- package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
- package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
- package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
- package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
- package/dist/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
- package/dist/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/Tooltip/Tooltip.cjs +1 -0
- package/dist/lib/Tooltip/Tooltip.d.ts +10 -0
- package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/lib/Tooltip/Tooltip.js +7 -0
- package/{src/lib/Tooltip/index.ts → dist/lib/Tooltip/index.d.ts} +2 -2
- package/dist/lib/Tooltip/index.d.ts.map +1 -0
- package/{src/lib/Tooltip/themes/index.ts → dist/lib/Tooltip/themes/index.d.ts} +1 -0
- package/dist/lib/Tooltip/themes/index.d.ts.map +1 -0
- package/dist/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
- package/dist/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
- package/dist/lib/Typography/Typography.cjs +1 -0
- package/dist/lib/Typography/Typography.d.ts +11 -0
- package/dist/lib/Typography/Typography.d.ts.map +1 -0
- package/dist/lib/Typography/Typography.js +7 -0
- package/{src/lib/Typography/index.ts → dist/lib/Typography/index.d.ts} +2 -2
- package/dist/lib/Typography/index.d.ts.map +1 -0
- package/{src/lib/Typography/themes/index.ts → dist/lib/Typography/themes/index.d.ts} +1 -0
- package/dist/lib/Typography/themes/index.d.ts.map +1 -0
- package/dist/lib/Typography/themes/typographyTheme.d.ts +21 -0
- package/dist/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
- package/dist/lib/Typography/themes/uiCustomization.d.ts +2 -0
- package/dist/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lib/constants/styleguideConstants.d.ts +9 -0
- package/dist/lib/constants/styleguideConstants.d.ts.map +1 -0
- package/{src/lib/index.ts → dist/lib/index.d.ts} +1 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/{src/lib/themes/colors/index.ts → dist/lib/themes/colors/index.d.ts} +1 -0
- package/dist/lib/themes/colors/index.d.ts.map +1 -0
- package/dist/lib/themes/colors/siColors.d.ts +140 -0
- package/dist/lib/themes/colors/siColors.d.ts.map +1 -0
- package/{src/lib/themes/index.ts → dist/lib/themes/index.d.ts} +1 -0
- package/dist/lib/themes/index.d.ts.map +1 -0
- package/dist/lib/themes/themes.cjs +2 -0
- package/dist/lib/themes/themes.js +142 -0
- package/dist/lib/themes/types/SisenseTheme.d.ts +12 -0
- package/dist/lib/themes/types/SisenseTheme.d.ts.map +1 -0
- package/{src/lib/themes/types/index.ts → dist/lib/themes/types/index.d.ts} +1 -0
- package/dist/lib/themes/types/index.d.ts.map +1 -0
- package/dist/package.json +208 -0
- package/dist/setPrototypeOf-BmHXYjK5.cjs +1 -0
- package/dist/setPrototypeOf-CEtRTXk2.js +19 -0
- package/dist/styleguideConstants-CtXkvIZK.cjs +1 -0
- package/dist/styleguideConstants-D4Yls16w.js +11 -0
- package/dist/useSlot-BfQr8KCN.js +803 -0
- package/dist/useSlot-C3-OaWva.cjs +1 -0
- package/dist/useTheme-CtIZL8WJ.js +8 -0
- package/dist/useTheme-DJmNR5EL.cjs +1 -0
- package/package.json +4 -1
- package/.eslintignore +0 -4
- package/.prettierignore +0 -11
- package/.storybook/main.ts +0 -44
- package/.storybook/preview-head.html +0 -4
- package/.storybook/preview.tsx +0 -34
- package/src/index.ts +0 -1
- package/src/lib/@types/sass.d.ts +0 -19
- package/src/lib/CheckableList/CheckableList.module.scss +0 -13
- package/src/lib/CheckableList/CheckableList.test.tsx +0 -61
- package/src/lib/CheckableList/CheckableList.tsx +0 -41
- package/src/lib/CheckableList/index.ts +0 -4
- package/src/lib/Checkbox/Checkbox.tsx +0 -28
- package/src/lib/Checkbox/index.ts +0 -4
- package/src/lib/Checkbox/themes/checkboxTheme.ts +0 -42
- package/src/lib/Checkbox/themes/uiCustomization.ts +0 -28
- package/src/lib/DEPRECATED_Button/DEPRECATED_Button.module.scss +0 -57
- package/src/lib/DEPRECATED_Button/DEPRECATED_Button.stories.tsx +0 -169
- package/src/lib/DEPRECATED_Button/DEPRECATED_Button.test.tsx +0 -154
- package/src/lib/DEPRECATED_Button/DEPRECATED_Button.tsx +0 -129
- package/src/lib/DEPRECATED_Button/index.ts +0 -4
- package/src/lib/DEPRECATED_Checkbox/Checkbox.module.scss +0 -49
- package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.test.tsx +0 -131
- package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.tsx +0 -103
- package/src/lib/DEPRECATED_Checkbox/index.ts +0 -4
- package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.module.scss +0 -7
- package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.stories.tsx +0 -27
- package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.test.tsx +0 -105
- package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.tsx +0 -91
- package/src/lib/DEPRECATED_Icon/index.ts +0 -4
- package/src/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.tsx +0 -49
- package/src/lib/DEPRECATED_Toggle/index.ts +0 -4
- package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.module.scss +0 -115
- package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.tsx +0 -68
- package/src/lib/DEPRECATED_Tooltip/index.ts +0 -4
- package/src/lib/Dropdown/Dropdown.module.scss +0 -9
- package/src/lib/Dropdown/Dropdown.tsx +0 -150
- package/src/lib/Dropdown/DropdownButton/DropdownButton.module.scss +0 -49
- package/src/lib/Dropdown/DropdownButton/DropdownButton.tsx +0 -81
- package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.test.tsx +0 -121
- package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.tsx +0 -39
- package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.module.scss +0 -20
- package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.tsx +0 -44
- package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.ts +0 -1
- package/src/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.ts +0 -51
- package/src/lib/Dropdown/hooks/useDropdown.ts +0 -29
- package/src/lib/Dropdown/index.ts +0 -5
- package/src/lib/Dropdown/types.ts +0 -17
- package/src/lib/Icon/Icon.tsx +0 -118
- package/src/lib/Icon/index.ts +0 -4
- package/src/lib/Icon/themes/iconTheme.tsx +0 -38
- package/src/lib/Icon/themes/uiCustomization.ts +0 -9
- package/src/lib/Input/Input.module.scss +0 -97
- package/src/lib/Input/Input.test.tsx +0 -177
- package/src/lib/Input/Input.tsx +0 -134
- package/src/lib/Input/index.ts +0 -4
- package/src/lib/LazyLoader/LazyLoader.module.scss +0 -18
- package/src/lib/LazyLoader/LazyLoader.tsx +0 -42
- package/src/lib/LazyLoader/index.ts +0 -4
- package/src/lib/Menu/Confirmation/Confirmation.module.scss +0 -48
- package/src/lib/Menu/Confirmation/Confirmation.tsx +0 -45
- package/src/lib/Menu/Confirmation/translation.ts +0 -17
- package/src/lib/Menu/Menu.module.scss +0 -178
- package/src/lib/Menu/Menu.tsx +0 -363
- package/src/lib/Menu/MenuItem/MenuItem.test.tsx +0 -241
- package/src/lib/Menu/MenuItem/MenuItem.tsx +0 -186
- package/src/lib/Menu/utils.ts +0 -13
- package/src/lib/Popover/Popover.module.scss +0 -15
- package/src/lib/Popover/Popover.tsx +0 -92
- package/src/lib/Popover/align.interface.ts +0 -20
- package/src/lib/RadioButton/RadioButton.module.scss +0 -22
- package/src/lib/RadioButton/RadioButton.tsx +0 -89
- package/src/lib/RadioButton/index.ts +0 -4
- package/src/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.tsx +0 -87
- package/src/lib/TablePagination/PaginationActionsComponent/index.ts +0 -4
- package/src/lib/TablePagination/PaginationActionsComponent/themes/index.ts +0 -4
- package/src/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.tsx +0 -70
- package/src/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.ts +0 -17
- package/src/lib/TablePagination/TablePagination.tsx +0 -148
- package/src/lib/TablePagination/TablePaginationContext.ts +0 -4
- package/src/lib/TablePagination/index.ts +0 -4
- package/src/lib/TablePagination/themes/tablePaginationResponsiveDesign.ts +0 -33
- package/src/lib/TablePagination/themes/tablePaginationTheme.tsx +0 -128
- package/src/lib/TablePagination/themes/uiCustomization.ts +0 -50
- package/src/lib/Tooltip/Tooltip.module.scss +0 -125
- package/src/lib/Tooltip/Tooltip.tsx +0 -34
- package/src/lib/Tooltip/themes/tooltipTheme.ts +0 -30
- package/src/lib/Typography/Typography.tsx +0 -28
- package/src/lib/Typography/themes/typographyTheme.tsx +0 -170
- package/src/lib/Typography/themes/uiCustomization.ts +0 -10
- package/src/lib/constants/styleguideConstants.ts +0 -8
- package/src/lib/styles/colors.module.scss +0 -10
- package/src/lib/styles/sisenseStyleguideReactColors.scss +0 -57
- package/src/lib/styles/style_styleguide_react/_variables.deprecated.scss +0 -107
- package/src/lib/styles/style_styleguide_react/_variables.scss +0 -100
- package/src/lib/styles/style_styleguide_react/base.scss +0 -9
- package/src/lib/styles/style_styleguide_react/colors.scss +0 -71
- package/src/lib/styles/style_styleguide_react/exports/colors.exports.scss +0 -69
- package/src/lib/styles/style_styleguide_react/exports/fonts.exports.scss +0 -33
- package/src/lib/styles/style_styleguide_react/fonts.scss +0 -27
- package/src/lib/styles/style_styleguide_react/mixins.scss +0 -90
- package/src/lib/themes/colors/siColors.ts +0 -143
- package/src/lib/themes/types/SisenseTheme.ts +0 -12
- package/tsconfig.eslint.json +0 -12
- package/tsconfig.json +0 -17
- package/tsconfig.lib.json +0 -22
- package/tsconfig.spec.json +0 -21
- package/vite.config.ts +0 -140
|
@@ -0,0 +1,902 @@
|
|
|
1
|
+
var Be = Object.defineProperty;
|
|
2
|
+
var Le = (o, e, t) => e in o ? Be(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
3
|
+
var se = (o, e, t) => Le(o, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import * as f from "react";
|
|
5
|
+
import H, { Children as $e, isValidElement as W, cloneElement as G } from "react";
|
|
6
|
+
import { P as n } from "./index-D0lMis-I.js";
|
|
7
|
+
import { f as E, b as pe, o as te, s as ne, e as fe, g as Fe, h as Oe } from "./ThemeProvider-aq1EWT1u.js";
|
|
8
|
+
import { jsx as O, jsxs as ke } from "react/jsx-runtime";
|
|
9
|
+
import { c as Ie, a as je, _ as Ue, T as ae, b as _e, d as ue, e as J, i as le, r as ze } from "./TransitionGroupContext-Ci_clMyv.js";
|
|
10
|
+
import { _ as Ae } from "./setPrototypeOf-CEtRTXk2.js";
|
|
11
|
+
import { _ as Xe } from "./extends-DX42hfxm.js";
|
|
12
|
+
import { _ as Ye } from "./assertThisInitialized-lz6cHcRv.js";
|
|
13
|
+
import { S as ce } from "./SvgIcon-LwOuESoH.js";
|
|
14
|
+
function Ke(o) {
|
|
15
|
+
const {
|
|
16
|
+
prototype: e = {}
|
|
17
|
+
} = o;
|
|
18
|
+
return !!e.isReactComponent;
|
|
19
|
+
}
|
|
20
|
+
function qe(o, e, t, a, i) {
|
|
21
|
+
const r = o[e], s = i || e;
|
|
22
|
+
if (r == null || // When server-side rendering React doesn't warn either.
|
|
23
|
+
// This is not an accurate check for SSR.
|
|
24
|
+
// This is only in place for emotion compat.
|
|
25
|
+
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
26
|
+
typeof window > "u")
|
|
27
|
+
return null;
|
|
28
|
+
let l;
|
|
29
|
+
return typeof r == "function" && !Ke(r) && (l = "Did you accidentally provide a plain function component instead?"), l !== void 0 ? new Error(`Invalid ${a} \`${s}\` supplied to \`${t}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
30
|
+
}
|
|
31
|
+
const He = Ie(n.elementType, qe), de = /* @__PURE__ */ f.createContext(void 0);
|
|
32
|
+
process.env.NODE_ENV !== "production" && (de.displayName = "FormControlContext");
|
|
33
|
+
function Et() {
|
|
34
|
+
return f.useContext(de);
|
|
35
|
+
}
|
|
36
|
+
class Q {
|
|
37
|
+
constructor() {
|
|
38
|
+
se(this, "mountEffect", () => {
|
|
39
|
+
this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
|
|
40
|
+
});
|
|
41
|
+
this.ref = {
|
|
42
|
+
current: null
|
|
43
|
+
}, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
|
|
44
|
+
}
|
|
45
|
+
/** React ref to the ripple instance */
|
|
46
|
+
/** If the ripple component should be mounted */
|
|
47
|
+
/** Promise that resolves when the ripple component is mounted */
|
|
48
|
+
/** If the ripple component has been mounted */
|
|
49
|
+
/** React state hook setter */
|
|
50
|
+
static create() {
|
|
51
|
+
return new Q();
|
|
52
|
+
}
|
|
53
|
+
static use() {
|
|
54
|
+
const e = je(Q.create).current, [t, a] = f.useState(!1);
|
|
55
|
+
return e.shouldMount = t, e.setShouldMount = a, f.useEffect(e.mountEffect, [t]), e;
|
|
56
|
+
}
|
|
57
|
+
mount() {
|
|
58
|
+
return this.mounted || (this.mounted = Ge(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
|
|
59
|
+
}
|
|
60
|
+
/* Ripple API */
|
|
61
|
+
start(...e) {
|
|
62
|
+
this.mount().then(() => {
|
|
63
|
+
var t;
|
|
64
|
+
return (t = this.ref.current) == null ? void 0 : t.start(...e);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
stop(...e) {
|
|
68
|
+
this.mount().then(() => {
|
|
69
|
+
var t;
|
|
70
|
+
return (t = this.ref.current) == null ? void 0 : t.stop(...e);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
pulsate(...e) {
|
|
74
|
+
this.mount().then(() => {
|
|
75
|
+
var t;
|
|
76
|
+
return (t = this.ref.current) == null ? void 0 : t.pulsate(...e);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function We() {
|
|
81
|
+
return Q.use();
|
|
82
|
+
}
|
|
83
|
+
function Ge() {
|
|
84
|
+
let o, e;
|
|
85
|
+
const t = new Promise((a, i) => {
|
|
86
|
+
o = a, e = i;
|
|
87
|
+
});
|
|
88
|
+
return t.resolve = o, t.reject = e, t;
|
|
89
|
+
}
|
|
90
|
+
function oe(o, e) {
|
|
91
|
+
var t = function(r) {
|
|
92
|
+
return e && W(r) ? e(r) : r;
|
|
93
|
+
}, a = /* @__PURE__ */ Object.create(null);
|
|
94
|
+
return o && $e.map(o, function(i) {
|
|
95
|
+
return i;
|
|
96
|
+
}).forEach(function(i) {
|
|
97
|
+
a[i.key] = t(i);
|
|
98
|
+
}), a;
|
|
99
|
+
}
|
|
100
|
+
function Je(o, e) {
|
|
101
|
+
o = o || {}, e = e || {};
|
|
102
|
+
function t(h) {
|
|
103
|
+
return h in e ? e[h] : o[h];
|
|
104
|
+
}
|
|
105
|
+
var a = /* @__PURE__ */ Object.create(null), i = [];
|
|
106
|
+
for (var r in o)
|
|
107
|
+
r in e ? i.length && (a[r] = i, i = []) : i.push(r);
|
|
108
|
+
var s, l = {};
|
|
109
|
+
for (var c in e) {
|
|
110
|
+
if (a[c])
|
|
111
|
+
for (s = 0; s < a[c].length; s++) {
|
|
112
|
+
var d = a[c][s];
|
|
113
|
+
l[a[c][s]] = t(d);
|
|
114
|
+
}
|
|
115
|
+
l[c] = t(c);
|
|
116
|
+
}
|
|
117
|
+
for (s = 0; s < i.length; s++)
|
|
118
|
+
l[i[s]] = t(i[s]);
|
|
119
|
+
return l;
|
|
120
|
+
}
|
|
121
|
+
function F(o, e, t) {
|
|
122
|
+
return t[e] != null ? t[e] : o.props[e];
|
|
123
|
+
}
|
|
124
|
+
function Qe(o, e) {
|
|
125
|
+
return oe(o.children, function(t) {
|
|
126
|
+
return G(t, {
|
|
127
|
+
onExited: e.bind(null, t),
|
|
128
|
+
in: !0,
|
|
129
|
+
appear: F(t, "appear", o),
|
|
130
|
+
enter: F(t, "enter", o),
|
|
131
|
+
exit: F(t, "exit", o)
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
function Ze(o, e, t) {
|
|
136
|
+
var a = oe(o.children), i = Je(e, a);
|
|
137
|
+
return Object.keys(i).forEach(function(r) {
|
|
138
|
+
var s = i[r];
|
|
139
|
+
if (W(s)) {
|
|
140
|
+
var l = r in e, c = r in a, d = e[r], h = W(d) && !d.props.in;
|
|
141
|
+
c && (!l || h) ? i[r] = G(s, {
|
|
142
|
+
onExited: t.bind(null, s),
|
|
143
|
+
in: !0,
|
|
144
|
+
exit: F(s, "exit", o),
|
|
145
|
+
enter: F(s, "enter", o)
|
|
146
|
+
}) : !c && l && !h ? i[r] = G(s, {
|
|
147
|
+
in: !1
|
|
148
|
+
}) : c && l && W(d) && (i[r] = G(s, {
|
|
149
|
+
onExited: t.bind(null, s),
|
|
150
|
+
in: d.props.in,
|
|
151
|
+
exit: F(s, "exit", o),
|
|
152
|
+
enter: F(s, "enter", o)
|
|
153
|
+
}));
|
|
154
|
+
}
|
|
155
|
+
}), i;
|
|
156
|
+
}
|
|
157
|
+
var et = Object.values || function(o) {
|
|
158
|
+
return Object.keys(o).map(function(e) {
|
|
159
|
+
return o[e];
|
|
160
|
+
});
|
|
161
|
+
}, tt = {
|
|
162
|
+
component: "div",
|
|
163
|
+
childFactory: function(e) {
|
|
164
|
+
return e;
|
|
165
|
+
}
|
|
166
|
+
}, ie = /* @__PURE__ */ function(o) {
|
|
167
|
+
Ue(e, o);
|
|
168
|
+
function e(a, i) {
|
|
169
|
+
var r;
|
|
170
|
+
r = o.call(this, a, i) || this;
|
|
171
|
+
var s = r.handleExited.bind(Ye(r));
|
|
172
|
+
return r.state = {
|
|
173
|
+
contextValue: {
|
|
174
|
+
isMounting: !0
|
|
175
|
+
},
|
|
176
|
+
handleExited: s,
|
|
177
|
+
firstRender: !0
|
|
178
|
+
}, r;
|
|
179
|
+
}
|
|
180
|
+
var t = e.prototype;
|
|
181
|
+
return t.componentDidMount = function() {
|
|
182
|
+
this.mounted = !0, this.setState({
|
|
183
|
+
contextValue: {
|
|
184
|
+
isMounting: !1
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
}, t.componentWillUnmount = function() {
|
|
188
|
+
this.mounted = !1;
|
|
189
|
+
}, e.getDerivedStateFromProps = function(i, r) {
|
|
190
|
+
var s = r.children, l = r.handleExited, c = r.firstRender;
|
|
191
|
+
return {
|
|
192
|
+
children: c ? Qe(i, l) : Ze(i, s, l),
|
|
193
|
+
firstRender: !1
|
|
194
|
+
};
|
|
195
|
+
}, t.handleExited = function(i, r) {
|
|
196
|
+
var s = oe(this.props.children);
|
|
197
|
+
i.key in s || (i.props.onExited && i.props.onExited(r), this.mounted && this.setState(function(l) {
|
|
198
|
+
var c = Xe({}, l.children);
|
|
199
|
+
return delete c[i.key], {
|
|
200
|
+
children: c
|
|
201
|
+
};
|
|
202
|
+
}));
|
|
203
|
+
}, t.render = function() {
|
|
204
|
+
var i = this.props, r = i.component, s = i.childFactory, l = Ae(i, ["component", "childFactory"]), c = this.state.contextValue, d = et(this.state.children).map(s);
|
|
205
|
+
return delete l.appear, delete l.enter, delete l.exit, r === null ? /* @__PURE__ */ H.createElement(ae.Provider, {
|
|
206
|
+
value: c
|
|
207
|
+
}, d) : /* @__PURE__ */ H.createElement(ae.Provider, {
|
|
208
|
+
value: c
|
|
209
|
+
}, /* @__PURE__ */ H.createElement(r, l, d));
|
|
210
|
+
}, e;
|
|
211
|
+
}(H.Component);
|
|
212
|
+
ie.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
213
|
+
/**
|
|
214
|
+
* `<TransitionGroup>` renders a `<div>` by default. You can change this
|
|
215
|
+
* behavior by providing a `component` prop.
|
|
216
|
+
* If you use React v16+ and would like to avoid a wrapping `<div>` element
|
|
217
|
+
* you can pass in `component={null}`. This is useful if the wrapping div
|
|
218
|
+
* borks your css styles.
|
|
219
|
+
*/
|
|
220
|
+
component: n.any,
|
|
221
|
+
/**
|
|
222
|
+
* A set of `<Transition>` components, that are toggled `in` and out as they
|
|
223
|
+
* leave. the `<TransitionGroup>` will inject specific transition props, so
|
|
224
|
+
* remember to spread them through if you are wrapping the `<Transition>` as
|
|
225
|
+
* with our `<Fade>` example.
|
|
226
|
+
*
|
|
227
|
+
* While this component is meant for multiple `Transition` or `CSSTransition`
|
|
228
|
+
* children, sometimes you may want to have a single transition child with
|
|
229
|
+
* content that you want to be transitioned out and in when you change it
|
|
230
|
+
* (e.g. routes, images etc.) In that case you can change the `key` prop of
|
|
231
|
+
* the transition child as you change its content, this will cause
|
|
232
|
+
* `TransitionGroup` to transition the child out and back in.
|
|
233
|
+
*/
|
|
234
|
+
children: n.node,
|
|
235
|
+
/**
|
|
236
|
+
* A convenience prop that enables or disables appear animations
|
|
237
|
+
* for all children. Note that specifying this will override any defaults set
|
|
238
|
+
* on individual children Transitions.
|
|
239
|
+
*/
|
|
240
|
+
appear: n.bool,
|
|
241
|
+
/**
|
|
242
|
+
* A convenience prop that enables or disables enter animations
|
|
243
|
+
* for all children. Note that specifying this will override any defaults set
|
|
244
|
+
* on individual children Transitions.
|
|
245
|
+
*/
|
|
246
|
+
enter: n.bool,
|
|
247
|
+
/**
|
|
248
|
+
* A convenience prop that enables or disables exit animations
|
|
249
|
+
* for all children. Note that specifying this will override any defaults set
|
|
250
|
+
* on individual children Transitions.
|
|
251
|
+
*/
|
|
252
|
+
exit: n.bool,
|
|
253
|
+
/**
|
|
254
|
+
* You may need to apply reactive updates to a child as it is exiting.
|
|
255
|
+
* This is generally done by using `cloneElement` however in the case of an exiting
|
|
256
|
+
* child the element has already been removed and not accessible to the consumer.
|
|
257
|
+
*
|
|
258
|
+
* If you do need to update a child as it leaves you can provide a `childFactory`
|
|
259
|
+
* to wrap every child, even the ones that are leaving.
|
|
260
|
+
*
|
|
261
|
+
* @type Function(child: ReactElement) -> ReactElement
|
|
262
|
+
*/
|
|
263
|
+
childFactory: n.func
|
|
264
|
+
} : {};
|
|
265
|
+
ie.defaultProps = tt;
|
|
266
|
+
function he(o) {
|
|
267
|
+
const {
|
|
268
|
+
className: e,
|
|
269
|
+
classes: t,
|
|
270
|
+
pulsate: a = !1,
|
|
271
|
+
rippleX: i,
|
|
272
|
+
rippleY: r,
|
|
273
|
+
rippleSize: s,
|
|
274
|
+
in: l,
|
|
275
|
+
onExited: c,
|
|
276
|
+
timeout: d
|
|
277
|
+
} = o, [h, m] = f.useState(!1), R = E(e, t.ripple, t.rippleVisible, a && t.ripplePulsate), D = {
|
|
278
|
+
width: s,
|
|
279
|
+
height: s,
|
|
280
|
+
top: -(s / 2) + r,
|
|
281
|
+
left: -(s / 2) + i
|
|
282
|
+
}, g = E(t.child, h && t.childLeaving, a && t.childPulsate);
|
|
283
|
+
return !l && !h && m(!0), f.useEffect(() => {
|
|
284
|
+
if (!l && c != null) {
|
|
285
|
+
const w = setTimeout(c, d);
|
|
286
|
+
return () => {
|
|
287
|
+
clearTimeout(w);
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
}, [c, l, d]), /* @__PURE__ */ O("span", {
|
|
291
|
+
className: R,
|
|
292
|
+
style: D,
|
|
293
|
+
children: /* @__PURE__ */ O("span", {
|
|
294
|
+
className: g
|
|
295
|
+
})
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
process.env.NODE_ENV !== "production" && (he.propTypes = {
|
|
299
|
+
/**
|
|
300
|
+
* Override or extend the styles applied to the component.
|
|
301
|
+
*/
|
|
302
|
+
classes: n.object.isRequired,
|
|
303
|
+
className: n.string,
|
|
304
|
+
/**
|
|
305
|
+
* @ignore - injected from TransitionGroup
|
|
306
|
+
*/
|
|
307
|
+
in: n.bool,
|
|
308
|
+
/**
|
|
309
|
+
* @ignore - injected from TransitionGroup
|
|
310
|
+
*/
|
|
311
|
+
onExited: n.func,
|
|
312
|
+
/**
|
|
313
|
+
* If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
|
|
314
|
+
*/
|
|
315
|
+
pulsate: n.bool,
|
|
316
|
+
/**
|
|
317
|
+
* Diameter of the ripple.
|
|
318
|
+
*/
|
|
319
|
+
rippleSize: n.number,
|
|
320
|
+
/**
|
|
321
|
+
* Horizontal position of the ripple center.
|
|
322
|
+
*/
|
|
323
|
+
rippleX: n.number,
|
|
324
|
+
/**
|
|
325
|
+
* Vertical position of the ripple center.
|
|
326
|
+
*/
|
|
327
|
+
rippleY: n.number,
|
|
328
|
+
/**
|
|
329
|
+
* exit delay
|
|
330
|
+
*/
|
|
331
|
+
timeout: n.number.isRequired
|
|
332
|
+
});
|
|
333
|
+
const y = pe("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), ee = 550, nt = 80, ot = te`
|
|
334
|
+
0% {
|
|
335
|
+
transform: scale(0);
|
|
336
|
+
opacity: 0.1;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
100% {
|
|
340
|
+
transform: scale(1);
|
|
341
|
+
opacity: 0.3;
|
|
342
|
+
}
|
|
343
|
+
`, it = te`
|
|
344
|
+
0% {
|
|
345
|
+
opacity: 1;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
100% {
|
|
349
|
+
opacity: 0;
|
|
350
|
+
}
|
|
351
|
+
`, rt = te`
|
|
352
|
+
0% {
|
|
353
|
+
transform: scale(1);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
50% {
|
|
357
|
+
transform: scale(0.92);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
100% {
|
|
361
|
+
transform: scale(1);
|
|
362
|
+
}
|
|
363
|
+
`, st = ne("span", {
|
|
364
|
+
name: "MuiTouchRipple",
|
|
365
|
+
slot: "Root"
|
|
366
|
+
})({
|
|
367
|
+
overflow: "hidden",
|
|
368
|
+
pointerEvents: "none",
|
|
369
|
+
position: "absolute",
|
|
370
|
+
zIndex: 0,
|
|
371
|
+
top: 0,
|
|
372
|
+
right: 0,
|
|
373
|
+
bottom: 0,
|
|
374
|
+
left: 0,
|
|
375
|
+
borderRadius: "inherit"
|
|
376
|
+
}), at = ne(he, {
|
|
377
|
+
name: "MuiTouchRipple",
|
|
378
|
+
slot: "Ripple"
|
|
379
|
+
})`
|
|
380
|
+
opacity: 0;
|
|
381
|
+
position: absolute;
|
|
382
|
+
|
|
383
|
+
&.${y.rippleVisible} {
|
|
384
|
+
opacity: 0.3;
|
|
385
|
+
transform: scale(1);
|
|
386
|
+
animation-name: ${ot};
|
|
387
|
+
animation-duration: ${ee}ms;
|
|
388
|
+
animation-timing-function: ${({
|
|
389
|
+
theme: o
|
|
390
|
+
}) => o.transitions.easing.easeInOut};
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
&.${y.ripplePulsate} {
|
|
394
|
+
animation-duration: ${({
|
|
395
|
+
theme: o
|
|
396
|
+
}) => o.transitions.duration.shorter}ms;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
& .${y.child} {
|
|
400
|
+
opacity: 1;
|
|
401
|
+
display: block;
|
|
402
|
+
width: 100%;
|
|
403
|
+
height: 100%;
|
|
404
|
+
border-radius: 50%;
|
|
405
|
+
background-color: currentColor;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
& .${y.childLeaving} {
|
|
409
|
+
opacity: 0;
|
|
410
|
+
animation-name: ${it};
|
|
411
|
+
animation-duration: ${ee}ms;
|
|
412
|
+
animation-timing-function: ${({
|
|
413
|
+
theme: o
|
|
414
|
+
}) => o.transitions.easing.easeInOut};
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
& .${y.childPulsate} {
|
|
418
|
+
position: absolute;
|
|
419
|
+
/* @noflip */
|
|
420
|
+
left: 0px;
|
|
421
|
+
top: 0;
|
|
422
|
+
animation-name: ${rt};
|
|
423
|
+
animation-duration: 2500ms;
|
|
424
|
+
animation-timing-function: ${({
|
|
425
|
+
theme: o
|
|
426
|
+
}) => o.transitions.easing.easeInOut};
|
|
427
|
+
animation-iteration-count: infinite;
|
|
428
|
+
animation-delay: 200ms;
|
|
429
|
+
}
|
|
430
|
+
`, me = /* @__PURE__ */ f.forwardRef(function(e, t) {
|
|
431
|
+
const a = fe({
|
|
432
|
+
props: e,
|
|
433
|
+
name: "MuiTouchRipple"
|
|
434
|
+
}), {
|
|
435
|
+
center: i = !1,
|
|
436
|
+
classes: r = {},
|
|
437
|
+
className: s,
|
|
438
|
+
...l
|
|
439
|
+
} = a, [c, d] = f.useState([]), h = f.useRef(0), m = f.useRef(null);
|
|
440
|
+
f.useEffect(() => {
|
|
441
|
+
m.current && (m.current(), m.current = null);
|
|
442
|
+
}, [c]);
|
|
443
|
+
const R = f.useRef(!1), D = _e(), g = f.useRef(null), w = f.useRef(null), x = f.useCallback((p) => {
|
|
444
|
+
const {
|
|
445
|
+
pulsate: C,
|
|
446
|
+
rippleX: M,
|
|
447
|
+
rippleY: j,
|
|
448
|
+
rippleSize: B,
|
|
449
|
+
cb: U
|
|
450
|
+
} = p;
|
|
451
|
+
d((T) => [...T, /* @__PURE__ */ O(at, {
|
|
452
|
+
classes: {
|
|
453
|
+
ripple: E(r.ripple, y.ripple),
|
|
454
|
+
rippleVisible: E(r.rippleVisible, y.rippleVisible),
|
|
455
|
+
ripplePulsate: E(r.ripplePulsate, y.ripplePulsate),
|
|
456
|
+
child: E(r.child, y.child),
|
|
457
|
+
childLeaving: E(r.childLeaving, y.childLeaving),
|
|
458
|
+
childPulsate: E(r.childPulsate, y.childPulsate)
|
|
459
|
+
},
|
|
460
|
+
timeout: ee,
|
|
461
|
+
pulsate: C,
|
|
462
|
+
rippleX: M,
|
|
463
|
+
rippleY: j,
|
|
464
|
+
rippleSize: B
|
|
465
|
+
}, h.current)]), h.current += 1, m.current = U;
|
|
466
|
+
}, [r]), k = f.useCallback((p = {}, C = {}, M = () => {
|
|
467
|
+
}) => {
|
|
468
|
+
const {
|
|
469
|
+
pulsate: j = !1,
|
|
470
|
+
center: B = i || C.pulsate,
|
|
471
|
+
fakeElement: U = !1
|
|
472
|
+
// For test purposes
|
|
473
|
+
} = C;
|
|
474
|
+
if ((p == null ? void 0 : p.type) === "mousedown" && R.current) {
|
|
475
|
+
R.current = !1;
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
(p == null ? void 0 : p.type) === "touchstart" && (R.current = !0);
|
|
479
|
+
const T = U ? null : w.current, V = T ? T.getBoundingClientRect() : {
|
|
480
|
+
width: 0,
|
|
481
|
+
height: 0,
|
|
482
|
+
left: 0,
|
|
483
|
+
top: 0
|
|
484
|
+
};
|
|
485
|
+
let v, N, S;
|
|
486
|
+
if (B || p === void 0 || p.clientX === 0 && p.clientY === 0 || !p.clientX && !p.touches)
|
|
487
|
+
v = Math.round(V.width / 2), N = Math.round(V.height / 2);
|
|
488
|
+
else {
|
|
489
|
+
const {
|
|
490
|
+
clientX: _,
|
|
491
|
+
clientY: L
|
|
492
|
+
} = p.touches && p.touches.length > 0 ? p.touches[0] : p;
|
|
493
|
+
v = Math.round(_ - V.left), N = Math.round(L - V.top);
|
|
494
|
+
}
|
|
495
|
+
if (B)
|
|
496
|
+
S = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), S % 2 === 0 && (S += 1);
|
|
497
|
+
else {
|
|
498
|
+
const _ = Math.max(Math.abs((T ? T.clientWidth : 0) - v), v) * 2 + 2, L = Math.max(Math.abs((T ? T.clientHeight : 0) - N), N) * 2 + 2;
|
|
499
|
+
S = Math.sqrt(_ ** 2 + L ** 2);
|
|
500
|
+
}
|
|
501
|
+
p != null && p.touches ? g.current === null && (g.current = () => {
|
|
502
|
+
x({
|
|
503
|
+
pulsate: j,
|
|
504
|
+
rippleX: v,
|
|
505
|
+
rippleY: N,
|
|
506
|
+
rippleSize: S,
|
|
507
|
+
cb: M
|
|
508
|
+
});
|
|
509
|
+
}, D.start(nt, () => {
|
|
510
|
+
g.current && (g.current(), g.current = null);
|
|
511
|
+
})) : x({
|
|
512
|
+
pulsate: j,
|
|
513
|
+
rippleX: v,
|
|
514
|
+
rippleY: N,
|
|
515
|
+
rippleSize: S,
|
|
516
|
+
cb: M
|
|
517
|
+
});
|
|
518
|
+
}, [i, x, D]), Y = f.useCallback(() => {
|
|
519
|
+
k({}, {
|
|
520
|
+
pulsate: !0
|
|
521
|
+
});
|
|
522
|
+
}, [k]), I = f.useCallback((p, C) => {
|
|
523
|
+
if (D.clear(), (p == null ? void 0 : p.type) === "touchend" && g.current) {
|
|
524
|
+
g.current(), g.current = null, D.start(0, () => {
|
|
525
|
+
I(p, C);
|
|
526
|
+
});
|
|
527
|
+
return;
|
|
528
|
+
}
|
|
529
|
+
g.current = null, d((M) => M.length > 0 ? M.slice(1) : M), m.current = C;
|
|
530
|
+
}, [D]);
|
|
531
|
+
return f.useImperativeHandle(t, () => ({
|
|
532
|
+
pulsate: Y,
|
|
533
|
+
start: k,
|
|
534
|
+
stop: I
|
|
535
|
+
}), [Y, k, I]), /* @__PURE__ */ O(st, {
|
|
536
|
+
className: E(y.root, r.root, s),
|
|
537
|
+
ref: w,
|
|
538
|
+
...l,
|
|
539
|
+
children: /* @__PURE__ */ O(ie, {
|
|
540
|
+
component: null,
|
|
541
|
+
exit: !0,
|
|
542
|
+
children: c
|
|
543
|
+
})
|
|
544
|
+
});
|
|
545
|
+
});
|
|
546
|
+
process.env.NODE_ENV !== "production" && (me.propTypes = {
|
|
547
|
+
/**
|
|
548
|
+
* If `true`, the ripple starts at the center of the component
|
|
549
|
+
* rather than at the point of interaction.
|
|
550
|
+
*/
|
|
551
|
+
center: n.bool,
|
|
552
|
+
/**
|
|
553
|
+
* Override or extend the styles applied to the component.
|
|
554
|
+
*/
|
|
555
|
+
classes: n.object,
|
|
556
|
+
/**
|
|
557
|
+
* @ignore
|
|
558
|
+
*/
|
|
559
|
+
className: n.string
|
|
560
|
+
});
|
|
561
|
+
function ut(o) {
|
|
562
|
+
return Fe("MuiButtonBase", o);
|
|
563
|
+
}
|
|
564
|
+
const lt = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), ct = (o) => {
|
|
565
|
+
const {
|
|
566
|
+
disabled: e,
|
|
567
|
+
focusVisible: t,
|
|
568
|
+
focusVisibleClassName: a,
|
|
569
|
+
classes: i
|
|
570
|
+
} = o, s = Oe({
|
|
571
|
+
root: ["root", e && "disabled", t && "focusVisible"]
|
|
572
|
+
}, ut, i);
|
|
573
|
+
return t && a && (s.root += ` ${a}`), s;
|
|
574
|
+
}, pt = ne("button", {
|
|
575
|
+
name: "MuiButtonBase",
|
|
576
|
+
slot: "Root",
|
|
577
|
+
overridesResolver: (o, e) => e.root
|
|
578
|
+
})({
|
|
579
|
+
display: "inline-flex",
|
|
580
|
+
alignItems: "center",
|
|
581
|
+
justifyContent: "center",
|
|
582
|
+
position: "relative",
|
|
583
|
+
boxSizing: "border-box",
|
|
584
|
+
WebkitTapHighlightColor: "transparent",
|
|
585
|
+
backgroundColor: "transparent",
|
|
586
|
+
// Reset default value
|
|
587
|
+
// We disable the focus ring for mouse, touch and keyboard users.
|
|
588
|
+
outline: 0,
|
|
589
|
+
border: 0,
|
|
590
|
+
margin: 0,
|
|
591
|
+
// Remove the margin in Safari
|
|
592
|
+
borderRadius: 0,
|
|
593
|
+
padding: 0,
|
|
594
|
+
// Remove the padding in Firefox
|
|
595
|
+
cursor: "pointer",
|
|
596
|
+
userSelect: "none",
|
|
597
|
+
verticalAlign: "middle",
|
|
598
|
+
MozAppearance: "none",
|
|
599
|
+
// Reset
|
|
600
|
+
WebkitAppearance: "none",
|
|
601
|
+
// Reset
|
|
602
|
+
textDecoration: "none",
|
|
603
|
+
// So we take precedent over the style of a native <a /> element.
|
|
604
|
+
color: "inherit",
|
|
605
|
+
"&::-moz-focus-inner": {
|
|
606
|
+
borderStyle: "none"
|
|
607
|
+
// Remove Firefox dotted outline.
|
|
608
|
+
},
|
|
609
|
+
[`&.${lt.disabled}`]: {
|
|
610
|
+
pointerEvents: "none",
|
|
611
|
+
// Disable link interactions
|
|
612
|
+
cursor: "default"
|
|
613
|
+
},
|
|
614
|
+
"@media print": {
|
|
615
|
+
colorAdjust: "exact"
|
|
616
|
+
}
|
|
617
|
+
}), ft = /* @__PURE__ */ f.forwardRef(function(e, t) {
|
|
618
|
+
const a = fe({
|
|
619
|
+
props: e,
|
|
620
|
+
name: "MuiButtonBase"
|
|
621
|
+
}), {
|
|
622
|
+
action: i,
|
|
623
|
+
centerRipple: r = !1,
|
|
624
|
+
children: s,
|
|
625
|
+
className: l,
|
|
626
|
+
component: c = "button",
|
|
627
|
+
disabled: d = !1,
|
|
628
|
+
disableRipple: h = !1,
|
|
629
|
+
disableTouchRipple: m = !1,
|
|
630
|
+
focusRipple: R = !1,
|
|
631
|
+
focusVisibleClassName: D,
|
|
632
|
+
LinkComponent: g = "a",
|
|
633
|
+
onBlur: w,
|
|
634
|
+
onClick: x,
|
|
635
|
+
onContextMenu: k,
|
|
636
|
+
onDragLeave: Y,
|
|
637
|
+
onFocus: I,
|
|
638
|
+
onFocusVisible: p,
|
|
639
|
+
onKeyDown: C,
|
|
640
|
+
onKeyUp: M,
|
|
641
|
+
onMouseDown: j,
|
|
642
|
+
onMouseLeave: B,
|
|
643
|
+
onMouseUp: U,
|
|
644
|
+
onTouchEnd: T,
|
|
645
|
+
onTouchMove: V,
|
|
646
|
+
onTouchStart: v,
|
|
647
|
+
tabIndex: N = 0,
|
|
648
|
+
TouchRippleProps: S,
|
|
649
|
+
touchRippleRef: _,
|
|
650
|
+
type: L,
|
|
651
|
+
...z
|
|
652
|
+
} = a, A = f.useRef(null), b = We(), be = ue(b.ref, _), [$, K] = f.useState(!1);
|
|
653
|
+
d && $ && K(!1), f.useImperativeHandle(i, () => ({
|
|
654
|
+
focusVisible: () => {
|
|
655
|
+
K(!0), A.current.focus();
|
|
656
|
+
}
|
|
657
|
+
}), []);
|
|
658
|
+
const ge = b.shouldMount && !h && !d;
|
|
659
|
+
f.useEffect(() => {
|
|
660
|
+
$ && R && !h && b.pulsate();
|
|
661
|
+
}, [h, R, $, b]);
|
|
662
|
+
const ye = P(b, "start", j, m), Re = P(b, "stop", k, m), Me = P(b, "stop", Y, m), Ce = P(b, "stop", U, m), Te = P(b, "stop", (u) => {
|
|
663
|
+
$ && u.preventDefault(), B && B(u);
|
|
664
|
+
}, m), Ee = P(b, "start", v, m), xe = P(b, "stop", T, m), Ne = P(b, "stop", V, m), Pe = P(b, "stop", (u) => {
|
|
665
|
+
le(u.target) || K(!1), w && w(u);
|
|
666
|
+
}, !1), De = J((u) => {
|
|
667
|
+
A.current || (A.current = u.currentTarget), le(u.target) && (K(!0), p && p(u)), I && I(u);
|
|
668
|
+
}), Z = () => {
|
|
669
|
+
const u = A.current;
|
|
670
|
+
return c && c !== "button" && !(u.tagName === "A" && u.href);
|
|
671
|
+
}, Ve = J((u) => {
|
|
672
|
+
R && !u.repeat && $ && u.key === " " && b.stop(u, () => {
|
|
673
|
+
b.start(u);
|
|
674
|
+
}), u.target === u.currentTarget && Z() && u.key === " " && u.preventDefault(), C && C(u), u.target === u.currentTarget && Z() && u.key === "Enter" && !d && (u.preventDefault(), x && x(u));
|
|
675
|
+
}), ve = J((u) => {
|
|
676
|
+
R && u.key === " " && $ && !u.defaultPrevented && b.stop(u, () => {
|
|
677
|
+
b.pulsate(u);
|
|
678
|
+
}), M && M(u), x && u.target === u.currentTarget && Z() && u.key === " " && !u.defaultPrevented && x(u);
|
|
679
|
+
});
|
|
680
|
+
let q = c;
|
|
681
|
+
q === "button" && (z.href || z.to) && (q = g);
|
|
682
|
+
const X = {};
|
|
683
|
+
q === "button" ? (X.type = L === void 0 ? "button" : L, X.disabled = d) : (!z.href && !z.to && (X.role = "button"), d && (X["aria-disabled"] = d));
|
|
684
|
+
const Se = ue(t, A), re = {
|
|
685
|
+
...a,
|
|
686
|
+
centerRipple: r,
|
|
687
|
+
component: c,
|
|
688
|
+
disabled: d,
|
|
689
|
+
disableRipple: h,
|
|
690
|
+
disableTouchRipple: m,
|
|
691
|
+
focusRipple: R,
|
|
692
|
+
tabIndex: N,
|
|
693
|
+
focusVisible: $
|
|
694
|
+
}, we = ct(re);
|
|
695
|
+
return /* @__PURE__ */ ke(pt, {
|
|
696
|
+
as: q,
|
|
697
|
+
className: E(we.root, l),
|
|
698
|
+
ownerState: re,
|
|
699
|
+
onBlur: Pe,
|
|
700
|
+
onClick: x,
|
|
701
|
+
onContextMenu: Re,
|
|
702
|
+
onFocus: De,
|
|
703
|
+
onKeyDown: Ve,
|
|
704
|
+
onKeyUp: ve,
|
|
705
|
+
onMouseDown: ye,
|
|
706
|
+
onMouseLeave: Te,
|
|
707
|
+
onMouseUp: Ce,
|
|
708
|
+
onDragLeave: Me,
|
|
709
|
+
onTouchEnd: xe,
|
|
710
|
+
onTouchMove: Ne,
|
|
711
|
+
onTouchStart: Ee,
|
|
712
|
+
ref: Se,
|
|
713
|
+
tabIndex: d ? -1 : N,
|
|
714
|
+
type: L,
|
|
715
|
+
...X,
|
|
716
|
+
...z,
|
|
717
|
+
children: [s, ge ? /* @__PURE__ */ O(me, {
|
|
718
|
+
ref: be,
|
|
719
|
+
center: r,
|
|
720
|
+
...S
|
|
721
|
+
}) : null]
|
|
722
|
+
});
|
|
723
|
+
});
|
|
724
|
+
function P(o, e, t, a = !1) {
|
|
725
|
+
return J((i) => (t && t(i), a || o[e](i), !0));
|
|
726
|
+
}
|
|
727
|
+
process.env.NODE_ENV !== "production" && (ft.propTypes = {
|
|
728
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
729
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
730
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
731
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
732
|
+
/**
|
|
733
|
+
* A ref for imperative actions.
|
|
734
|
+
* It currently only supports `focusVisible()` action.
|
|
735
|
+
*/
|
|
736
|
+
action: ze,
|
|
737
|
+
/**
|
|
738
|
+
* If `true`, the ripples are centered.
|
|
739
|
+
* They won't start at the cursor interaction position.
|
|
740
|
+
* @default false
|
|
741
|
+
*/
|
|
742
|
+
centerRipple: n.bool,
|
|
743
|
+
/**
|
|
744
|
+
* The content of the component.
|
|
745
|
+
*/
|
|
746
|
+
children: n.node,
|
|
747
|
+
/**
|
|
748
|
+
* Override or extend the styles applied to the component.
|
|
749
|
+
*/
|
|
750
|
+
classes: n.object,
|
|
751
|
+
/**
|
|
752
|
+
* @ignore
|
|
753
|
+
*/
|
|
754
|
+
className: n.string,
|
|
755
|
+
/**
|
|
756
|
+
* The component used for the root node.
|
|
757
|
+
* Either a string to use a HTML element or a component.
|
|
758
|
+
*/
|
|
759
|
+
component: He,
|
|
760
|
+
/**
|
|
761
|
+
* If `true`, the component is disabled.
|
|
762
|
+
* @default false
|
|
763
|
+
*/
|
|
764
|
+
disabled: n.bool,
|
|
765
|
+
/**
|
|
766
|
+
* If `true`, the ripple effect is disabled.
|
|
767
|
+
*
|
|
768
|
+
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
769
|
+
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
770
|
+
* @default false
|
|
771
|
+
*/
|
|
772
|
+
disableRipple: n.bool,
|
|
773
|
+
/**
|
|
774
|
+
* If `true`, the touch ripple effect is disabled.
|
|
775
|
+
* @default false
|
|
776
|
+
*/
|
|
777
|
+
disableTouchRipple: n.bool,
|
|
778
|
+
/**
|
|
779
|
+
* If `true`, the base button will have a keyboard focus ripple.
|
|
780
|
+
* @default false
|
|
781
|
+
*/
|
|
782
|
+
focusRipple: n.bool,
|
|
783
|
+
/**
|
|
784
|
+
* This prop can help identify which element has keyboard focus.
|
|
785
|
+
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
786
|
+
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
787
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
788
|
+
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
789
|
+
* if needed.
|
|
790
|
+
*/
|
|
791
|
+
focusVisibleClassName: n.string,
|
|
792
|
+
/**
|
|
793
|
+
* @ignore
|
|
794
|
+
*/
|
|
795
|
+
href: n.any,
|
|
796
|
+
/**
|
|
797
|
+
* The component used to render a link when the `href` prop is provided.
|
|
798
|
+
* @default 'a'
|
|
799
|
+
*/
|
|
800
|
+
LinkComponent: n.elementType,
|
|
801
|
+
/**
|
|
802
|
+
* @ignore
|
|
803
|
+
*/
|
|
804
|
+
onBlur: n.func,
|
|
805
|
+
/**
|
|
806
|
+
* @ignore
|
|
807
|
+
*/
|
|
808
|
+
onClick: n.func,
|
|
809
|
+
/**
|
|
810
|
+
* @ignore
|
|
811
|
+
*/
|
|
812
|
+
onContextMenu: n.func,
|
|
813
|
+
/**
|
|
814
|
+
* @ignore
|
|
815
|
+
*/
|
|
816
|
+
onDragLeave: n.func,
|
|
817
|
+
/**
|
|
818
|
+
* @ignore
|
|
819
|
+
*/
|
|
820
|
+
onFocus: n.func,
|
|
821
|
+
/**
|
|
822
|
+
* Callback fired when the component is focused with a keyboard.
|
|
823
|
+
* We trigger a `onFocus` callback too.
|
|
824
|
+
*/
|
|
825
|
+
onFocusVisible: n.func,
|
|
826
|
+
/**
|
|
827
|
+
* @ignore
|
|
828
|
+
*/
|
|
829
|
+
onKeyDown: n.func,
|
|
830
|
+
/**
|
|
831
|
+
* @ignore
|
|
832
|
+
*/
|
|
833
|
+
onKeyUp: n.func,
|
|
834
|
+
/**
|
|
835
|
+
* @ignore
|
|
836
|
+
*/
|
|
837
|
+
onMouseDown: n.func,
|
|
838
|
+
/**
|
|
839
|
+
* @ignore
|
|
840
|
+
*/
|
|
841
|
+
onMouseLeave: n.func,
|
|
842
|
+
/**
|
|
843
|
+
* @ignore
|
|
844
|
+
*/
|
|
845
|
+
onMouseUp: n.func,
|
|
846
|
+
/**
|
|
847
|
+
* @ignore
|
|
848
|
+
*/
|
|
849
|
+
onTouchEnd: n.func,
|
|
850
|
+
/**
|
|
851
|
+
* @ignore
|
|
852
|
+
*/
|
|
853
|
+
onTouchMove: n.func,
|
|
854
|
+
/**
|
|
855
|
+
* @ignore
|
|
856
|
+
*/
|
|
857
|
+
onTouchStart: n.func,
|
|
858
|
+
/**
|
|
859
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
860
|
+
*/
|
|
861
|
+
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
|
|
862
|
+
/**
|
|
863
|
+
* @default 0
|
|
864
|
+
*/
|
|
865
|
+
tabIndex: n.number,
|
|
866
|
+
/**
|
|
867
|
+
* Props applied to the `TouchRipple` element.
|
|
868
|
+
*/
|
|
869
|
+
TouchRippleProps: n.object,
|
|
870
|
+
/**
|
|
871
|
+
* A ref that points to the `TouchRipple` element.
|
|
872
|
+
*/
|
|
873
|
+
touchRippleRef: n.oneOfType([n.func, n.shape({
|
|
874
|
+
current: n.shape({
|
|
875
|
+
pulsate: n.func.isRequired,
|
|
876
|
+
start: n.func.isRequired,
|
|
877
|
+
stop: n.func.isRequired
|
|
878
|
+
})
|
|
879
|
+
})]),
|
|
880
|
+
/**
|
|
881
|
+
* @ignore
|
|
882
|
+
*/
|
|
883
|
+
type: n.oneOfType([n.oneOf(["button", "reset", "submit"]), n.string])
|
|
884
|
+
});
|
|
885
|
+
function xt(o, e) {
|
|
886
|
+
function t(a, i) {
|
|
887
|
+
return /* @__PURE__ */ O(ce, {
|
|
888
|
+
"data-testid": `${e}Icon`,
|
|
889
|
+
ref: i,
|
|
890
|
+
...a,
|
|
891
|
+
children: o
|
|
892
|
+
});
|
|
893
|
+
}
|
|
894
|
+
return process.env.NODE_ENV !== "production" && (t.displayName = `${e}Icon`), t.muiName = ce.muiName, /* @__PURE__ */ f.memo(/* @__PURE__ */ f.forwardRef(t));
|
|
895
|
+
}
|
|
896
|
+
export {
|
|
897
|
+
ft as B,
|
|
898
|
+
de as F,
|
|
899
|
+
xt as c,
|
|
900
|
+
He as e,
|
|
901
|
+
Et as u
|
|
902
|
+
};
|