stone-kit 0.0.440 → 0.0.442

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,6 +1,6 @@
1
1
  import { ITabSwitcherItem, TabSwitcherProps } from './TabSwitcher.types';
2
2
 
3
3
  declare const SwitcherNamespace: (({ children, variant, isApart, addClassName, col, }: TabSwitcherProps) => import("react/jsx-runtime").JSX.Element) & {
4
- Item: import('react').ForwardRefExoticComponent<Omit<ITabSwitcherItem, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
4
+ Item: import('react').ForwardRefExoticComponent<ITabSwitcherItem & import('react').RefAttributes<HTMLInputElement>>;
5
5
  };
6
6
  export { SwitcherNamespace as TabSwitcher };
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
1
+ import { ReactNode } from 'react';
2
+
2
3
  declare const TAB_SWITCHER_VARIANTS: {
3
4
  whiteRow: string;
4
5
  grayRow: string;
5
6
  };
6
- type BaseInputProps = JSX.IntrinsicElements['input'];
7
- export interface ITabSwitcherItem extends BaseInputProps {
7
+ export interface ITabSwitcherItem extends React.InputHTMLAttributes<HTMLInputElement> {
8
8
  addItemClassName?: string;
9
9
  index: number;
10
10
  isDisabled?: boolean;
@@ -12,6 +12,7 @@ export interface ITabSwitcherItem extends BaseInputProps {
12
12
  width?: string;
13
13
  width_m?: string;
14
14
  width_l?: string;
15
+ children?: ReactNode;
15
16
  }
16
17
  export interface TabSwitcherProps {
17
18
  variant?: TABS_VARIANTS;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.440",
5
+ "version": "0.0.442",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",