zudoku 0.1.1-dev.49 → 0.1.1-dev.50
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/config/config.d.ts +2 -2
- package/dist/lib/components/CategoryHeading.js.map +1 -1
- package/dist/lib/components/Dialog.d.ts +2 -2
- package/dist/lib/components/Dialog.js +2 -2
- package/dist/lib/components/Dialog.js.map +1 -1
- package/dist/lib/components/Layout.js +1 -1
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Select.d.ts +2 -2
- package/dist/lib/components/Select.js +2 -2
- package/dist/lib/components/Select.js.map +1 -1
- package/dist/lib/components/context/ThemeContext.js +1 -1
- package/dist/lib/components/context/ThemeContext.js.map +1 -1
- package/dist/lib/plugins/api-key/CreateApiKey.js +4 -4
- package/dist/lib/plugins/api-key/CreateApiKey.js.map +1 -1
- package/dist/lib/plugins/api-key/SettingsApiKeys.js +4 -4
- package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +1 -1
- package/dist/lib/plugins/openapi/MakeRequest.js +2 -2
- package/dist/lib/plugins/openapi/MakeRequest.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +2 -2
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.js +0 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Editor.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.d.ts +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +2 -2
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/ui/Tabs.d.ts +2 -2
- package/dist/lib/ui/Tabs.js +2 -2
- package/dist/lib/ui/Tabs.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +1 -1
- package/dist/lib/util/createVariantComponent.js +1 -1
- package/dist/lib/util/createVariantComponent.js.map +1 -1
- package/dist/vite/plugin.js +1 -1
- package/dist/vite/plugin.js.map +1 -1
- package/lib/{Spinner-DoNe5ql0.js → Spinner-9_-7nYgL.js} +5 -5
- package/lib/zudoku.components.js +2 -2
- package/lib/zudoku.plugins.js +5692 -5690
- package/package.json +1 -1
- package/src/lib/components/CategoryHeading.tsx +1 -1
- package/src/lib/components/Dialog.tsx +6 -6
- package/src/lib/components/Layout.tsx +1 -1
- package/src/lib/components/Select.tsx +7 -7
- package/src/lib/components/context/ThemeContext.tsx +1 -1
- package/src/lib/plugins/api-key/CreateApiKey.tsx +5 -5
- package/src/lib/plugins/api-key/SettingsApiKeys.tsx +5 -5
- package/src/lib/plugins/openapi/MakeRequest.tsx +2 -2
- package/src/lib/plugins/openapi/OperationListItem.tsx +2 -2
- package/src/lib/plugins/openapi/graphql/fragment-masking.ts +1 -1
- package/src/lib/plugins/openapi/graphql/gql.ts +1 -1
- package/src/lib/plugins/openapi/playground/Editor.tsx +0 -2
- package/src/lib/plugins/openapi/playground/Headers.tsx +3 -3
- package/src/lib/plugins/openapi/playground/Playground.tsx +1 -3
- package/src/lib/ui/Tabs.tsx +2 -2
- package/src/lib/util/createVariantComponent.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
2
|
import { XIcon } from "lucide-react";
|
|
3
|
+
import * as React from "react";
|
|
4
4
|
import { cn } from "../util/cn.js";
|
|
5
5
|
|
|
6
6
|
const Dialog = DialogPrimitive.Root;
|
|
@@ -107,13 +107,13 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
|
107
107
|
|
|
108
108
|
export {
|
|
109
109
|
Dialog,
|
|
110
|
-
DialogPortal,
|
|
111
|
-
DialogOverlay,
|
|
112
|
-
DialogTrigger,
|
|
113
110
|
DialogClose,
|
|
114
111
|
DialogContent,
|
|
115
|
-
|
|
112
|
+
DialogDescription,
|
|
116
113
|
DialogFooter,
|
|
114
|
+
DialogHeader,
|
|
115
|
+
DialogOverlay,
|
|
116
|
+
DialogPortal,
|
|
117
117
|
DialogTitle,
|
|
118
|
-
|
|
118
|
+
DialogTrigger,
|
|
119
119
|
};
|
|
@@ -3,9 +3,9 @@ import { Outlet, useLocation } from "react-router-dom";
|
|
|
3
3
|
import { Helmet } from "../core/helmet.js";
|
|
4
4
|
import { useScrollToAnchor } from "../util/useScrollToAnchor.js";
|
|
5
5
|
import { useScrollToTop } from "../util/useScrollToTop.js";
|
|
6
|
-
import { Header } from "./Header.js";
|
|
7
6
|
import { useDevPortal } from "./context/DevPortalProvider.js";
|
|
8
7
|
import { useViewportAnchor } from "./context/ViewportAnchorContext.js";
|
|
8
|
+
import { Header } from "./Header.js";
|
|
9
9
|
import { SideNavigation } from "./navigation/SideNavigation.js";
|
|
10
10
|
import { Spinner } from "./Spinner.js";
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
2
|
import { Check, ChevronDown, ChevronUp } from "lucide-react";
|
|
3
|
+
import * as React from "react";
|
|
4
4
|
import { cn } from "../util/cn.js";
|
|
5
5
|
|
|
6
6
|
const Select = SelectPrimitive.Root;
|
|
@@ -145,13 +145,13 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
145
145
|
|
|
146
146
|
export {
|
|
147
147
|
Select,
|
|
148
|
-
SelectGroup,
|
|
149
|
-
SelectValue,
|
|
150
|
-
SelectTrigger,
|
|
151
148
|
SelectContent,
|
|
152
|
-
|
|
149
|
+
SelectGroup,
|
|
153
150
|
SelectItem,
|
|
154
|
-
|
|
155
|
-
SelectScrollUpButton,
|
|
151
|
+
SelectLabel,
|
|
156
152
|
SelectScrollDownButton,
|
|
153
|
+
SelectScrollUpButton,
|
|
154
|
+
SelectSeparator,
|
|
155
|
+
SelectTrigger,
|
|
156
|
+
SelectValue,
|
|
157
157
|
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { useDevPortal } from "../../components/context/DevPortalProvider.js";
|
|
2
|
-
import { type ApiKeyPluginOptions, ApiKeyService } from "./index.js";
|
|
3
1
|
import { useMutation } from "@tanstack/react-query";
|
|
4
|
-
import { Button } from "../../ui/Button.js";
|
|
5
|
-
import { Input } from "../../components/Input.js";
|
|
6
|
-
import { Link, useNavigate } from "react-router-dom";
|
|
7
2
|
import { useForm } from "react-hook-form";
|
|
3
|
+
import { Link, useNavigate } from "react-router-dom";
|
|
4
|
+
import { useDevPortal } from "../../components/context/DevPortalProvider.js";
|
|
5
|
+
import { Input } from "../../components/Input.js";
|
|
8
6
|
import {
|
|
9
7
|
Select,
|
|
10
8
|
SelectContent,
|
|
@@ -13,6 +11,8 @@ import {
|
|
|
13
11
|
SelectTrigger,
|
|
14
12
|
SelectValue,
|
|
15
13
|
} from "../../components/Select.js";
|
|
14
|
+
import { Button } from "../../ui/Button.js";
|
|
15
|
+
import { type ApiKeyPluginOptions, ApiKeyService } from "./index.js";
|
|
16
16
|
|
|
17
17
|
type CreateApiKey = { description: string; expiresOn?: string };
|
|
18
18
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { useDevPortal } from "../../components/context/DevPortalProvider.js";
|
|
2
|
-
import { type ApiKeyPluginOptions, ApiKeyService } from "./index.js";
|
|
3
1
|
import {
|
|
4
2
|
useMutation,
|
|
5
3
|
useQueryClient,
|
|
6
4
|
useSuspenseQuery,
|
|
7
5
|
} from "@tanstack/react-query";
|
|
8
|
-
import { Button } from "../../ui/Button.js";
|
|
9
|
-
import { Card } from "../../ui/Card.js";
|
|
10
6
|
import { EyeIcon, EyeOffIcon, RotateCwIcon, TrashIcon } from "lucide-react";
|
|
11
|
-
import { Link } from "react-router-dom";
|
|
12
7
|
import { useState } from "react";
|
|
8
|
+
import { Link } from "react-router-dom";
|
|
9
|
+
import { useDevPortal } from "../../components/context/DevPortalProvider.js";
|
|
10
|
+
import { Button } from "../../ui/Button.js";
|
|
11
|
+
import { Card } from "../../ui/Card.js";
|
|
12
|
+
import { type ApiKeyPluginOptions, ApiKeyService } from "./index.js";
|
|
13
13
|
|
|
14
14
|
export const SettingsApiKeys = ({
|
|
15
15
|
options,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { graphql } from "./graphql/index.js";
|
|
2
|
+
import { useOasConfig } from "./index.js";
|
|
1
3
|
import type { OperationListItemResult } from "./OperationList.js";
|
|
2
4
|
import { Playground } from "./playground/Playground.js";
|
|
3
|
-
import { useOasConfig } from "./index.js";
|
|
4
|
-
import { graphql } from "./graphql/index.js";
|
|
5
5
|
|
|
6
6
|
import { useQuery } from "urql";
|
|
7
7
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Heading } from "../../components/Heading.js";
|
|
2
2
|
import { Markdown, ProseClasses } from "../../components/Markdown.js";
|
|
3
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../ui/Tabs.js";
|
|
3
4
|
import { groupBy } from "../../util/groupBy.js";
|
|
4
5
|
import { OperationsFragment } from "./OperationList.js";
|
|
5
6
|
import { ParameterList } from "./ParameterList.js";
|
|
7
|
+
import { SchemaListView } from "./SchemaListView.js";
|
|
6
8
|
import { Sidecar } from "./Sidecar.js";
|
|
7
9
|
import { FragmentType, useFragment } from "./graphql/index.js";
|
|
8
|
-
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../ui/Tabs.js";
|
|
9
|
-
import { SchemaListView } from "./SchemaListView.js";
|
|
10
10
|
|
|
11
11
|
export const PARAM_GROUPS = ["path", "query", "header", "cookie"] as const;
|
|
12
12
|
export type ParameterGroup = (typeof PARAM_GROUPS)[number];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Control, useFieldArray, UseFormRegister } from "react-hook-form";
|
|
2
1
|
import { XIcon } from "lucide-react";
|
|
3
|
-
import {
|
|
4
|
-
import type { PlaygroundForm, Header } from "./Playground.js";
|
|
2
|
+
import { Control, useFieldArray, UseFormRegister } from "react-hook-form";
|
|
5
3
|
import { Button } from "../../../ui/Button.js";
|
|
4
|
+
import { InlineInput } from "./InlineInput.js";
|
|
5
|
+
import type { Header, PlaygroundForm } from "./Playground.js";
|
|
6
6
|
|
|
7
7
|
export const Headers = ({
|
|
8
8
|
control,
|
|
@@ -326,9 +326,7 @@ const Playground = ({
|
|
|
326
326
|
language={lang ?? "json"}
|
|
327
327
|
noBackground
|
|
328
328
|
className="overflow-x-auto "
|
|
329
|
-
code={
|
|
330
|
-
queryMutation.data.body ?? JSON.stringify("")
|
|
331
|
-
}
|
|
329
|
+
code={queryMutation.data.body ?? JSON.stringify("")}
|
|
332
330
|
/>
|
|
333
331
|
</Card>
|
|
334
332
|
</TabsContent>
|
package/src/lib/ui/Tabs.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import { cn } from "../util/cn.js";
|
|
4
4
|
|
|
5
5
|
const Tabs = TabsPrimitive.Root;
|
|
@@ -49,4 +49,4 @@ const TabsContent = React.forwardRef<
|
|
|
49
49
|
));
|
|
50
50
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
51
51
|
|
|
52
|
-
export { Tabs, TabsList, TabsTrigger
|
|
52
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { cva } from "class-variance-authority";
|
|
3
1
|
import { Slot } from "@radix-ui/react-slot";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
4
3
|
import type { ClassValue } from "clsx";
|
|
4
|
+
import * as React from "react";
|
|
5
5
|
import type { JSX } from "react/jsx-runtime";
|
|
6
6
|
import { cn } from "./cn.js";
|
|
7
7
|
|