@candy.thieves/ui-kit-lumos 0.0.48 → 0.0.49

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.
@@ -0,0 +1,3 @@
1
+ import { type IconProps } from '@/utils';
2
+ declare const Clock: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
3
+ export { Clock };
@@ -0,0 +1,3 @@
1
+ import { type IconProps } from '@/utils';
2
+ declare const List: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
3
+ export { List };
@@ -0,0 +1,3 @@
1
+ import { type IconProps } from '@/utils';
2
+ declare const RecycleBin: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<SVGSVGElement>>;
3
+ export { RecycleBin };
@@ -100,4 +100,7 @@ export { Yandex } from './icons/Yandex';
100
100
  export { Sending } from './icons/Sending';
101
101
  export { ErrorIcon } from './icons/ErrorIcon';
102
102
  export { FileIcon } from './icons/FileIcon';
103
+ export { List } from './icons/List';
104
+ export { RecycleBin } from './icons/RecycleBin';
105
+ export { Clock } from './icons/Clock';
103
106
  export { Logo } from './logo/Logo';
@@ -1,6 +1,5 @@
1
- import type { ReactNode } from 'react';
2
1
  export type CarouselProps = {
3
- slides: ReactNode[];
2
+ slides: string[];
4
3
  controlsSize?: 'l' | 's';
5
4
  };
6
5
  export declare const Carousel: ({ slides, controlsSize }: CarouselProps) => import("react").JSX.Element | null;
@@ -1,14 +1,16 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ElementType, ReactNode } from 'react';
2
2
  export type MenuItem = {
3
3
  activeIcon?: ReactNode;
4
- href?: string;
4
+ href?: ((userId: string) => string) | string;
5
5
  icon: ReactNode;
6
6
  id: string;
7
7
  };
8
8
  type MenuProps = {
9
+ userId: string;
9
10
  activeId: string;
10
11
  items: MenuItem[];
11
12
  onValueChange?: (id: string) => void;
13
+ linkTag?: ElementType;
12
14
  };
13
- export declare const Menu: ({ items, activeId, onValueChange }: MenuProps) => import("react").JSX.Element;
15
+ export declare const Menu: ({ userId, items, activeId, onValueChange, linkTag: LinkTag, }: MenuProps) => import("react").JSX.Element;
14
16
  export {};
@@ -5,6 +5,7 @@ export type Tab = {
5
5
  label: string;
6
6
  content: ReactNode;
7
7
  disabled?: boolean;
8
+ icon?: ReactNode;
8
9
  };
9
10
  export type TabsProps = Omit<ComponentPropsWithoutRef<typeof TabsPrimitive.Root>, 'defaultValue' | 'onValueChange'> & {
10
11
  tabs: Tab[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@candy.thieves/ui-kit-lumos",
3
3
  "private": false,
4
- "version": "0.0.48",
4
+ "version": "0.0.49",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",