@uipath/apollo-wind 0.9.1 → 0.10.0-pr219.61d64eb
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/custom/canvas.cjs +44 -0
- package/dist/components/custom/canvas.d.ts +14 -0
- package/dist/components/custom/canvas.js +10 -0
- package/dist/components/custom/chat-composer.cjs +105 -0
- package/dist/components/custom/chat-composer.d.ts +15 -0
- package/dist/components/custom/chat-composer.js +71 -0
- package/dist/components/custom/chat-first-experience.cjs +87 -0
- package/dist/components/custom/chat-first-experience.d.ts +24 -0
- package/dist/components/custom/chat-first-experience.js +53 -0
- package/dist/components/custom/chat-prompt-suggestions.cjs +48 -0
- package/dist/components/custom/chat-prompt-suggestions.d.ts +18 -0
- package/dist/components/custom/chat-prompt-suggestions.js +14 -0
- package/dist/components/custom/chat-steps-view.cjs +307 -0
- package/dist/components/custom/chat-steps-view.d.ts +38 -0
- package/dist/components/custom/chat-steps-view.js +273 -0
- package/dist/components/custom/flow-node.cjs +76 -0
- package/dist/components/custom/flow-node.d.ts +20 -0
- package/dist/components/custom/flow-node.js +42 -0
- package/dist/components/custom/flow-properties-bar.cjs +101 -0
- package/dist/components/custom/flow-properties-bar.d.ts +21 -0
- package/dist/components/custom/flow-properties-bar.js +67 -0
- package/dist/components/custom/flow-properties-expanded.cjs +324 -0
- package/dist/components/custom/flow-properties-expanded.d.ts +19 -0
- package/dist/components/custom/flow-properties-expanded.js +290 -0
- package/dist/components/custom/flow-properties-simple.cjs +357 -0
- package/dist/components/custom/flow-properties-simple.d.ts +62 -0
- package/dist/components/custom/flow-properties-simple.js +323 -0
- package/dist/components/custom/flow-properties.cjs +56 -0
- package/dist/components/custom/flow-properties.d.ts +28 -0
- package/dist/components/custom/flow-properties.js +22 -0
- package/dist/components/custom/global-header.cjs +415 -0
- package/dist/components/custom/global-header.d.ts +38 -0
- package/dist/components/custom/global-header.js +381 -0
- package/dist/components/custom/grid-maestro.cjs +62 -0
- package/dist/components/custom/grid-maestro.d.ts +19 -0
- package/dist/components/custom/grid-maestro.js +22 -0
- package/dist/components/custom/panel-delegate.cjs +280 -0
- package/dist/components/custom/panel-delegate.d.ts +34 -0
- package/dist/components/custom/panel-delegate.js +246 -0
- package/dist/components/custom/panel-flow.cjs +260 -0
- package/dist/components/custom/panel-flow.d.ts +38 -0
- package/dist/components/custom/panel-flow.js +223 -0
- package/dist/components/custom/panel-maestro.cjs +73 -0
- package/dist/components/custom/panel-maestro.d.ts +30 -0
- package/dist/components/custom/panel-maestro.js +39 -0
- package/dist/components/custom/toolbar-canvas.cjs +121 -0
- package/dist/components/custom/toolbar-canvas.d.ts +15 -0
- package/dist/components/custom/toolbar-canvas.js +87 -0
- package/dist/components/custom/toolbar-view.cjs +119 -0
- package/dist/components/custom/toolbar-view.d.ts +14 -0
- package/dist/components/custom/toolbar-view.js +85 -0
- package/dist/components/custom/viewport-guard.cjs +92 -0
- package/dist/components/custom/viewport-guard.d.ts +23 -0
- package/dist/components/custom/viewport-guard.js +55 -0
- package/dist/components/ui/button.cjs +3 -3
- package/dist/components/ui/button.js +3 -3
- package/dist/components/ui/chart.cjs +218 -0
- package/dist/components/ui/chart.d.ts +40 -0
- package/dist/components/ui/chart.js +169 -0
- package/dist/components/ui/data-table.cjs +14 -2
- package/dist/components/ui/data-table.d.ts +4 -1
- package/dist/components/ui/data-table.js +15 -3
- package/dist/components/ui/empty-state.cjs +17 -6
- package/dist/components/ui/empty-state.d.ts +7 -0
- package/dist/components/ui/empty-state.js +17 -6
- package/dist/components/ui/file-upload.cjs +82 -42
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.js +82 -42
- package/dist/components/ui/index.cjs +289 -149
- package/dist/components/ui/index.d.ts +2 -3
- package/dist/components/ui/index.js +2 -3
- package/dist/components/ui/tree-view.cjs +1101 -0
- package/dist/components/ui/tree-view.d.ts +95 -0
- package/dist/components/ui/tree-view.js +1067 -0
- package/dist/foundation/Future/colors.cjs +92 -0
- package/dist/foundation/Future/colors.d.ts +132 -0
- package/dist/foundation/Future/colors.js +43 -0
- package/dist/foundation/Future/radius.cjs +46 -0
- package/dist/foundation/Future/radius.d.ts +33 -0
- package/dist/foundation/Future/radius.js +12 -0
- package/dist/foundation/Future/responsive.cjs +49 -0
- package/dist/foundation/Future/responsive.d.ts +40 -0
- package/dist/foundation/Future/responsive.js +12 -0
- package/dist/foundation/Future/shadows.cjs +48 -0
- package/dist/foundation/Future/shadows.d.ts +29 -0
- package/dist/foundation/Future/shadows.js +11 -0
- package/dist/foundation/Future/spacing.cjs +71 -0
- package/dist/foundation/Future/spacing.d.ts +80 -0
- package/dist/foundation/Future/spacing.js +31 -0
- package/dist/foundation/Future/strokes.cjs +59 -0
- package/dist/foundation/Future/strokes.d.ts +49 -0
- package/dist/foundation/Future/strokes.js +19 -0
- package/dist/foundation/Future/types.cjs +18 -0
- package/dist/foundation/Future/types.d.ts +18 -0
- package/dist/foundation/Future/types.js +0 -0
- package/dist/foundation/Future/typography.cjs +79 -0
- package/dist/foundation/Future/typography.d.ts +86 -0
- package/dist/foundation/Future/typography.js +33 -0
- package/dist/index.cjs +125 -219
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -4
- package/dist/src/foundation/Future/themes.css +371 -0
- package/dist/styles.css +1704 -582
- package/dist/tailwind.css +4 -0
- package/dist/templates/Admin/settings-admin.d.ts +5 -0
- package/dist/templates/Admin/template-admin.d.ts +105 -0
- package/dist/templates/Delegate/template-delegate.d.ts +26 -0
- package/dist/templates/EmptyErrors/error-components.d.ts +3 -0
- package/dist/templates/Experiments/ideas-AnimatedGradientText.d.ts +23 -0
- package/dist/templates/Flow/template-flow.d.ts +52 -0
- package/dist/templates/Maestro/template-maestro.d.ts +52 -0
- package/dist/templates/{vscode-example.d.ts → VisualStudio/shell.d.ts} +1 -1
- package/package.json +10 -1
- package/dist/components/ui/menubar.cjs +0 -210
- package/dist/components/ui/menubar.d.ts +0 -28
- package/dist/components/ui/menubar.js +0 -131
- package/dist/components/ui/navigation-menu.cjs +0 -122
- package/dist/components/ui/navigation-menu.d.ts +0 -12
- package/dist/components/ui/navigation-menu.js +0 -64
- package/dist/examples/admin-layout-example.cjs +0 -490
- package/dist/examples/admin-layout-example.d.ts +0 -92
- package/dist/examples/admin-layout-example.js +0 -411
- package/dist/examples/app-shell-example.cjs +0 -452
- package/dist/examples/app-shell-example.d.ts +0 -52
- package/dist/examples/app-shell-example.js +0 -418
- package/dist/examples/dashboard-example.cjs +0 -590
- package/dist/examples/dashboard-example.d.ts +0 -11
- package/dist/examples/dashboard-example.js +0 -556
- package/dist/examples/data-management-example.cjs +0 -584
- package/dist/examples/data-management-example.d.ts +0 -1
- package/dist/examples/data-management-example.js +0 -550
- package/dist/examples/flow-editor-layout-example.cjs +0 -309
- package/dist/examples/flow-editor-layout-example.d.ts +0 -22
- package/dist/examples/flow-editor-layout-example.js +0 -269
- package/dist/examples/flow-start-example.cjs +0 -467
- package/dist/examples/flow-start-example.d.ts +0 -30
- package/dist/examples/flow-start-example.js +0 -433
- package/dist/examples/form-builder-example.cjs +0 -674
- package/dist/examples/form-builder-example.js +0 -640
- package/dist/examples/new-project-example.cjs +0 -550
- package/dist/examples/new-project-example.d.ts +0 -30
- package/dist/examples/new-project-example.js +0 -516
- package/dist/examples/settings-example.cjs +0 -864
- package/dist/examples/settings-example.d.ts +0 -1
- package/dist/examples/settings-example.js +0 -830
- package/dist/examples/vscode-example.cjs +0 -340
- package/dist/examples/vscode-example.d.ts +0 -80
- package/dist/examples/vscode-example.js +0 -270
- package/dist/templates/admin-layout-example.d.ts +0 -92
- package/dist/templates/app-shell-example.d.ts +0 -52
- package/dist/templates/dashboard-example.d.ts +0 -11
- package/dist/templates/data-management-example.d.ts +0 -1
- package/dist/templates/flow-editor-layout-example.d.ts +0 -22
- package/dist/templates/flow-start-example.d.ts +0 -30
- package/dist/templates/form-builder-example.d.ts +0 -1
- package/dist/templates/new-project-example.d.ts +0 -30
- package/dist/templates/settings-example.d.ts +0 -1
- /package/dist/{examples → templates/Forms}/form-builder-example.d.ts +0 -0
package/dist/tailwind.css
CHANGED
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
@import "tailwindcss";
|
|
14
14
|
@import "@uipath/apollo-core/tokens/css/theme-variables.css";
|
|
15
15
|
|
|
16
|
+
:root {
|
|
17
|
+
--radius: 0.75rem; /* 12px — base border-radius for buttons and UI elements */
|
|
18
|
+
}
|
|
19
|
+
|
|
16
20
|
/**
|
|
17
21
|
* shadcn/ui color mappings
|
|
18
22
|
* Maps Apollo Design System tokens to shadcn expected variable names.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { FutureTheme } from '../../foundation/Future/types';
|
|
3
|
+
export type { FutureTheme };
|
|
4
|
+
export interface AdminSidebarProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
/** Width in pixels (default 260) */
|
|
7
|
+
width?: number;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Fixed-width sidebar container with right border.
|
|
12
|
+
* Renders children in a vertical flex column — callers handle their own
|
|
13
|
+
* headers, nav lists, and scroll areas as needed.
|
|
14
|
+
*/
|
|
15
|
+
export declare function AdminSidebar({ className, width, children }: AdminSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export interface AdminSidebarHeaderProps {
|
|
17
|
+
className?: string;
|
|
18
|
+
/** Title text */
|
|
19
|
+
title: string;
|
|
20
|
+
/** Optional icon rendered before the title */
|
|
21
|
+
icon?: React.ReactNode;
|
|
22
|
+
/** Action buttons rendered on the right */
|
|
23
|
+
actions?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Header row for AdminSidebar — title, optional icon, and action buttons.
|
|
27
|
+
*/
|
|
28
|
+
export declare function AdminSidebarHeader({ className, title, icon, actions, }: AdminSidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export interface AdminNavItem {
|
|
30
|
+
id: string;
|
|
31
|
+
label: string;
|
|
32
|
+
icon?: React.ReactNode;
|
|
33
|
+
badge?: React.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
export interface AdminSidebarNavProps {
|
|
36
|
+
className?: string;
|
|
37
|
+
items: AdminNavItem[];
|
|
38
|
+
selectedId?: string;
|
|
39
|
+
onSelect?: (id: string) => void;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Scrollable nav list for AdminSidebar. Each item has an optional icon and badge.
|
|
43
|
+
*/
|
|
44
|
+
export declare function AdminSidebarNav({ className, items, selectedId, onSelect, }: AdminSidebarNavProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
export interface AdminPageHeaderProps {
|
|
46
|
+
className?: string;
|
|
47
|
+
/** Page title */
|
|
48
|
+
title: string;
|
|
49
|
+
/** Breadcrumb segments (plain strings — last one is highlighted) */
|
|
50
|
+
breadcrumb?: string[];
|
|
51
|
+
/** Action buttons rendered on the right */
|
|
52
|
+
actions?: React.ReactNode;
|
|
53
|
+
/** Tab definitions */
|
|
54
|
+
tabs?: {
|
|
55
|
+
value: string;
|
|
56
|
+
label: string;
|
|
57
|
+
}[];
|
|
58
|
+
/** Currently active tab value */
|
|
59
|
+
activeTab?: string;
|
|
60
|
+
/** Callback when a tab is selected */
|
|
61
|
+
onTabChange?: (value: string) => void;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Page header with optional breadcrumb trail, action buttons, and tab bar.
|
|
65
|
+
*/
|
|
66
|
+
export declare function AdminPageHeader({ className, title, breadcrumb, actions, tabs, activeTab, onTabChange, }: AdminPageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
export interface AdminToolbarProps {
|
|
68
|
+
className?: string;
|
|
69
|
+
/** Filter or search controls (left side) */
|
|
70
|
+
children?: React.ReactNode;
|
|
71
|
+
/** Action buttons (right side) */
|
|
72
|
+
actions?: React.ReactNode;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Horizontal toolbar row — filters on the left, actions on the right.
|
|
76
|
+
*/
|
|
77
|
+
export declare function AdminToolbar({ className, children, actions }: AdminToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
export interface AdminTemplateProps {
|
|
79
|
+
className?: string;
|
|
80
|
+
/** Color theme (default "dark") */
|
|
81
|
+
theme?: FutureTheme;
|
|
82
|
+
/** Header title (default "Administration") */
|
|
83
|
+
title?: string;
|
|
84
|
+
/** Content for the global header's slide-out menu drawer */
|
|
85
|
+
menuContent?: React.ReactNode;
|
|
86
|
+
/**
|
|
87
|
+
* Sidebar element — typically an `<AdminSidebar>` with `AdminSidebarHeader`
|
|
88
|
+
* and `AdminSidebarNav` inside. Omit for a full-width layout (no sidebar).
|
|
89
|
+
*/
|
|
90
|
+
sidebar?: React.ReactNode;
|
|
91
|
+
/** Main content area — compose with `AdminPageHeader`, `AdminToolbar`, etc. */
|
|
92
|
+
children?: React.ReactNode;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Full-page Admin template.
|
|
96
|
+
*
|
|
97
|
+
* Composed of:
|
|
98
|
+
* - **MaestroHeader** — global header with logo and slide-out menu
|
|
99
|
+
* - **sidebar** (optional) — fixed-width left sidebar (pass an `AdminSidebar`)
|
|
100
|
+
* - **main area** — flex-1 column for page content
|
|
101
|
+
*
|
|
102
|
+
* Pass `AdminPageHeader`, `AdminToolbar`, and your own content as children
|
|
103
|
+
* to build the main area. See the Admin stories for full examples.
|
|
104
|
+
*/
|
|
105
|
+
export declare function AdminTemplate({ className, theme, title, menuContent, sidebar, children, }: AdminTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { DelegatePanelProps, NavChildItem, NavItem } from '../../components/custom/panel-delegate';
|
|
3
|
+
import type { FutureTheme } from '../../foundation/Future/types';
|
|
4
|
+
export type { NavItem, NavChildItem, DelegatePanelProps };
|
|
5
|
+
export interface DelegateTemplateProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
/** Color theme for the template */
|
|
8
|
+
theme?: FutureTheme;
|
|
9
|
+
/** Whether the left panel starts expanded */
|
|
10
|
+
defaultPanelOpen?: boolean;
|
|
11
|
+
/** Navigation items in the left panel */
|
|
12
|
+
navItems?: NavItem[];
|
|
13
|
+
/** ID of the currently selected nav child */
|
|
14
|
+
selectedChildId?: string;
|
|
15
|
+
/** Callback when a nav child is selected */
|
|
16
|
+
onChildSelect?: (childId: string) => void;
|
|
17
|
+
/** Main content to render in the Canvas */
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Full-page Delegate template composed of a DelegatePanel and Canvas.
|
|
22
|
+
*
|
|
23
|
+
* This is a convenience wrapper — for more control you can use
|
|
24
|
+
* `DelegatePanel` and `Canvas` directly.
|
|
25
|
+
*/
|
|
26
|
+
export declare function DelegateTemplate({ className, theme, defaultPanelOpen, navItems, selectedChildId, onChildSelect, children, }: DelegateTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export interface AnimatedGradientIconProps extends ComponentPropsWithoutRef<'span'> {
|
|
3
|
+
speed?: number;
|
|
4
|
+
colorFrom?: string;
|
|
5
|
+
colorTo?: string;
|
|
6
|
+
colorMid?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Sparkles icon with animated gradient stroke for Ideas experiment.
|
|
10
|
+
* Uses the Lucide Sparkles icon with gradient applied via stroke.
|
|
11
|
+
*/
|
|
12
|
+
export declare function AnimatedGradientIcon({ className, speed, colorFrom, colorTo, colorMid, style, ...props }: AnimatedGradientIconProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export interface AnimatedGradientTextProps extends ComponentPropsWithoutRef<'div'> {
|
|
14
|
+
speed?: number;
|
|
15
|
+
colorFrom?: string;
|
|
16
|
+
colorTo?: string;
|
|
17
|
+
colorMid?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Animated gradient text effect for Ideas experiment.
|
|
21
|
+
* Based on Magic UI: https://magicui.design/docs/components/animated-gradient-text
|
|
22
|
+
*/
|
|
23
|
+
export declare function AnimatedGradientText({ children, className, speed, colorFrom, colorTo, colorMid, style, ...props }: AnimatedGradientTextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PropertiesSimpleField, PropertiesSimpleSection } from '../../components/custom/flow-properties-simple';
|
|
3
|
+
import { type FlowPanelChatMessage, type FlowPanelNavItem } from '../../components/custom/panel-flow';
|
|
4
|
+
import type { FutureTheme } from '../../foundation/Future/types';
|
|
5
|
+
export type { FlowPanelNavItem, FlowPanelChatMessage, PropertiesSimpleField, PropertiesSimpleSection, };
|
|
6
|
+
export interface FlowTemplateProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Color theme for the template */
|
|
9
|
+
theme?: FutureTheme;
|
|
10
|
+
/** Navigation items for the icon rail */
|
|
11
|
+
navItems?: FlowPanelNavItem[];
|
|
12
|
+
/** Whether the expanded panel starts open */
|
|
13
|
+
defaultPanelOpen?: boolean;
|
|
14
|
+
/** Chat messages for the expanded panel */
|
|
15
|
+
chatMessages?: FlowPanelChatMessage[];
|
|
16
|
+
/** Custom content for the expanded panel (overrides default chat) */
|
|
17
|
+
expandedContent?: React.ReactNode;
|
|
18
|
+
/** Flow name displayed in the properties bar */
|
|
19
|
+
flowName?: string;
|
|
20
|
+
/** Flow type label (e.g. "Workflow") */
|
|
21
|
+
flowType?: string;
|
|
22
|
+
/** Whether the properties panel starts expanded */
|
|
23
|
+
defaultPropertiesExpanded?: boolean;
|
|
24
|
+
/** Node name for the expanded properties panel */
|
|
25
|
+
propertiesNodeName?: string;
|
|
26
|
+
/** Node type for the expanded properties panel */
|
|
27
|
+
propertiesNodeType?: string;
|
|
28
|
+
/** Whether to show the simple properties panel (right side) */
|
|
29
|
+
defaultPropertiesSimple?: boolean;
|
|
30
|
+
/** Title for the simple properties panel header */
|
|
31
|
+
propertiesSimpleTitle?: string;
|
|
32
|
+
/** Icon for the simple properties panel header */
|
|
33
|
+
propertiesSimpleIcon?: React.ReactNode;
|
|
34
|
+
/** Top-level fields for the simple properties panel */
|
|
35
|
+
propertiesSimpleFields?: PropertiesSimpleField[];
|
|
36
|
+
/** Accordion sections for the simple properties panel */
|
|
37
|
+
propertiesSimpleSections?: PropertiesSimpleSection[];
|
|
38
|
+
/** Canvas content */
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Full-page Flow template.
|
|
43
|
+
*
|
|
44
|
+
* Composed of:
|
|
45
|
+
* - **FlowPanel** — 60px icon rail + optional 420px expanded chat panel
|
|
46
|
+
* - **Canvas** — main content area (reuses Delegate Canvas)
|
|
47
|
+
* - **FlowProperties** (collapsed) — bar top-right of canvas (default)
|
|
48
|
+
* - **FlowProperties** (expanded) — full properties panel on the right (when expanded)
|
|
49
|
+
* - **FlowCanvasToolbar** — bottom-center of canvas
|
|
50
|
+
* - **FlowViewToolbar** — bottom-right of canvas
|
|
51
|
+
*/
|
|
52
|
+
export declare function FlowTemplate({ className, theme, navItems, defaultPanelOpen, chatMessages, expandedContent, flowName, flowType, defaultPropertiesExpanded, propertiesNodeName, propertiesNodeType, defaultPropertiesSimple, propertiesSimpleTitle, propertiesSimpleIcon, propertiesSimpleFields, propertiesSimpleSections, children, }: FlowTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { MaestroHeaderProps } from '../../components/custom/global-header';
|
|
3
|
+
import { Canvas, Grid, GridItem } from '../../components/custom/grid-maestro';
|
|
4
|
+
import type { PanelProps } from '../../components/custom/panel-maestro';
|
|
5
|
+
import type { FutureTheme } from '../../foundation/Future/types';
|
|
6
|
+
export type { MaestroHeaderProps, PanelProps };
|
|
7
|
+
export { Canvas, Grid, GridItem };
|
|
8
|
+
export interface MaestroTemplateProps {
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Color theme for the template */
|
|
11
|
+
theme?: FutureTheme;
|
|
12
|
+
/** Application title shown in the header */
|
|
13
|
+
title?: string;
|
|
14
|
+
/** Tenant name shown in the header */
|
|
15
|
+
tenantName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Force the left panel to start collapsed on desktop.
|
|
18
|
+
* Below 1024px container width, panels auto-collapse regardless of this value.
|
|
19
|
+
*/
|
|
20
|
+
defaultLeftPanelCollapsed?: boolean;
|
|
21
|
+
/** Content for the left panel (e.g. navigation). The panel itself has no padding — children control their own. */
|
|
22
|
+
leftPanelContent?: React.ReactNode;
|
|
23
|
+
/** Content for the global header's slide-out menu. Falls back to leftPanelContent if not provided. */
|
|
24
|
+
menuContent?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Force the right panel to start collapsed on desktop.
|
|
27
|
+
* Below 1024px container width, panels auto-collapse regardless of this value.
|
|
28
|
+
*/
|
|
29
|
+
defaultRightPanelCollapsed?: boolean;
|
|
30
|
+
/** Content for the right panel. The panel itself has no padding — children control their own (typically p-6). */
|
|
31
|
+
rightPanelContent?: React.ReactNode;
|
|
32
|
+
/** Main content to render in the center canvas area */
|
|
33
|
+
children?: React.ReactNode;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Full-page Maestro template.
|
|
37
|
+
*
|
|
38
|
+
* Composed of:
|
|
39
|
+
* - **MaestroHeader** — global header with logo, actions, tenant selector, avatar
|
|
40
|
+
* - **Panel side="left"** — collapsible left panel (300px expanded / 32px collapsed)
|
|
41
|
+
* - **Canvas** — scrollable main area with ResizeObserver-based grid reflow
|
|
42
|
+
* - **Panel side="right"** — collapsible right panel (300px expanded / 32px collapsed)
|
|
43
|
+
*
|
|
44
|
+
* ### Responsive auto-collapse
|
|
45
|
+
*
|
|
46
|
+
* A ResizeObserver watches the template body container. When the container
|
|
47
|
+
* width drops below 1024px, both panels automatically collapse to 32px.
|
|
48
|
+
* When it reaches 1024px+, they restore to their user-controlled state.
|
|
49
|
+
* The panel never disappears entirely — it always shows at minimum its
|
|
50
|
+
* 32px collapsed state with the toggle button visible.
|
|
51
|
+
*/
|
|
52
|
+
export declare function MaestroTemplate({ className, theme, title, tenantName, defaultLeftPanelCollapsed, leftPanelContent, menuContent, defaultRightPanelCollapsed, rightPanelContent, children, }: MaestroTemplateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -23,7 +23,7 @@ interface ShellSidebarHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
23
23
|
onCollapsedChange?: (collapsed: boolean) => void;
|
|
24
24
|
}
|
|
25
25
|
export declare function ShellSidebarHeader({ className, title, collapsed, onCollapsedChange, ...props }: ShellSidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
interface FileTreeItem {
|
|
26
|
+
export interface FileTreeItem {
|
|
27
27
|
name: string;
|
|
28
28
|
type: 'file' | 'folder';
|
|
29
29
|
children?: FileTreeItem[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-wind",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0-pr219.61d64eb",
|
|
4
4
|
"description": "UiPath wind design system - A Tailwind CSS based React component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
"react-dom": ">=18.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
+
"@dnd-kit/core": "^6.3.1",
|
|
36
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
37
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
38
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
35
39
|
"@hookform/resolvers": "^5.2.2",
|
|
36
40
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
37
41
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
@@ -67,12 +71,15 @@
|
|
|
67
71
|
"clsx": "^2.1.1",
|
|
68
72
|
"cmdk": "^1.1.1",
|
|
69
73
|
"date-fns": "^4.1.0",
|
|
74
|
+
"framer-motion": "^11.15.0",
|
|
70
75
|
"jsep": "^1.4.0",
|
|
71
76
|
"lucide-react": "^0.555.0",
|
|
72
77
|
"next-themes": "^0.4.6",
|
|
73
78
|
"react-day-picker": "^9.13.0",
|
|
74
79
|
"react-hook-form": "^7.66.1",
|
|
80
|
+
"react-live": "^4.1.8",
|
|
75
81
|
"react-resizable-panels": "^3.0.6",
|
|
82
|
+
"recharts": "^2.15.4",
|
|
76
83
|
"sonner": "^2.0.7",
|
|
77
84
|
"tailwind-merge": "^3.4.0",
|
|
78
85
|
"tailwindcss": "^4.1.17",
|
|
@@ -85,8 +92,10 @@
|
|
|
85
92
|
"@rslib/core": "^0.17.0",
|
|
86
93
|
"@semantic-release/changelog": "^6.0.3",
|
|
87
94
|
"@semantic-release/git": "^10.0.1",
|
|
95
|
+
"@storybook/addon-a11y": "^10.2.0",
|
|
88
96
|
"@storybook/addon-docs": "^10.2.0",
|
|
89
97
|
"@storybook/addon-links": "^10.2.0",
|
|
98
|
+
"@storybook/addon-mcp": "^0.2.2",
|
|
90
99
|
"@storybook/react-vite": "^10.2.0",
|
|
91
100
|
"@tailwindcss/cli": "^4.1.17",
|
|
92
101
|
"@tailwindcss/postcss": "^4.1.17",
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: definition[key]
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
(()=>{
|
|
12
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
-
})();
|
|
14
|
-
(()=>{
|
|
15
|
-
__webpack_require__.r = (exports1)=>{
|
|
16
|
-
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
-
value: 'Module'
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
-
value: true
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
})();
|
|
24
|
-
var __webpack_exports__ = {};
|
|
25
|
-
__webpack_require__.r(__webpack_exports__);
|
|
26
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
MenubarPortal: ()=>MenubarPortal,
|
|
28
|
-
MenubarSeparator: ()=>MenubarSeparator,
|
|
29
|
-
MenubarGroup: ()=>MenubarGroup,
|
|
30
|
-
MenubarRadioItem: ()=>MenubarRadioItem,
|
|
31
|
-
Menubar: ()=>Menubar,
|
|
32
|
-
MenubarLabel: ()=>MenubarLabel,
|
|
33
|
-
MenubarContent: ()=>MenubarContent,
|
|
34
|
-
MenubarCheckboxItem: ()=>MenubarCheckboxItem,
|
|
35
|
-
MenubarItem: ()=>MenubarItem,
|
|
36
|
-
MenubarShortcut: ()=>MenubarShortcut,
|
|
37
|
-
MenubarSubContent: ()=>MenubarSubContent,
|
|
38
|
-
MenubarTrigger: ()=>MenubarTrigger,
|
|
39
|
-
MenubarMenu: ()=>MenubarMenu,
|
|
40
|
-
MenubarSub: ()=>MenubarSub,
|
|
41
|
-
MenubarRadioGroup: ()=>MenubarRadioGroup,
|
|
42
|
-
MenubarSubTrigger: ()=>MenubarSubTrigger
|
|
43
|
-
});
|
|
44
|
-
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
45
|
-
const react_menubar_namespaceObject = require("@radix-ui/react-menubar");
|
|
46
|
-
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
47
|
-
const external_react_namespaceObject = require("react");
|
|
48
|
-
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
49
|
-
function MenubarMenu({ ...props }) {
|
|
50
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Menu, {
|
|
51
|
-
...props
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
function MenubarGroup({ ...props }) {
|
|
55
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Group, {
|
|
56
|
-
...props
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
function MenubarPortal({ ...props }) {
|
|
60
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Portal, {
|
|
61
|
-
...props
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
function MenubarRadioGroup({ ...props }) {
|
|
65
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.RadioGroup, {
|
|
66
|
-
...props
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function MenubarSub({ ...props }) {
|
|
70
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Sub, {
|
|
71
|
-
"data-slot": "menubar-sub",
|
|
72
|
-
...props
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
const Menubar = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Root, {
|
|
76
|
-
ref: ref,
|
|
77
|
-
className: (0, index_cjs_namespaceObject.cn)('flex h-10 items-center space-x-1 rounded-md border bg-background p-1', className),
|
|
78
|
-
...props
|
|
79
|
-
}));
|
|
80
|
-
Menubar.displayName = react_menubar_namespaceObject.Root.displayName;
|
|
81
|
-
const MenubarTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Trigger, {
|
|
82
|
-
ref: ref,
|
|
83
|
-
className: (0, index_cjs_namespaceObject.cn)('flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground', className),
|
|
84
|
-
...props
|
|
85
|
-
}));
|
|
86
|
-
MenubarTrigger.displayName = react_menubar_namespaceObject.Trigger.displayName;
|
|
87
|
-
const MenubarSubTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, inset, children, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_menubar_namespaceObject.SubTrigger, {
|
|
88
|
-
ref: ref,
|
|
89
|
-
className: (0, index_cjs_namespaceObject.cn)('flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground', inset && 'pl-8', className),
|
|
90
|
-
...props,
|
|
91
|
-
children: [
|
|
92
|
-
children,
|
|
93
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.ChevronRight, {
|
|
94
|
-
className: "ml-auto h-4 w-4"
|
|
95
|
-
})
|
|
96
|
-
]
|
|
97
|
-
}));
|
|
98
|
-
MenubarSubTrigger.displayName = react_menubar_namespaceObject.SubTrigger.displayName;
|
|
99
|
-
const MenubarSubContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.SubContent, {
|
|
100
|
-
ref: ref,
|
|
101
|
-
className: (0, index_cjs_namespaceObject.cn)('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]', className),
|
|
102
|
-
...props
|
|
103
|
-
}));
|
|
104
|
-
MenubarSubContent.displayName = react_menubar_namespaceObject.SubContent.displayName;
|
|
105
|
-
const MenubarContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Portal, {
|
|
106
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Content, {
|
|
107
|
-
ref: ref,
|
|
108
|
-
align: align,
|
|
109
|
-
alignOffset: alignOffset,
|
|
110
|
-
sideOffset: sideOffset,
|
|
111
|
-
className: (0, index_cjs_namespaceObject.cn)('z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]', className),
|
|
112
|
-
...props
|
|
113
|
-
})
|
|
114
|
-
}));
|
|
115
|
-
MenubarContent.displayName = react_menubar_namespaceObject.Content.displayName;
|
|
116
|
-
const MenubarItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, inset, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Item, {
|
|
117
|
-
ref: ref,
|
|
118
|
-
className: (0, index_cjs_namespaceObject.cn)('relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', inset && 'pl-8', className),
|
|
119
|
-
...props
|
|
120
|
-
}));
|
|
121
|
-
MenubarItem.displayName = react_menubar_namespaceObject.Item.displayName;
|
|
122
|
-
const MenubarCheckboxItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, children, checked, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_menubar_namespaceObject.CheckboxItem, {
|
|
123
|
-
ref: ref,
|
|
124
|
-
className: (0, index_cjs_namespaceObject.cn)('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className),
|
|
125
|
-
checked: checked,
|
|
126
|
-
...props,
|
|
127
|
-
children: [
|
|
128
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
129
|
-
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
130
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.ItemIndicator, {
|
|
131
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Check, {
|
|
132
|
-
className: "h-4 w-4"
|
|
133
|
-
})
|
|
134
|
-
})
|
|
135
|
-
}),
|
|
136
|
-
children
|
|
137
|
-
]
|
|
138
|
-
}));
|
|
139
|
-
MenubarCheckboxItem.displayName = react_menubar_namespaceObject.CheckboxItem.displayName;
|
|
140
|
-
const MenubarRadioItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, children, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_menubar_namespaceObject.RadioItem, {
|
|
141
|
-
ref: ref,
|
|
142
|
-
className: (0, index_cjs_namespaceObject.cn)('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className),
|
|
143
|
-
...props,
|
|
144
|
-
children: [
|
|
145
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
146
|
-
className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
147
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.ItemIndicator, {
|
|
148
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Circle, {
|
|
149
|
-
className: "h-2 w-2 fill-current"
|
|
150
|
-
})
|
|
151
|
-
})
|
|
152
|
-
}),
|
|
153
|
-
children
|
|
154
|
-
]
|
|
155
|
-
}));
|
|
156
|
-
MenubarRadioItem.displayName = react_menubar_namespaceObject.RadioItem.displayName;
|
|
157
|
-
const MenubarLabel = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, inset, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Label, {
|
|
158
|
-
ref: ref,
|
|
159
|
-
className: (0, index_cjs_namespaceObject.cn)('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className),
|
|
160
|
-
...props
|
|
161
|
-
}));
|
|
162
|
-
MenubarLabel.displayName = react_menubar_namespaceObject.Label.displayName;
|
|
163
|
-
const MenubarSeparator = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_menubar_namespaceObject.Separator, {
|
|
164
|
-
ref: ref,
|
|
165
|
-
className: (0, index_cjs_namespaceObject.cn)('-mx-1 my-1 h-px bg-muted', className),
|
|
166
|
-
...props
|
|
167
|
-
}));
|
|
168
|
-
MenubarSeparator.displayName = react_menubar_namespaceObject.Separator.displayName;
|
|
169
|
-
const MenubarShortcut = ({ className, ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
170
|
-
className: (0, index_cjs_namespaceObject.cn)('ml-auto text-xs tracking-widest text-muted-foreground', className),
|
|
171
|
-
...props
|
|
172
|
-
});
|
|
173
|
-
MenubarShortcut.displayname = 'MenubarShortcut';
|
|
174
|
-
exports.Menubar = __webpack_exports__.Menubar;
|
|
175
|
-
exports.MenubarCheckboxItem = __webpack_exports__.MenubarCheckboxItem;
|
|
176
|
-
exports.MenubarContent = __webpack_exports__.MenubarContent;
|
|
177
|
-
exports.MenubarGroup = __webpack_exports__.MenubarGroup;
|
|
178
|
-
exports.MenubarItem = __webpack_exports__.MenubarItem;
|
|
179
|
-
exports.MenubarLabel = __webpack_exports__.MenubarLabel;
|
|
180
|
-
exports.MenubarMenu = __webpack_exports__.MenubarMenu;
|
|
181
|
-
exports.MenubarPortal = __webpack_exports__.MenubarPortal;
|
|
182
|
-
exports.MenubarRadioGroup = __webpack_exports__.MenubarRadioGroup;
|
|
183
|
-
exports.MenubarRadioItem = __webpack_exports__.MenubarRadioItem;
|
|
184
|
-
exports.MenubarSeparator = __webpack_exports__.MenubarSeparator;
|
|
185
|
-
exports.MenubarShortcut = __webpack_exports__.MenubarShortcut;
|
|
186
|
-
exports.MenubarSub = __webpack_exports__.MenubarSub;
|
|
187
|
-
exports.MenubarSubContent = __webpack_exports__.MenubarSubContent;
|
|
188
|
-
exports.MenubarSubTrigger = __webpack_exports__.MenubarSubTrigger;
|
|
189
|
-
exports.MenubarTrigger = __webpack_exports__.MenubarTrigger;
|
|
190
|
-
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
191
|
-
"Menubar",
|
|
192
|
-
"MenubarCheckboxItem",
|
|
193
|
-
"MenubarContent",
|
|
194
|
-
"MenubarGroup",
|
|
195
|
-
"MenubarItem",
|
|
196
|
-
"MenubarLabel",
|
|
197
|
-
"MenubarMenu",
|
|
198
|
-
"MenubarPortal",
|
|
199
|
-
"MenubarRadioGroup",
|
|
200
|
-
"MenubarRadioItem",
|
|
201
|
-
"MenubarSeparator",
|
|
202
|
-
"MenubarShortcut",
|
|
203
|
-
"MenubarSub",
|
|
204
|
-
"MenubarSubContent",
|
|
205
|
-
"MenubarSubTrigger",
|
|
206
|
-
"MenubarTrigger"
|
|
207
|
-
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
208
|
-
Object.defineProperty(exports, '__esModule', {
|
|
209
|
-
value: true
|
|
210
|
-
});
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function MenubarSub({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare const Menubar: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
11
|
-
inset?: boolean;
|
|
12
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const MenubarContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
declare const MenubarItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
16
|
-
inset?: boolean;
|
|
17
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
declare const MenubarRadioItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
declare const MenubarLabel: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
21
|
-
inset?: boolean;
|
|
22
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
declare const MenubarSeparator: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
declare const MenubarShortcut: {
|
|
25
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
displayname: string;
|
|
27
|
-
};
|
|
28
|
-
export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarLabel, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarPortal, MenubarSubContent, MenubarSubTrigger, MenubarGroup, MenubarSub, MenubarShortcut, };
|