zudoku 0.35.3 → 0.35.4

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.
Files changed (34) hide show
  1. package/dist/lib/components/Layout.js +1 -1
  2. package/dist/lib/components/Layout.js.map +1 -1
  3. package/dist/lib/plugins/openapi/ParamInfos.d.ts +6 -0
  4. package/dist/lib/plugins/openapi/ParamInfos.js +34 -0
  5. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -0
  6. package/dist/lib/plugins/openapi/ParameterListItem.js +5 -4
  7. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  8. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +6 -8
  9. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  10. package/dist/lib/ui/Button.d.ts +2 -2
  11. package/dist/lib/ui/Button.js +1 -0
  12. package/dist/lib/ui/Button.js.map +1 -1
  13. package/lib/{OasProvider-7Z9UwS9y.js → OasProvider-BbSqUQka.js} +2 -2
  14. package/lib/{OasProvider-7Z9UwS9y.js.map → OasProvider-BbSqUQka.js.map} +1 -1
  15. package/lib/{OperationList-a7wnHdXv.js → OperationList-CENzwqY8.js} +1063 -1029
  16. package/lib/OperationList-CENzwqY8.js.map +1 -0
  17. package/lib/{Spinner-1KrEmx1V.js → Spinner-C6n4eOvh.js} +13 -12
  18. package/lib/Spinner-C6n4eOvh.js.map +1 -0
  19. package/lib/{index-UmhI2mj7.js → index-BVhQWA89.js} +4 -4
  20. package/lib/{index-UmhI2mj7.js.map → index-BVhQWA89.js.map} +1 -1
  21. package/lib/ui/ActionButton.js +1 -1
  22. package/lib/ui/Button.js +12 -11
  23. package/lib/ui/Button.js.map +1 -1
  24. package/lib/zudoku.components.js +2 -2
  25. package/lib/zudoku.components.js.map +1 -1
  26. package/lib/zudoku.plugin-openapi.js +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/components/Layout.tsx +1 -1
  29. package/src/lib/plugins/openapi/ParamInfos.tsx +64 -0
  30. package/src/lib/plugins/openapi/ParameterListItem.tsx +9 -11
  31. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +17 -33
  32. package/src/lib/ui/Button.tsx +3 -1
  33. package/lib/OperationList-a7wnHdXv.js.map +0 -1
  34. package/lib/Spinner-1KrEmx1V.js.map +0 -1
@@ -1,10 +1,10 @@
1
- import { j as t } from "./jsx-runtime-CYK1ROHF.js";
1
+ import { j as r } from "./jsx-runtime-CYK1ROHF.js";
2
2
  import { Slot as d } from "@radix-ui/react-slot";
3
- import { c } from "./index-CPNSgwSb.js";
4
- import * as u from "react";
3
+ import { c as u } from "./index-CPNSgwSb.js";
4
+ import * as c from "react";
5
5
  import { c as m } from "./cn-qaFjX9_3.js";
