@sisense/sdk-shared-ui 1.27.1 → 1.29.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-B46ViOSv.cjs +3 -0
- package/dist/Breadcrumbs-CQNCIJ2Y.js +301 -0
- package/dist/Button-CoMaroSC.cjs +1 -0
- package/dist/Button-D5ZAS_sd.js +569 -0
- package/dist/ButtonBase-Camgk6s8.cjs +74 -0
- package/dist/ButtonBase-DPVWpC8-.js +883 -0
- package/dist/CheckableList-BLLCGCKX.cjs +1 -0
- package/dist/CheckableList-CC7iKnHq.js +21 -0
- package/dist/Checkbox-3bG1OLg3.js +516 -0
- package/dist/Checkbox-oJOn5Vb9.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-CqoYg88-.cjs +1 -0
- package/dist/Icon-D0uZg6iJ.js +131 -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-Dg-EBYZz.cjs +1 -0
- package/dist/SvgIcon-DsAvI5iY.js +238 -0
- package/dist/TablePagination-DUkJaWJG.js +7758 -0
- package/dist/TablePagination-Yp8eKLZB.cjs +15 -0
- package/dist/ThemeProvider-BCsnqK18.js +5085 -0
- package/dist/ThemeProvider-BjBWRt7C.cjs +114 -0
- package/dist/Tooltip-B0-7TF8b.js +2155 -0
- package/dist/Tooltip-DE1hlnS3.cjs +7 -0
- package/dist/Typography-BGFgTnYN.js +498 -0
- package/dist/Typography-CGsd6zC4.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-DDrcw4wZ.cjs +1 -0
- package/dist/createSvgIcon-rAujRRtd.js +17 -0
- package/dist/deepmerge-BuAjuQR6.cjs +17 -0
- package/dist/deepmerge-DNqbOtFI.js +177 -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/index.js +30 -24
- package/dist/integerPropType-B8hl-7D0.js +180 -0
- package/dist/integerPropType-BGlNA6vX.cjs +17 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +7 -0
- package/dist/lib/Breadcrumbs/index.d.ts +5 -0
- package/dist/lib/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts +4 -0
- package/dist/lib/Breadcrumbs/themes/breadcrumbsTheme.d.ts.map +1 -0
- package/dist/lib/Breadcrumbs/themes/index.d.ts +2 -0
- package/dist/lib/Breadcrumbs/themes/index.d.ts.map +1 -0
- package/dist/lib/Button/Button.cjs +1 -0
- package/dist/lib/Button/Button.d.ts +10 -0
- package/dist/lib/Button/Button.d.ts.map +1 -0
- package/dist/lib/Button/Button.js +7 -0
- package/dist/lib/Button/index.d.ts +5 -0
- package/dist/lib/Button/index.d.ts.map +1 -0
- package/dist/lib/Button/themes/buttonsTheme.d.ts +11 -0
- package/dist/lib/Button/themes/buttonsTheme.d.ts.map +1 -0
- package/dist/lib/Button/themes/index.d.ts +2 -0
- package/dist/lib/Button/themes/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} +3 -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 +225 -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/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useControlled-Ysk4KqoX.cjs +3 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useFormControl-haP0iPhl.cjs +1 -0
- package/dist/useSlot-7x9FkqBW.js +720 -0
- package/dist/useSlot-B_P_o-pz.cjs +1 -0
- package/dist/useSlotProps-BpXHXb21.js +102 -0
- package/dist/useSlotProps-COvANhgg.cjs +1 -0
- package/dist/useTheme-BN6DGaDZ.cjs +1 -0
- package/dist/useTheme-eCVqNAnk.js +8 -0
- package/dist/useTimeout-BG7TPjEm.js +92 -0
- package/dist/useTimeout-DQN9lwd_.cjs +2 -0
- package/package.json +21 -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,7 @@
|
|
|
1
|
+
"use strict";const X=require("react/jsx-runtime"),jt=require("react"),D=require("./ThemeProvider-BjBWRt7C.cjs"),Qt=require("classnames"),Kt=require("./styleguideConstants-CtXkvIZK.cjs"),r=require("./index-B-zZeebW.cjs"),I=require("./useSlot-B_P_o-pz.cjs"),N=require("./useTimeout-DQN9lwd_.cjs"),Jt=require("./useSlotProps-COvANhgg.cjs"),eo=require("./useControlled-Ysk4KqoX.cjs"),at=require("./lib/themes/themes.cjs");function to(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(e,o,n.get?n:{enumerable:!0,get:()=>t[o]})}}return e.default=t,Object.freeze(e)}const M=to(jt);var V="top",Z="bottom",G="right",F="left",lt="auto",Ue=[V,Z,G,F],Re="start",Ve="end",oo="clippingParents",Mt="viewport",Ne="popper",ro="reference",Tt=Ue.reduce(function(t,e){return t.concat([e+"-"+Re,e+"-"+Ve])},[]),At=[].concat(Ue,[lt]).reduce(function(t,e){return t.concat([e,e+"-"+Re,e+"-"+Ve])},[]),no="beforeRead",io="read",ao="afterRead",so="beforeMain",po="main",lo="afterMain",co="beforeWrite",fo="write",uo="afterWrite",mo=[no,io,ao,so,po,lo,co,fo,uo];function ie(t){return t?(t.nodeName||"").toLowerCase():null}function U(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function he(t){var e=U(t).Element;return t instanceof e||t instanceof Element}function Y(t){var e=U(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function ct(t){if(typeof ShadowRoot>"u")return!1;var e=U(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function vo(t){var e=t.state;Object.keys(e.elements).forEach(function(o){var n=e.styles[o]||{},i=e.attributes[o]||{},s=e.elements[o];!Y(s)||!ie(s)||(Object.assign(s.style,n),Object.keys(i).forEach(function(c){var a=i[c];a===!1?s.removeAttribute(c):s.setAttribute(c,a===!0?"":a)}))})}function yo(t){var e=t.state,o={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,o.popper),e.styles=o,e.elements.arrow&&Object.assign(e.elements.arrow.style,o.arrow),function(){Object.keys(e.elements).forEach(function(n){var i=e.elements[n],s=e.attributes[n]||{},c=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:o[n]),a=c.reduce(function(p,f){return p[f]="",p},{});!Y(i)||!ie(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(p){i.removeAttribute(p)}))})}}const ho={name:"applyStyles",enabled:!0,phase:"write",fn:vo,effect:yo,requires:["computeStyles"]};function ne(t){return t.split("-")[0]}var ye=Math.max,Je=Math.min,Ce=Math.round;function st(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function St(){return!/^((?!chrome|android).)*safari/i.test(st())}function je(t,e,o){e===void 0&&(e=!1),o===void 0&&(o=!1);var n=t.getBoundingClientRect(),i=1,s=1;e&&Y(t)&&(i=t.offsetWidth>0&&Ce(n.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Ce(n.height)/t.offsetHeight||1);var c=he(t)?U(t):window,a=c.visualViewport,p=!St()&&o,f=(n.left+(p&&a?a.offsetLeft:0))/i,l=(n.top+(p&&a?a.offsetTop:0))/s,h=n.width/i,w=n.height/s;return{width:h,height:w,top:l,right:f+h,bottom:l+w,left:f,x:f,y:l}}function ft(t){var e=je(t),o=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-o)<=1&&(o=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:o,height:n}}function Dt(t,e){var o=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(o&&ct(o)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pe(t){return U(t).getComputedStyle(t)}function To(t){return["table","td","th"].indexOf(ie(t))>=0}function fe(t){return((he(t)?t.ownerDocument:t.document)||window.document).documentElement}function tt(t){return ie(t)==="html"?t:t.assignedSlot||t.parentNode||(ct(t)?t.host:null)||fe(t)}function gt(t){return!Y(t)||pe(t).position==="fixed"?null:t.offsetParent}function go(t){var e=/firefox/i.test(st()),o=/Trident/i.test(st());if(o&&Y(t)){var n=pe(t);if(n.position==="fixed")return null}var i=tt(t);for(ct(i)&&(i=i.host);Y(i)&&["html","body"].indexOf(ie(i))<0;){var s=pe(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function qe(t){for(var e=U(t),o=gt(t);o&&To(o)&&pe(o).position==="static";)o=gt(o);return o&&(ie(o)==="html"||ie(o)==="body"&&pe(o).position==="static")?e:o||go(t)||e}function ut(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ie(t,e,o){return ye(t,Je(e,o))}function bo(t,e,o){var n=Ie(t,e,o);return n>o?o:n}function kt(){return{top:0,right:0,bottom:0,left:0}}function $t(t){return Object.assign({},kt(),t)}function Bt(t,e){return e.reduce(function(o,n){return o[n]=t,o},{})}var Po=function(e,o){return e=typeof e=="function"?e(Object.assign({},o.rects,{placement:o.placement})):e,$t(typeof e!="number"?e:Bt(e,Ue))};function wo(t){var e,o=t.state,n=t.name,i=t.options,s=o.elements.arrow,c=o.modifiersData.popperOffsets,a=ne(o.placement),p=ut(a),f=[F,G].indexOf(a)>=0,l=f?"height":"width";if(!(!s||!c)){var h=Po(i.padding,o),w=ft(s),u=p==="y"?V:F,x=p==="y"?Z:G,m=o.rects.reference[l]+o.rects.reference[p]-c[p]-o.rects.popper[l],y=c[p]-o.rects.reference[p],b=qe(s),E=b?p==="y"?b.clientHeight||0:b.clientWidth||0:0,P=m/2-y/2,d=h[u],T=E-w[l]-h[x],g=E/2-w[l]/2+P,R=Ie(d,g,T),k=p;o.modifiersData[n]=(e={},e[k]=R,e.centerOffset=R-g,e)}}function xo(t){var e=t.state,o=t.options,n=o.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||Dt(e.elements.popper,i)&&(e.elements.arrow=i))}const Oo={name:"arrow",enabled:!0,phase:"main",fn:wo,effect:xo,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Me(t){return t.split("-")[1]}var Eo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ro(t,e){var o=t.x,n=t.y,i=e.devicePixelRatio||1;return{x:Ce(o*i)/i||0,y:Ce(n*i)/i||0}}function bt(t){var e,o=t.popper,n=t.popperRect,i=t.placement,s=t.variation,c=t.offsets,a=t.position,p=t.gpuAcceleration,f=t.adaptive,l=t.roundOffsets,h=t.isFixed,w=c.x,u=w===void 0?0:w,x=c.y,m=x===void 0?0:x,y=typeof l=="function"?l({x:u,y:m}):{x:u,y:m};u=y.x,m=y.y;var b=c.hasOwnProperty("x"),E=c.hasOwnProperty("y"),P=F,d=V,T=window;if(f){var g=qe(o),R="clientHeight",k="clientWidth";if(g===U(o)&&(g=fe(o),pe(g).position!=="static"&&a==="absolute"&&(R="scrollHeight",k="scrollWidth")),g=g,i===V||(i===F||i===G)&&s===Ve){d=Z;var C=h&&g===T&&T.visualViewport?T.visualViewport.height:g[R];m-=C-n.height,m*=p?1:-1}if(i===F||(i===V||i===Z)&&s===Ve){P=G;var O=h&&g===T&&T.visualViewport?T.visualViewport.width:g[k];u-=O-n.width,u*=p?1:-1}}var j=Object.assign({position:a},f&&Eo),H=l===!0?Ro({x:u,y:m},U(o)):{x:u,y:m};if(u=H.x,m=H.y,p){var A;return Object.assign({},j,(A={},A[d]=E?"0":"",A[P]=b?"0":"",A.transform=(T.devicePixelRatio||1)<=1?"translate("+u+"px, "+m+"px)":"translate3d("+u+"px, "+m+"px, 0)",A))}return Object.assign({},j,(e={},e[d]=E?m+"px":"",e[P]=b?u+"px":"",e.transform="",e))}function Co(t){var e=t.state,o=t.options,n=o.gpuAcceleration,i=n===void 0?!0:n,s=o.adaptive,c=s===void 0?!0:s,a=o.roundOffsets,p=a===void 0?!0:a,f={placement:ne(e.placement),variation:Me(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,bt(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:c,roundOffsets:p})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,bt(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const jo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Co,data:{}};var Ze={passive:!0};function Mo(t){var e=t.state,o=t.instance,n=t.options,i=n.scroll,s=i===void 0?!0:i,c=n.resize,a=c===void 0?!0:c,p=U(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&f.forEach(function(l){l.addEventListener("scroll",o.update,Ze)}),a&&p.addEventListener("resize",o.update,Ze),function(){s&&f.forEach(function(l){l.removeEventListener("scroll",o.update,Ze)}),a&&p.removeEventListener("resize",o.update,Ze)}}const Ao={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Mo,data:{}};var So={left:"right",right:"left",bottom:"top",top:"bottom"};function Ke(t){return t.replace(/left|right|bottom|top/g,function(e){return So[e]})}var Do={start:"end",end:"start"};function Pt(t){return t.replace(/start|end/g,function(e){return Do[e]})}function dt(t){var e=U(t),o=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:o,scrollTop:n}}function mt(t){return je(fe(t)).left+dt(t).scrollLeft}function ko(t,e){var o=U(t),n=fe(t),i=o.visualViewport,s=n.clientWidth,c=n.clientHeight,a=0,p=0;if(i){s=i.width,c=i.height;var f=St();(f||!f&&e==="fixed")&&(a=i.offsetLeft,p=i.offsetTop)}return{width:s,height:c,x:a+mt(t),y:p}}function $o(t){var e,o=fe(t),n=dt(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=ye(o.scrollWidth,o.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),c=ye(o.scrollHeight,o.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+mt(t),p=-n.scrollTop;return pe(i||o).direction==="rtl"&&(a+=ye(o.clientWidth,i?i.clientWidth:0)-s),{width:s,height:c,x:a,y:p}}function vt(t){var e=pe(t),o=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(o+i+n)}function Lt(t){return["html","body","#document"].indexOf(ie(t))>=0?t.ownerDocument.body:Y(t)&&vt(t)?t:Lt(tt(t))}function He(t,e){var o;e===void 0&&(e=[]);var n=Lt(t),i=n===((o=t.ownerDocument)==null?void 0:o.body),s=U(n),c=i?[s].concat(s.visualViewport||[],vt(n)?n:[]):n,a=e.concat(c);return i?a:a.concat(He(tt(c)))}function pt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Bo(t,e){var o=je(t,!1,e==="fixed");return o.top=o.top+t.clientTop,o.left=o.left+t.clientLeft,o.bottom=o.top+t.clientHeight,o.right=o.left+t.clientWidth,o.width=t.clientWidth,o.height=t.clientHeight,o.x=o.left,o.y=o.top,o}function wt(t,e,o){return e===Mt?pt(ko(t,o)):he(e)?Bo(e,o):pt($o(fe(t)))}function Lo(t){var e=He(tt(t)),o=["absolute","fixed"].indexOf(pe(t).position)>=0,n=o&&Y(t)?qe(t):t;return he(n)?e.filter(function(i){return he(i)&&Dt(i,n)&&ie(i)!=="body"}):[]}function No(t,e,o,n){var i=e==="clippingParents"?Lo(t):[].concat(e),s=[].concat(i,[o]),c=s[0],a=s.reduce(function(p,f){var l=wt(t,f,n);return p.top=ye(l.top,p.top),p.right=Je(l.right,p.right),p.bottom=Je(l.bottom,p.bottom),p.left=ye(l.left,p.left),p},wt(t,c,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Nt(t){var e=t.reference,o=t.element,n=t.placement,i=n?ne(n):null,s=n?Me(n):null,c=e.x+e.width/2-o.width/2,a=e.y+e.height/2-o.height/2,p;switch(i){case V:p={x:c,y:e.y-o.height};break;case Z:p={x:c,y:e.y+e.height};break;case G:p={x:e.x+e.width,y:a};break;case F:p={x:e.x-o.width,y:a};break;default:p={x:e.x,y:e.y}}var f=i?ut(i):null;if(f!=null){var l=f==="y"?"height":"width";switch(s){case Re:p[f]=p[f]-(e[l]/2-o[l]/2);break;case Ve:p[f]=p[f]+(e[l]/2-o[l]/2);break}}return p}function Fe(t,e){e===void 0&&(e={});var o=e,n=o.placement,i=n===void 0?t.placement:n,s=o.strategy,c=s===void 0?t.strategy:s,a=o.boundary,p=a===void 0?oo:a,f=o.rootBoundary,l=f===void 0?Mt:f,h=o.elementContext,w=h===void 0?Ne:h,u=o.altBoundary,x=u===void 0?!1:u,m=o.padding,y=m===void 0?0:m,b=$t(typeof y!="number"?y:Bt(y,Ue)),E=w===Ne?ro:Ne,P=t.rects.popper,d=t.elements[x?E:w],T=No(he(d)?d:d.contextElement||fe(t.elements.popper),p,l,c),g=je(t.elements.reference),R=Nt({reference:g,element:P,strategy:"absolute",placement:i}),k=pt(Object.assign({},P,R)),C=w===Ne?k:g,O={top:T.top-C.top+b.top,bottom:C.bottom-T.bottom+b.bottom,left:T.left-C.left+b.left,right:C.right-T.right+b.right},j=t.modifiersData.offset;if(w===Ne&&j){var H=j[i];Object.keys(O).forEach(function(A){var Q=[G,Z].indexOf(A)>=0?1:-1,K=[V,Z].indexOf(A)>=0?"y":"x";O[A]+=H[K]*Q})}return O}function Wo(t,e){e===void 0&&(e={});var o=e,n=o.placement,i=o.boundary,s=o.rootBoundary,c=o.padding,a=o.flipVariations,p=o.allowedAutoPlacements,f=p===void 0?At:p,l=Me(n),h=l?a?Tt:Tt.filter(function(x){return Me(x)===l}):Ue,w=h.filter(function(x){return f.indexOf(x)>=0});w.length===0&&(w=h);var u=w.reduce(function(x,m){return x[m]=Fe(t,{placement:m,boundary:i,rootBoundary:s,padding:c})[ne(m)],x},{});return Object.keys(u).sort(function(x,m){return u[x]-u[m]})}function Io(t){if(ne(t)===lt)return[];var e=Ke(t);return[Pt(t),e,Pt(e)]}function Ho(t){var e=t.state,o=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=o.mainAxis,s=i===void 0?!0:i,c=o.altAxis,a=c===void 0?!0:c,p=o.fallbackPlacements,f=o.padding,l=o.boundary,h=o.rootBoundary,w=o.altBoundary,u=o.flipVariations,x=u===void 0?!0:u,m=o.allowedAutoPlacements,y=e.options.placement,b=ne(y),E=b===y,P=p||(E||!x?[Ke(y)]:Io(y)),d=[y].concat(P).reduce(function(J,q){return J.concat(ne(q)===lt?Wo(e,{placement:q,boundary:l,rootBoundary:h,padding:f,flipVariations:x,allowedAutoPlacements:m}):q)},[]),T=e.rects.reference,g=e.rects.popper,R=new Map,k=!0,C=d[0],O=0;O<d.length;O++){var j=d[O],H=ne(j),A=Me(j)===Re,Q=[V,Z].indexOf(H)>=0,K=Q?"width":"height",$=Fe(e,{placement:j,boundary:l,rootBoundary:h,altBoundary:w,padding:f}),S=Q?A?G:F:A?Z:V;T[K]>g[K]&&(S=Ke(S));var W=Ke(S),ae=[];if(s&&ae.push($[H]<=0),a&&ae.push($[S]<=0,$[W]<=0),ae.every(function(J){return J})){C=j,k=!1;break}R.set(j,ae)}if(k)for(var L=x?3:1,Te=function(q){var le=d.find(function(ce){var _=R.get(ce);if(_)return _.slice(0,q).every(function(be){return be})});if(le)return C=le,"break"},se=L;se>0;se--){var ge=Te(se);if(ge==="break")break}e.placement!==C&&(e.modifiersData[n]._skip=!0,e.placement=C,e.reset=!0)}}const Vo={name:"flip",enabled:!0,phase:"main",fn:Ho,requiresIfExists:["offset"],data:{_skip:!1}};function xt(t,e,o){return o===void 0&&(o={x:0,y:0}),{top:t.top-e.height-o.y,right:t.right-e.width+o.x,bottom:t.bottom-e.height+o.y,left:t.left-e.width-o.x}}function Ot(t){return[V,G,Z,F].some(function(e){return t[e]>=0})}function Fo(t){var e=t.state,o=t.name,n=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,c=Fe(e,{elementContext:"reference"}),a=Fe(e,{altBoundary:!0}),p=xt(c,n),f=xt(a,i,s),l=Ot(p),h=Ot(f);e.modifiersData[o]={referenceClippingOffsets:p,popperEscapeOffsets:f,isReferenceHidden:l,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":h})}const Uo={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Fo};function qo(t,e,o){var n=ne(t),i=[F,V].indexOf(n)>=0?-1:1,s=typeof o=="function"?o(Object.assign({},e,{placement:t})):o,c=s[0],a=s[1];return c=c||0,a=(a||0)*i,[F,G].indexOf(n)>=0?{x:a,y:c}:{x:c,y:a}}function _o(t){var e=t.state,o=t.options,n=t.name,i=o.offset,s=i===void 0?[0,0]:i,c=At.reduce(function(l,h){return l[h]=qo(h,e.rects,s),l},{}),a=c[e.placement],p=a.x,f=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=p,e.modifiersData.popperOffsets.y+=f),e.modifiersData[n]=c}const zo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:_o};function Xo(t){var e=t.state,o=t.name;e.modifiersData[o]=Nt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Yo={name:"popperOffsets",enabled:!0,phase:"read",fn:Xo,data:{}};function Zo(t){return t==="x"?"y":"x"}function Go(t){var e=t.state,o=t.options,n=t.name,i=o.mainAxis,s=i===void 0?!0:i,c=o.altAxis,a=c===void 0?!1:c,p=o.boundary,f=o.rootBoundary,l=o.altBoundary,h=o.padding,w=o.tether,u=w===void 0?!0:w,x=o.tetherOffset,m=x===void 0?0:x,y=Fe(e,{boundary:p,rootBoundary:f,padding:h,altBoundary:l}),b=ne(e.placement),E=Me(e.placement),P=!E,d=ut(b),T=Zo(d),g=e.modifiersData.popperOffsets,R=e.rects.reference,k=e.rects.popper,C=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,O=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),j=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(g){if(s){var A,Q=d==="y"?V:F,K=d==="y"?Z:G,$=d==="y"?"height":"width",S=g[d],W=S+y[Q],ae=S-y[K],L=u?-k[$]/2:0,Te=E===Re?R[$]:k[$],se=E===Re?-k[$]:-R[$],ge=e.elements.arrow,J=u&&ge?ft(ge):{width:0,height:0},q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:kt(),le=q[Q],ce=q[K],_=Ie(0,R[$],J[$]),be=P?R[$]/2-L-_-le-O.mainAxis:Te-_-le-O.mainAxis,rt=P?-R[$]/2+L+_+ce+O.mainAxis:se+_+ce+O.mainAxis,Pe=e.elements.arrow&&qe(e.elements.arrow),ee=Pe?d==="y"?Pe.clientTop||0:Pe.clientLeft||0:0,we=(A=j==null?void 0:j[d])!=null?A:0,ue=S+be-we-ee,xe=S+rt-we,Ae=Ie(u?Je(W,ue):W,S,u?ye(ae,xe):ae);g[d]=Ae,H[d]=Ae-S}if(a){var de,Oe=d==="x"?V:F,Se=d==="x"?Z:G,re=g[T],me=T==="y"?"height":"width",De=re+y[Oe],ke=re-y[Se],$e=[V,F].indexOf(b)!==-1,_e=(de=j==null?void 0:j[T])!=null?de:0,ze=$e?De:re-R[me]-k[me]-_e+O.altAxis,Ee=$e?re+R[me]+k[me]-_e-O.altAxis:ke,Xe=u&&$e?bo(ze,re,Ee):Ie(u?ze:De,re,u?Ee:ke);g[T]=Xe,H[T]=Xe-re}e.modifiersData[n]=H}}const Qo={name:"preventOverflow",enabled:!0,phase:"main",fn:Go,requiresIfExists:["offset"]};function Ko(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Jo(t){return t===U(t)||!Y(t)?dt(t):Ko(t)}function er(t){var e=t.getBoundingClientRect(),o=Ce(e.width)/t.offsetWidth||1,n=Ce(e.height)/t.offsetHeight||1;return o!==1||n!==1}function tr(t,e,o){o===void 0&&(o=!1);var n=Y(e),i=Y(e)&&er(e),s=fe(e),c=je(t,i,o),a={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(n||!n&&!o)&&((ie(e)!=="body"||vt(s))&&(a=Jo(e)),Y(e)?(p=je(e,!0),p.x+=e.clientLeft,p.y+=e.clientTop):s&&(p.x=mt(s))),{x:c.left+a.scrollLeft-p.x,y:c.top+a.scrollTop-p.y,width:c.width,height:c.height}}function or(t){var e=new Map,o=new Set,n=[];t.forEach(function(s){e.set(s.name,s)});function i(s){o.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(a){if(!o.has(a)){var p=e.get(a);p&&i(p)}}),n.push(s)}return t.forEach(function(s){o.has(s.name)||i(s)}),n}function rr(t){var e=or(t);return mo.reduce(function(o,n){return o.concat(e.filter(function(i){return i.phase===n}))},[])}function nr(t){var e;return function(){return e||(e=new Promise(function(o){Promise.resolve().then(function(){e=void 0,o(t())})})),e}}function ir(t){var e=t.reduce(function(o,n){var i=o[n.name];return o[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,o},{});return Object.keys(e).map(function(o){return e[o]})}var Et={placement:"bottom",modifiers:[],strategy:"absolute"};function Rt(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return!e.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function ar(t){t===void 0&&(t={});var e=t,o=e.defaultModifiers,n=o===void 0?[]:o,i=e.defaultOptions,s=i===void 0?Et:i;return function(a,p,f){f===void 0&&(f=s);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Et,s),modifiersData:{},elements:{reference:a,popper:p},attributes:{},styles:{}},h=[],w=!1,u={state:l,setOptions:function(b){var E=typeof b=="function"?b(l.options):b;m(),l.options=Object.assign({},s,l.options,E),l.scrollParents={reference:he(a)?He(a):a.contextElement?He(a.contextElement):[],popper:He(p)};var P=rr(ir([].concat(n,l.options.modifiers)));return l.orderedModifiers=P.filter(function(d){return d.enabled}),x(),u.update()},forceUpdate:function(){if(!w){var b=l.elements,E=b.reference,P=b.popper;if(Rt(E,P)){l.rects={reference:tr(E,qe(P),l.options.strategy==="fixed"),popper:ft(P)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(O){return l.modifiersData[O.name]=Object.assign({},O.data)});for(var d=0;d<l.orderedModifiers.length;d++){if(l.reset===!0){l.reset=!1,d=-1;continue}var T=l.orderedModifiers[d],g=T.fn,R=T.options,k=R===void 0?{}:R,C=T.name;typeof g=="function"&&(l=g({state:l,options:k,name:C,instance:u})||l)}}}},update:nr(function(){return new Promise(function(y){u.forceUpdate(),y(l)})}),destroy:function(){m(),w=!0}};if(!Rt(a,p))return u;u.setOptions(f).then(function(y){!w&&f.onFirstUpdate&&f.onFirstUpdate(y)});function x(){l.orderedModifiers.forEach(function(y){var b=y.name,E=y.options,P=E===void 0?{}:E,d=y.effect;if(typeof d=="function"){var T=d({state:l,name:b,instance:u,options:P}),g=function(){};h.push(T||g)}})}function m(){h.forEach(function(y){return y()}),h=[]}return u}}var sr=[Ao,Yo,jo,ho,zo,Vo,Qo,Oo,Uo],pr=ar({defaultModifiers:sr});function lr(t){return D.generateUtilityClass("MuiPopper",t)}D.generateUtilityClasses("MuiPopper",["root"]);function cr(t,e){if(e==="ltr")return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function et(t){return typeof t=="function"?t():t}function ot(t){return t.nodeType!==void 0}function fr(t){return!ot(t)}const ur=t=>{const{classes:e}=t,o={root:["root"]};return D.composeClasses(o,lr,e)},dr={},mr=M.forwardRef(function(e,o){const{anchorEl:n,children:i,direction:s,disablePortal:c,modifiers:a,open:p,placement:f,popperOptions:l,popperRef:h,slotProps:w={},slots:u={},TransitionProps:x,ownerState:m,...y}=e,b=M.useRef(null),E=N.useForkRef(b,o),P=M.useRef(null),d=N.useForkRef(P,h),T=M.useRef(d);N.useEnhancedEffect(()=>{T.current=d},[d]),M.useImperativeHandle(h,()=>P.current,[]);const g=cr(f,s),[R,k]=M.useState(g),[C,O]=M.useState(et(n));M.useEffect(()=>{P.current&&P.current.forceUpdate()}),M.useEffect(()=>{n&&O(et(n))},[n]),N.useEnhancedEffect(()=>{if(!C||!p)return;const K=W=>{k(W.placement)};if(process.env.NODE_ENV!=="production"&&C&&ot(C)&&C.nodeType===1){const W=C.getBoundingClientRect();process.env.NODE_ENV!=="test"&&W.top===0&&W.left===0&&W.right===0&&W.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
2
|
+
`))}let $=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:W})=>{K(W)}}];a!=null&&($=$.concat(a)),l&&l.modifiers!=null&&($=$.concat(l.modifiers));const S=pr(C,b.current,{placement:g,...l,modifiers:$});return T.current(S),()=>{S.destroy(),T.current(null)}},[C,c,a,p,l,g]);const j={placement:R};x!==null&&(j.TransitionProps=x);const H=ur(e),A=u.root??"div",Q=Jt.useSlotProps({elementType:A,externalSlotProps:w.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:E},ownerState:e,className:H.root});return X.jsx(A,{...Q,children:typeof i=="function"?i(j):i})}),Wt=M.forwardRef(function(e,o){const{anchorEl:n,children:i,container:s,direction:c="ltr",disablePortal:a=!1,keepMounted:p=!1,modifiers:f,open:l,placement:h="bottom",popperOptions:w=dr,popperRef:u,style:x,transition:m=!1,slotProps:y={},slots:b={},...E}=e,[P,d]=M.useState(!0),T=()=>{d(!1)},g=()=>{d(!0)};if(!p&&!l&&(!m||P))return null;let R;if(s)R=s;else if(n){const O=et(n);R=O&&ot(O)?I.ownerDocument(O).body:I.ownerDocument(null).body}const k=!l&&p&&(!m||P)?"none":void 0,C=m?{in:l,onEnter:T,onExited:g}:void 0;return X.jsx(I.Portal,{disablePortal:a,container:R,children:X.jsx(mr,{anchorEl:n,direction:c,disablePortal:a,modifiers:f,ref:o,open:m?!P:l,placement:h,popperOptions:w,popperRef:u,slotProps:y,slots:b,...E,style:{position:"fixed",top:0,left:0,display:k,...x},TransitionProps:C,children:i})})});process.env.NODE_ENV!=="production"&&(Wt.propTypes={anchorEl:N.chainPropTypes(r.PropTypes.oneOfType([I.HTMLElementType,r.PropTypes.object,r.PropTypes.func]),t=>{if(t.open){const e=et(t.anchorEl);if(e&&ot(e)&&e.nodeType===1){const o=e.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&o.top===0&&o.left===0&&o.right===0&&o.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
3
|
+
`))}else if(!e||typeof e.getBoundingClientRect!="function"||fr(e)&&e.contextElement!=null&&e.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
4
|
+
`))}return null}),children:r.PropTypes.oneOfType([r.PropTypes.node,r.PropTypes.func]),container:r.PropTypes.oneOfType([I.HTMLElementType,r.PropTypes.func]),direction:r.PropTypes.oneOf(["ltr","rtl"]),disablePortal:r.PropTypes.bool,keepMounted:r.PropTypes.bool,modifiers:r.PropTypes.arrayOf(r.PropTypes.shape({data:r.PropTypes.object,effect:r.PropTypes.func,enabled:r.PropTypes.bool,fn:r.PropTypes.func,name:r.PropTypes.any,options:r.PropTypes.object,phase:r.PropTypes.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:r.PropTypes.arrayOf(r.PropTypes.string),requiresIfExists:r.PropTypes.arrayOf(r.PropTypes.string)})),open:r.PropTypes.bool.isRequired,placement:r.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:r.PropTypes.shape({modifiers:r.PropTypes.array,onFirstUpdate:r.PropTypes.func,placement:r.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:r.PropTypes.oneOf(["absolute","fixed"])}),popperRef:N.refType,slotProps:r.PropTypes.shape({root:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object])}),slots:r.PropTypes.shape({root:r.PropTypes.elementType}),transition:r.PropTypes.bool});const vr=D.styled(Wt,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),yt=M.forwardRef(function(e,o){const n=D.useRtl(),i=D.useDefaultProps({props:e,name:"MuiPopper"}),{anchorEl:s,component:c,components:a,componentsProps:p,container:f,disablePortal:l,keepMounted:h,modifiers:w,open:u,placement:x,popperOptions:m,popperRef:y,transition:b,slots:E,slotProps:P,...d}=i,T=(E==null?void 0:E.root)??(a==null?void 0:a.Root),g={anchorEl:s,container:f,disablePortal:l,keepMounted:h,modifiers:w,open:u,placement:x,popperOptions:m,popperRef:y,transition:b,...d};return X.jsx(vr,{as:c,direction:n?"rtl":"ltr",slots:{root:T},slotProps:P??p,...g,ref:o})});process.env.NODE_ENV!=="production"&&(yt.propTypes={anchorEl:r.PropTypes.oneOfType([I.HTMLElementType,r.PropTypes.object,r.PropTypes.func]),children:r.PropTypes.oneOfType([r.PropTypes.node,r.PropTypes.func]),component:r.PropTypes.elementType,components:r.PropTypes.shape({Root:r.PropTypes.elementType}),componentsProps:r.PropTypes.shape({root:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object])}),container:r.PropTypes.oneOfType([I.HTMLElementType,r.PropTypes.func]),disablePortal:r.PropTypes.bool,keepMounted:r.PropTypes.bool,modifiers:r.PropTypes.arrayOf(r.PropTypes.shape({data:r.PropTypes.object,effect:r.PropTypes.func,enabled:r.PropTypes.bool,fn:r.PropTypes.func,name:r.PropTypes.any,options:r.PropTypes.object,phase:r.PropTypes.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:r.PropTypes.arrayOf(r.PropTypes.string),requiresIfExists:r.PropTypes.arrayOf(r.PropTypes.string)})),open:r.PropTypes.bool.isRequired,placement:r.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:r.PropTypes.shape({modifiers:r.PropTypes.array,onFirstUpdate:r.PropTypes.func,placement:r.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:r.PropTypes.oneOf(["absolute","fixed"])}),popperRef:N.refType,slotProps:r.PropTypes.shape({root:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object])}),slots:r.PropTypes.shape({root:r.PropTypes.elementType}),sx:r.PropTypes.oneOfType([r.PropTypes.arrayOf(r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object,r.PropTypes.bool])),r.PropTypes.func,r.PropTypes.object]),transition:r.PropTypes.bool});function yr(t){return D.generateUtilityClass("MuiTooltip",t)}const B=D.generateUtilityClasses("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function hr(t){return Math.round(t*1e5)/1e5}const Tr=t=>{const{classes:e,disableInteractive:o,arrow:n,touch:i,placement:s}=t,c={popper:["popper",!o&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${D.capitalize(s.split("-")[0])}`],arrow:["arrow"]};return D.composeClasses(c,yr,e)},gr=D.styled(yt,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.popper,!o.disableInteractive&&e.popperInteractive,o.arrow&&e.popperArrow,!o.open&&e.popperClose]}})(D.memoTheme(({theme:t})=>({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${B.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${B.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${B.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${B.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${B.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${B.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${B.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${B.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),br=D.styled("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:o}=t;return[e.tooltip,o.touch&&e.touch,o.arrow&&e.tooltipArrow,e[`tooltipPlacement${D.capitalize(o.placement.split("-")[0])}`]]}})(D.memoTheme(({theme:t})=>({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:D.alpha(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium,[`.${B.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${B.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${B.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${B.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${hr(16/14)}em`,fontWeight:t.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${B.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${B.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${B.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${B.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${B.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${B.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${B.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${B.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${B.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${B.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Pr=D.styled("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(D.memoTheme(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:D.alpha(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Ge=!1;const Ct=new N.Timeout;let We={x:0,y:0};function Qe(t,e){return(o,...n)=>{e&&e(o,...n),t(o,...n)}}const It=M.forwardRef(function(e,o){const n=D.useDefaultProps({props:e,name:"MuiTooltip"}),{arrow:i=!1,children:s,classes:c,components:a={},componentsProps:p={},describeChild:f=!1,disableFocusListener:l=!1,disableHoverListener:h=!1,disableInteractive:w=!1,disableTouchListener:u=!1,enterDelay:x=100,enterNextDelay:m=0,enterTouchDelay:y=700,followCursor:b=!1,id:E,leaveDelay:P=0,leaveTouchDelay:d=1500,onClose:T,onOpen:g,open:R,placement:k="bottom",PopperComponent:C,PopperProps:O={},slotProps:j={},slots:H={},title:A,TransitionComponent:Q,TransitionProps:K,...$}=n,S=M.isValidElement(s)?s:X.jsx("span",{children:s}),W=I.useTheme(),ae=D.useRtl(),[L,Te]=M.useState(),[se,ge]=M.useState(null),J=M.useRef(!1),q=w||b,le=N.useTimeout(),ce=N.useTimeout(),_=N.useTimeout(),be=N.useTimeout(),[rt,Pe]=eo.useControlled({controlled:R,default:!1,name:"Tooltip",state:"open"});let ee=rt;if(process.env.NODE_ENV!=="production"){const{current:v}=M.useRef(R!==void 0);M.useEffect(()=>{L&&L.disabled&&!v&&A!==""&&L.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
|
5
|
+
`))},[A,L,v])}const we=I.useId(E),ue=M.useRef(),xe=N.useEventCallback(()=>{ue.current!==void 0&&(document.body.style.WebkitUserSelect=ue.current,ue.current=void 0),be.clear()});M.useEffect(()=>xe,[xe]);const Ae=v=>{Ct.clear(),Ge=!0,Pe(!0),g&&!ee&&g(v)},de=N.useEventCallback(v=>{Ct.start(800+P,()=>{Ge=!1}),Pe(!1),T&&ee&&T(v),le.start(W.transitions.duration.shortest,()=>{J.current=!1})}),Oe=v=>{J.current&&v.type!=="touchstart"||(L&&L.removeAttribute("title"),ce.clear(),_.clear(),x||Ge&&m?ce.start(Ge?m:x,()=>{Ae(v)}):Ae(v))},Se=v=>{ce.clear(),_.start(P,()=>{de(v)})},[,re]=M.useState(!1),me=v=>{N.isFocusVisible(v.target)||(re(!1),Se(v))},De=v=>{L||Te(v.currentTarget),N.isFocusVisible(v.target)&&(re(!0),Oe(v))},ke=v=>{J.current=!0;const oe=S.props;oe.onTouchStart&&oe.onTouchStart(v)},$e=v=>{ke(v),_.clear(),le.clear(),xe(),ue.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(y,()=>{document.body.style.WebkitUserSelect=ue.current,Oe(v)})},_e=v=>{S.props.onTouchEnd&&S.props.onTouchEnd(v),xe(),_.start(d,()=>{de(v)})};M.useEffect(()=>{if(!ee)return;function v(oe){oe.key==="Escape"&&de(oe)}return document.addEventListener("keydown",v),()=>{document.removeEventListener("keydown",v)}},[de,ee]);const ze=N.useForkRef(I.getReactElementRef(S),Te,o);!A&&A!==0&&(ee=!1);const Ee=M.useRef(),Xe=v=>{const oe=S.props;oe.onMouseMove&&oe.onMouseMove(v),We={x:v.clientX,y:v.clientY},Ee.current&&Ee.current.update()},Be={},nt=typeof A=="string";f?(Be.title=!ee&&nt&&!h?A:null,Be["aria-describedby"]=ee?we:null):(Be["aria-label"]=nt?A:null,Be["aria-labelledby"]=ee&&!nt?we:null);const z={...Be,...$,...S.props,className:D.clsx($.className,S.props.className),onTouchStart:ke,ref:ze,...b?{onMouseMove:Xe}:{}};process.env.NODE_ENV!=="production"&&(z["data-mui-internal-clone-element"]=!0,M.useEffect(()=>{L&&!L.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
6
|
+
`))},[L]));const Le={};u||(z.onTouchStart=$e,z.onTouchEnd=_e),h||(z.onMouseOver=Qe(Oe,z.onMouseOver),z.onMouseLeave=Qe(Se,z.onMouseLeave),q||(Le.onMouseOver=Oe,Le.onMouseLeave=Se)),l||(z.onFocus=Qe(De,z.onFocus),z.onBlur=Qe(me,z.onBlur),q||(Le.onFocus=De,Le.onBlur=me)),process.env.NODE_ENV!=="production"&&S.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${S.props.title}\` or the Tooltip component.`].join(`
|
|
7
|
+
`));const ve={...n,isRtl:ae,arrow:i,disableInteractive:q,placement:k,PopperComponentProp:C,touch:J.current},te=typeof j.popper=="function"?j.popper(ve):j.popper,Vt=M.useMemo(()=>{var oe,ht;let v=[{name:"arrow",enabled:!!se,options:{element:se,padding:4}}];return(oe=O.popperOptions)!=null&&oe.modifiers&&(v=v.concat(O.popperOptions.modifiers)),(ht=te==null?void 0:te.popperOptions)!=null&&ht.modifiers&&(v=v.concat(te.popperOptions.modifiers)),{...O.popperOptions,...te==null?void 0:te.popperOptions,modifiers:v}},[se,O.popperOptions,te==null?void 0:te.popperOptions]),it=Tr(ve),Ft=typeof j.transition=="function"?j.transition(ve):j.transition,Ye={slots:{popper:a.Popper,transition:a.Transition??Q,tooltip:a.Tooltip,arrow:a.Arrow,...H},slotProps:{arrow:j.arrow??p.arrow,popper:{...O,...te??p.popper},tooltip:j.tooltip??p.tooltip,transition:{...K,...Ft??p.transition}}},[Ut,qt]=I.useSlot("popper",{elementType:gr,externalForwardedProps:Ye,ownerState:ve,className:D.clsx(it.popper,O==null?void 0:O.className)}),[_t,zt]=I.useSlot("transition",{elementType:I.Grow,externalForwardedProps:Ye,ownerState:ve}),[Xt,Yt]=I.useSlot("tooltip",{elementType:br,className:it.tooltip,externalForwardedProps:Ye,ownerState:ve}),[Zt,Gt]=I.useSlot("arrow",{elementType:Pr,className:it.arrow,externalForwardedProps:Ye,ownerState:ve,ref:ge});return X.jsxs(M.Fragment,{children:[M.cloneElement(S,z),X.jsx(Ut,{as:C??yt,placement:k,anchorEl:b?{getBoundingClientRect:()=>({top:We.y,left:We.x,right:We.x,bottom:We.y,width:0,height:0})}:L,popperRef:Ee,open:L?ee:!1,id:we,transition:!0,...Le,...qt,popperOptions:Vt,children:({TransitionProps:v})=>X.jsx(_t,{timeout:W.transitions.duration.shorter,...v,...zt,children:X.jsxs(Xt,{...Yt,children:[A,i?X.jsx(Zt,{...Gt}):null]})})})]})});process.env.NODE_ENV!=="production"&&(It.propTypes={arrow:r.PropTypes.bool,children:I.elementAcceptingRef.isRequired,classes:r.PropTypes.object,className:r.PropTypes.string,components:r.PropTypes.shape({Arrow:r.PropTypes.elementType,Popper:r.PropTypes.elementType,Tooltip:r.PropTypes.elementType,Transition:r.PropTypes.elementType}),componentsProps:r.PropTypes.shape({arrow:r.PropTypes.object,popper:r.PropTypes.object,tooltip:r.PropTypes.object,transition:r.PropTypes.object}),describeChild:r.PropTypes.bool,disableFocusListener:r.PropTypes.bool,disableHoverListener:r.PropTypes.bool,disableInteractive:r.PropTypes.bool,disableTouchListener:r.PropTypes.bool,enterDelay:r.PropTypes.number,enterNextDelay:r.PropTypes.number,enterTouchDelay:r.PropTypes.number,followCursor:r.PropTypes.bool,id:r.PropTypes.string,leaveDelay:r.PropTypes.number,leaveTouchDelay:r.PropTypes.number,onClose:r.PropTypes.func,onOpen:r.PropTypes.func,open:r.PropTypes.bool,placement:r.PropTypes.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:r.PropTypes.elementType,PopperProps:r.PropTypes.object,slotProps:r.PropTypes.shape({arrow:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object]),popper:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object]),tooltip:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object]),transition:r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object])}),slots:r.PropTypes.shape({arrow:r.PropTypes.elementType,popper:r.PropTypes.elementType,tooltip:r.PropTypes.elementType,transition:r.PropTypes.elementType}),sx:r.PropTypes.oneOfType([r.PropTypes.arrayOf(r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object,r.PropTypes.bool])),r.PropTypes.func,r.PropTypes.object]),title:r.PropTypes.node,TransitionComponent:r.PropTypes.elementType,TransitionProps:r.PropTypes.object});const Ht=D.createTheme$1({components:{MuiTooltip:{styleOverrides:{arrow:{color:at.siColors.StBackgroundColors.workspace},tooltip:{color:at.siColors.StTextColors.content,maxWidth:"432px",borderRadius:"4px",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",padding:"12px 16px",gap:"10px",backgroundColor:at.siColors.StBackgroundColors.workspace,filter:"drop-shadow(0px 1px 4px rgba(9, 9, 10, 0.1)) drop-shadow(0px 4px 12px rgba(9, 9, 10, 0.2));"}}}}}),wr="#2c3342",xr="#f4f4f8",Or="#dee1e7",Er="#fff",Rr="Tooltip-module__breakLongWord___ToaxI",Cr="Tooltip-module__semanticText___VRqnW",jr="Tooltip-module__tooltip___iGDQF",Mr="Tooltip-module__rcToolTipZoomIn___Qwshk",Ar="Tooltip-module__rcToolTipZoomOut___p2GXV",Sr={loginDarkColor:wr,darkBtnHoverColor:xr,greyHoverColor:Or,defaultBackgroundColor:Er,breakLongWord:Rr,semanticText:Cr,tooltip:jr,rcToolTipZoomIn:Mr,rcToolTipZoomOut:Ar},Dr=jt.forwardRef(({title:t,children:e,arrow:o,theme:n=Ht,...i},s)=>{const{classes:c={}}=i,a={...c,tooltip:Qt(Sr.tooltip,c.tooltip,Kt.styleguideConstants.SISENSE_NAMESPACE)};return X.jsx(D.ThemeProvider,{theme:n,children:X.jsx(It,{...i,title:t,arrow:o,ref:s,classes:a,children:e})})});exports.Tooltip=Dr;exports.tooltipTheme=Ht;
|
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import * as H from "react";
|
|
3
|
+
import j from "react";
|
|
4
|
+
import { k as z, l as C, G as B, n as w, o as E, g as M, b as N, s as R, d as g, m as _, e as D, f as $, h as A, a as G, T as U } from "./ThemeProvider-BCsnqK18.js";
|
|
5
|
+
import { P as e } from "./index-D0lMis-I.js";
|
|
6
|
+
import { u as V } from "./useTheme-eCVqNAnk.js";
|
|
7
|
+
import { c as k } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
8
|
+
import { siColors as F } from "./lib/themes/themes.js";
|
|
9
|
+
const I = (o) => {
|
|
10
|
+
var n;
|
|
11
|
+
const r = {
|
|
12
|
+
systemProps: {},
|
|
13
|
+
otherProps: {}
|
|
14
|
+
}, t = ((n = o == null ? void 0 : o.theme) == null ? void 0 : n.unstable_sxConfig) ?? z;
|
|
15
|
+
return Object.keys(o).forEach((i) => {
|
|
16
|
+
t[i] ? r.systemProps[i] = o[i] : r.otherProps[i] = o[i];
|
|
17
|
+
}), r;
|
|
18
|
+
};
|
|
19
|
+
function L(o) {
|
|
20
|
+
const {
|
|
21
|
+
sx: r,
|
|
22
|
+
...t
|
|
23
|
+
} = o, {
|
|
24
|
+
systemProps: n,
|
|
25
|
+
otherProps: i
|
|
26
|
+
} = I(t);
|
|
27
|
+
let a;
|
|
28
|
+
return Array.isArray(r) ? a = [n, ...r] : typeof r == "function" ? a = (...p) => {
|
|
29
|
+
const s = r(...p);
|
|
30
|
+
return C(s) ? {
|
|
31
|
+
...n,
|
|
32
|
+
...s
|
|
33
|
+
} : n;
|
|
34
|
+
} : a = {
|
|
35
|
+
...n,
|
|
36
|
+
...r
|
|
37
|
+
}, {
|
|
38
|
+
...i,
|
|
39
|
+
sx: a
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function d({
|
|
43
|
+
styles: o,
|
|
44
|
+
themeId: r,
|
|
45
|
+
defaultTheme: t = {}
|
|
46
|
+
}) {
|
|
47
|
+
const n = V(t), i = typeof o == "function" ? o(r && n[r] || n) : o;
|
|
48
|
+
return /* @__PURE__ */ l(B, {
|
|
49
|
+
styles: i
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
process.env.NODE_ENV !== "production" && (d.propTypes = {
|
|
53
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
54
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
55
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
56
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
57
|
+
/**
|
|
58
|
+
* @ignore
|
|
59
|
+
*/
|
|
60
|
+
defaultTheme: e.object,
|
|
61
|
+
/**
|
|
62
|
+
* @ignore
|
|
63
|
+
*/
|
|
64
|
+
styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool]),
|
|
65
|
+
/**
|
|
66
|
+
* @ignore
|
|
67
|
+
*/
|
|
68
|
+
themeId: e.string
|
|
69
|
+
});
|
|
70
|
+
function S(o) {
|
|
71
|
+
return /* @__PURE__ */ l(d, {
|
|
72
|
+
...o,
|
|
73
|
+
defaultTheme: w,
|
|
74
|
+
themeId: E
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
process.env.NODE_ENV !== "production" && (S.propTypes = {
|
|
78
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
79
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
80
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
81
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
82
|
+
/**
|
|
83
|
+
* The styles you want to apply globally.
|
|
84
|
+
*/
|
|
85
|
+
styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
|
|
86
|
+
});
|
|
87
|
+
function st(o) {
|
|
88
|
+
return function(t) {
|
|
89
|
+
return (
|
|
90
|
+
// Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
|
|
91
|
+
/* @__PURE__ */ l(S, {
|
|
92
|
+
styles: typeof o == "function" ? (n) => o({
|
|
93
|
+
theme: n,
|
|
94
|
+
...t
|
|
95
|
+
}) : o
|
|
96
|
+
})
|
|
97
|
+
);
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function J() {
|
|
101
|
+
return L;
|
|
102
|
+
}
|
|
103
|
+
function q(o) {
|
|
104
|
+
return M("MuiTypography", o);
|
|
105
|
+
}
|
|
106
|
+
N("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
|
|
107
|
+
const K = {
|
|
108
|
+
primary: !0,
|
|
109
|
+
secondary: !0,
|
|
110
|
+
error: !0,
|
|
111
|
+
info: !0,
|
|
112
|
+
success: !0,
|
|
113
|
+
warning: !0,
|
|
114
|
+
textPrimary: !0,
|
|
115
|
+
textSecondary: !0,
|
|
116
|
+
textDisabled: !0
|
|
117
|
+
}, Q = J(), X = (o) => {
|
|
118
|
+
const {
|
|
119
|
+
align: r,
|
|
120
|
+
gutterBottom: t,
|
|
121
|
+
noWrap: n,
|
|
122
|
+
paragraph: i,
|
|
123
|
+
variant: a,
|
|
124
|
+
classes: p
|
|
125
|
+
} = o, s = {
|
|
126
|
+
root: ["root", a, o.align !== "inherit" && `align${g(r)}`, t && "gutterBottom", n && "noWrap", i && "paragraph"]
|
|
127
|
+
};
|
|
128
|
+
return A(s, q, p);
|
|
129
|
+
}, Y = R("span", {
|
|
130
|
+
name: "MuiTypography",
|
|
131
|
+
slot: "Root",
|
|
132
|
+
overridesResolver: (o, r) => {
|
|
133
|
+
const {
|
|
134
|
+
ownerState: t
|
|
135
|
+
} = o;
|
|
136
|
+
return [r.root, t.variant && r[t.variant], t.align !== "inherit" && r[`align${g(t.align)}`], t.noWrap && r.noWrap, t.gutterBottom && r.gutterBottom, t.paragraph && r.paragraph];
|
|
137
|
+
}
|
|
138
|
+
})(_(({
|
|
139
|
+
theme: o
|
|
140
|
+
}) => {
|
|
141
|
+
var r;
|
|
142
|
+
return {
|
|
143
|
+
margin: 0,
|
|
144
|
+
variants: [{
|
|
145
|
+
props: {
|
|
146
|
+
variant: "inherit"
|
|
147
|
+
},
|
|
148
|
+
style: {
|
|
149
|
+
// Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
|
|
150
|
+
font: "inherit",
|
|
151
|
+
lineHeight: "inherit",
|
|
152
|
+
letterSpacing: "inherit"
|
|
153
|
+
}
|
|
154
|
+
}, ...Object.entries(o.typography).filter(([t, n]) => t !== "inherit" && n && typeof n == "object").map(([t, n]) => ({
|
|
155
|
+
props: {
|
|
156
|
+
variant: t
|
|
157
|
+
},
|
|
158
|
+
style: n
|
|
159
|
+
})), ...Object.entries(o.palette).filter(k()).map(([t]) => ({
|
|
160
|
+
props: {
|
|
161
|
+
color: t
|
|
162
|
+
},
|
|
163
|
+
style: {
|
|
164
|
+
color: (o.vars || o).palette[t].main
|
|
165
|
+
}
|
|
166
|
+
})), ...Object.entries(((r = o.palette) == null ? void 0 : r.text) || {}).filter(([, t]) => typeof t == "string").map(([t]) => ({
|
|
167
|
+
props: {
|
|
168
|
+
color: `text${g(t)}`
|
|
169
|
+
},
|
|
170
|
+
style: {
|
|
171
|
+
color: (o.vars || o).palette.text[t]
|
|
172
|
+
}
|
|
173
|
+
})), {
|
|
174
|
+
props: ({
|
|
175
|
+
ownerState: t
|
|
176
|
+
}) => t.align !== "inherit",
|
|
177
|
+
style: {
|
|
178
|
+
textAlign: "var(--Typography-textAlign)"
|
|
179
|
+
}
|
|
180
|
+
}, {
|
|
181
|
+
props: ({
|
|
182
|
+
ownerState: t
|
|
183
|
+
}) => t.noWrap,
|
|
184
|
+
style: {
|
|
185
|
+
overflow: "hidden",
|
|
186
|
+
textOverflow: "ellipsis",
|
|
187
|
+
whiteSpace: "nowrap"
|
|
188
|
+
}
|
|
189
|
+
}, {
|
|
190
|
+
props: ({
|
|
191
|
+
ownerState: t
|
|
192
|
+
}) => t.gutterBottom,
|
|
193
|
+
style: {
|
|
194
|
+
marginBottom: "0.35em"
|
|
195
|
+
}
|
|
196
|
+
}, {
|
|
197
|
+
props: ({
|
|
198
|
+
ownerState: t
|
|
199
|
+
}) => t.paragraph,
|
|
200
|
+
style: {
|
|
201
|
+
marginBottom: 16
|
|
202
|
+
}
|
|
203
|
+
}]
|
|
204
|
+
};
|
|
205
|
+
})), b = {
|
|
206
|
+
h1: "h1",
|
|
207
|
+
h2: "h2",
|
|
208
|
+
h3: "h3",
|
|
209
|
+
h4: "h4",
|
|
210
|
+
h5: "h5",
|
|
211
|
+
h6: "h6",
|
|
212
|
+
subtitle1: "h6",
|
|
213
|
+
subtitle2: "h6",
|
|
214
|
+
body1: "p",
|
|
215
|
+
body2: "p",
|
|
216
|
+
inherit: "p"
|
|
217
|
+
}, v = /* @__PURE__ */ H.forwardRef(function(r, t) {
|
|
218
|
+
const {
|
|
219
|
+
color: n,
|
|
220
|
+
...i
|
|
221
|
+
} = D({
|
|
222
|
+
props: r,
|
|
223
|
+
name: "MuiTypography"
|
|
224
|
+
}), a = !K[n], p = Q({
|
|
225
|
+
...i,
|
|
226
|
+
...a && {
|
|
227
|
+
color: n
|
|
228
|
+
}
|
|
229
|
+
}), {
|
|
230
|
+
align: s = "inherit",
|
|
231
|
+
className: h,
|
|
232
|
+
component: f,
|
|
233
|
+
gutterBottom: T = !1,
|
|
234
|
+
noWrap: W = !1,
|
|
235
|
+
paragraph: y = !1,
|
|
236
|
+
variant: c = "body1",
|
|
237
|
+
variantMapping: u = b,
|
|
238
|
+
...m
|
|
239
|
+
} = p, x = {
|
|
240
|
+
...p,
|
|
241
|
+
align: s,
|
|
242
|
+
color: n,
|
|
243
|
+
className: h,
|
|
244
|
+
component: f,
|
|
245
|
+
gutterBottom: T,
|
|
246
|
+
noWrap: W,
|
|
247
|
+
paragraph: y,
|
|
248
|
+
variant: c,
|
|
249
|
+
variantMapping: u
|
|
250
|
+
}, O = f || (y ? "p" : u[c] || b[c]) || "span", P = X(x);
|
|
251
|
+
return /* @__PURE__ */ l(Y, {
|
|
252
|
+
as: O,
|
|
253
|
+
ref: t,
|
|
254
|
+
className: $(P.root, h),
|
|
255
|
+
...m,
|
|
256
|
+
ownerState: x,
|
|
257
|
+
style: {
|
|
258
|
+
...s !== "inherit" && {
|
|
259
|
+
"--Typography-textAlign": s
|
|
260
|
+
},
|
|
261
|
+
...m.style
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
});
|
|
265
|
+
process.env.NODE_ENV !== "production" && (v.propTypes = {
|
|
266
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
267
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
268
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
269
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
270
|
+
/**
|
|
271
|
+
* Set the text-align on the component.
|
|
272
|
+
* @default 'inherit'
|
|
273
|
+
*/
|
|
274
|
+
align: e.oneOf(["center", "inherit", "justify", "left", "right"]),
|
|
275
|
+
/**
|
|
276
|
+
* The content of the component.
|
|
277
|
+
*/
|
|
278
|
+
children: e.node,
|
|
279
|
+
/**
|
|
280
|
+
* Override or extend the styles applied to the component.
|
|
281
|
+
*/
|
|
282
|
+
classes: e.object,
|
|
283
|
+
/**
|
|
284
|
+
* @ignore
|
|
285
|
+
*/
|
|
286
|
+
className: e.string,
|
|
287
|
+
/**
|
|
288
|
+
* The color of the component.
|
|
289
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
290
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
291
|
+
*/
|
|
292
|
+
color: e.oneOfType([e.oneOf(["primary", "secondary", "success", "error", "info", "warning", "textPrimary", "textSecondary", "textDisabled"]), e.string]),
|
|
293
|
+
/**
|
|
294
|
+
* The component used for the root node.
|
|
295
|
+
* Either a string to use a HTML element or a component.
|
|
296
|
+
*/
|
|
297
|
+
component: e.elementType,
|
|
298
|
+
/**
|
|
299
|
+
* If `true`, the text will have a bottom margin.
|
|
300
|
+
* @default false
|
|
301
|
+
*/
|
|
302
|
+
gutterBottom: e.bool,
|
|
303
|
+
/**
|
|
304
|
+
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
305
|
+
*
|
|
306
|
+
* Note that text overflow can only happen with block or inline-block level elements
|
|
307
|
+
* (the element needs to have a width in order to overflow).
|
|
308
|
+
* @default false
|
|
309
|
+
*/
|
|
310
|
+
noWrap: e.bool,
|
|
311
|
+
/**
|
|
312
|
+
* If `true`, the element will be a paragraph element.
|
|
313
|
+
* @default false
|
|
314
|
+
* @deprecated Use the `component` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
315
|
+
*/
|
|
316
|
+
paragraph: e.bool,
|
|
317
|
+
/**
|
|
318
|
+
* @ignore
|
|
319
|
+
*/
|
|
320
|
+
style: e.object,
|
|
321
|
+
/**
|
|
322
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
323
|
+
*/
|
|
324
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
325
|
+
/**
|
|
326
|
+
* Applies the theme typography styles.
|
|
327
|
+
* @default 'body1'
|
|
328
|
+
*/
|
|
329
|
+
variant: e.oneOfType([e.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), e.string]),
|
|
330
|
+
/**
|
|
331
|
+
* The component maps the variant prop to a range of different HTML element types.
|
|
332
|
+
* For instance, subtitle1 to `<h6>`.
|
|
333
|
+
* If you wish to change that mapping, you can provide your own.
|
|
334
|
+
* Alternatively, you can use the `component` prop.
|
|
335
|
+
* @default {
|
|
336
|
+
* h1: 'h1',
|
|
337
|
+
* h2: 'h2',
|
|
338
|
+
* h3: 'h3',
|
|
339
|
+
* h4: 'h4',
|
|
340
|
+
* h5: 'h5',
|
|
341
|
+
* h6: 'h6',
|
|
342
|
+
* subtitle1: 'h6',
|
|
343
|
+
* subtitle2: 'h6',
|
|
344
|
+
* body1: 'p',
|
|
345
|
+
* body2: 'p',
|
|
346
|
+
* inherit: 'p',
|
|
347
|
+
* }
|
|
348
|
+
*/
|
|
349
|
+
variantMapping: e.object
|
|
350
|
+
});
|
|
351
|
+
const Z = G({
|
|
352
|
+
components: {
|
|
353
|
+
MuiTypography: {
|
|
354
|
+
variants: [
|
|
355
|
+
{
|
|
356
|
+
props: { variant: "titleHero" },
|
|
357
|
+
style: {
|
|
358
|
+
fontWeight: 600,
|
|
359
|
+
fontSize: 30,
|
|
360
|
+
lineHeight: "36px",
|
|
361
|
+
letterSpacing: -0.5
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
props: { variant: "titleBig" },
|
|
366
|
+
style: {
|
|
367
|
+
fontWeight: 400,
|
|
368
|
+
fontSize: 21,
|
|
369
|
+
lineHeight: "24px",
|
|
370
|
+
letterSpacing: -0.2
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
props: { variant: "titleMedium" },
|
|
375
|
+
style: {
|
|
376
|
+
fontWeight: 600,
|
|
377
|
+
fontSize: "18px",
|
|
378
|
+
lineHeight: "24px"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
props: { variant: "titleSmall" },
|
|
383
|
+
style: {
|
|
384
|
+
fontWeight: 600,
|
|
385
|
+
fontSize: "15px",
|
|
386
|
+
lineHeight: "20px"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
props: { variant: "subTitle" },
|
|
391
|
+
style: {
|
|
392
|
+
fontWeight: 700,
|
|
393
|
+
fontSize: "13px",
|
|
394
|
+
lineHeight: "16px",
|
|
395
|
+
letterSpacing: "0.2px"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
props: { variant: "bodyLabel" },
|
|
400
|
+
style: {
|
|
401
|
+
fontWeight: 400,
|
|
402
|
+
fontSize: "13px",
|
|
403
|
+
lineHeight: "16px",
|
|
404
|
+
letterSpacing: "0.1px"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
props: { variant: "laccent" },
|
|
409
|
+
style: {
|
|
410
|
+
fontWeight: 600,
|
|
411
|
+
fontSize: "13px",
|
|
412
|
+
lineHeight: "16px",
|
|
413
|
+
letterSpacing: "0.1px"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
props: { variant: "bodyParagraph" },
|
|
418
|
+
style: {
|
|
419
|
+
fontWeight: 400,
|
|
420
|
+
fontSize: "13px",
|
|
421
|
+
lineHeight: "18px"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
props: { variant: "paccent" },
|
|
426
|
+
style: {
|
|
427
|
+
fontWeight: 600,
|
|
428
|
+
fontSize: "13px",
|
|
429
|
+
lineHeight: "18px"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
props: { variant: "bodyUI" },
|
|
434
|
+
style: {
|
|
435
|
+
fontWeight: 400,
|
|
436
|
+
fontSize: "13px",
|
|
437
|
+
lineHeight: "20px",
|
|
438
|
+
letterSpacing: "0.3px"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
props: { variant: "overline" },
|
|
443
|
+
style: {
|
|
444
|
+
fontWeight: 400,
|
|
445
|
+
fontSize: "11px",
|
|
446
|
+
lineHeight: "16px",
|
|
447
|
+
letterSpacing: "1.5px"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
props: { variant: "caption" },
|
|
452
|
+
style: {
|
|
453
|
+
fontWeight: 700,
|
|
454
|
+
fontSize: "11px",
|
|
455
|
+
lineHeight: "14px",
|
|
456
|
+
letterSpacing: "0.5px"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
props: { variant: "annotation" },
|
|
461
|
+
style: {
|
|
462
|
+
fontWeight: 400,
|
|
463
|
+
fontSize: "11px",
|
|
464
|
+
lineHeight: "16px",
|
|
465
|
+
letterSpacing: "0.3px"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
props: { variant: "code" },
|
|
470
|
+
style: {
|
|
471
|
+
fontFamily: "Hack",
|
|
472
|
+
fontWeight: 400,
|
|
473
|
+
fontSize: "13px",
|
|
474
|
+
lineHeight: "20px"
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
styleOverrides: {
|
|
479
|
+
root: {
|
|
480
|
+
display: "inline-block",
|
|
481
|
+
fontFamily: "Open Sans",
|
|
482
|
+
color: F.StTextColors.content,
|
|
483
|
+
"::first-letter": {
|
|
484
|
+
textTransform: "capitalize"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}), pt = j.forwardRef(
|
|
491
|
+
({ children: o, theme: r = Z, dataTestId: t, ...n }, i) => /* @__PURE__ */ l(U, { theme: r, children: /* @__PURE__ */ l(v, { ref: i, ...n, "data-testid": t, children: o }) })
|
|
492
|
+
);
|
|
493
|
+
export {
|
|
494
|
+
pt as T,
|
|
495
|
+
v as a,
|
|
496
|
+
st as g,
|
|
497
|
+
Z as t
|
|
498
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const y=require("react/jsx-runtime"),b=require("react"),p=require("./ThemeProvider-BjBWRt7C.cjs"),r=require("./index-B-zZeebW.cjs"),H=require("./useTheme-BN6DGaDZ.cjs"),C=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),w=require("./lib/themes/themes.cjs");function B(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const M=B(b),_=t=>{var n;const o={systemProps:{},otherProps:{}},e=((n=t==null?void 0:t.theme)==null?void 0:n.unstable_sxConfig)??p.defaultSxConfig;return Object.keys(t).forEach(i=>{e[i]?o.systemProps[i]=t[i]:o.otherProps[i]=t[i]}),o};function E(t){const{sx:o,...e}=t,{systemProps:n,otherProps:i}=_(e);let s;return Array.isArray(o)?s=[n,...o]:typeof o=="function"?s=(...l)=>{const a=o(...l);return p.isPlainObject(a)?{...n,...a}:n}:s={...n,...o},{...i,sx:s}}function d({styles:t,themeId:o,defaultTheme:e={}}){const n=H.useTheme(e),i=typeof t=="function"?t(o&&n[o]||n):t;return y.jsx(p.GlobalStyles,{styles:i})}process.env.NODE_ENV!=="production"&&(d.propTypes={defaultTheme:r.PropTypes.object,styles:r.PropTypes.oneOfType([r.PropTypes.array,r.PropTypes.func,r.PropTypes.number,r.PropTypes.object,r.PropTypes.string,r.PropTypes.bool]),themeId:r.PropTypes.string});function S(t){return y.jsx(d,{...t,defaultTheme:p.defaultTheme,themeId:p.THEME_ID})}process.env.NODE_ENV!=="production"&&(S.propTypes={styles:r.PropTypes.oneOfType([r.PropTypes.array,r.PropTypes.func,r.PropTypes.number,r.PropTypes.object,r.PropTypes.string,r.PropTypes.bool])});function N(t){return function(e){return y.jsx(S,{styles:typeof t=="function"?n=>t({theme:n,...e}):t})}}function D(){return E}function R(t){return p.generateUtilityClass("MuiTypography",t)}p.generateUtilityClasses("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const $={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},q=D(),V=t=>{const{align:o,gutterBottom:e,noWrap:n,paragraph:i,variant:s,classes:l}=t,a={root:["root",s,t.align!=="inherit"&&`align${p.capitalize(o)}`,e&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return p.composeClasses(a,R,l)},A=p.styled("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:e}=t;return[o.root,e.variant&&o[e.variant],e.align!=="inherit"&&o[`align${p.capitalize(e.align)}`],e.noWrap&&o.noWrap,e.gutterBottom&&o.gutterBottom,e.paragraph&&o.paragraph]}})(p.memoTheme(({theme:t})=>{var o;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([e,n])=>e!=="inherit"&&n&&typeof n=="object").map(([e,n])=>({props:{variant:e},style:n})),...Object.entries(t.palette).filter(C.createSimplePaletteValueFilter()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(((o=t.palette)==null?void 0:o.text)||{}).filter(([,e])=>typeof e=="string").map(([e])=>({props:{color:`text${p.capitalize(e)}`},style:{color:(t.vars||t).palette.text[e]}})),{props:({ownerState:e})=>e.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}})),P={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g=M.forwardRef(function(o,e){const{color:n,...i}=p.useDefaultProps({props:o,name:"MuiTypography"}),s=!$[n],l=q({...i,...s&&{color:n}}),{align:a="inherit",className:h,component:f,gutterBottom:j=!1,noWrap:O=!1,paragraph:u=!1,variant:c="body1",variantMapping:T=P,...x}=l,m={...l,align:a,color:n,className:h,component:f,gutterBottom:j,noWrap:O,paragraph:u,variant:c,variantMapping:T},W=f||(u?"p":T[c]||P[c])||"span",z=V(m);return y.jsx(A,{as:W,ref:e,className:p.clsx(z.root,h),...x,ownerState:m,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...x.style}})});process.env.NODE_ENV!=="production"&&(g.propTypes={align:r.PropTypes.oneOf(["center","inherit","justify","left","right"]),children:r.PropTypes.node,classes:r.PropTypes.object,className:r.PropTypes.string,color:r.PropTypes.oneOfType([r.PropTypes.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),r.PropTypes.string]),component:r.PropTypes.elementType,gutterBottom:r.PropTypes.bool,noWrap:r.PropTypes.bool,paragraph:r.PropTypes.bool,style:r.PropTypes.object,sx:r.PropTypes.oneOfType([r.PropTypes.arrayOf(r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object,r.PropTypes.bool])),r.PropTypes.func,r.PropTypes.object]),variant:r.PropTypes.oneOfType([r.PropTypes.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),r.PropTypes.string]),variantMapping:r.PropTypes.object});const v=p.createTheme$1({components:{MuiTypography:{variants:[{props:{variant:"titleHero"},style:{fontWeight:600,fontSize:30,lineHeight:"36px",letterSpacing:-.5}},{props:{variant:"titleBig"},style:{fontWeight:400,fontSize:21,lineHeight:"24px",letterSpacing:-.2}},{props:{variant:"titleMedium"},style:{fontWeight:600,fontSize:"18px",lineHeight:"24px"}},{props:{variant:"titleSmall"},style:{fontWeight:600,fontSize:"15px",lineHeight:"20px"}},{props:{variant:"subTitle"},style:{fontWeight:700,fontSize:"13px",lineHeight:"16px",letterSpacing:"0.2px"}},{props:{variant:"bodyLabel"},style:{fontWeight:400,fontSize:"13px",lineHeight:"16px",letterSpacing:"0.1px"}},{props:{variant:"laccent"},style:{fontWeight:600,fontSize:"13px",lineHeight:"16px",letterSpacing:"0.1px"}},{props:{variant:"bodyParagraph"},style:{fontWeight:400,fontSize:"13px",lineHeight:"18px"}},{props:{variant:"paccent"},style:{fontWeight:600,fontSize:"13px",lineHeight:"18px"}},{props:{variant:"bodyUI"},style:{fontWeight:400,fontSize:"13px",lineHeight:"20px",letterSpacing:"0.3px"}},{props:{variant:"overline"},style:{fontWeight:400,fontSize:"11px",lineHeight:"16px",letterSpacing:"1.5px"}},{props:{variant:"caption"},style:{fontWeight:700,fontSize:"11px",lineHeight:"14px",letterSpacing:"0.5px"}},{props:{variant:"annotation"},style:{fontWeight:400,fontSize:"11px",lineHeight:"16px",letterSpacing:"0.3px"}},{props:{variant:"code"},style:{fontFamily:"Hack",fontWeight:400,fontSize:"13px",lineHeight:"20px"}}],styleOverrides:{root:{display:"inline-block",fontFamily:"Open Sans",color:w.siColors.StTextColors.content,"::first-letter":{textTransform:"capitalize"}}}}}}),U=b.forwardRef(({children:t,theme:o=v,dataTestId:e,...n},i)=>y.jsx(p.ThemeProvider,{theme:o,children:y.jsx(g,{ref:i,...n,"data-testid":e,children:t})}));exports.Typography=U;exports.Typography$1=g;exports.globalCss=N;exports.typographyTheme=v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=(t=>(t.topLeft="tl",t.topCenter="tc",t.topRight="tr",t.centerLeft="cl",t.centerCenter="cc",t.centerRight="cr",t.bottomLeft="bl",t.bottomCenter="bc",t.bottomRight="br",t))(e||{});exports.AlignPoints=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}exports._assertThisInitialized=i;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function n(e) {
|
|
2
|
+
return typeof e.main == "string";
|
|
3
|
+
}
|
|
4
|
+
function a(e, r = []) {
|
|
5
|
+
if (!n(e))
|
|
6
|
+
return !1;
|
|
7
|
+
for (const t of r)
|
|
8
|
+
if (!e.hasOwnProperty(t) || typeof e[t] != "string")
|
|
9
|
+
return !1;
|
|
10
|
+
return !0;
|
|
11
|
+
}
|
|
12
|
+
function i(e = []) {
|
|
13
|
+
return ([, r]) => r && a(r, e);
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
i as c
|
|
17
|
+
};
|