@agentiffai/design 0.1.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.
- package/CHANGELOG.md +35 -0
- package/LICENSE +21 -0
- package/README.md +187 -0
- package/assets/layout/main-pane-section.png +0 -0
- package/assets/layout/nav-complete.png +0 -0
- package/assets/layout/nav-horizontal-section.png +0 -0
- package/assets/layout/nav-vertical-section.png +0 -0
- package/assets/layout/pane-section-dropdowns.png +0 -0
- package/assets/layout/pane-section-header.png +0 -0
- package/dist/Window-B6e_UfLV.d.ts +429 -0
- package/dist/Window-CgGFIYHS.d.cts +429 -0
- package/dist/chunk-CNVJ5UF2.js +2069 -0
- package/dist/chunk-CNVJ5UF2.js.map +1 -0
- package/dist/chunk-CVHHTWDQ.cjs +72 -0
- package/dist/chunk-CVHHTWDQ.cjs.map +1 -0
- package/dist/chunk-H4VHCHCP.cjs +1268 -0
- package/dist/chunk-H4VHCHCP.cjs.map +1 -0
- package/dist/chunk-JQ6Q7MDQ.js +67 -0
- package/dist/chunk-JQ6Q7MDQ.js.map +1 -0
- package/dist/chunk-KNSPBTTJ.cjs +2158 -0
- package/dist/chunk-KNSPBTTJ.cjs.map +1 -0
- package/dist/chunk-MNXQDDWP.js +2143 -0
- package/dist/chunk-MNXQDDWP.js.map +1 -0
- package/dist/chunk-P4Q3MHIY.cjs +2093 -0
- package/dist/chunk-P4Q3MHIY.cjs.map +1 -0
- package/dist/chunk-PAOXD7DF.js +1253 -0
- package/dist/chunk-PAOXD7DF.js.map +1 -0
- package/dist/copilotkit/index.cjs +611 -0
- package/dist/copilotkit/index.cjs.map +1 -0
- package/dist/copilotkit/index.d.cts +162 -0
- package/dist/copilotkit/index.d.ts +162 -0
- package/dist/copilotkit/index.js +538 -0
- package/dist/copilotkit/index.js.map +1 -0
- package/dist/icons/index.cjs +48 -0
- package/dist/icons/index.cjs.map +1 -0
- package/dist/icons/index.d.cts +375 -0
- package/dist/icons/index.d.ts +375 -0
- package/dist/icons/index.js +3 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.cjs +536 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d-DYU1eVeb.d.cts +252 -0
- package/dist/index.d-DYU1eVeb.d.ts +252 -0
- package/dist/index.d.cts +185 -0
- package/dist/index.d.ts +185 -0
- package/dist/index.js +358 -0
- package/dist/index.js.map +1 -0
- package/dist/layout/index.cjs +48 -0
- package/dist/layout/index.cjs.map +1 -0
- package/dist/layout/index.d.cts +206 -0
- package/dist/layout/index.d.ts +206 -0
- package/dist/layout/index.js +3 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/theme/index.cjs +24 -0
- package/dist/theme/index.cjs.map +1 -0
- package/dist/theme/index.d.cts +95 -0
- package/dist/theme/index.d.ts +95 -0
- package/dist/theme/index.js +3 -0
- package/dist/theme/index.js.map +1 -0
- package/package.json +148 -0
- package/public/assets/bg-set/brand-logos/Google.svg +1 -0
- package/public/assets/bg-set/brand-logos/Google2.svg +1 -0
- package/public/assets/bg-set/brand-logos/Microsoft.svg +1 -0
- package/public/assets/bg-set/brand-logos/Microsoft2.svg +1 -0
- package/public/assets/bg-set/brand-logos/Slack.svg +1 -0
- package/public/assets/bg-set/brand-logos/Slack2.svg +1 -0
- package/public/assets/bg-set/brand-logos/YouTube.svg +1 -0
- package/public/assets/bg-set/brand-logos/YouTube2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=lg, Type=Waves Rays2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=md, Type=Waves Rays2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=sm, Type=Waves Rays2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=xl, Type=Waves Rays2.svg +1 -0
- package/public/assets/bg-set/pattern/Size=xs, Type=Waves Rays2.svg +1 -0
- package/public/assets/icon-set/Icon-add-circle-fill.svg +1 -0
- package/public/assets/icon-set/Icon-calendar-fill.svg +1 -0
- package/public/assets/icon-set/Icon-chat-1-fill.svg +1 -0
- package/public/assets/icon-set/Icon-download-2-fill.svg +1 -0
- package/public/assets/icon-set/Icon-home-fill.svg +1 -0
- package/public/assets/icon-set/Icon-mic-fill.svg +1 -0
- package/public/assets/icon-set/Icon-settings-3-fill.svg +1 -0
- package/public/assets/icon-set/Icon-settings-fill.svg +1 -0
- package/public/assets/icon-set/Icon-settings-line.svg +1 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ImgHTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
import { A as AriaButtonProps } from '../index.d-DYU1eVeb.cjs';
|
|
4
|
+
|
|
5
|
+
declare const IconNames: {
|
|
6
|
+
readonly MIC: "mic-fill";
|
|
7
|
+
readonly MIC_OFF: "mic-off-fill";
|
|
8
|
+
readonly HEADPHONE: "headphone-fill";
|
|
9
|
+
readonly VOLUME_MUTE: "volume-mute-fill";
|
|
10
|
+
readonly SETTINGS: "settings-3-fill";
|
|
11
|
+
readonly SETTINGS_FILL: "settings-fill";
|
|
12
|
+
readonly SETTINGS_LINE: "settings-line";
|
|
13
|
+
readonly HOME: "home-fill";
|
|
14
|
+
readonly ADD_CIRCLE: "add-circle-fill";
|
|
15
|
+
readonly COMPASS_DISCOVER: "compass-discover-fill";
|
|
16
|
+
readonly DOWNLOAD: "download-2-fill";
|
|
17
|
+
readonly ARROW_LEFT: "arrow-left-fill";
|
|
18
|
+
readonly CALENDAR: "calendar-fill";
|
|
19
|
+
readonly CHAT: "chat-1-fill";
|
|
20
|
+
};
|
|
21
|
+
type IconName = (typeof IconNames)[keyof typeof IconNames];
|
|
22
|
+
|
|
23
|
+
interface IconProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> {
|
|
24
|
+
name: IconName;
|
|
25
|
+
size?: number;
|
|
26
|
+
color?: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
declare function Icon({ name, size, color, className, ...imgProps }: IconProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
declare namespace Icon {
|
|
31
|
+
var displayName: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface LayoutProps {
|
|
35
|
+
mainPaneSlot: ReactNode;
|
|
36
|
+
navVerticalSlot?: ReactNode;
|
|
37
|
+
navHorizontalUserSlot?: ReactNode;
|
|
38
|
+
navHorizontalActionsSlot?: ReactNode;
|
|
39
|
+
onNavBackClick?: () => void;
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
declare function Layout({ mainPaneSlot, navVerticalSlot, navHorizontalUserSlot, navHorizontalActionsSlot, onNavBackClick, className, }: LayoutProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
declare namespace Layout {
|
|
44
|
+
var displayName: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface NavHorizontalProps {
|
|
48
|
+
userStatusSlot?: ReactNode;
|
|
49
|
+
actionsSlot?: ReactNode;
|
|
50
|
+
className?: string;
|
|
51
|
+
'aria-label'?: string;
|
|
52
|
+
}
|
|
53
|
+
declare function NavHorizontal({ userStatusSlot, actionsSlot, className, 'aria-label': ariaLabel, }: NavHorizontalProps): react_jsx_runtime.JSX.Element;
|
|
54
|
+
declare namespace NavHorizontal {
|
|
55
|
+
var displayName: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface ActionButtonsProps {
|
|
59
|
+
onCalendarClick?: () => void;
|
|
60
|
+
onSettingsClick?: () => void;
|
|
61
|
+
onChatClick?: () => void;
|
|
62
|
+
isCalendarActive?: boolean;
|
|
63
|
+
isSettingsActive?: boolean;
|
|
64
|
+
isChatActive?: boolean;
|
|
65
|
+
className?: string;
|
|
66
|
+
}
|
|
67
|
+
declare function ActionButtons({ onCalendarClick, onSettingsClick, onChatClick: _onChatClick, isCalendarActive, isSettingsActive, isChatActive: _isChatActive, className, }: ActionButtonsProps): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare namespace ActionButtons {
|
|
69
|
+
var displayName: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface WorkflowStatusCardProps extends Omit<AriaButtonProps, 'children'> {
|
|
73
|
+
icon: ReactNode;
|
|
74
|
+
workflowName: string;
|
|
75
|
+
status?: 'online' | 'idle' | 'busy' | 'offline';
|
|
76
|
+
statusText?: string;
|
|
77
|
+
className?: string;
|
|
78
|
+
onClick?: () => void;
|
|
79
|
+
}
|
|
80
|
+
declare function WorkflowStatusCard({ icon, workflowName, status, statusText, className, onClick, onPress, isDisabled, ...ariaProps }: WorkflowStatusCardProps): react_jsx_runtime.JSX.Element;
|
|
81
|
+
declare namespace WorkflowStatusCard {
|
|
82
|
+
var displayName: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface NavVerticalProps {
|
|
86
|
+
onBackClick?: () => void;
|
|
87
|
+
onHomeClick?: () => void;
|
|
88
|
+
folderGroupsSlot?: ReactNode;
|
|
89
|
+
className?: string;
|
|
90
|
+
'aria-label'?: string;
|
|
91
|
+
}
|
|
92
|
+
declare function NavVertical({ onBackClick, onHomeClick, folderGroupsSlot, className, 'aria-label': ariaLabel, }: NavVerticalProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
declare namespace NavVertical {
|
|
94
|
+
var displayName: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
interface ActionLog {
|
|
98
|
+
id: string;
|
|
99
|
+
text: string;
|
|
100
|
+
timestamp: string;
|
|
101
|
+
icon?: React.ReactNode;
|
|
102
|
+
iconColor?: string;
|
|
103
|
+
}
|
|
104
|
+
interface RunItem {
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
status: 'completed' | 'running' | 'failed';
|
|
108
|
+
details: string;
|
|
109
|
+
category: 'scheduled' | 'completed' | 'issues';
|
|
110
|
+
icon?: 'bell' | 'file' | 'link' | 'chat' | 'warning';
|
|
111
|
+
logs?: ActionLog[];
|
|
112
|
+
}
|
|
113
|
+
interface PaneMenusProps {
|
|
114
|
+
activeTab?: 'runs' | 'usage' | 'connections';
|
|
115
|
+
onTabChange?: (tab: 'runs' | 'usage' | 'connections') => void;
|
|
116
|
+
runs?: RunItem[];
|
|
117
|
+
currentUsage?: number;
|
|
118
|
+
maxUsage?: number;
|
|
119
|
+
isGoogleConnected?: boolean;
|
|
120
|
+
onGoogleConnect?: () => void;
|
|
121
|
+
onGoogleDisconnect?: () => void;
|
|
122
|
+
onBrowseAutomations?: () => void;
|
|
123
|
+
}
|
|
124
|
+
declare function PaneMenus({ activeTab, onTabChange, runs, currentUsage, maxUsage, isGoogleConnected, onGoogleConnect, onGoogleDisconnect, onBrowseAutomations, }: PaneMenusProps): react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
type BrandType = 'Google' | 'Microsoft' | 'Slack' | 'YouTube';
|
|
127
|
+
interface PaneSectionHeaderProps {
|
|
128
|
+
/**
|
|
129
|
+
* Brand logo to display in the center of the header
|
|
130
|
+
* @default 'Google'
|
|
131
|
+
*/
|
|
132
|
+
brand?: BrandType;
|
|
133
|
+
/**
|
|
134
|
+
* Callback fired when back button is clicked
|
|
135
|
+
*/
|
|
136
|
+
onBackClick?: () => void;
|
|
137
|
+
/**
|
|
138
|
+
* Callback fired when settings button is clicked
|
|
139
|
+
*/
|
|
140
|
+
onSettingsClick?: () => void;
|
|
141
|
+
/**
|
|
142
|
+
* Additional CSS class name
|
|
143
|
+
*/
|
|
144
|
+
className?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Accessible label for the header
|
|
147
|
+
*/
|
|
148
|
+
'aria-label'?: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* PaneSectionHeader component
|
|
152
|
+
*
|
|
153
|
+
* A fixed-height header positioned at the top of the main pane section.
|
|
154
|
+
* Features a centered brand logo and a settings button in the top-right corner.
|
|
155
|
+
* Background includes responsive Rays2 pattern from the design system.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```tsx
|
|
159
|
+
* <PaneSectionHeader
|
|
160
|
+
* brand="Google"
|
|
161
|
+
* onSettingsClick={() => console.log('Settings clicked')}
|
|
162
|
+
* />
|
|
163
|
+
* ```
|
|
164
|
+
*/
|
|
165
|
+
declare function PaneSectionHeader({ brand, onBackClick, onSettingsClick, className, 'aria-label': ariaLabel, }: PaneSectionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
166
|
+
declare namespace PaneSectionHeader {
|
|
167
|
+
var displayName: string;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
type ServiceBrand = 'Facebook' | 'Gmail' | 'Instagram' | 'LinkedIn' | 'Reddit' | 'Slack' | 'Telegram' | 'WhatsApp' | 'X' | 'YouTube';
|
|
171
|
+
interface ServiceIconProps extends AriaButtonProps {
|
|
172
|
+
/**
|
|
173
|
+
* Brand logo to display
|
|
174
|
+
*/
|
|
175
|
+
brand: ServiceBrand;
|
|
176
|
+
/**
|
|
177
|
+
* Whether the service icon is active/selected
|
|
178
|
+
*/
|
|
179
|
+
active?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Additional CSS class name
|
|
182
|
+
*/
|
|
183
|
+
className?: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* ServiceIcon component
|
|
187
|
+
*
|
|
188
|
+
* Displays a circular brand logo icon that can be used as a service selector.
|
|
189
|
+
* Uses colored brand logos from assets/icons/Brand and supports active/hover states.
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* ```tsx
|
|
193
|
+
* <ServiceIcon
|
|
194
|
+
* brand="Gmail"
|
|
195
|
+
* active={true}
|
|
196
|
+
* onPress={() => console.log('Gmail clicked')}
|
|
197
|
+
* aria-label="Gmail service"
|
|
198
|
+
* />
|
|
199
|
+
* ```
|
|
200
|
+
*/
|
|
201
|
+
declare function ServiceIcon({ brand, active, className, ...ariaProps }: ServiceIconProps): react_jsx_runtime.JSX.Element;
|
|
202
|
+
declare namespace ServiceIcon {
|
|
203
|
+
var displayName: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export { ActionButtons, type ActionButtonsProps, type BrandType, Icon, type IconName, IconNames, type IconProps, Layout, type LayoutProps, NavHorizontal, type NavHorizontalProps, NavVertical, type NavVerticalProps, PaneMenus, type PaneMenusProps, PaneSectionHeader, type PaneSectionHeaderProps, type ServiceBrand, ServiceIcon, type ServiceIconProps, WorkflowStatusCard, type WorkflowStatusCardProps };
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ImgHTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
import { A as AriaButtonProps } from '../index.d-DYU1eVeb.js';
|
|
4
|
+
|
|
5
|
+
declare const IconNames: {
|
|
6
|
+
readonly MIC: "mic-fill";
|
|
7
|
+
readonly MIC_OFF: "mic-off-fill";
|
|
8
|
+
readonly HEADPHONE: "headphone-fill";
|
|
9
|
+
readonly VOLUME_MUTE: "volume-mute-fill";
|
|
10
|
+
readonly SETTINGS: "settings-3-fill";
|
|
11
|
+
readonly SETTINGS_FILL: "settings-fill";
|
|
12
|
+
readonly SETTINGS_LINE: "settings-line";
|
|
13
|
+
readonly HOME: "home-fill";
|
|
14
|
+
readonly ADD_CIRCLE: "add-circle-fill";
|
|
15
|
+
readonly COMPASS_DISCOVER: "compass-discover-fill";
|
|
16
|
+
readonly DOWNLOAD: "download-2-fill";
|
|
17
|
+
readonly ARROW_LEFT: "arrow-left-fill";
|
|
18
|
+
readonly CALENDAR: "calendar-fill";
|
|
19
|
+
readonly CHAT: "chat-1-fill";
|
|
20
|
+
};
|
|
21
|
+
type IconName = (typeof IconNames)[keyof typeof IconNames];
|
|
22
|
+
|
|
23
|
+
interface IconProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> {
|
|
24
|
+
name: IconName;
|
|
25
|
+
size?: number;
|
|
26
|
+
color?: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
declare function Icon({ name, size, color, className, ...imgProps }: IconProps): react_jsx_runtime.JSX.Element;
|
|
30
|
+
declare namespace Icon {
|
|
31
|
+
var displayName: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface LayoutProps {
|
|
35
|
+
mainPaneSlot: ReactNode;
|
|
36
|
+
navVerticalSlot?: ReactNode;
|
|
37
|
+
navHorizontalUserSlot?: ReactNode;
|
|
38
|
+
navHorizontalActionsSlot?: ReactNode;
|
|
39
|
+
onNavBackClick?: () => void;
|
|
40
|
+
className?: string;
|
|
41
|
+
}
|
|
42
|
+
declare function Layout({ mainPaneSlot, navVerticalSlot, navHorizontalUserSlot, navHorizontalActionsSlot, onNavBackClick, className, }: LayoutProps): react_jsx_runtime.JSX.Element;
|
|
43
|
+
declare namespace Layout {
|
|
44
|
+
var displayName: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface NavHorizontalProps {
|
|
48
|
+
userStatusSlot?: ReactNode;
|
|
49
|
+
actionsSlot?: ReactNode;
|
|
50
|
+
className?: string;
|
|
51
|
+
'aria-label'?: string;
|
|
52
|
+
}
|
|
53
|
+
declare function NavHorizontal({ userStatusSlot, actionsSlot, className, 'aria-label': ariaLabel, }: NavHorizontalProps): react_jsx_runtime.JSX.Element;
|
|
54
|
+
declare namespace NavHorizontal {
|
|
55
|
+
var displayName: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface ActionButtonsProps {
|
|
59
|
+
onCalendarClick?: () => void;
|
|
60
|
+
onSettingsClick?: () => void;
|
|
61
|
+
onChatClick?: () => void;
|
|
62
|
+
isCalendarActive?: boolean;
|
|
63
|
+
isSettingsActive?: boolean;
|
|
64
|
+
isChatActive?: boolean;
|
|
65
|
+
className?: string;
|
|
66
|
+
}
|
|
67
|
+
declare function ActionButtons({ onCalendarClick, onSettingsClick, onChatClick: _onChatClick, isCalendarActive, isSettingsActive, isChatActive: _isChatActive, className, }: ActionButtonsProps): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare namespace ActionButtons {
|
|
69
|
+
var displayName: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface WorkflowStatusCardProps extends Omit<AriaButtonProps, 'children'> {
|
|
73
|
+
icon: ReactNode;
|
|
74
|
+
workflowName: string;
|
|
75
|
+
status?: 'online' | 'idle' | 'busy' | 'offline';
|
|
76
|
+
statusText?: string;
|
|
77
|
+
className?: string;
|
|
78
|
+
onClick?: () => void;
|
|
79
|
+
}
|
|
80
|
+
declare function WorkflowStatusCard({ icon, workflowName, status, statusText, className, onClick, onPress, isDisabled, ...ariaProps }: WorkflowStatusCardProps): react_jsx_runtime.JSX.Element;
|
|
81
|
+
declare namespace WorkflowStatusCard {
|
|
82
|
+
var displayName: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface NavVerticalProps {
|
|
86
|
+
onBackClick?: () => void;
|
|
87
|
+
onHomeClick?: () => void;
|
|
88
|
+
folderGroupsSlot?: ReactNode;
|
|
89
|
+
className?: string;
|
|
90
|
+
'aria-label'?: string;
|
|
91
|
+
}
|
|
92
|
+
declare function NavVertical({ onBackClick, onHomeClick, folderGroupsSlot, className, 'aria-label': ariaLabel, }: NavVerticalProps): react_jsx_runtime.JSX.Element;
|
|
93
|
+
declare namespace NavVertical {
|
|
94
|
+
var displayName: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
interface ActionLog {
|
|
98
|
+
id: string;
|
|
99
|
+
text: string;
|
|
100
|
+
timestamp: string;
|
|
101
|
+
icon?: React.ReactNode;
|
|
102
|
+
iconColor?: string;
|
|
103
|
+
}
|
|
104
|
+
interface RunItem {
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
status: 'completed' | 'running' | 'failed';
|
|
108
|
+
details: string;
|
|
109
|
+
category: 'scheduled' | 'completed' | 'issues';
|
|
110
|
+
icon?: 'bell' | 'file' | 'link' | 'chat' | 'warning';
|
|
111
|
+
logs?: ActionLog[];
|
|
112
|
+
}
|
|
113
|
+
interface PaneMenusProps {
|
|
114
|
+
activeTab?: 'runs' | 'usage' | 'connections';
|
|
115
|
+
onTabChange?: (tab: 'runs' | 'usage' | 'connections') => void;
|
|
116
|
+
runs?: RunItem[];
|
|
117
|
+
currentUsage?: number;
|
|
118
|
+
maxUsage?: number;
|
|
119
|
+
isGoogleConnected?: boolean;
|
|
120
|
+
onGoogleConnect?: () => void;
|
|
121
|
+
onGoogleDisconnect?: () => void;
|
|
122
|
+
onBrowseAutomations?: () => void;
|
|
123
|
+
}
|
|
124
|
+
declare function PaneMenus({ activeTab, onTabChange, runs, currentUsage, maxUsage, isGoogleConnected, onGoogleConnect, onGoogleDisconnect, onBrowseAutomations, }: PaneMenusProps): react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
type BrandType = 'Google' | 'Microsoft' | 'Slack' | 'YouTube';
|
|
127
|
+
interface PaneSectionHeaderProps {
|
|
128
|
+
/**
|
|
129
|
+
* Brand logo to display in the center of the header
|
|
130
|
+
* @default 'Google'
|
|
131
|
+
*/
|
|
132
|
+
brand?: BrandType;
|
|
133
|
+
/**
|
|
134
|
+
* Callback fired when back button is clicked
|
|
135
|
+
*/
|
|
136
|
+
onBackClick?: () => void;
|
|
137
|
+
/**
|
|
138
|
+
* Callback fired when settings button is clicked
|
|
139
|
+
*/
|
|
140
|
+
onSettingsClick?: () => void;
|
|
141
|
+
/**
|
|
142
|
+
* Additional CSS class name
|
|
143
|
+
*/
|
|
144
|
+
className?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Accessible label for the header
|
|
147
|
+
*/
|
|
148
|
+
'aria-label'?: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* PaneSectionHeader component
|
|
152
|
+
*
|
|
153
|
+
* A fixed-height header positioned at the top of the main pane section.
|
|
154
|
+
* Features a centered brand logo and a settings button in the top-right corner.
|
|
155
|
+
* Background includes responsive Rays2 pattern from the design system.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```tsx
|
|
159
|
+
* <PaneSectionHeader
|
|
160
|
+
* brand="Google"
|
|
161
|
+
* onSettingsClick={() => console.log('Settings clicked')}
|
|
162
|
+
* />
|
|
163
|
+
* ```
|
|
164
|
+
*/
|
|
165
|
+
declare function PaneSectionHeader({ brand, onBackClick, onSettingsClick, className, 'aria-label': ariaLabel, }: PaneSectionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
166
|
+
declare namespace PaneSectionHeader {
|
|
167
|
+
var displayName: string;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
type ServiceBrand = 'Facebook' | 'Gmail' | 'Instagram' | 'LinkedIn' | 'Reddit' | 'Slack' | 'Telegram' | 'WhatsApp' | 'X' | 'YouTube';
|
|
171
|
+
interface ServiceIconProps extends AriaButtonProps {
|
|
172
|
+
/**
|
|
173
|
+
* Brand logo to display
|
|
174
|
+
*/
|
|
175
|
+
brand: ServiceBrand;
|
|
176
|
+
/**
|
|
177
|
+
* Whether the service icon is active/selected
|
|
178
|
+
*/
|
|
179
|
+
active?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Additional CSS class name
|
|
182
|
+
*/
|
|
183
|
+
className?: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* ServiceIcon component
|
|
187
|
+
*
|
|
188
|
+
* Displays a circular brand logo icon that can be used as a service selector.
|
|
189
|
+
* Uses colored brand logos from assets/icons/Brand and supports active/hover states.
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* ```tsx
|
|
193
|
+
* <ServiceIcon
|
|
194
|
+
* brand="Gmail"
|
|
195
|
+
* active={true}
|
|
196
|
+
* onPress={() => console.log('Gmail clicked')}
|
|
197
|
+
* aria-label="Gmail service"
|
|
198
|
+
* />
|
|
199
|
+
* ```
|
|
200
|
+
*/
|
|
201
|
+
declare function ServiceIcon({ brand, active, className, ...ariaProps }: ServiceIconProps): react_jsx_runtime.JSX.Element;
|
|
202
|
+
declare namespace ServiceIcon {
|
|
203
|
+
var displayName: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export { ActionButtons, type ActionButtonsProps, type BrandType, Icon, type IconName, IconNames, type IconProps, Layout, type LayoutProps, NavHorizontal, type NavHorizontalProps, NavVertical, type NavVerticalProps, PaneMenus, type PaneMenusProps, PaneSectionHeader, type PaneSectionHeaderProps, type ServiceBrand, ServiceIcon, type ServiceIconProps, WorkflowStatusCard, type WorkflowStatusCardProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCVHHTWDQ_cjs = require('../chunk-CVHHTWDQ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GlobalStyle", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkCVHHTWDQ_cjs.GlobalStyle; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "darkTheme", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkCVHHTWDQ_cjs.darkTheme; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "lightTheme", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkCVHHTWDQ_cjs.lightTheme; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "tokens", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkCVHHTWDQ_cjs.tokens; }
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.cjs.map
|
|
24
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as styled_components from 'styled-components';
|
|
3
|
+
|
|
4
|
+
declare const darkTheme: {
|
|
5
|
+
name: string;
|
|
6
|
+
colors: {
|
|
7
|
+
primary: string;
|
|
8
|
+
surface: string;
|
|
9
|
+
text: string;
|
|
10
|
+
border: string;
|
|
11
|
+
};
|
|
12
|
+
spacing: {
|
|
13
|
+
xs: string;
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
xl: string;
|
|
18
|
+
};
|
|
19
|
+
radii: {
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
};
|
|
24
|
+
fonts: {
|
|
25
|
+
body: string;
|
|
26
|
+
mono: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
declare const GlobalStyle: React.NamedExoticComponent<styled_components.ExecutionProps & object>;
|
|
31
|
+
|
|
32
|
+
declare const lightTheme: {
|
|
33
|
+
name: string;
|
|
34
|
+
colors: {
|
|
35
|
+
primary: string;
|
|
36
|
+
surface: string;
|
|
37
|
+
text: string;
|
|
38
|
+
border: string;
|
|
39
|
+
};
|
|
40
|
+
spacing: {
|
|
41
|
+
xs: string;
|
|
42
|
+
sm: string;
|
|
43
|
+
md: string;
|
|
44
|
+
lg: string;
|
|
45
|
+
xl: string;
|
|
46
|
+
};
|
|
47
|
+
radii: {
|
|
48
|
+
sm: string;
|
|
49
|
+
md: string;
|
|
50
|
+
lg: string;
|
|
51
|
+
};
|
|
52
|
+
fonts: {
|
|
53
|
+
body: string;
|
|
54
|
+
mono: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
declare const tokens: {
|
|
59
|
+
colors: {
|
|
60
|
+
primary: {
|
|
61
|
+
light: string;
|
|
62
|
+
dark: string;
|
|
63
|
+
};
|
|
64
|
+
surface: {
|
|
65
|
+
light: string;
|
|
66
|
+
dark: string;
|
|
67
|
+
};
|
|
68
|
+
text: {
|
|
69
|
+
light: string;
|
|
70
|
+
dark: string;
|
|
71
|
+
};
|
|
72
|
+
border: {
|
|
73
|
+
light: string;
|
|
74
|
+
dark: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
spacing: {
|
|
78
|
+
xs: string;
|
|
79
|
+
sm: string;
|
|
80
|
+
md: string;
|
|
81
|
+
lg: string;
|
|
82
|
+
xl: string;
|
|
83
|
+
};
|
|
84
|
+
radii: {
|
|
85
|
+
sm: string;
|
|
86
|
+
md: string;
|
|
87
|
+
lg: string;
|
|
88
|
+
};
|
|
89
|
+
fonts: {
|
|
90
|
+
body: string;
|
|
91
|
+
mono: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export { GlobalStyle, darkTheme, lightTheme, tokens };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as styled_components from 'styled-components';
|
|
3
|
+
|
|
4
|
+
declare const darkTheme: {
|
|
5
|
+
name: string;
|
|
6
|
+
colors: {
|
|
7
|
+
primary: string;
|
|
8
|
+
surface: string;
|
|
9
|
+
text: string;
|
|
10
|
+
border: string;
|
|
11
|
+
};
|
|
12
|
+
spacing: {
|
|
13
|
+
xs: string;
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
xl: string;
|
|
18
|
+
};
|
|
19
|
+
radii: {
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
};
|
|
24
|
+
fonts: {
|
|
25
|
+
body: string;
|
|
26
|
+
mono: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
declare const GlobalStyle: React.NamedExoticComponent<styled_components.ExecutionProps & object>;
|
|
31
|
+
|
|
32
|
+
declare const lightTheme: {
|
|
33
|
+
name: string;
|
|
34
|
+
colors: {
|
|
35
|
+
primary: string;
|
|
36
|
+
surface: string;
|
|
37
|
+
text: string;
|
|
38
|
+
border: string;
|
|
39
|
+
};
|
|
40
|
+
spacing: {
|
|
41
|
+
xs: string;
|
|
42
|
+
sm: string;
|
|
43
|
+
md: string;
|
|
44
|
+
lg: string;
|
|
45
|
+
xl: string;
|
|
46
|
+
};
|
|
47
|
+
radii: {
|
|
48
|
+
sm: string;
|
|
49
|
+
md: string;
|
|
50
|
+
lg: string;
|
|
51
|
+
};
|
|
52
|
+
fonts: {
|
|
53
|
+
body: string;
|
|
54
|
+
mono: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
declare const tokens: {
|
|
59
|
+
colors: {
|
|
60
|
+
primary: {
|
|
61
|
+
light: string;
|
|
62
|
+
dark: string;
|
|
63
|
+
};
|
|
64
|
+
surface: {
|
|
65
|
+
light: string;
|
|
66
|
+
dark: string;
|
|
67
|
+
};
|
|
68
|
+
text: {
|
|
69
|
+
light: string;
|
|
70
|
+
dark: string;
|
|
71
|
+
};
|
|
72
|
+
border: {
|
|
73
|
+
light: string;
|
|
74
|
+
dark: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
spacing: {
|
|
78
|
+
xs: string;
|
|
79
|
+
sm: string;
|
|
80
|
+
md: string;
|
|
81
|
+
lg: string;
|
|
82
|
+
xl: string;
|
|
83
|
+
};
|
|
84
|
+
radii: {
|
|
85
|
+
sm: string;
|
|
86
|
+
md: string;
|
|
87
|
+
lg: string;
|
|
88
|
+
};
|
|
89
|
+
fonts: {
|
|
90
|
+
body: string;
|
|
91
|
+
mono: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export { GlobalStyle, darkTheme, lightTheme, tokens };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|