6
- import { LoaderCircle as l } from "lucide-react";
7
- const f = c(
6
+ import { LoaderCircle as f } from "lucide-react";
7
+ const l = u(
8
8
  "not-prose inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
9
9
  {
10
10
  variants: {
@@ -14,7 +14,8 @@ const f = c(
14
14
  outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
15
15
  secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
16
16
  ghost: "hover:bg-accent hover:text-accent-foreground",
17
- link: "text-primary underline-offset-4 hover:underline"
17
+ link: "text-primary underline-offset-4 hover:underline",
18
+ expand: "flex gap-1.5 border bg-transparent rounded-xl text-muted-foreground hover:text-foreground"
18
19
  },
19
20
  size: {
20
21
  default: "h-9 px-4 py-2",
@@ -29,13 +30,13 @@ const f = c(
29
30
  size: "default"
30
31
  }
31
32
  }
32
- ), p = u.forwardRef(
33
- ({ className: e, variant: r, size: o, asChild: n = !1, ...s }, a) => {
33
+ ), p = c.forwardRef(
34
+ ({ className: e, variant: t, size: o, asChild: n = !1, ...s }, a) => {
34
35
  const i = n ? d : "button";
35
- return /* @__PURE__ */ t.jsx(
36
+ return /* @__PURE__ */ r.jsx(
36
37
  i,
37
38
  {
38
- className: m(f({ variant: r, size: o, className: e })),
39
+ className: m(l({ variant: t, size: o, className: e })),
39
40
  ref: a,
40
41
  ...s
41
42
  }
@@ -43,9 +44,9 @@ const f = c(
43
44
  }
44
45
  );
45
46
  p.displayName = "Button";
46
- const y = ({ size: e = 16 }) => /* @__PURE__ */ t.jsx(l, { size: e, className: "animate-spin" });
47
+ const y = ({ size: e = 16 }) => /* @__PURE__ */ r.jsx(f, { size: e, className: "animate-spin" });
47
48
  export {
48
49
  p as B,
49
50
  y as S
50
51
  };
51
- //# sourceMappingURL=Spinner-1KrEmx1V.js.map
52
+ //# sourceMappingURL=Spinner-C6n4eOvh.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner-C6n4eOvh.js","sources":["../src/lib/ui/Button.tsx","../src/lib/components/Spinner.tsx"],"sourcesContent":["import { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\nimport { cn } from \"../util/cn.js\";\n\nexport const buttonVariants = cva(\n \"not-prose inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50\",\n {\n variants: {\n variant: {\n default:\n \"bg-primary text-primary-foreground shadow hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n expand:\n \"flex gap-1.5 border bg-transparent rounded-xl text-muted-foreground hover:text-foreground\",\n },\n size: {\n default: \"h-9 px-4 py-2\",\n sm: \"h-8 rounded-md px-3 text-xs\",\n lg: \"h-10 rounded-md px-8\",\n xl: \"h-14 rounded-lg px-10 text-lg\",\n icon: \"h-9 w-9\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants> {\n asChild?: boolean;\n}\n\nexport const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\";\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n {...props}\n />\n );\n },\n);\nButton.displayName = \"Button\";\n","import { LoaderCircle } from \"lucide-react\";\n\nexport const Spinner = ({ size = 16 }: { size?: number }) => (\n <LoaderCircle size={size} className=\"animate-spin\" />\n);\n"],"names":["buttonVariants","cva","Button","React","className","variant","size","asChild","props","ref","Comp","Slot","jsx","cn","Spinner","LoaderCircle"],"mappings":";;;;;;AAKO,MAAMA,IAAiBC;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,aACE;AAAA,QACF,SACE;AAAA,QACF,WACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,QACN,QACE;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MAAA;AAAA,IAEV;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ,GAQaC,IAASC,EAAM;AAAA,EAC1B,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,SAAAC,IAAU,IAAO,GAAGC,EAAM,GAAGC,MAAQ;AAC1D,UAAAC,IAAOH,IAAUI,IAAO;AAE5B,WAAAC,gBAAAA,EAAA;AAAA,MAACF;AAAA,MAAA;AAAA,QACC,WAAWG,EAAGb,EAAe,EAAE,SAAAK,GAAS,MAAAC,GAAM,WAAAF,EAAA,CAAW,CAAC;AAAA,QAC1D,KAAAK;AAAA,QACC,GAAGD;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAGN;AACAN,EAAO,cAAc;ACtDR,MAAAY,IAAU,CAAC,EAAE,MAAAR,IAAO,SAC9BM,gBAAAA,MAAAG,GAAA,EAAa,MAAAT,GAAY,WAAU,eAAe,CAAA;"}
@@ -24,7 +24,7 @@ import { c as p } from "./cn-qaFjX9_3.js";
24
24
  import { Tabs as jt, TabsList as vt, TabsTrigger as z, TabsContent as H } from "./ui/Tabs.js";
25
25
  import { u as cs, o as ms } from "./objectEntries-BS7aAgOm.js";
26
26
  import { z as us } from "./index-DwT-v3zK.js";
27
- import { B as L, S as ps } from "./Spinner-1KrEmx1V.js";
27
+ import { B as L, S as ps } from "./Spinner-C6n4eOvh.js";
28
28
  import * as b from "@radix-ui/react-dropdown-menu";
29
29
  import * as Te from "@radix-ui/react-checkbox";
30
30
  import * as oe from "@radix-ui/react-popover";
@@ -1973,7 +1973,7 @@ const xn = {
1973
1973
  }), xt = (t) => ({
1974
1974
  path: t.routePath,
1975
1975
  async lazy() {
1976
- const { OasProvider: s } = await import("./OasProvider-7Z9UwS9y.js");
1976
+ const { OasProvider: s } = await import("./OasProvider-BbSqUQka.js");
1977
1977
  return {
1978
1978
  element: /* @__PURE__ */ e.jsx(
1979
1979
  s,
@@ -1994,7 +1994,7 @@ const xn = {
1994
1994
  }) => ({
1995
1995
  path: t,
1996
1996
  async lazy() {
1997
- const { OperationList: a } = await import("./OperationList-a7wnHdXv.js");
1997
+ const { OperationList: a } = await import("./OperationList-CENzwqY8.js");
1998
1998
  return { element: /* @__PURE__ */ e.jsx(a, { tag: s, untagged: n }) };
1999
1999
  }
2000
2000
  }), $n = (t, s) => {
@@ -2200,4 +2200,4 @@ export {
2200
2200
  mn as m,
2201
2201
  ia as o
2202
2202
  };
2203
- //# sourceMappingURL=index-UmhI2mj7.js.map
2203
+ //# sourceMappingURL=index-BVhQWA89.js.map