@antscorp/antsomi-ui 1.3.5-beta.955 → 1.3.5-beta.956

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.
@@ -1,5 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { ScrollbarProps as CustomScrollbarProps } from 'react-custom-scrollbars';
2
- import React from 'react';
3
3
  export interface ScrollbarsProps extends CustomScrollbarProps {
4
4
  }
5
- export declare const Scrollbars: React.FC<ScrollbarsProps>;
5
+ export declare const Scrollbars: import("react").ForwardRefExoticComponent<Omit<ScrollbarsProps, "ref"> & import("react").RefAttributes<any>>;
@@ -40,7 +40,8 @@ export const Scrollbars = forwardRef((props, refProp) => {
40
40
  ref.current.thumbVertical.style.height = `${thumbHeight}px`;
41
41
  ref.current.thumbVertical.style.transform = `translateY(${thumbVerticalPosition}px)`;
42
42
  ref.current.thumbHorizontal.style.width = `${thumbWidth}px`;
43
- ref.current.thumbHorizontal.style.transform = `translateX(${thumbHorizontalPosition}px)`;
43
+ ref.current.thumbHorizontal.style.transform =
44
+ `translateX(${thumbHorizontalPosition}px)`;
44
45
  }
45
46
  // Handle show hide track bar
46
47
  ref.current.trackVertical.style.visibility =
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ModalV2Props } from '../../molecules/ModalV2';
3
3
  export declare const StyledModal: import("styled-components").StyledComponent<(props: ModalV2Props) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
4
- export declare const ParentMetricWrapper: import("styled-components").StyledComponent<import("react").FC<import("../../atoms/Scrollbars").ScrollbarsProps>, any, {}, never>;
5
- export declare const ChildrenMetricWrapper: import("styled-components").StyledComponent<import("react").FC<import("../../atoms/Scrollbars").ScrollbarsProps>, any, {}, never>;
4
+ export declare const ParentMetricWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../../atoms/Scrollbars").ScrollbarsProps, "ref"> & import("react").RefAttributes<any>>, any, {}, never>;
5
+ export declare const ChildrenMetricWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../../atoms/Scrollbars").ScrollbarsProps, "ref"> & import("react").RefAttributes<any>>, any, {}, never>;
6
6
  export declare const SelectedMetricsWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
7
7
  export declare const SelectedMetricItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & import("react").RefAttributes<HTMLElement>>, any, {
8
8
  disabled?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.955",
3
+ "version": "1.3.5-beta.956",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",