kui-complex 0.0.15 → 0.0.16

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/index.d.ts CHANGED
@@ -276,11 +276,9 @@ declare const Tooltip: React.ForwardRefExoticComponent<{
276
276
  onOpen?: (() => void) | undefined;
277
277
  onClose?: (() => void) | undefined;
278
278
  content: React.ReactNode;
279
- } & {
280
279
  open?: boolean | undefined;
281
280
  placement?: PopperPlacements | undefined;
282
281
  withArrow?: boolean | undefined;
283
- contentRef: React.RefObject<HTMLDivElement>;
284
282
  } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<unknown>>;
285
283
 
286
284
  export { Avatar, ButtonTab, ButtonsPanel, CalendarHeaderWithSelect, CalendarStandardContainer, CalendarStandardHeader, DesktopInputWithMonthPicker, DesktopMenuPanel, InputDropdown, InputForDatepicker, InputPassword, InputPhoneWithForm, InputSelect, InputSelectDropdown, InputTextAreaMobile, InputWithController, InputWithDatePicker, InputWithMonthPicker, MenuItem, MenuPanel, MobileInputWithMonthPicker, MobileMenuPanel, MonthPickerContainer, MonthPickerHeader, PassportStrengthBar, SelectMonth, SelectYear, Switch, Table, TableCell, TableHeadCell, TableRow, Tooltip, UndefinedAvatar };
package/dist/index.es.js CHANGED
@@ -893,7 +893,7 @@ var Tooltip = forwardRef(function (props, ref) {
893
893
  // TODO добавить возможность наведениня на подсказку без ее исчезновение (через таймер?)
894
894
  return (jsxs$1(Fragment$1, { children: [jsx(StyledWrapper, __assign({ onMouseEnter: handleOpen, onMouseLeave: handleClose, onTouchEnd: handleOpen, ref: elemRef }, { children: children })), jsx(Popper, __assign({ open: isOpen }, popper, { contentRef: elemRef }, { children: content }))] }));
895
895
  });
896
- var StyledWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: inline-block;\n cursor: pointer;\n"], ["\n display: inline-block;\n cursor: pointer;\n"])));
896
+ var StyledWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: inline-flex;\n cursor: pointer;\n width: fit-content;\n height: fit-content;\n"], ["\n display: inline-flex;\n cursor: pointer;\n width: fit-content;\n height: fit-content;\n"])));
897
897
  var templateObject_1;
898
898
 
899
899
  export { Avatar, ButtonTab, ButtonsPanel, CalendarHeaderWithSelect, CalendarStandardContainer, CalendarStandardHeader, DesktopInputWithMonthPicker, DesktopMenuPanel, InputDropdown, InputForDatepicker, InputPassword, InputPhoneWithForm, InputSelect, InputSelectDropdown, InputTextAreaMobile, InputWithController, InputWithDatePicker, InputWithMonthPicker, MenuItem, MenuPanel, MobileInputWithMonthPicker, MobileMenuPanel, MonthPickerContainer, MonthPickerHeader, PassportStrengthBar, SelectMonth, SelectYear, Switch, Table, TableCell, TableHeadCell, TableRow, Tooltip, UndefinedAvatar };