@motiadev/workbench 0.7.2-beta.135-745094 → 0.7.3-beta.136
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/src/App.js +2 -2
- package/dist/src/components/endpoints/endpoint-badge.d.ts +10 -0
- package/dist/src/components/endpoints/endpoint-badge.js +22 -0
- package/dist/src/components/endpoints/endpoint-body-panel.d.ts +13 -0
- package/dist/src/components/endpoints/endpoint-body-panel.js +16 -0
- package/dist/src/components/endpoints/endpoint-call.d.ts +7 -0
- package/dist/src/components/endpoints/endpoint-call.js +58 -0
- package/dist/src/components/endpoints/endpoint-description.d.ts +7 -0
- package/dist/src/components/endpoints/endpoint-description.js +13 -0
- package/dist/src/components/endpoints/endpoint-path-params-panel.d.ts +8 -0
- package/dist/src/components/endpoints/endpoint-path-params-panel.js +17 -0
- package/dist/src/components/endpoints/endpoint-query-params-panel.d.ts +8 -0
- package/dist/src/components/endpoints/endpoint-query-params-panel.js +16 -0
- package/dist/src/components/endpoints/endpoint-response-schema.d.ts +10 -0
- package/dist/src/components/endpoints/endpoint-response-schema.js +17 -0
- package/dist/src/components/endpoints/endpoint-response.d.ts +8 -0
- package/dist/src/components/endpoints/endpoint-response.js +50 -0
- package/dist/src/components/endpoints/endpoint-side-panel.d.ts +8 -0
- package/dist/src/components/endpoints/endpoint-side-panel.js +25 -0
- package/dist/src/components/endpoints/endpoints-page.d.ts +1 -0
- package/dist/src/components/endpoints/endpoints-page.js +14 -0
- package/dist/src/components/endpoints/hooks/use-get-endpoints.d.ts +2 -0
- package/dist/src/components/endpoints/hooks/use-get-endpoints.js +8 -0
- package/dist/src/components/endpoints/hooks/use-json-schema-to-json.d.ts +4 -0
- package/dist/src/components/endpoints/hooks/use-json-schema-to-json.js +11 -0
- package/dist/src/components/endpoints/hooks/use-path-params.d.ts +1 -0
- package/dist/src/components/endpoints/hooks/use-path-params.js +4 -0
- package/dist/src/components/endpoints/hooks/use-state-stream.d.ts +7 -0
- package/dist/src/components/endpoints/hooks/use-state-stream.js +11 -0
- package/dist/src/components/endpoints/hooks/utils.d.ts +1 -0
- package/dist/src/components/endpoints/hooks/utils.js +29 -0
- package/dist/src/components/endpoints/response-body.d.ts +7 -0
- package/dist/src/components/endpoints/response-body.js +6 -0
- package/dist/src/components/flow/base-edge.js +1 -1
- package/dist/src/components/logs/log-detail.js +1 -1
- package/dist/src/components/observability/trace-item/trace-item-detail.js +2 -1
- package/dist/src/components/observability/trace-item/trace-item.js +1 -1
- package/dist/src/components/observability/traces-groups.js +1 -1
- package/dist/src/components/sidebar/sidebar.d.ts +8 -0
- package/dist/src/components/sidebar/sidebar.js +39 -0
- package/dist/src/components/states/state-editor.js +1 -1
- package/dist/src/components/states/state-sidebar.js +1 -1
- package/dist/src/components/ui/table.js +1 -1
- package/dist/src/components/ui/theme-toggle.js +1 -1
- package/dist/src/index.css +6 -10
- package/dist/src/lib/utils.d.ts +2 -0
- package/dist/src/lib/utils.js +5 -0
- package/dist/src/publicComponents/base-node/feature-card.js +1 -1
- package/dist/src/publicComponents/base-node/node-header.js +1 -1
- package/dist/src/publicComponents/base-node/node-sidebar.js +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/tsconfig.node.tsbuildinfo +1 -1
- package/package.json +3 -4
- /package/dist/src/components/{ui → endpoints}/json-editor.d.ts +0 -0
- /package/dist/src/components/{ui → endpoints}/json-editor.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { cn } from '
|
|
3
|
+
import { cn } from '@/lib/utils';
|
|
4
4
|
const Table = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { className: "relative w-full overflow-auto", children: _jsx("table", { ref: ref, className: cn('w-full caption-bottom text-sm', className), ...props }) })));
|
|
5
5
|
Table.displayName = 'Table';
|
|
6
6
|
const TableHeader = React.forwardRef(({ className, ...props }, ref) => _jsx("thead", { ref: ref, className: cn('[&_tr]:border-b', className), ...props }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Moon, Sun } from 'lucide-react';
|
|
3
3
|
import { useThemeStore } from '@/stores/use-theme-store';
|
|
4
|
-
import { cn } from '
|
|
4
|
+
import { cn } from '@/lib/utils';
|
|
5
5
|
import { useEffect } from 'react';
|
|
6
6
|
export const ThemeToggle = () => {
|
|
7
7
|
const theme = useThemeStore((state) => state.theme);
|
package/dist/src/index.css
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
3
|
-
@import '@motiadev/ui/globals.css';
|
|
4
|
-
|
|
1
|
+
@import "@motiadev/ui/styles.css";
|
|
2
|
+
@import "@motiadev/ui/globals.css";
|
|
5
3
|
@import 'tw-animate-css';
|
|
6
4
|
@config "../tailwind.config.js";
|
|
7
5
|
|
|
@@ -15,12 +13,12 @@
|
|
|
15
13
|
}
|
|
16
14
|
|
|
17
15
|
.json-view {
|
|
18
|
-
background:
|
|
16
|
+
background:rgba(0, 0, 0, 0.1);
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
.dark {
|
|
22
20
|
.react-flow__panel {
|
|
23
|
-
background: var(--background)
|
|
21
|
+
background: var(--background)
|
|
24
22
|
}
|
|
25
23
|
.json-view {
|
|
26
24
|
background: rgba(0, 0, 0, 0.8);
|
|
@@ -47,12 +45,10 @@
|
|
|
47
45
|
font-weight: 500;
|
|
48
46
|
}
|
|
49
47
|
|
|
50
|
-
.json-view--pair,
|
|
51
|
-
.json-view--property,
|
|
52
|
-
.json-view > span {
|
|
48
|
+
.json-view--pair, .json-view--property, .json-view > span {
|
|
53
49
|
line-height: 24px;
|
|
54
50
|
}
|
|
55
51
|
|
|
56
52
|
.json-view--property {
|
|
57
53
|
font-weight: 600;
|
|
58
|
-
}
|
|
54
|
+
}
|
package/dist/src/lib/utils.d.ts
CHANGED
package/dist/src/lib/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils';
|
|
3
3
|
export const FeatureCard = ({ feature, highlighted, onClick, onHover }) => {
|
|
4
4
|
return (_jsxs("div", { "data-feature-id": feature.id, className: cn('p-4 rounded-lg bg-card shadow-sm cursor-pointer hover:bg-card/50 border-2 border-transparent', highlighted && 'border-2 border-accent-1000 bg-accent-100'), onClick: onClick, onMouseEnter: onHover, children: [_jsx("div", { className: "text-md font-semibold text-foreground leading-tight whitespace-nowrap mb-2", children: feature.title }), _jsx("div", { className: "text-sm font-medium text-muted-foreground leading-tight", children: feature.description }), feature.link && (_jsx("div", { className: "text-sm font-medium text-muted-foreground leading-tight", children: _jsx("a", { href: feature.link, children: "Learn more" }) }))] }));
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from '
|
|
2
|
+
import { cn } from '@/lib/utils';
|
|
3
3
|
import { cva } from 'class-variance-authority';
|
|
4
4
|
import { CalendarClock, CircleOff, Link2, Waypoints } from 'lucide-react';
|
|
5
5
|
const baseIcon = cva('rounded-md p-2', {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Sidebar } from '
|
|
2
|
+
import { Sidebar } from '@/components/sidebar/sidebar';
|
|
3
3
|
import { X } from 'lucide-react';
|
|
4
4
|
import { CodeDisplay } from './code-display';
|
|
5
5
|
export const NodeSidebar = ({ content, title, subtitle, language, isOpen, onClose, features, }) => {
|