tvuikit 0.4.0 → 0.4.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.
@@ -3,6 +3,7 @@ type DropdownContextType = {
3
3
  opened: boolean;
4
4
  toggle: (state?: boolean) => void;
5
5
  dropdownRef: RefObject<HTMLDivElement | null>;
6
+ menuRef: RefObject<HTMLDivElement | null>;
6
7
  triggerRef: RefObject<HTMLButtonElement | null>;
7
8
  };
8
9
  export declare const DropdownContext: import('react').Context<DropdownContextType | null>;
@@ -0,0 +1,6 @@
1
+ export type IndeterminateLinearProgressProps = {
2
+ width: number;
3
+ height?: number;
4
+ className?: string;
5
+ };
6
+ export declare const IndeterminateLinearProgress: ({ className, height, }: IndeterminateLinearProgressProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { IndeterminateLinearProgress } from './indeterminate-linear-progress';
2
3
  import { LinearProgress } from './linear-progress';
3
4
  import { Page } from './story';
4
5
  declare const meta: Meta<typeof Page>;
@@ -6,4 +7,5 @@ type Story = StoryObj<typeof Page>;
6
7
  export declare const Default: Story;
7
8
  export declare const Linear: StoryObj<typeof LinearProgress>;
8
9
  export declare const LinearWithPercentage: StoryObj<typeof LinearProgress>;
10
+ export declare const IntederminateLinear: StoryObj<typeof IndeterminateLinearProgress>;
9
11
  export default meta;
@@ -4,5 +4,5 @@ export type LinearProgressProps = {
4
4
  showPercentage?: boolean;
5
5
  className?: string;
6
6
  };
7
+ export declare const borderRadius = 8;
7
8
  export declare const LinearProgress: ({ value, height, showPercentage, className, }: LinearProgressProps) => import("react/jsx-runtime").JSX.Element;
8
- export default LinearProgress;