@meduza/ui-kit-2 0.4.5 → 0.4.7

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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface DocumentItemsCountProps {
2
3
  type: 'podcast' | 'card';
3
4
  lang?: 'ru' | 'en';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface DropdownProps {
2
3
  children: JSX.Element[] | JSX.Element;
3
4
  active?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface LazyProps {
2
3
  children: JSX.Element[] | JSX.Element;
3
4
  threshold?: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface ListBlockProps {
2
3
  block: {
3
4
  type: keyof JSX.IntrinsicElements;
@@ -0,0 +1,12 @@
1
+ export declare const MetaMock: {
2
+ type: string;
3
+ data: {
4
+ lang: string;
5
+ components: {
6
+ type: string;
7
+ text: string;
8
+ id: string;
9
+ }[];
10
+ };
11
+ id: string;
12
+ };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface RichTitleProps {
2
3
  block: {
3
4
  only_on?: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export type TagSizes = 'small' | 'large';
3
- export type TagThemes = 'dark' | 'gold' | 'gray' | 'light' | 'inherit';
3
+ export type TagThemes = 'dark' | 'gold' | 'gray' | 'light' | 'custom' | 'inherit';
4
4
  export type TagStyleContexts = 'isInToolbar' | 'isInSpoiler' | 'isInDropdown';
5
5
  export interface TagProps {
6
6
  children: React.ReactNode | JSX.Element[] | JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface ToolbarProps {
2
3
  styleContext?: string | string[];
3
4
  children: JSX.Element[] | JSX.Element;
package/dist/index.d.ts CHANGED
@@ -40,6 +40,5 @@ export * from './Footnote';
40
40
  export * from './RelatedRichBlock';
41
41
  export * from './SensitiveBlock';
42
42
  export * from './DonatesTeaser';
43
- export * from './ShopRelatedBlock';
44
43
  export * from './AnnouncementInText';
45
44
  export * from './Tooltip';