@sisense/sdk-shared-ui 2.1.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Breadcrumbs-B-OHBus7.cjs +3 -0
- package/dist/{Breadcrumbs-qJmt9n6B.js → Breadcrumbs-DrCp8avo.js} +12 -13
- package/dist/Button-CvkAcTyS.cjs +1 -0
- package/dist/{Button-Y7DwfxdO.js → Button-cvim-8Bz.js} +345 -165
- package/dist/{ButtonBase-UWHDpyst.js → ButtonBase-4TqAVSBf.js} +166 -164
- package/dist/ButtonBase-hZEG-21k.cjs +74 -0
- package/dist/Checkbox-BbF4jutm.cjs +1 -0
- package/dist/{Checkbox-BNkk6YDz.js → Checkbox-aMi60WQj.js} +249 -171
- package/dist/CircularProgress-B3FkrcM6.js +249 -0
- package/dist/CircularProgress-BWqRJiR-.cjs +28 -0
- package/dist/DEPRECATED_Tooltip-C3s_235Q.js +1961 -0
- package/dist/DEPRECATED_Tooltip-DL3MmzWZ.cjs +25 -0
- package/dist/{Dropdown-D8rLKKcl.cjs → Dropdown-B6uSaA3z.cjs} +1 -1
- package/dist/{Dropdown-DtWYpFk8.js → Dropdown-BzcjbX6k.js} +2 -2
- package/dist/{Icon-KwS2TWVq.cjs → Icon-DFhY5sRf.cjs} +1 -1
- package/dist/{Icon-JQpFT2bY.js → Icon-DVO7Byvy.js} +2 -2
- package/dist/{Menu-DkPO8bCf.cjs → Menu-CgLII61r.cjs} +1 -1
- package/dist/{Menu-EXiwd8T_.js → Menu-DqvdoiKn.js} +2 -2
- package/dist/{Popover-BjgDIgO7.cjs → Popover-DHy8NRMc.cjs} +1 -1
- package/dist/{Popover-CiYeL2VE.js → Popover-KR_Rc69g.js} +1 -1
- package/dist/Portal-B6TDsfBi.cjs +1 -0
- package/dist/{Portal-DUw3q8Mq.js → Portal-C6RJkJ6n.js} +253 -318
- package/dist/{SvgIcon-DXzFs5aw.cjs → SvgIcon-CjUZ_jwt.cjs} +1 -1
- package/dist/{SvgIcon-5KhsYNcu.js → SvgIcon-a_07YA77.js} +7 -7
- package/dist/TablePagination-CNwjJIdB.cjs +15 -0
- package/dist/{TablePagination-CgaKWA2r.js → TablePagination-D4-bcrO_.js} +2003 -1784
- package/dist/Tooltip-BjyR1mIC.cjs +7 -0
- package/dist/{Tooltip-BpA4opI3.js → Tooltip-CWF5y-3F.js} +20 -19
- package/dist/TransitionGroupContext-BNiEy2cD.js +119 -0
- package/dist/TransitionGroupContext-CJJeIdck.cjs +2 -0
- package/dist/{Typography-BDMqUlbg.cjs → Typography-Pieq_mxw.cjs} +1 -1
- package/dist/{Typography-pY0gGUzu.js → Typography-ReSKaH87.js} +6 -6
- package/dist/__test-helpers__/test-setup.d.ts +2 -0
- package/dist/__test-helpers__/test-setup.d.ts.map +1 -0
- package/dist/{createSvgIcon-B28x3Jky.js → createSvgIcon-CiRZfwSO.js} +1 -1
- package/dist/{createSvgIcon-KaV60kcg.cjs → createSvgIcon-DgE0zN0k.cjs} +1 -1
- package/dist/{emotion-cache-provider-CsTOkc-k.js → emotion-cache-provider-B6yKtm_a.js} +1980 -2095
- package/dist/emotion-cache-provider-XZE1SDsY.cjs +122 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +11 -11
- package/dist/index.umd.js +188 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lib/Button/Button.cjs +1 -1
- package/dist/lib/Button/Button.js +2 -2
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +1 -1
- package/dist/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/Menu/Menu.cjs +1 -1
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Popover/Popover.cjs +1 -1
- package/dist/lib/Popover/Popover.d.ts +1 -1
- package/dist/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.js +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lightweight/Breadcrumbs-BMR7xumU.js +37 -0
- package/dist/lightweight/Breadcrumbs-BgNa_noo.cjs +1 -0
- package/dist/lightweight/Button-C0bT7IWv.js +96 -0
- package/dist/lightweight/Button-O3zEYLfM.cjs +1 -0
- package/dist/lightweight/CheckableList-1Jq4spYu.cjs +1 -0
- package/dist/lightweight/CheckableList-DTTE9oEw.js +21 -0
- package/dist/lightweight/Checkbox-DqAy-3w-.js +34 -0
- package/dist/lightweight/Checkbox-hyvVpMGp.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Button-CKGdJitl.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Button-Dhs0ieAl.js +87 -0
- package/dist/lightweight/DEPRECATED_Checkbox-Be1l_Vce.js +63 -0
- package/dist/lightweight/DEPRECATED_Checkbox-BggU0HO5.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Icon-Bgufd-9Q.js +56 -0
- package/dist/lightweight/DEPRECATED_Icon-DC1Hc9iB.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
- package/dist/lightweight/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
- package/dist/lightweight/DEPRECATED_Tooltip-C3s_235Q.js +1961 -0
- package/dist/lightweight/DEPRECATED_Tooltip-DL3MmzWZ.cjs +25 -0
- package/dist/lightweight/Dropdown-B6uSaA3z.cjs +1 -0
- package/dist/lightweight/Dropdown-C5DcG6WG.js +231 -0
- package/dist/lightweight/Icon-4kNYAFUz.cjs +1 -0
- package/dist/lightweight/Icon-DQNqONXU.js +133 -0
- package/dist/lightweight/Input-CNvYE0Er.js +119 -0
- package/dist/lightweight/Input-_wNCDCdI.cjs +1 -0
- package/dist/lightweight/LazyLoader-DB86QSSx.js +18 -0
- package/dist/lightweight/LazyLoader-gOLNhxc-.cjs +1 -0
- package/dist/lightweight/Menu-CgLII61r.cjs +1 -0
- package/dist/lightweight/Menu-DeHgR0JO.js +1211 -0
- package/dist/lightweight/Popover-BAehEo3a.js +49 -0
- package/dist/lightweight/Popover-DHy8NRMc.cjs +1 -0
- package/dist/lightweight/RadioButton-BpAksn2s.js +70 -0
- package/dist/lightweight/RadioButton-Ds-0wj0r.cjs +1 -0
- package/dist/lightweight/TablePagination-Czpnhvp6.cjs +1 -0
- package/dist/lightweight/TablePagination-D1tyNTa7.js +338 -0
- package/dist/lightweight/Tooltip-BcjJxRj4.cjs +1 -0
- package/dist/lightweight/Tooltip-DUpknkQW.js +59 -0
- package/dist/lightweight/Typography-BT1q5az1.cjs +1 -0
- package/dist/lightweight/Typography-CvzdielF.js +153 -0
- package/dist/lightweight/__test-helpers__/test-setup.d.ts +2 -0
- package/dist/lightweight/__test-helpers__/test-setup.d.ts.map +1 -0
- package/dist/lightweight/align.interface-B17uA473.cjs +1 -0
- package/dist/lightweight/align.interface-DdWsijrT.js +4 -0
- package/dist/lightweight/emotion-cache-provider-BsnmG_09.cjs +1 -0
- package/dist/lightweight/emotion-cache-provider-CE1QZs6M.js +18 -0
- package/dist/lightweight/index-B-zZeebW.cjs +20 -0
- package/dist/lightweight/index-D0lMis-I.js +667 -0
- package/dist/lightweight/index.cjs +1 -0
- package/dist/lightweight/index.d.ts +2 -0
- package/dist/lightweight/index.d.ts.map +1 -0
- package/dist/lightweight/index.js +48 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/Breadcrumbs.js +7 -0
- package/dist/lightweight/lib/Breadcrumbs/index.d.ts +5 -0
- package/dist/lightweight/lib/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts +4 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Breadcrumbs/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/Button.cjs +1 -0
- package/dist/lightweight/lib/Button/Button.d.ts +10 -0
- package/dist/lightweight/lib/Button/Button.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/Button.js +7 -0
- package/dist/lightweight/lib/Button/index.d.ts +5 -0
- package/dist/lightweight/lib/Button/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/themes/buttonsTheme.d.ts +11 -0
- package/dist/lightweight/lib/Button/themes/buttonsTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Button/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Button/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.cjs +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.d.ts +16 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.d.ts.map +1 -0
- package/dist/lightweight/lib/CheckableList/CheckableList.js +5 -0
- package/dist/lightweight/lib/CheckableList/index.d.ts +4 -0
- package/dist/lightweight/lib/CheckableList/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.cjs +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.d.ts +20 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/Checkbox.js +5 -0
- package/dist/lightweight/lib/Checkbox/index.d.ts +4 -0
- package/dist/lightweight/lib/Checkbox/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
- package/dist/lightweight/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Checkbox/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
- package/dist/lightweight/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Button/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Button/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
- package/dist/lightweight/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.cjs +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts +32 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/Dropdown.js +5 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts +3 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts +3 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/hooks/index.d.ts +2 -0
- package/dist/lightweight/lib/Dropdown/hooks/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
- package/dist/lightweight/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/index.d.ts +5 -0
- package/dist/lightweight/lib/Dropdown/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Dropdown/types.d.ts +12 -0
- package/dist/lightweight/lib/Dropdown/types.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/Icon.cjs +1 -0
- package/dist/lightweight/lib/Icon/Icon.d.ts +13 -0
- package/dist/lightweight/lib/Icon/Icon.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/Icon.js +5 -0
- package/dist/lightweight/lib/Icon/index.d.ts +4 -0
- package/dist/lightweight/lib/Icon/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/iconTheme.d.ts +8 -0
- package/dist/lightweight/lib/Icon/themes/iconTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Icon/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Icon/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/Input/Input.cjs +1 -0
- package/dist/lightweight/lib/Input/Input.d.ts +28 -0
- package/dist/lightweight/lib/Input/Input.d.ts.map +1 -0
- package/dist/lightweight/lib/Input/Input.js +5 -0
- package/dist/lightweight/lib/Input/index.d.ts +4 -0
- package/dist/lightweight/lib/Input/index.d.ts.map +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.cjs +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts +9 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
- package/dist/lightweight/lib/LazyLoader/LazyLoader.js +5 -0
- package/dist/lightweight/lib/LazyLoader/index.d.ts +4 -0
- package/dist/lightweight/lib/LazyLoader/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
- package/dist/lightweight/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/index.d.ts +2 -0
- package/dist/lightweight/lib/Menu/Confirmation/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Confirmation/translation.d.ts +2 -0
- package/dist/lightweight/lib/Menu/Confirmation/translation.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Menu.cjs +1 -0
- package/dist/lightweight/lib/Menu/Menu.d.ts +80 -0
- package/dist/lightweight/lib/Menu/Menu.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/Menu.js +8 -0
- package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
- package/dist/lightweight/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/MenuItem/index.d.ts +3 -0
- package/dist/lightweight/lib/Menu/MenuItem/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/index.d.ts +6 -0
- package/dist/lightweight/lib/Menu/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Menu/utils.d.ts +6 -0
- package/dist/lightweight/lib/Menu/utils.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/Popover.cjs +1 -0
- package/dist/lightweight/lib/Popover/Popover.d.ts +16 -0
- package/dist/lightweight/lib/Popover/Popover.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/Popover.js +7 -0
- package/dist/lightweight/lib/Popover/align.interface.d.ts +23 -0
- package/dist/lightweight/lib/Popover/align.interface.d.ts.map +1 -0
- package/dist/lightweight/lib/Popover/index.d.ts +6 -0
- package/dist/lightweight/lib/Popover/index.d.ts.map +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.cjs +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.d.ts +20 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.d.ts.map +1 -0
- package/dist/lightweight/lib/RadioButton/RadioButton.js +5 -0
- package/dist/lightweight/lib/RadioButton/index.d.ts +4 -0
- package/dist/lightweight/lib/RadioButton/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.cjs +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.d.ts +19 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/TablePagination.js +5 -0
- package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/index.d.ts +4 -0
- package/dist/lightweight/lib/TablePagination/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
- package/dist/lightweight/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.cjs +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.d.ts +10 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/Tooltip.js +7 -0
- package/dist/lightweight/lib/Tooltip/index.d.ts +5 -0
- package/dist/lightweight/lib/Tooltip/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Tooltip/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
- package/dist/lightweight/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/Typography.cjs +1 -0
- package/dist/lightweight/lib/Typography/Typography.d.ts +11 -0
- package/dist/lightweight/lib/Typography/Typography.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/Typography.js +7 -0
- package/dist/lightweight/lib/Typography/index.d.ts +5 -0
- package/dist/lightweight/lib/Typography/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/index.d.ts +2 -0
- package/dist/lightweight/lib/Typography/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/typographyTheme.d.ts +21 -0
- package/dist/lightweight/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/Typography/themes/uiCustomization.d.ts +2 -0
- package/dist/lightweight/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
- package/dist/lightweight/lib/common/emotion-cache-provider.d.ts +11 -0
- package/dist/lightweight/lib/common/emotion-cache-provider.d.ts.map +1 -0
- package/dist/lightweight/lib/constants/styleguideConstants.d.ts +9 -0
- package/dist/lightweight/lib/constants/styleguideConstants.d.ts.map +1 -0
- package/dist/lightweight/lib/index.d.ts +20 -0
- package/dist/lightweight/lib/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/colors/index.d.ts +2 -0
- package/dist/lightweight/lib/themes/colors/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/colors/siColors.d.ts +140 -0
- package/dist/lightweight/lib/themes/colors/siColors.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/index.d.ts +3 -0
- package/dist/lightweight/lib/themes/index.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/themes.cjs +2 -0
- package/dist/lightweight/lib/themes/themes.js +142 -0
- package/dist/lightweight/lib/themes/types/SisenseTheme.d.ts +12 -0
- package/dist/lightweight/lib/themes/types/SisenseTheme.d.ts.map +1 -0
- package/dist/lightweight/lib/themes/types/index.d.ts +2 -0
- package/dist/lightweight/lib/themes/types/index.d.ts.map +1 -0
- package/dist/lightweight/package.json +248 -0
- package/dist/lightweight/styleguideConstants-CtXkvIZK.cjs +1 -0
- package/dist/lightweight/styleguideConstants-D4Yls16w.js +11 -0
- package/dist/package.json +34 -14
- package/dist/resolveComponentProps-BjHOskdg.cjs +1 -0
- package/dist/resolveComponentProps-L5VTqIs8.js +80 -0
- package/dist/useFormControl-DNim9J_T.cjs +1 -0
- package/dist/useFormControl-lYrMmqEx.js +56 -0
- package/dist/useId-CK6Kn3Tn.js +21 -0
- package/dist/useId-DNXtOFeX.cjs +1 -0
- package/dist/useSlot-BHK4fbKV.cjs +3 -0
- package/dist/useSlot-DUGuD2Ya.js +77 -0
- package/dist/useSlotProps-9rt1So3E.js +25 -0
- package/dist/useSlotProps-ChaoOi-_.cjs +1 -0
- package/dist/{useTheme-CzEManLl.js → useTheme-DPwUUXTG.js} +1 -1
- package/dist/{useTheme-DmoPdQRb.cjs → useTheme-Dn8Us9iT.cjs} +1 -1
- package/package.json +34 -14
- package/dist/Breadcrumbs-Da5cnPID.cjs +0 -3
- package/dist/Button-RoXZvXZf.cjs +0 -1
- package/dist/ButtonBase-CISYuRKV.cjs +0 -74
- package/dist/Checkbox-DpGUO-Li.cjs +0 -1
- package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +0 -2316
- package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +0 -27
- package/dist/Portal-CtJkkaJ7.cjs +0 -1
- package/dist/TablePagination-baLnBUNn.cjs +0 -15
- package/dist/Tooltip-Dcsip2Zy.cjs +0 -7
- package/dist/assertThisInitialized-BSnhOY1M.cjs +0 -1
- package/dist/assertThisInitialized-lz6cHcRv.js +0 -8
- package/dist/deepmerge-BuAjuQR6.cjs +0 -17
- package/dist/deepmerge-DNqbOtFI.js +0 -177
- package/dist/emotion-cache-provider-C66nBUtN.cjs +0 -114
- package/dist/extends-DX42hfxm.js +0 -13
- package/dist/extends-q0Hkx4pQ.cjs +0 -1
- package/dist/setPrototypeOf-BmHXYjK5.cjs +0 -1
- package/dist/setPrototypeOf-CEtRTXk2.js +0 -19
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useControlled-Ysk4KqoX.cjs +0 -3
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useFormControl-haP0iPhl.cjs +0 -1
- package/dist/useSlotProps-BxlgPyQJ.js +0 -102
- package/dist/useSlotProps-DS82uuM_.cjs +0 -1
- package/dist/useTimeout-DwkOFF8P.cjs +0 -2
- package/dist/useTimeout-Oe_jK-ia.js +0 -92
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { g as
|
|
3
|
-
import * as
|
|
4
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as ce, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { g as D, a as _, s as M, r as A, d as v, h as G, m as ie, e as le, f as pe, o as q, i as de, E as ue, T as fe } from "./emotion-cache-provider-B6yKtm_a.js";
|
|
3
|
+
import * as O from "react";
|
|
4
|
+
import { forwardRef as me } from "react";
|
|
5
5
|
import { P as e } from "./index-D0lMis-I.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { r as
|
|
10
|
-
import { c as
|
|
11
|
-
import { c as
|
|
12
|
-
import { siColors as
|
|
13
|
-
function
|
|
14
|
-
return
|
|
6
|
+
import { u as he, m as be } from "./useFormControl-lYrMmqEx.js";
|
|
7
|
+
import { u as ye, a as $ } from "./useSlot-DUGuD2Ya.js";
|
|
8
|
+
import { B as Ce } from "./ButtonBase-4TqAVSBf.js";
|
|
9
|
+
import { r as ge } from "./TransitionGroupContext-BNiEy2cD.js";
|
|
10
|
+
import { c as E } from "./createSvgIcon-CiRZfwSO.js";
|
|
11
|
+
import { c as H } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
12
|
+
import { siColors as L } from "./lib/themes/themes.js";
|
|
13
|
+
function ke(o) {
|
|
14
|
+
return D("PrivateSwitchBase", o);
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
const
|
|
16
|
+
_("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
17
|
+
const Pe = (o) => {
|
|
18
18
|
const {
|
|
19
19
|
classes: t,
|
|
20
|
-
checked:
|
|
21
|
-
disabled:
|
|
22
|
-
edge:
|
|
23
|
-
} = o,
|
|
24
|
-
root: ["root",
|
|
20
|
+
checked: n,
|
|
21
|
+
disabled: c,
|
|
22
|
+
edge: i
|
|
23
|
+
} = o, d = {
|
|
24
|
+
root: ["root", n && "checked", c && "disabled", i && `edge${v(i)}`],
|
|
25
25
|
input: ["input"]
|
|
26
26
|
};
|
|
27
|
-
return
|
|
28
|
-
},
|
|
27
|
+
return G(d, ke, t);
|
|
28
|
+
}, ve = M(Ce)({
|
|
29
29
|
padding: 9,
|
|
30
30
|
borderRadius: "50%",
|
|
31
31
|
variants: [{
|
|
@@ -61,8 +61,8 @@ const ue = (o) => {
|
|
|
61
61
|
marginRight: -12
|
|
62
62
|
}
|
|
63
63
|
}]
|
|
64
|
-
}),
|
|
65
|
-
shouldForwardProp:
|
|
64
|
+
}), xe = M("input", {
|
|
65
|
+
shouldForwardProp: A
|
|
66
66
|
})({
|
|
67
67
|
cursor: "inherit",
|
|
68
68
|
position: "absolute",
|
|
@@ -74,90 +74,125 @@ const ue = (o) => {
|
|
|
74
74
|
margin: 0,
|
|
75
75
|
padding: 0,
|
|
76
76
|
zIndex: 1
|
|
77
|
-
}),
|
|
77
|
+
}), J = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
78
78
|
const {
|
|
79
|
-
autoFocus:
|
|
80
|
-
checked:
|
|
81
|
-
checkedIcon:
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
79
|
+
autoFocus: c,
|
|
80
|
+
checked: i,
|
|
81
|
+
checkedIcon: d,
|
|
82
|
+
defaultChecked: u,
|
|
83
|
+
disabled: f,
|
|
84
|
+
disableFocusRipple: h = !1,
|
|
85
|
+
edge: T = !1,
|
|
86
|
+
icon: b,
|
|
87
|
+
id: x,
|
|
88
|
+
inputProps: z,
|
|
89
|
+
inputRef: S,
|
|
90
|
+
name: I,
|
|
91
|
+
onBlur: B,
|
|
92
|
+
onChange: y,
|
|
93
|
+
onFocus: C,
|
|
94
|
+
readOnly: g,
|
|
95
|
+
required: R = !1,
|
|
96
|
+
tabIndex: k,
|
|
97
|
+
type: m,
|
|
98
|
+
value: w,
|
|
99
|
+
slots: Q = {},
|
|
100
|
+
slotProps: W = {},
|
|
101
|
+
...X
|
|
102
|
+
} = t, [N, Y] = ye({
|
|
103
|
+
controlled: i,
|
|
104
|
+
default: !!u,
|
|
104
105
|
name: "SwitchBase",
|
|
105
106
|
state: "checked"
|
|
106
|
-
}),
|
|
107
|
-
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
},
|
|
111
|
-
if (
|
|
107
|
+
}), l = he(), Z = (s) => {
|
|
108
|
+
C && C(s), l && l.onFocus && l.onFocus(s);
|
|
109
|
+
}, ee = (s) => {
|
|
110
|
+
B && B(s), l && l.onBlur && l.onBlur(s);
|
|
111
|
+
}, oe = (s) => {
|
|
112
|
+
if (s.nativeEvent.defaultPrevented)
|
|
112
113
|
return;
|
|
113
|
-
const
|
|
114
|
-
|
|
114
|
+
const r = s.target.checked;
|
|
115
|
+
Y(r), y && y(s, r);
|
|
115
116
|
};
|
|
116
|
-
let
|
|
117
|
-
|
|
118
|
-
const
|
|
117
|
+
let P = f;
|
|
118
|
+
l && typeof P > "u" && (P = l.disabled);
|
|
119
|
+
const te = m === "checkbox" || m === "radio", F = {
|
|
119
120
|
...t,
|
|
120
|
-
checked:
|
|
121
|
-
disabled:
|
|
122
|
-
disableFocusRipple:
|
|
123
|
-
edge:
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
name: v,
|
|
146
|
-
onChange: Z,
|
|
147
|
-
readOnly: G,
|
|
148
|
-
ref: y,
|
|
149
|
-
required: J,
|
|
150
|
-
ownerState: B,
|
|
151
|
-
tabIndex: K,
|
|
152
|
-
type: x,
|
|
153
|
-
...x === "checkbox" && F === void 0 ? {} : {
|
|
154
|
-
value: F
|
|
121
|
+
checked: N,
|
|
122
|
+
disabled: P,
|
|
123
|
+
disableFocusRipple: h,
|
|
124
|
+
edge: T
|
|
125
|
+
}, U = Pe(F), V = {
|
|
126
|
+
slots: Q,
|
|
127
|
+
slotProps: {
|
|
128
|
+
input: z,
|
|
129
|
+
...W
|
|
130
|
+
}
|
|
131
|
+
}, [se, ne] = $("root", {
|
|
132
|
+
ref: n,
|
|
133
|
+
elementType: ve,
|
|
134
|
+
className: U.root,
|
|
135
|
+
shouldForwardComponentProp: !0,
|
|
136
|
+
externalForwardedProps: {
|
|
137
|
+
...V,
|
|
138
|
+
component: "span",
|
|
139
|
+
...X
|
|
140
|
+
},
|
|
141
|
+
getSlotProps: (s) => ({
|
|
142
|
+
...s,
|
|
143
|
+
onFocus: (r) => {
|
|
144
|
+
var p;
|
|
145
|
+
(p = s.onFocus) == null || p.call(s, r), Z(r);
|
|
155
146
|
},
|
|
156
|
-
|
|
157
|
-
|
|
147
|
+
onBlur: (r) => {
|
|
148
|
+
var p;
|
|
149
|
+
(p = s.onBlur) == null || p.call(s, r), ee(r);
|
|
150
|
+
}
|
|
151
|
+
}),
|
|
152
|
+
ownerState: F,
|
|
153
|
+
additionalProps: {
|
|
154
|
+
centerRipple: !0,
|
|
155
|
+
focusRipple: !h,
|
|
156
|
+
disabled: P,
|
|
157
|
+
role: void 0,
|
|
158
|
+
tabIndex: null
|
|
159
|
+
}
|
|
160
|
+
}), [re, ae] = $("input", {
|
|
161
|
+
ref: S,
|
|
162
|
+
elementType: xe,
|
|
163
|
+
className: U.input,
|
|
164
|
+
externalForwardedProps: V,
|
|
165
|
+
getSlotProps: (s) => ({
|
|
166
|
+
onChange: (r) => {
|
|
167
|
+
var p;
|
|
168
|
+
(p = s.onChange) == null || p.call(s, r), oe(r);
|
|
169
|
+
}
|
|
170
|
+
}),
|
|
171
|
+
ownerState: F,
|
|
172
|
+
additionalProps: {
|
|
173
|
+
autoFocus: c,
|
|
174
|
+
checked: i,
|
|
175
|
+
defaultChecked: u,
|
|
176
|
+
disabled: P,
|
|
177
|
+
id: te ? x : void 0,
|
|
178
|
+
name: I,
|
|
179
|
+
readOnly: g,
|
|
180
|
+
required: R,
|
|
181
|
+
tabIndex: k,
|
|
182
|
+
type: m,
|
|
183
|
+
...m === "checkbox" && w === void 0 ? {} : {
|
|
184
|
+
value: w
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
return /* @__PURE__ */ ce(se, {
|
|
189
|
+
...ne,
|
|
190
|
+
children: [/* @__PURE__ */ a(re, {
|
|
191
|
+
...ae
|
|
192
|
+
}), N ? d : b]
|
|
158
193
|
});
|
|
159
194
|
});
|
|
160
|
-
process.env.NODE_ENV !== "production" && (
|
|
195
|
+
process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
161
196
|
/**
|
|
162
197
|
* If `true`, the `input` element is focused during the first mount.
|
|
163
198
|
*/
|
|
@@ -214,7 +249,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
214
249
|
/**
|
|
215
250
|
* Pass a ref to the `input` element.
|
|
216
251
|
*/
|
|
217
|
-
inputRef:
|
|
252
|
+
inputRef: ge,
|
|
218
253
|
/*
|
|
219
254
|
* @ignore
|
|
220
255
|
*/
|
|
@@ -243,6 +278,22 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
243
278
|
* If `true`, the `input` element is required.
|
|
244
279
|
*/
|
|
245
280
|
required: e.bool,
|
|
281
|
+
/**
|
|
282
|
+
* The props used for each slot inside.
|
|
283
|
+
* @default {}
|
|
284
|
+
*/
|
|
285
|
+
slotProps: e.shape({
|
|
286
|
+
input: e.oneOfType([e.func, e.object]),
|
|
287
|
+
root: e.oneOfType([e.func, e.object])
|
|
288
|
+
}),
|
|
289
|
+
/**
|
|
290
|
+
* The components used for each slot inside.
|
|
291
|
+
* @default {}
|
|
292
|
+
*/
|
|
293
|
+
slots: e.shape({
|
|
294
|
+
input: e.elementType,
|
|
295
|
+
root: e.elementType
|
|
296
|
+
}),
|
|
246
297
|
/**
|
|
247
298
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
248
299
|
*/
|
|
@@ -260,41 +311,41 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
260
311
|
*/
|
|
261
312
|
value: e.any
|
|
262
313
|
});
|
|
263
|
-
const
|
|
314
|
+
const Se = E(/* @__PURE__ */ a("path", {
|
|
264
315
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
265
|
-
}), "CheckBoxOutlineBlank"),
|
|
316
|
+
}), "CheckBoxOutlineBlank"), Ie = E(/* @__PURE__ */ a("path", {
|
|
266
317
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
267
|
-
}), "CheckBox"),
|
|
318
|
+
}), "CheckBox"), Be = E(/* @__PURE__ */ a("path", {
|
|
268
319
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
269
320
|
}), "IndeterminateCheckBox");
|
|
270
|
-
function
|
|
271
|
-
return
|
|
321
|
+
function Re(o) {
|
|
322
|
+
return D("MuiCheckbox", o);
|
|
272
323
|
}
|
|
273
|
-
const
|
|
324
|
+
const j = _("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), we = (o) => {
|
|
274
325
|
const {
|
|
275
326
|
classes: t,
|
|
276
|
-
indeterminate:
|
|
277
|
-
color:
|
|
278
|
-
size:
|
|
279
|
-
} = o,
|
|
280
|
-
root: ["root",
|
|
281
|
-
},
|
|
327
|
+
indeterminate: n,
|
|
328
|
+
color: c,
|
|
329
|
+
size: i
|
|
330
|
+
} = o, d = {
|
|
331
|
+
root: ["root", n && "indeterminate", `color${v(c)}`, `size${v(i)}`]
|
|
332
|
+
}, u = G(d, Re, t);
|
|
282
333
|
return {
|
|
283
334
|
...t,
|
|
284
335
|
// forward the disabled and checked classes to the SwitchBase
|
|
285
|
-
...
|
|
336
|
+
...u
|
|
286
337
|
};
|
|
287
|
-
},
|
|
288
|
-
shouldForwardProp: (o) =>
|
|
338
|
+
}, Oe = M(J, {
|
|
339
|
+
shouldForwardProp: (o) => A(o) || o === "classes",
|
|
289
340
|
name: "MuiCheckbox",
|
|
290
341
|
slot: "Root",
|
|
291
342
|
overridesResolver: (o, t) => {
|
|
292
343
|
const {
|
|
293
|
-
ownerState:
|
|
344
|
+
ownerState: n
|
|
294
345
|
} = o;
|
|
295
|
-
return [t.root,
|
|
346
|
+
return [t.root, n.indeterminate && t.indeterminate, t[`size${v(n.size)}`], n.color !== "default" && t[`color${v(n.color)}`]];
|
|
296
347
|
}
|
|
297
|
-
})(
|
|
348
|
+
})(ie(({
|
|
298
349
|
theme: o
|
|
299
350
|
}) => ({
|
|
300
351
|
color: (o.vars || o).palette.text.secondary,
|
|
@@ -305,28 +356,28 @@ const w = U("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
305
356
|
},
|
|
306
357
|
style: {
|
|
307
358
|
"&:hover": {
|
|
308
|
-
backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` :
|
|
359
|
+
backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : q(o.palette.action.active, o.palette.action.hoverOpacity)
|
|
309
360
|
}
|
|
310
361
|
}
|
|
311
|
-
}, ...Object.entries(o.palette).filter(
|
|
362
|
+
}, ...Object.entries(o.palette).filter(H()).map(([t]) => ({
|
|
312
363
|
props: {
|
|
313
364
|
color: t,
|
|
314
365
|
disableRipple: !1
|
|
315
366
|
},
|
|
316
367
|
style: {
|
|
317
368
|
"&:hover": {
|
|
318
|
-
backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` :
|
|
369
|
+
backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : q(o.palette[t].main, o.palette.action.hoverOpacity)
|
|
319
370
|
}
|
|
320
371
|
}
|
|
321
|
-
})), ...Object.entries(o.palette).filter(
|
|
372
|
+
})), ...Object.entries(o.palette).filter(H()).map(([t]) => ({
|
|
322
373
|
props: {
|
|
323
374
|
color: t
|
|
324
375
|
},
|
|
325
376
|
style: {
|
|
326
|
-
[`&.${
|
|
377
|
+
[`&.${j.checked}, &.${j.indeterminate}`]: {
|
|
327
378
|
color: (o.vars || o).palette[t].main
|
|
328
379
|
},
|
|
329
|
-
[`&.${
|
|
380
|
+
[`&.${j.disabled}`]: {
|
|
330
381
|
color: (o.vars || o).palette.action.disabled
|
|
331
382
|
}
|
|
332
383
|
}
|
|
@@ -344,49 +395,63 @@ const w = U("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
344
395
|
}
|
|
345
396
|
}
|
|
346
397
|
}]
|
|
347
|
-
}))),
|
|
348
|
-
const
|
|
398
|
+
}))), Te = /* @__PURE__ */ a(Ie, {}), ze = /* @__PURE__ */ a(Se, {}), Fe = /* @__PURE__ */ a(Be, {}), K = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
399
|
+
const c = le({
|
|
349
400
|
props: t,
|
|
350
401
|
name: "MuiCheckbox"
|
|
351
402
|
}), {
|
|
352
|
-
checkedIcon:
|
|
353
|
-
color:
|
|
354
|
-
icon:
|
|
355
|
-
indeterminate:
|
|
356
|
-
indeterminateIcon:
|
|
357
|
-
inputProps:
|
|
358
|
-
size:
|
|
359
|
-
disableRipple:
|
|
360
|
-
className:
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
...
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
403
|
+
checkedIcon: i = Te,
|
|
404
|
+
color: d = "primary",
|
|
405
|
+
icon: u = ze,
|
|
406
|
+
indeterminate: f = !1,
|
|
407
|
+
indeterminateIcon: h = Fe,
|
|
408
|
+
inputProps: T,
|
|
409
|
+
size: b = "medium",
|
|
410
|
+
disableRipple: x = !1,
|
|
411
|
+
className: z,
|
|
412
|
+
slots: S = {},
|
|
413
|
+
slotProps: I = {},
|
|
414
|
+
...B
|
|
415
|
+
} = c, y = f ? h : u, C = f ? h : i, g = {
|
|
416
|
+
...c,
|
|
417
|
+
disableRipple: x,
|
|
418
|
+
color: d,
|
|
419
|
+
indeterminate: f,
|
|
420
|
+
size: b
|
|
421
|
+
}, R = we(g), k = I.input ?? T, [m, w] = $("root", {
|
|
422
|
+
ref: n,
|
|
423
|
+
elementType: Oe,
|
|
424
|
+
className: pe(R.root, z),
|
|
425
|
+
shouldForwardComponentProp: !0,
|
|
426
|
+
externalForwardedProps: {
|
|
427
|
+
slots: S,
|
|
428
|
+
slotProps: I,
|
|
429
|
+
...B
|
|
374
430
|
},
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
431
|
+
ownerState: g,
|
|
432
|
+
additionalProps: {
|
|
433
|
+
type: "checkbox",
|
|
434
|
+
icon: /* @__PURE__ */ O.cloneElement(y, {
|
|
435
|
+
fontSize: y.props.fontSize ?? b
|
|
436
|
+
}),
|
|
437
|
+
checkedIcon: /* @__PURE__ */ O.cloneElement(C, {
|
|
438
|
+
fontSize: C.props.fontSize ?? b
|
|
439
|
+
}),
|
|
440
|
+
disableRipple: x,
|
|
441
|
+
slots: S,
|
|
442
|
+
slotProps: {
|
|
443
|
+
input: be(typeof k == "function" ? k(g) : k, {
|
|
444
|
+
"data-indeterminate": f
|
|
445
|
+
})
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
return /* @__PURE__ */ a(m, {
|
|
450
|
+
...w,
|
|
451
|
+
classes: R
|
|
387
452
|
});
|
|
388
453
|
});
|
|
389
|
-
process.env.NODE_ENV !== "production" && (
|
|
454
|
+
process.env.NODE_ENV !== "production" && (K.propTypes = {
|
|
390
455
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
391
456
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
392
457
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -453,12 +518,9 @@ process.env.NODE_ENV !== "production" && (A.propTypes = {
|
|
|
453
518
|
indeterminateIcon: e.node,
|
|
454
519
|
/**
|
|
455
520
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
521
|
+
* @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
456
522
|
*/
|
|
457
523
|
inputProps: e.object,
|
|
458
|
-
/**
|
|
459
|
-
* Pass a ref to the `input` element.
|
|
460
|
-
*/
|
|
461
|
-
inputRef: D,
|
|
462
524
|
/**
|
|
463
525
|
* Callback fired when the state is changed.
|
|
464
526
|
*
|
|
@@ -477,6 +539,22 @@ process.env.NODE_ENV !== "production" && (A.propTypes = {
|
|
|
477
539
|
* @default 'medium'
|
|
478
540
|
*/
|
|
479
541
|
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
542
|
+
/**
|
|
543
|
+
* The props used for each slot inside.
|
|
544
|
+
* @default {}
|
|
545
|
+
*/
|
|
546
|
+
slotProps: e.shape({
|
|
547
|
+
input: e.oneOfType([e.func, e.object]),
|
|
548
|
+
root: e.oneOfType([e.func, e.object])
|
|
549
|
+
}),
|
|
550
|
+
/**
|
|
551
|
+
* The components used for each slot inside.
|
|
552
|
+
* @default {}
|
|
553
|
+
*/
|
|
554
|
+
slots: e.shape({
|
|
555
|
+
input: e.elementType,
|
|
556
|
+
root: e.elementType
|
|
557
|
+
}),
|
|
480
558
|
/**
|
|
481
559
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
482
560
|
*/
|
|
@@ -487,7 +565,7 @@ process.env.NODE_ENV !== "production" && (A.propTypes = {
|
|
|
487
565
|
*/
|
|
488
566
|
value: e.any
|
|
489
567
|
});
|
|
490
|
-
const
|
|
568
|
+
const je = de({
|
|
491
569
|
components: {
|
|
492
570
|
MuiCheckbox: {
|
|
493
571
|
styleOverrides: {
|
|
@@ -498,19 +576,19 @@ const Ie = ne({
|
|
|
498
576
|
opacity: 0.5
|
|
499
577
|
},
|
|
500
578
|
"&:hover": {
|
|
501
|
-
backgroundColor:
|
|
579
|
+
backgroundColor: L.StInteractionColors.defaultHover
|
|
502
580
|
},
|
|
503
581
|
"& .MuiSvgIcon-root": {
|
|
504
582
|
fontSize: 14,
|
|
505
|
-
fill:
|
|
583
|
+
fill: L.StUiColors.default
|
|
506
584
|
}
|
|
507
585
|
}
|
|
508
586
|
}
|
|
509
587
|
}
|
|
510
588
|
}
|
|
511
|
-
}),
|
|
512
|
-
({ theme: o =
|
|
589
|
+
}), Ae = me(
|
|
590
|
+
({ theme: o = je, dataTestId: t, ...n }, c) => /* @__PURE__ */ a(ue, { children: /* @__PURE__ */ a(fe, { theme: o, children: /* @__PURE__ */ a(K, { "data-testid": t, ref: c, ...n }) }) })
|
|
513
591
|
);
|
|
514
592
|
export {
|
|
515
|
-
|
|
593
|
+
Ae as C
|
|
516
594
|
};
|