@sisense/sdk-shared-ui 2.2.0 → 2.3.1
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,71 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as J, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import * as x from "react";
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import { siColors as i, sfColors as S } from "./lib/themes/themes.js";
|
|
3
|
+
import { forwardRef as Q } from "react";
|
|
4
|
+
import { g as X, a as Z, s as f, r as oo, d as e, m as to, n as ao, e as no, f as N, h as ro, o as y, i as io, l as eo, E as so, T as lo } from "./emotion-cache-provider-B6yKtm_a.js";
|
|
5
|
+
import { siColors as i, sfColors as I } from "./lib/themes/themes.js";
|
|
7
6
|
import { P as t } from "./index-D0lMis-I.js";
|
|
8
|
-
import { c as
|
|
9
|
-
import { B as
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
for (const e in o)
|
|
15
|
-
if (Object.prototype.hasOwnProperty.call(o, e)) {
|
|
16
|
-
const n = e;
|
|
17
|
-
if (n === "components" || n === "slots")
|
|
18
|
-
a[n] = {
|
|
19
|
-
...o[n],
|
|
20
|
-
...a[n]
|
|
21
|
-
};
|
|
22
|
-
else if (n === "componentsProps" || n === "slotProps") {
|
|
23
|
-
const s = o[n], d = r[n];
|
|
24
|
-
if (!d)
|
|
25
|
-
a[n] = s || {};
|
|
26
|
-
else if (!s)
|
|
27
|
-
a[n] = d;
|
|
28
|
-
else {
|
|
29
|
-
a[n] = {
|
|
30
|
-
...d
|
|
31
|
-
};
|
|
32
|
-
for (const p in s)
|
|
33
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) {
|
|
34
|
-
const c = p;
|
|
35
|
-
a[n][c] = k(s[c], d[c]);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
} else a[n] === void 0 && (a[n] = o[n]);
|
|
39
|
-
}
|
|
40
|
-
return a;
|
|
41
|
-
}
|
|
42
|
-
function ro(o) {
|
|
43
|
-
return A("MuiButton", o);
|
|
7
|
+
import { c as po } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
8
|
+
import { B as co } from "./ButtonBase-4TqAVSBf.js";
|
|
9
|
+
import { u as uo } from "./useId-CK6Kn3Tn.js";
|
|
10
|
+
import { C as go } from "./CircularProgress-B3FkrcM6.js";
|
|
11
|
+
function vo(o) {
|
|
12
|
+
return X("MuiButton", o);
|
|
44
13
|
}
|
|
45
|
-
const
|
|
46
|
-
process.env.NODE_ENV !== "production" && (
|
|
47
|
-
const
|
|
48
|
-
process.env.NODE_ENV !== "production" && (
|
|
49
|
-
const
|
|
14
|
+
const g = Z("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge", "loading", "loadingWrapper", "loadingIconPlaceholder", "loadingIndicator", "loadingPositionCenter", "loadingPositionStart", "loadingPositionEnd"]), L = /* @__PURE__ */ x.createContext({});
|
|
15
|
+
process.env.NODE_ENV !== "production" && (L.displayName = "ButtonGroupContext");
|
|
16
|
+
const M = /* @__PURE__ */ x.createContext(void 0);
|
|
17
|
+
process.env.NODE_ENV !== "production" && (M.displayName = "ButtonGroupButtonContext");
|
|
18
|
+
const bo = (o) => {
|
|
50
19
|
const {
|
|
51
|
-
color:
|
|
52
|
-
disableElevation:
|
|
53
|
-
fullWidth:
|
|
54
|
-
size:
|
|
55
|
-
variant:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
20
|
+
color: a,
|
|
21
|
+
disableElevation: n,
|
|
22
|
+
fullWidth: r,
|
|
23
|
+
size: d,
|
|
24
|
+
variant: p,
|
|
25
|
+
loading: v,
|
|
26
|
+
loadingPosition: m,
|
|
27
|
+
classes: S
|
|
28
|
+
} = o, C = {
|
|
29
|
+
root: ["root", v && "loading", p, `${p}${e(a)}`, `size${e(d)}`, `${p}Size${e(d)}`, `color${e(a)}`, n && "disableElevation", r && "fullWidth", v && `loadingPosition${e(m)}`],
|
|
30
|
+
startIcon: ["icon", "startIcon", `iconSize${e(d)}`],
|
|
31
|
+
endIcon: ["icon", "endIcon", `iconSize${e(d)}`],
|
|
32
|
+
loadingIndicator: ["loadingIndicator"],
|
|
33
|
+
loadingWrapper: ["loadingWrapper"]
|
|
34
|
+
}, B = ro(C, vo, S);
|
|
63
35
|
return {
|
|
64
|
-
...
|
|
36
|
+
...S,
|
|
65
37
|
// forward the focused, disabled, etc. classes to the ButtonBase
|
|
66
|
-
...
|
|
38
|
+
...B
|
|
67
39
|
};
|
|
68
|
-
},
|
|
40
|
+
}, H = [{
|
|
69
41
|
props: {
|
|
70
42
|
size: "small"
|
|
71
43
|
},
|
|
@@ -92,20 +64,20 @@ const no = (o) => {
|
|
|
92
64
|
fontSize: 22
|
|
93
65
|
}
|
|
94
66
|
}
|
|
95
|
-
}],
|
|
96
|
-
shouldForwardProp: (o) =>
|
|
67
|
+
}], yo = f(co, {
|
|
68
|
+
shouldForwardProp: (o) => oo(o) || o === "classes",
|
|
97
69
|
name: "MuiButton",
|
|
98
70
|
slot: "Root",
|
|
99
|
-
overridesResolver: (o,
|
|
71
|
+
overridesResolver: (o, a) => {
|
|
100
72
|
const {
|
|
101
|
-
ownerState:
|
|
73
|
+
ownerState: n
|
|
102
74
|
} = o;
|
|
103
|
-
return [
|
|
75
|
+
return [a.root, a[n.variant], a[`${n.variant}${e(n.color)}`], a[`size${e(n.size)}`], a[`${n.variant}Size${e(n.size)}`], n.color === "inherit" && a.colorInherit, n.disableElevation && a.disableElevation, n.fullWidth && a.fullWidth, n.loading && a.loading];
|
|
104
76
|
}
|
|
105
|
-
})(
|
|
77
|
+
})(to(({
|
|
106
78
|
theme: o
|
|
107
79
|
}) => {
|
|
108
|
-
const
|
|
80
|
+
const a = o.palette.mode === "light" ? o.palette.grey[300] : o.palette.grey[800], n = o.palette.mode === "light" ? o.palette.grey.A100 : o.palette.grey[700];
|
|
109
81
|
return {
|
|
110
82
|
...o.typography.button,
|
|
111
83
|
minWidth: 64,
|
|
@@ -118,7 +90,7 @@ const no = (o) => {
|
|
|
118
90
|
"&:hover": {
|
|
119
91
|
textDecoration: "none"
|
|
120
92
|
},
|
|
121
|
-
[`&.${
|
|
93
|
+
[`&.${g.disabled}`]: {
|
|
122
94
|
color: (o.vars || o).palette.action.disabled
|
|
123
95
|
},
|
|
124
96
|
variants: [{
|
|
@@ -139,10 +111,10 @@ const no = (o) => {
|
|
|
139
111
|
"&:active": {
|
|
140
112
|
boxShadow: (o.vars || o).shadows[8]
|
|
141
113
|
},
|
|
142
|
-
[`&.${
|
|
114
|
+
[`&.${g.focusVisible}`]: {
|
|
143
115
|
boxShadow: (o.vars || o).shadows[6]
|
|
144
116
|
},
|
|
145
|
-
[`&.${
|
|
117
|
+
[`&.${g.disabled}`]: {
|
|
146
118
|
color: (o.vars || o).palette.action.disabled,
|
|
147
119
|
boxShadow: (o.vars || o).shadows[0],
|
|
148
120
|
backgroundColor: (o.vars || o).palette.action.disabledBackground
|
|
@@ -158,7 +130,7 @@ const no = (o) => {
|
|
|
158
130
|
borderColor: "var(--variant-outlinedBorder, currentColor)",
|
|
159
131
|
backgroundColor: "var(--variant-outlinedBg)",
|
|
160
132
|
color: "var(--variant-outlinedColor)",
|
|
161
|
-
[`&.${
|
|
133
|
+
[`&.${g.disabled}`]: {
|
|
162
134
|
border: `1px solid ${(o.vars || o).palette.action.disabledBackground}`
|
|
163
135
|
}
|
|
164
136
|
}
|
|
@@ -171,22 +143,22 @@ const no = (o) => {
|
|
|
171
143
|
color: "var(--variant-textColor)",
|
|
172
144
|
backgroundColor: "var(--variant-textBg)"
|
|
173
145
|
}
|
|
174
|
-
}, ...Object.entries(o.palette).filter(
|
|
146
|
+
}, ...Object.entries(o.palette).filter(po()).map(([r]) => ({
|
|
175
147
|
props: {
|
|
176
|
-
color:
|
|
148
|
+
color: r
|
|
177
149
|
},
|
|
178
150
|
style: {
|
|
179
|
-
"--variant-textColor": (o.vars || o).palette[
|
|
180
|
-
"--variant-outlinedColor": (o.vars || o).palette[
|
|
181
|
-
"--variant-outlinedBorder": o.vars ? `rgba(${o.vars.palette[
|
|
182
|
-
"--variant-containedColor": (o.vars || o).palette[
|
|
183
|
-
"--variant-containedBg": (o.vars || o).palette[
|
|
151
|
+
"--variant-textColor": (o.vars || o).palette[r].main,
|
|
152
|
+
"--variant-outlinedColor": (o.vars || o).palette[r].main,
|
|
153
|
+
"--variant-outlinedBorder": o.vars ? `rgba(${o.vars.palette[r].mainChannel} / 0.5)` : y(o.palette[r].main, 0.5),
|
|
154
|
+
"--variant-containedColor": (o.vars || o).palette[r].contrastText,
|
|
155
|
+
"--variant-containedBg": (o.vars || o).palette[r].main,
|
|
184
156
|
"@media (hover: hover)": {
|
|
185
157
|
"&:hover": {
|
|
186
|
-
"--variant-containedBg": (o.vars || o).palette[
|
|
187
|
-
"--variant-textBg": o.vars ? `rgba(${o.vars.palette[
|
|
188
|
-
"--variant-outlinedBorder": (o.vars || o).palette[
|
|
189
|
-
"--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette[
|
|
158
|
+
"--variant-containedBg": (o.vars || o).palette[r].dark,
|
|
159
|
+
"--variant-textBg": o.vars ? `rgba(${o.vars.palette[r].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : y(o.palette[r].main, o.palette.action.hoverOpacity),
|
|
160
|
+
"--variant-outlinedBorder": (o.vars || o).palette[r].main,
|
|
161
|
+
"--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette[r].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : y(o.palette[r].main, o.palette.action.hoverOpacity)
|
|
190
162
|
}
|
|
191
163
|
}
|
|
192
164
|
}
|
|
@@ -197,12 +169,12 @@ const no = (o) => {
|
|
|
197
169
|
style: {
|
|
198
170
|
color: "inherit",
|
|
199
171
|
borderColor: "currentColor",
|
|
200
|
-
"--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedBg :
|
|
172
|
+
"--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedBg : a,
|
|
201
173
|
"@media (hover: hover)": {
|
|
202
174
|
"&:hover": {
|
|
203
|
-
"--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedHoverBg :
|
|
204
|
-
"--variant-textBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` :
|
|
205
|
-
"--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` :
|
|
175
|
+
"--variant-containedBg": o.vars ? o.vars.palette.Button.inheritContainedHoverBg : n,
|
|
176
|
+
"--variant-textBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : y(o.palette.text.primary, o.palette.action.hoverOpacity),
|
|
177
|
+
"--variant-outlinedBg": o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : y(o.palette.text.primary, o.palette.action.hoverOpacity)
|
|
206
178
|
}
|
|
207
179
|
}
|
|
208
180
|
}
|
|
@@ -269,13 +241,13 @@ const no = (o) => {
|
|
|
269
241
|
"&:hover": {
|
|
270
242
|
boxShadow: "none"
|
|
271
243
|
},
|
|
272
|
-
[`&.${
|
|
244
|
+
[`&.${g.focusVisible}`]: {
|
|
273
245
|
boxShadow: "none"
|
|
274
246
|
},
|
|
275
247
|
"&:active": {
|
|
276
248
|
boxShadow: "none"
|
|
277
249
|
},
|
|
278
|
-
[`&.${
|
|
250
|
+
[`&.${g.disabled}`]: {
|
|
279
251
|
boxShadow: "none"
|
|
280
252
|
}
|
|
281
253
|
}
|
|
@@ -286,18 +258,32 @@ const no = (o) => {
|
|
|
286
258
|
style: {
|
|
287
259
|
width: "100%"
|
|
288
260
|
}
|
|
261
|
+
}, {
|
|
262
|
+
props: {
|
|
263
|
+
loadingPosition: "center"
|
|
264
|
+
},
|
|
265
|
+
style: {
|
|
266
|
+
transition: o.transitions.create(["background-color", "box-shadow", "border-color"], {
|
|
267
|
+
duration: o.transitions.duration.short
|
|
268
|
+
}),
|
|
269
|
+
[`&.${g.loading}`]: {
|
|
270
|
+
color: "transparent"
|
|
271
|
+
}
|
|
272
|
+
}
|
|
289
273
|
}]
|
|
290
274
|
};
|
|
291
|
-
})),
|
|
275
|
+
})), xo = f("span", {
|
|
292
276
|
name: "MuiButton",
|
|
293
277
|
slot: "StartIcon",
|
|
294
|
-
overridesResolver: (o,
|
|
278
|
+
overridesResolver: (o, a) => {
|
|
295
279
|
const {
|
|
296
|
-
ownerState:
|
|
280
|
+
ownerState: n
|
|
297
281
|
} = o;
|
|
298
|
-
return [
|
|
282
|
+
return [a.startIcon, n.loading && a.startIconLoadingStart, a[`iconSize${e(n.size)}`]];
|
|
299
283
|
}
|
|
300
|
-
})({
|
|
284
|
+
})(({
|
|
285
|
+
theme: o
|
|
286
|
+
}) => ({
|
|
301
287
|
display: "inherit",
|
|
302
288
|
marginRight: 8,
|
|
303
289
|
marginLeft: -4,
|
|
@@ -308,17 +294,39 @@ const no = (o) => {
|
|
|
308
294
|
style: {
|
|
309
295
|
marginLeft: -2
|
|
310
296
|
}
|
|
311
|
-
},
|
|
312
|
-
|
|
297
|
+
}, {
|
|
298
|
+
props: {
|
|
299
|
+
loadingPosition: "start",
|
|
300
|
+
loading: !0
|
|
301
|
+
},
|
|
302
|
+
style: {
|
|
303
|
+
transition: o.transitions.create(["opacity"], {
|
|
304
|
+
duration: o.transitions.duration.short
|
|
305
|
+
}),
|
|
306
|
+
opacity: 0
|
|
307
|
+
}
|
|
308
|
+
}, {
|
|
309
|
+
props: {
|
|
310
|
+
loadingPosition: "start",
|
|
311
|
+
loading: !0,
|
|
312
|
+
fullWidth: !0
|
|
313
|
+
},
|
|
314
|
+
style: {
|
|
315
|
+
marginRight: -8
|
|
316
|
+
}
|
|
317
|
+
}, ...H]
|
|
318
|
+
})), fo = f("span", {
|
|
313
319
|
name: "MuiButton",
|
|
314
320
|
slot: "EndIcon",
|
|
315
|
-
overridesResolver: (o,
|
|
321
|
+
overridesResolver: (o, a) => {
|
|
316
322
|
const {
|
|
317
|
-
ownerState:
|
|
323
|
+
ownerState: n
|
|
318
324
|
} = o;
|
|
319
|
-
return [
|
|
325
|
+
return [a.endIcon, n.loading && a.endIconLoadingEnd, a[`iconSize${e(n.size)}`]];
|
|
320
326
|
}
|
|
321
|
-
})({
|
|
327
|
+
})(({
|
|
328
|
+
theme: o
|
|
329
|
+
}) => ({
|
|
322
330
|
display: "inherit",
|
|
323
331
|
marginRight: -4,
|
|
324
332
|
marginLeft: 8,
|
|
@@ -329,62 +337,212 @@ const no = (o) => {
|
|
|
329
337
|
style: {
|
|
330
338
|
marginRight: -2
|
|
331
339
|
}
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
340
|
+
}, {
|
|
341
|
+
props: {
|
|
342
|
+
loadingPosition: "end",
|
|
343
|
+
loading: !0
|
|
344
|
+
},
|
|
345
|
+
style: {
|
|
346
|
+
transition: o.transitions.create(["opacity"], {
|
|
347
|
+
duration: o.transitions.duration.short
|
|
348
|
+
}),
|
|
349
|
+
opacity: 0
|
|
350
|
+
}
|
|
351
|
+
}, {
|
|
352
|
+
props: {
|
|
353
|
+
loadingPosition: "end",
|
|
354
|
+
loading: !0,
|
|
355
|
+
fullWidth: !0
|
|
356
|
+
},
|
|
357
|
+
style: {
|
|
358
|
+
marginLeft: -8
|
|
359
|
+
}
|
|
360
|
+
}, ...H]
|
|
361
|
+
})), So = f("span", {
|
|
362
|
+
name: "MuiButton",
|
|
363
|
+
slot: "LoadingIndicator",
|
|
364
|
+
overridesResolver: (o, a) => a.loadingIndicator
|
|
365
|
+
})(({
|
|
366
|
+
theme: o
|
|
367
|
+
}) => ({
|
|
368
|
+
display: "none",
|
|
369
|
+
position: "absolute",
|
|
370
|
+
visibility: "visible",
|
|
371
|
+
variants: [{
|
|
372
|
+
props: {
|
|
373
|
+
loading: !0
|
|
374
|
+
},
|
|
375
|
+
style: {
|
|
376
|
+
display: "flex"
|
|
377
|
+
}
|
|
378
|
+
}, {
|
|
379
|
+
props: {
|
|
380
|
+
loadingPosition: "start"
|
|
381
|
+
},
|
|
382
|
+
style: {
|
|
383
|
+
left: 14
|
|
384
|
+
}
|
|
385
|
+
}, {
|
|
386
|
+
props: {
|
|
387
|
+
loadingPosition: "start",
|
|
388
|
+
size: "small"
|
|
389
|
+
},
|
|
390
|
+
style: {
|
|
391
|
+
left: 10
|
|
392
|
+
}
|
|
393
|
+
}, {
|
|
394
|
+
props: {
|
|
395
|
+
variant: "text",
|
|
396
|
+
loadingPosition: "start"
|
|
397
|
+
},
|
|
398
|
+
style: {
|
|
399
|
+
left: 6
|
|
400
|
+
}
|
|
401
|
+
}, {
|
|
402
|
+
props: {
|
|
403
|
+
loadingPosition: "center"
|
|
404
|
+
},
|
|
405
|
+
style: {
|
|
406
|
+
left: "50%",
|
|
407
|
+
transform: "translate(-50%)",
|
|
408
|
+
color: (o.vars || o).palette.action.disabled
|
|
409
|
+
}
|
|
410
|
+
}, {
|
|
411
|
+
props: {
|
|
412
|
+
loadingPosition: "end"
|
|
413
|
+
},
|
|
414
|
+
style: {
|
|
415
|
+
right: 14
|
|
416
|
+
}
|
|
417
|
+
}, {
|
|
418
|
+
props: {
|
|
419
|
+
loadingPosition: "end",
|
|
420
|
+
size: "small"
|
|
421
|
+
},
|
|
422
|
+
style: {
|
|
423
|
+
right: 10
|
|
424
|
+
}
|
|
425
|
+
}, {
|
|
426
|
+
props: {
|
|
427
|
+
variant: "text",
|
|
428
|
+
loadingPosition: "end"
|
|
429
|
+
},
|
|
430
|
+
style: {
|
|
431
|
+
right: 6
|
|
432
|
+
}
|
|
433
|
+
}, {
|
|
434
|
+
props: {
|
|
435
|
+
loadingPosition: "start",
|
|
436
|
+
fullWidth: !0
|
|
437
|
+
},
|
|
438
|
+
style: {
|
|
439
|
+
position: "relative",
|
|
440
|
+
left: -10
|
|
441
|
+
}
|
|
442
|
+
}, {
|
|
443
|
+
props: {
|
|
444
|
+
loadingPosition: "end",
|
|
445
|
+
fullWidth: !0
|
|
446
|
+
},
|
|
447
|
+
style: {
|
|
448
|
+
position: "relative",
|
|
449
|
+
right: -10
|
|
450
|
+
}
|
|
451
|
+
}]
|
|
452
|
+
})), W = f("span", {
|
|
453
|
+
name: "MuiButton",
|
|
454
|
+
slot: "LoadingIconPlaceholder",
|
|
455
|
+
overridesResolver: (o, a) => a.loadingIconPlaceholder
|
|
456
|
+
})({
|
|
457
|
+
display: "inline-block",
|
|
458
|
+
width: "1em",
|
|
459
|
+
height: "1em"
|
|
460
|
+
}), V = /* @__PURE__ */ x.forwardRef(function(a, n) {
|
|
461
|
+
const r = x.useContext(L), d = x.useContext(M), p = ao(r, a), v = no({
|
|
462
|
+
props: p,
|
|
336
463
|
name: "MuiButton"
|
|
337
464
|
}), {
|
|
338
|
-
children:
|
|
339
|
-
color:
|
|
340
|
-
component:
|
|
341
|
-
className:
|
|
342
|
-
disabled:
|
|
343
|
-
disableElevation:
|
|
344
|
-
disableFocusRipple:
|
|
345
|
-
endIcon:
|
|
346
|
-
focusVisibleClassName:
|
|
347
|
-
fullWidth:
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
465
|
+
children: m,
|
|
466
|
+
color: S = "primary",
|
|
467
|
+
component: C = "button",
|
|
468
|
+
className: B,
|
|
469
|
+
disabled: z = !1,
|
|
470
|
+
disableElevation: _ = !1,
|
|
471
|
+
disableFocusRipple: P = !1,
|
|
472
|
+
endIcon: w,
|
|
473
|
+
focusVisibleClassName: D,
|
|
474
|
+
fullWidth: G = !1,
|
|
475
|
+
id: $,
|
|
476
|
+
loading: c = null,
|
|
477
|
+
loadingIndicator: U,
|
|
478
|
+
loadingPosition: b = "center",
|
|
479
|
+
size: A = "medium",
|
|
480
|
+
startIcon: k,
|
|
481
|
+
type: R,
|
|
482
|
+
variant: j = "text",
|
|
483
|
+
...F
|
|
484
|
+
} = v, T = uo($), E = U ?? /* @__PURE__ */ s(go, {
|
|
485
|
+
"aria-labelledby": T,
|
|
486
|
+
color: "inherit",
|
|
487
|
+
size: 16
|
|
488
|
+
}), u = {
|
|
489
|
+
...v,
|
|
490
|
+
color: S,
|
|
491
|
+
component: C,
|
|
492
|
+
disabled: z,
|
|
493
|
+
disableElevation: _,
|
|
494
|
+
disableFocusRipple: P,
|
|
495
|
+
fullWidth: G,
|
|
496
|
+
loading: c,
|
|
497
|
+
loadingIndicator: E,
|
|
498
|
+
loadingPosition: b,
|
|
499
|
+
size: A,
|
|
500
|
+
type: R,
|
|
501
|
+
variant: j
|
|
502
|
+
}, l = bo(u), K = (k || c && b === "start") && /* @__PURE__ */ s(xo, {
|
|
503
|
+
className: l.startIcon,
|
|
504
|
+
ownerState: u,
|
|
505
|
+
children: k || /* @__PURE__ */ s(W, {
|
|
506
|
+
className: l.loadingIconPlaceholder,
|
|
507
|
+
ownerState: u
|
|
508
|
+
})
|
|
509
|
+
}), Y = (w || c && b === "end") && /* @__PURE__ */ s(fo, {
|
|
510
|
+
className: l.endIcon,
|
|
511
|
+
ownerState: u,
|
|
512
|
+
children: w || /* @__PURE__ */ s(W, {
|
|
513
|
+
className: l.loadingIconPlaceholder,
|
|
514
|
+
ownerState: u
|
|
515
|
+
})
|
|
516
|
+
}), q = d || "", O = typeof c == "boolean" ? (
|
|
517
|
+
// use plain HTML span to minimize the runtime overhead
|
|
518
|
+
/* @__PURE__ */ s("span", {
|
|
519
|
+
className: l.loadingWrapper,
|
|
520
|
+
style: {
|
|
521
|
+
display: "contents"
|
|
522
|
+
},
|
|
523
|
+
children: c && /* @__PURE__ */ s(So, {
|
|
524
|
+
className: l.loadingIndicator,
|
|
525
|
+
ownerState: u,
|
|
526
|
+
children: E
|
|
527
|
+
})
|
|
528
|
+
})
|
|
529
|
+
) : null;
|
|
530
|
+
return /* @__PURE__ */ J(yo, {
|
|
531
|
+
ownerState: u,
|
|
532
|
+
className: N(r.className, l.root, B, q),
|
|
533
|
+
component: C,
|
|
534
|
+
disabled: z || c,
|
|
535
|
+
focusRipple: !P,
|
|
536
|
+
focusVisibleClassName: N(l.focusVisible, D),
|
|
537
|
+
ref: n,
|
|
538
|
+
type: R,
|
|
539
|
+
id: c ? T : $,
|
|
540
|
+
...F,
|
|
541
|
+
classes: l,
|
|
542
|
+
children: [K, b !== "end" && O, m, b === "end" && O, Y]
|
|
385
543
|
});
|
|
386
544
|
});
|
|
387
|
-
process.env.NODE_ENV !== "production" && (
|
|
545
|
+
process.env.NODE_ENV !== "production" && (V.propTypes = {
|
|
388
546
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
389
547
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
390
548
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -454,6 +612,28 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
|
|
|
454
612
|
* If defined, an `a` element will be used as the root node.
|
|
455
613
|
*/
|
|
456
614
|
href: t.string,
|
|
615
|
+
/**
|
|
616
|
+
* @ignore
|
|
617
|
+
*/
|
|
618
|
+
id: t.string,
|
|
619
|
+
/**
|
|
620
|
+
* If `true`, the loading indicator is visible and the button is disabled.
|
|
621
|
+
* If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
|
|
622
|
+
* @default null
|
|
623
|
+
*/
|
|
624
|
+
loading: t.bool,
|
|
625
|
+
/**
|
|
626
|
+
* Element placed before the children if the button is in loading state.
|
|
627
|
+
* The node should contain an element with `role="progressbar"` with an accessible name.
|
|
628
|
+
* By default, it renders a `CircularProgress` that is labeled by the button itself.
|
|
629
|
+
* @default <CircularProgress color="inherit" size={16} />
|
|
630
|
+
*/
|
|
631
|
+
loadingIndicator: t.node,
|
|
632
|
+
/**
|
|
633
|
+
* The loading indicator can be positioned on the start, end, or the center of the button.
|
|
634
|
+
* @default 'center'
|
|
635
|
+
*/
|
|
636
|
+
loadingPosition: t.oneOf(["center", "end", "start"]),
|
|
457
637
|
/**
|
|
458
638
|
* The size of the component.
|
|
459
639
|
* `small` is equivalent to the dense button styling.
|
|
@@ -478,7 +658,7 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
|
|
|
478
658
|
*/
|
|
479
659
|
variant: t.oneOfType([t.oneOf(["contained", "outlined", "text"]), t.string])
|
|
480
660
|
});
|
|
481
|
-
const
|
|
661
|
+
const h = io({
|
|
482
662
|
components: {
|
|
483
663
|
MuiButton: {
|
|
484
664
|
variants: [
|
|
@@ -508,10 +688,10 @@ const f = Q({
|
|
|
508
688
|
style: {
|
|
509
689
|
backgroundColor: i.StBackgroundColors.workspace,
|
|
510
690
|
color: i.StInteractionColors.linkHovered,
|
|
511
|
-
border: `1px solid ${
|
|
691
|
+
border: `1px solid ${I.$SHUTTLE_GRAY_DARK}`,
|
|
512
692
|
"&:hover": {
|
|
513
693
|
backgroundColor: i.StBackgroundColors.workspace,
|
|
514
|
-
border: `1px solid ${
|
|
694
|
+
border: `1px solid ${I.$SHUTTLE_GRAY_DARK}`
|
|
515
695
|
},
|
|
516
696
|
"&:disabled": {
|
|
517
697
|
backgroundColor: i.StBackgroundColors.workspace
|
|
@@ -545,7 +725,7 @@ const f = Q({
|
|
|
545
725
|
boxShadow: "none"
|
|
546
726
|
},
|
|
547
727
|
"&:disabled": {
|
|
548
|
-
color:
|
|
728
|
+
color: I.$SHUTTLE_GRAY_DARK,
|
|
549
729
|
opacity: ".3"
|
|
550
730
|
}
|
|
551
731
|
}
|
|
@@ -553,17 +733,17 @@ const f = Q({
|
|
|
553
733
|
}
|
|
554
734
|
}
|
|
555
735
|
});
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
const
|
|
559
|
-
const { children:
|
|
736
|
+
h.shadows[1] = "0px 0px 5px rgba(58, 67, 86, 0.2)";
|
|
737
|
+
h.shadows[2] = "0 1px 3px 1px rgba(58, 67, 86, 0.3)";
|
|
738
|
+
const ko = Q((o, a) => {
|
|
739
|
+
const { children: n, theme: r, ...d } = o, p = r ? eo(h, {
|
|
560
740
|
components: {
|
|
561
|
-
MuiButton:
|
|
741
|
+
MuiButton: r
|
|
562
742
|
}
|
|
563
|
-
}) :
|
|
564
|
-
return /* @__PURE__ */
|
|
743
|
+
}) : h;
|
|
744
|
+
return /* @__PURE__ */ s(so, { children: /* @__PURE__ */ s(lo, { theme: p, children: /* @__PURE__ */ s(V, { ...d, ref: a, children: n }) }) });
|
|
565
745
|
});
|
|
566
746
|
export {
|
|
567
|
-
|
|
568
|
-
|
|
747
|
+
ko as B,
|
|
748
|
+
h as b
|
|
569
749
|
};
|