@orbit_ui_toolkit/orbitui-kit 0.1.22 → 0.1.24
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.
- package/dist/components/AppLayout/AppLayout.d.ts +5 -0
- package/dist/components/AppLayout/AppLayout.stories.d.ts +4 -1
- package/dist/components/Badge/Badge.d.ts +1 -0
- package/dist/components/Badge/Badge.stories.d.ts +1 -0
- package/dist/components/MovieTicket/MovieTicket.d.ts +23 -0
- package/dist/components/MovieTicket/MovieTicket.stories.d.ts +8 -0
- package/dist/index.d.ts +2 -0
- package/dist/orbitui.cjs.js +46 -38
- package/dist/orbitui.es.js +761 -479
- package/package.json +1 -1
|
@@ -5,6 +5,11 @@ export interface AppLayoutProps {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
footer?: React.ReactNode;
|
|
7
7
|
sidebarWidth?: string;
|
|
8
|
+
collapsedWidth?: string;
|
|
9
|
+
isCollapsible?: boolean;
|
|
10
|
+
isCollapsed?: boolean;
|
|
11
|
+
onCollapse?: (collapsed: boolean) => void;
|
|
12
|
+
layoutVariant?: 'sidebar-first' | 'header-first';
|
|
8
13
|
className?: string;
|
|
9
14
|
}
|
|
10
15
|
export declare const AppLayout: React.FC<AppLayoutProps>;
|
|
@@ -5,4 +5,7 @@ export default meta;
|
|
|
5
5
|
type Story = StoryObj<typeof AppLayout>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const WithFooter: Story;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const CollapsibleSidebar: Story;
|
|
9
|
+
export declare const HeaderFirst: Story;
|
|
10
|
+
export declare const HeaderFirstCollapsible: Story;
|
|
11
|
+
export declare const CustomWidths: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface MovieTicketProps {
|
|
3
|
+
movieTitle: string;
|
|
4
|
+
posterUrl: string;
|
|
5
|
+
language: string;
|
|
6
|
+
format: string;
|
|
7
|
+
location: string;
|
|
8
|
+
date: string;
|
|
9
|
+
time: string;
|
|
10
|
+
screen: string;
|
|
11
|
+
seats: string;
|
|
12
|
+
rating?: string;
|
|
13
|
+
duration?: string;
|
|
14
|
+
bookingId?: string;
|
|
15
|
+
transactionId?: string;
|
|
16
|
+
price?: string;
|
|
17
|
+
bookingDate?: string;
|
|
18
|
+
qrCodeUrl?: string;
|
|
19
|
+
isFavorite?: boolean;
|
|
20
|
+
onFavoriteToggle?: () => void;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const MovieTicket: React.FC<MovieTicketProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { MovieTicket } from './MovieTicket';
|
|
3
|
+
declare const meta: Meta<typeof MovieTicket>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof MovieTicket>;
|
|
6
|
+
export declare const Detailed: Story;
|
|
7
|
+
export declare const SciFiPremium: Story;
|
|
8
|
+
export declare const WithQRCode: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,3 +18,5 @@ export * from './components/Chat';
|
|
|
18
18
|
export * from './components/Stack';
|
|
19
19
|
export * from './components/Dialog/BaseDialog';
|
|
20
20
|
export * from './components/DataTable/DataTable';
|
|
21
|
+
export * from './components/MovieTicket/MovieTicket';
|
|
22
|
+
export * from './components/Badge/Badge';
|