@okam/stack-ui 1.20.6 → 1.21.2

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,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { TTransition } from '../types/components';
3
- declare const RenderWithOpacity: ({ isVisible, children, themeName, tokens, customTheme }: TTransition) => JSX.Element;
3
+ declare const RenderWithOpacity: ({ isVisible, children, themeName, tokens, customTheme, ...rest }: TTransition) => JSX.Element;
4
4
  export default RenderWithOpacity;
@@ -1,4 +1,5 @@
1
1
  import type React from 'react';
2
+ import type { HTMLAttributes } from 'react';
2
3
  import type { RefCallBack } from 'react-hook-form';
3
4
  import type { TCustomTheme, TToken } from '../providers/Theme/interface';
4
5
  export interface TDefaultComponent<T = TToken> {
@@ -19,7 +20,7 @@ export type TReactHookForm = {
19
20
  pattern?: string | undefined;
20
21
  validation?: object;
21
22
  };
22
- export interface TTransition extends TDefaultComponent {
23
+ export interface TTransition extends TDefaultComponent, HTMLAttributes<HTMLElement> {
23
24
  isVisible: boolean;
24
25
  children: React.ReactNode;
25
26
  }