@arthurzakharov/ui-kit 3.2.0 → 3.3.0

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 +1 @@
1
- export { Sidebar, type SidebarInfoRow, type SidebarStep, type SidebarStepsProps, type SidebarInfoProps, type SidebarUserProps, type SidebarSubmitProps, type SidebarTimetableProps, } from './sidebar.component';
1
+ export { Sidebar } from './sidebar.component';
@@ -3,28 +3,28 @@ import { CertificationsProps } from '../certifications';
3
3
  import { UserPanelProps } from '../user-panel';
4
4
  import { State } from '../../controls/utils';
5
5
  import { Base } from '../../utils/types';
6
- export type SidebarStep = {
6
+ type SidebarStep = {
7
7
  state: State;
8
8
  text: string;
9
9
  };
10
- export type SidebarInfoRow = [string, string];
11
- export interface SidebarStepsProps extends Base {
10
+ type SidebarInfoRow = [string, string];
11
+ interface SidebarStepsProps extends Base {
12
12
  steps: SidebarStep[];
13
13
  }
14
- export interface SidebarInfoProps extends Base {
14
+ interface SidebarInfoProps extends Base {
15
15
  rows: SidebarInfoRow[];
16
16
  }
17
- export interface SidebarUserProps extends Base {
17
+ interface SidebarUserProps extends Base {
18
18
  isOpen: boolean;
19
19
  title: UserPanelProps['title'];
20
20
  data: UserPanelProps['data'];
21
21
  button?: UserPanelProps['button'];
22
22
  onClick?: UserPanelProps['onClick'];
23
23
  }
24
- export interface SidebarSubmitProps extends PropsWithChildren<Base> {
24
+ interface SidebarSubmitProps extends PropsWithChildren<Base> {
25
25
  isVisible: boolean;
26
26
  }
27
- export interface SidebarTimetableProps extends Base {
27
+ interface SidebarTimetableProps extends Base {
28
28
  title: string;
29
29
  lines: string[];
30
30
  }
@@ -38,3 +38,4 @@ export declare const Sidebar: (({ children, ...base }: PropsWithChildren<Base>)
38
38
  Timetable: ({ title, lines, ...base }: SidebarTimetableProps) => import("react/jsx-runtime").JSX.Element;
39
39
  Line: () => import("react/jsx-runtime").JSX.Element;
40
40
  };
41
+ export {};
package/dist/main.d.ts CHANGED
@@ -46,7 +46,7 @@ export { MessageBlock, type MessageBlockProps } from './components/message-block
46
46
  export { NotFound, type NotFoundProps } from './components/not-found';
47
47
  export { Payment, type PaymentBlockProps, type PaymentGlassProps, type PaymentInfoProps, type PaymentSidebarProps, type PaymentTextBlocksProps, type PaymentTextBlockItem, } from './components/payment/payment.component';
48
48
  export { PriceLine, type PriceLineProps } from './components/price-line';
49
- export { Sidebar, type SidebarStep, type SidebarInfoRow, type SidebarStepsProps, type SidebarInfoProps, type SidebarUserProps, type SidebarSubmitProps, type SidebarTimetableProps, } from './components/sidebar';
49
+ export { Sidebar } from './components/sidebar';
50
50
  export { SignCtaTracker, type SignCtaTrackerProps } from './components/sign-cta-tracker';
51
51
  export { Signature } from './components/signature';
52
52
  export { Svg, type SvgProps } from './utils/svg/svg.component';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "3.2.0",
4
+ "version": "3.3.0",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",