zudoku 0.54.1 → 0.54.2

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 (76) hide show
  1. package/dist/config/validators/NavigationSchema.js +4 -2
  2. package/dist/config/validators/NavigationSchema.js.map +1 -1
  3. package/dist/lib/components/BuildCheck.d.ts +2 -1
  4. package/dist/lib/components/BuildCheck.js +2 -3
  5. package/dist/lib/components/BuildCheck.js.map +1 -1
  6. package/dist/lib/components/index.d.ts +2 -1
  7. package/dist/lib/shiki.d.ts +4 -0
  8. package/dist/lib/shiki.js +2 -0
  9. package/dist/lib/shiki.js.map +1 -1
  10. package/dist/lib/ui/CodeBlock.js +30 -4
  11. package/dist/lib/ui/CodeBlock.js.map +1 -1
  12. package/dist/vite/config.js +6 -1
  13. package/dist/vite/config.js.map +1 -1
  14. package/dist/vite/plugin-config.d.ts +1 -1
  15. package/dist/vite/plugin-config.js +2 -1
  16. package/dist/vite/plugin-config.js.map +1 -1
  17. package/dist/vite/plugin-docs.js +9 -11
  18. package/dist/vite/plugin-docs.js.map +1 -1
  19. package/lib/CodeBlock-NFCmSWOK.js +98 -0
  20. package/lib/CodeBlock-NFCmSWOK.js.map +1 -0
  21. package/lib/{MdxPage-Bsko6_kb.js → MdxPage-C6Ru5mfp.js} +5 -5
  22. package/lib/{MdxPage-Bsko6_kb.js.map → MdxPage-C6Ru5mfp.js.map} +1 -1
  23. package/lib/{OAuthErrorPage-DJzGiIBt.js → OAuthErrorPage-Dd0fl6Lh.js} +4 -4
  24. package/lib/{OAuthErrorPage-DJzGiIBt.js.map → OAuthErrorPage-Dd0fl6Lh.js.map} +1 -1
  25. package/lib/{OasProvider-DQQRt3oS.js → OasProvider-DNmLItHj.js} +2 -2
  26. package/lib/{OasProvider-DQQRt3oS.js.map → OasProvider-DNmLItHj.js.map} +1 -1
  27. package/lib/{OperationList-DpmkHf26.js → OperationList-BE_BNejn.js} +8 -8
  28. package/lib/{OperationList-DpmkHf26.js.map → OperationList-BE_BNejn.js.map} +1 -1
  29. package/lib/{Pagination-kqFNgtnI.js → Pagination-29CJ3c2k.js} +2 -2
  30. package/lib/{Pagination-kqFNgtnI.js.map → Pagination-29CJ3c2k.js.map} +1 -1
  31. package/lib/{SchemaList-DS-pMd6B.js → SchemaList-BTkZiol0.js} +6 -6
  32. package/lib/{SchemaList-DS-pMd6B.js.map → SchemaList-BTkZiol0.js.map} +1 -1
  33. package/lib/{SchemaView-BnN6WHjw.js → SchemaView-Bc5_uIbh.js} +4 -4
  34. package/lib/{SchemaView-BnN6WHjw.js.map → SchemaView-Bc5_uIbh.js.map} +1 -1
  35. package/lib/{Select-BmTTKNPp.js → Select-DVKfV8Vb.js} +2 -2
  36. package/lib/{Select-BmTTKNPp.js.map → Select-DVKfV8Vb.js.map} +1 -1
  37. package/lib/{SignUp-BwOSCD-6.js → SignUp-DUmbxjcy.js} +2 -2
  38. package/lib/{SignUp-BwOSCD-6.js.map → SignUp-DUmbxjcy.js.map} +1 -1
  39. package/lib/{Slot-DAyXieeZ.js → Slot-BahfuM5e.js} +137 -124
  40. package/lib/{Slot-DAyXieeZ.js.map → Slot-BahfuM5e.js.map} +1 -1
  41. package/lib/{SyntaxHighlight-BMKR4pl6.js → SyntaxHighlight-BaPoOBLD.js} +112 -110
  42. package/lib/{SyntaxHighlight-BMKR4pl6.js.map → SyntaxHighlight-BaPoOBLD.js.map} +1 -1
  43. package/lib/{Toc-BKDRCQzU.js → Toc-MF9YxB9B.js} +2 -2
  44. package/lib/{Toc-BKDRCQzU.js.map → Toc-MF9YxB9B.js.map} +1 -1
  45. package/lib/{circular-8GWQDvCW.js → circular-Bv1c2Yd3.js} +2 -2
  46. package/lib/{circular-8GWQDvCW.js.map → circular-Bv1c2Yd3.js.map} +1 -1
  47. package/lib/{createServer-BsezSzvV.js → createServer-B4o75XI3.js} +4 -4
  48. package/lib/{createServer-BsezSzvV.js.map → createServer-B4o75XI3.js.map} +1 -1
  49. package/lib/{errors-Cs7hKmdL.js → errors-7Pb4eZXa.js} +2 -2
  50. package/lib/{errors-Cs7hKmdL.js.map → errors-7Pb4eZXa.js.map} +1 -1
  51. package/lib/hook-DbUCLQNg.js.map +1 -1
  52. package/lib/{index-A5Qdwj1B.js → index-BqrVgyZ3.js} +15 -14
  53. package/lib/{index-A5Qdwj1B.js.map → index-BqrVgyZ3.js.map} +1 -1
  54. package/lib/{index-Bg7Js3jB.js → index-D_weJvKR.js} +11 -11
  55. package/lib/{index-Bg7Js3jB.js.map → index-D_weJvKR.js.map} +1 -1
  56. package/lib/{index-BkW9tJ6j.js → index-fHJ5WmM5.js} +2 -2
  57. package/lib/{index-BkW9tJ6j.js.map → index-fHJ5WmM5.js.map} +1 -1
  58. package/lib/ui/CodeBlock.js +1 -1
  59. package/lib/ui/SyntaxHighlight.js +2 -2
  60. package/lib/zudoku.auth-azureb2c.js +3 -3
  61. package/lib/zudoku.auth-clerk.js +1 -1
  62. package/lib/zudoku.auth-openid.js +3 -3
  63. package/lib/zudoku.auth-supabase.js +1 -1
  64. package/lib/zudoku.components.js +2 -2
  65. package/lib/zudoku.plugin-api-catalog.js +3 -3
  66. package/lib/zudoku.plugin-api-keys.js +3 -3
  67. package/lib/zudoku.plugin-markdown.js +1 -1
  68. package/lib/zudoku.plugin-openapi.js +1 -1
  69. package/package.json +8 -8
  70. package/src/app/main.css +3 -7
  71. package/src/lib/components/BuildCheck.tsx +3 -3
  72. package/src/lib/shiki.ts +2 -0
  73. package/src/lib/ui/CodeBlock.tsx +38 -13
  74. package/dist/flat-config.d.ts +0 -327
  75. package/lib/CodeBlock-B-G0eKtw.js +0 -85
  76. package/lib/CodeBlock-B-G0eKtw.js.map +0 -1
@@ -1,327 +0,0 @@
1
- export type _Schema1 = ((string | {
2
- type: "doc"
3
- file: string
4
- path?: string
5
- icon?: _Schema2
6
- label?: string
7
- badge?: _Schema3
8
- display?: _Schema4
9
- }) | {
10
- type: "link"
11
- to: string
12
- label: string
13
- icon?: _Schema2
14
- badge?: _Schema3
15
- display?: _Schema4
16
- } | {
17
- type: "custom-page"
18
- path: string
19
- label?: string
20
- element: unknown
21
- icon?: _Schema2
22
- badge?: _Schema3
23
- display?: _Schema4
24
- } | {
25
- type: "category"
26
- icon?: _Schema2
27
- label: string
28
- collapsible?: boolean
29
- collapsed?: boolean
30
- link?: (string | {
31
- type: "doc"
32
- file: string
33
- label?: string
34
- })
35
- display?: _Schema4
36
- items: _Schema1[]
37
- })
38
- export type _Schema2 = ("a-arrow-down" | "a-arrow-up" | "a-large-small" | "accessibility" | "activity" | "activity-square" | "air-vent" | "airplay" | "alarm-check" | "alarm-clock" | "alarm-clock-check" | "alarm-clock-minus" | "alarm-clock-off" | "alarm-clock-plus" | "alarm-minus" | "alarm-plus" | "alarm-smoke" | "album" | "alert-circle" | "alert-octagon" | "alert-triangle" | "align-center" | "align-center-horizontal" | "align-center-vertical" | "align-end-horizontal" | "align-end-vertical" | "align-horizontal-distribute-center" | "align-horizontal-distribute-end" | "align-horizontal-distribute-start" | "align-horizontal-justify-center" | "align-horizontal-justify-end" | "align-horizontal-justify-start" | "align-horizontal-space-around" | "align-horizontal-space-between" | "align-justify" | "align-left" | "align-right" | "align-start-horizontal" | "align-start-vertical" | "align-vertical-distribute-center" | "align-vertical-distribute-end" | "align-vertical-distribute-start" | "align-vertical-justify-center" | "align-vertical-justify-end" | "align-vertical-justify-start" | "align-vertical-space-around" | "align-vertical-space-between" | "ambulance" | "ampersand" | "ampersands" | "amphora" | "anchor" | "angry" | "annoyed" | "antenna" | "anvil" | "aperture" | "app-window" | "app-window-mac" | "apple" | "archive" | "archive-restore" | "archive-x" | "area-chart" | "armchair" | "arrow-big-down" | "arrow-big-down-dash" | "arrow-big-left" | "arrow-big-left-dash" | "arrow-big-right" | "arrow-big-right-dash" | "arrow-big-up" | "arrow-big-up-dash" | "arrow-down" | "arrow-down-0-1" | "arrow-down-01" | "arrow-down-1-0" | "arrow-down-10" | "arrow-down-a-z" | "arrow-down-az" | "arrow-down-circle" | "arrow-down-from-line" | "arrow-down-left" | "arrow-down-left-from-circle" | "arrow-down-left-from-square" | "arrow-down-left-square" | "arrow-down-narrow-wide" | "arrow-down-right" | "arrow-down-right-from-circle" | "arrow-down-right-from-square" | "arrow-down-right-square" | "arrow-down-square" | "arrow-down-to-dot" | "arrow-down-to-line" | "arrow-down-up" | "arrow-down-wide-narrow" | "arrow-down-z-a" | "arrow-down-za" | "arrow-left" | "arrow-left-circle" | "arrow-left-from-line" | "arrow-left-right" | "arrow-left-square" | "arrow-left-to-line" | "arrow-right" | "arrow-right-circle" | "arrow-right-from-line" | "arrow-right-left" | "arrow-right-square" | "arrow-right-to-line" | "arrow-up" | "arrow-up-0-1" | "arrow-up-01" | "arrow-up-1-0" | "arrow-up-10" | "arrow-up-a-z" | "arrow-up-az" | "arrow-up-circle" | "arrow-up-down" | "arrow-up-from-dot" | "arrow-up-from-line" | "arrow-up-left" | "arrow-up-left-from-circle" | "arrow-up-left-from-square" | "arrow-up-left-square" | "arrow-up-narrow-wide" | "arrow-up-right" | "arrow-up-right-from-circle" | "arrow-up-right-from-square" | "arrow-up-right-square" | "arrow-up-square" | "arrow-up-to-line" | "arrow-up-wide-narrow" | "arrow-up-z-a" | "arrow-up-za" | "arrows-up-from-line" | "asterisk" | "asterisk-square" | "at-sign" | "atom" | "audio-lines" | "audio-waveform" | "award" | "axe" | "axis-3-d" | "axis-3d" | "baby" | "backpack" | "badge" | "badge-alert" | "badge-cent" | "badge-check" | "badge-dollar-sign" | "badge-euro" | "badge-help" | "badge-indian-rupee" | "badge-info" | "badge-japanese-yen" | "badge-minus" | "badge-percent" | "badge-plus" | "badge-pound-sterling" | "badge-question-mark" | "badge-russian-ruble" | "badge-swiss-franc" | "badge-x" | "baggage-claim" | "ban" | "banana" | "bandage" | "banknote" | "banknote-arrow-down" | "banknote-arrow-up" | "banknote-x" | "bar-chart" | "bar-chart-2" | "bar-chart-3" | "bar-chart-4" | "bar-chart-big" | "bar-chart-horizontal" | "bar-chart-horizontal-big" | "barcode" | "barrel" | "baseline" | "bath" | "battery" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-plus" | "battery-warning" | "beaker" | "bean" | "bean-off" | "bed" | "bed-double" | "bed-single" | "beef" | "beer" | "beer-off" | "bell" | "bell-dot" | "bell-electric" | "bell-minus" | "bell-off" | "bell-plus" | "bell-ring" | "between-horizonal-end" | "between-horizonal-start" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "biceps-flexed" | "bike" | "binary" | "binoculars" | "biohazard" | "bird" | "bitcoin" | "blend" | "blinds" | "blocks" | "bluetooth" | "bluetooth-connected" | "bluetooth-off" | "bluetooth-searching" | "bold" | "bolt" | "bomb" | "bone" | "book" | "book-a" | "book-alert" | "book-audio" | "book-check" | "book-copy" | "book-dashed" | "book-down" | "book-headphones" | "book-heart" | "book-image" | "book-key" | "book-lock" | "book-marked" | "book-minus" | "book-open" | "book-open-check" | "book-open-text" | "book-plus" | "book-template" | "book-text" | "book-type" | "book-up" | "book-up-2" | "book-user" | "book-x" | "bookmark" | "bookmark-check" | "bookmark-minus" | "bookmark-plus" | "bookmark-x" | "boom-box" | "bot" | "bot-message-square" | "bot-off" | "bottle-wine" | "bow-arrow" | "box" | "box-select" | "boxes" | "braces" | "brackets" | "brain" | "brain-circuit" | "brain-cog" | "brick-wall" | "brick-wall-fire" | "briefcase" | "briefcase-business" | "briefcase-conveyor-belt" | "briefcase-medical" | "bring-to-front" | "brush" | "brush-cleaning" | "bubbles" | "bug" | "bug-off" | "bug-play" | "building" | "building-2" | "bus" | "bus-front" | "cable" | "cable-car" | "cake" | "cake-slice" | "calculator" | "calendar" | "calendar-1" | "calendar-arrow-down" | "calendar-arrow-up" | "calendar-check" | "calendar-check-2" | "calendar-clock" | "calendar-cog" | "calendar-days" | "calendar-fold" | "calendar-heart" | "calendar-minus" | "calendar-minus-2" | "calendar-off" | "calendar-plus" | "calendar-plus-2" | "calendar-range" | "calendar-search" | "calendar-sync" | "calendar-x" | "calendar-x-2" | "camera" | "camera-off" | "candlestick-chart" | "candy" | "candy-cane" | "candy-off" | "cannabis" | "captions" | "captions-off" | "car" | "car-front" | "car-taxi-front" | "caravan" | "card-sim" | "carrot" | "case-lower" | "case-sensitive" | "case-upper" | "cassette-tape" | "cast" | "castle" | "cat" | "cctv" | "chart-area" | "chart-bar" | "chart-bar-big" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-bar-stacked" | "chart-candlestick" | "chart-column" | "chart-column-big" | "chart-column-decreasing" | "chart-column-increasing" | "chart-column-stacked" | "chart-gantt" | "chart-line" | "chart-network" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "check" | "check-check" | "check-circle" | "check-circle-2" | "check-line" | "check-square" | "check-square-2" | "chef-hat" | "cherry" | "chevron-down" | "chevron-down-circle" | "chevron-down-square" | "chevron-first" | "chevron-last" | "chevron-left" | "chevron-left-circle" | "chevron-left-square" | "chevron-right" | "chevron-right-circle" | "chevron-right-square" | "chevron-up" | "chevron-up-circle" | "chevron-up-square" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-left-right-ellipsis" | "chevrons-right" | "chevrons-right-left" | "chevrons-up" | "chevrons-up-down" | "chrome" | "church" | "cigarette" | "cigarette-off" | "circle" | "circle-alert" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-check" | "circle-check-big" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-dashed" | "circle-divide" | "circle-dollar-sign" | "circle-dot" | "circle-dot-dashed" | "circle-ellipsis" | "circle-equal" | "circle-fading-arrow-up" | "circle-fading-plus" | "circle-gauge" | "circle-help" | "circle-minus" | "circle-off" | "circle-parking" | "circle-parking-off" | "circle-pause" | "circle-percent" | "circle-play" | "circle-plus" | "circle-pound-sterling" | "circle-power" | "circle-question-mark" | "circle-slash" | "circle-slash-2" | "circle-slashed" | "circle-small" | "circle-stop" | "circle-user" | "circle-user-round" | "circle-x" | "circuit-board" | "citrus" | "clapperboard" | "clipboard" | "clipboard-check" | "clipboard-copy" | "clipboard-edit" | "clipboard-list" | "clipboard-minus" | "clipboard-paste" | "clipboard-pen" | "clipboard-pen-line" | "clipboard-plus" | "clipboard-signature" | "clipboard-type" | "clipboard-x" | "clock" | "clock-1" | "clock-10" | "clock-11" | "clock-12" | "clock-2" | "clock-3" | "clock-4" | "clock-5" | "clock-6" | "clock-7" | "clock-8" | "clock-9" | "clock-alert" | "clock-arrow-down" | "clock-arrow-up" | "clock-fading" | "clock-plus" | "cloud" | "cloud-alert" | "cloud-check" | "cloud-cog" | "cloud-download" | "cloud-drizzle" | "cloud-fog" | "cloud-hail" | "cloud-lightning" | "cloud-moon" | "cloud-moon-rain" | "cloud-off" | "cloud-rain" | "cloud-rain-wind" | "cloud-snow" | "cloud-sun" | "cloud-sun-rain" | "cloud-upload" | "cloudy" | "clover" | "club" | "code" | "code-2" | "code-square" | "code-xml" | "codepen" | "codesandbox" | "coffee" | "cog" | "coins" | "columns" | "columns-2" | "columns-3" | "columns-3-cog" | "columns-4" | "columns-settings" | "combine" | "command" | "compass" | "component" | "computer" | "concierge-bell" | "cone" | "construction" | "contact" | "contact-2" | "contact-round" | "container" | "contrast" | "cookie" | "cooking-pot" | "copy" | "copy-check" | "copy-minus" | "copy-plus" | "copy-slash" | "copy-x" | "copyleft" | "copyright" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "creative-commons" | "credit-card" | "croissant" | "crop" | "cross" | "crosshair" | "crown" | "cuboid" | "cup-soda" | "curly-braces" | "currency" | "cylinder" | "dam" | "database" | "database-backup" | "database-zap" | "decimals-arrow-left" | "decimals-arrow-right" | "delete" | "dessert" | "diameter" | "diamond" | "diamond-minus" | "diamond-percent" | "diamond-plus" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "dices" | "diff" | "disc" | "disc-2" | "disc-3" | "disc-album" | "divide" | "divide-circle" | "divide-square" | "dna" | "dna-off" | "dock" | "dog" | "dollar-sign" | "donut" | "door-closed" | "door-closed-locked" | "door-open" | "dot" | "dot-square" | "download" | "download-cloud" | "drafting-compass" | "drama" | "dribbble" | "drill" | "drone" | "droplet" | "droplet-off" | "droplets" | "drum" | "drumstick" | "dumbbell" | "ear" | "ear-off" | "earth" | "earth-lock" | "eclipse" | "edit" | "edit-2" | "edit-3" | "egg" | "egg-fried" | "egg-off" | "ellipsis" | "ellipsis-vertical" | "equal" | "equal-approximately" | "equal-not" | "equal-square" | "eraser" | "ethernet-port" | "euro" | "expand" | "external-link" | "eye" | "eye-closed" | "eye-off" | "facebook" | "factory" | "fan" | "fast-forward" | "feather" | "fence" | "ferris-wheel" | "figma" | "file" | "file-archive" | "file-audio" | "file-audio-2" | "file-axis-3-d" | "file-axis-3d" | "file-badge" | "file-badge-2" | "file-bar-chart" | "file-bar-chart-2" | "file-box" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-chart-pie" | "file-check" | "file-check-2" | "file-clock" | "file-code" | "file-code-2" | "file-cog" | "file-cog-2" | "file-diff" | "file-digit" | "file-down" | "file-edit" | "file-heart" | "file-image" | "file-input" | "file-json" | "file-json-2" | "file-key" | "file-key-2" | "file-line-chart" | "file-lock" | "file-lock-2" | "file-minus" | "file-minus-2" | "file-music" | "file-output" | "file-pen" | "file-pen-line" | "file-pie-chart" | "file-plus" | "file-plus-2" | "file-question" | "file-question-mark" | "file-scan" | "file-search" | "file-search-2" | "file-signature" | "file-sliders" | "file-spreadsheet" | "file-stack" | "file-symlink" | "file-terminal" | "file-text" | "file-type" | "file-type-2" | "file-up" | "file-user" | "file-video" | "file-video-2" | "file-volume" | "file-volume-2" | "file-warning" | "file-x" | "file-x-2" | "files" | "film" | "filter" | "filter-x" | "fingerprint" | "fire-extinguisher" | "fish" | "fish-off" | "fish-symbol" | "flag" | "flag-off" | "flag-triangle-left" | "flag-triangle-right" | "flame" | "flame-kindling" | "flashlight" | "flashlight-off" | "flask-conical" | "flask-conical-off" | "flask-round" | "flip-horizontal" | "flip-horizontal-2" | "flip-vertical" | "flip-vertical-2" | "flower" | "flower-2" | "focus" | "fold-horizontal" | "fold-vertical" | "folder" | "folder-archive" | "folder-check" | "folder-clock" | "folder-closed" | "folder-code" | "folder-cog" | "folder-cog-2" | "folder-dot" | "folder-down" | "folder-edit" | "folder-git" | "folder-git-2" | "folder-heart" | "folder-input" | "folder-kanban" | "folder-key" | "folder-lock" | "folder-minus" | "folder-open" | "folder-open-dot" | "folder-output" | "folder-pen" | "folder-plus" | "folder-root" | "folder-search" | "folder-search-2" | "folder-symlink" | "folder-sync" | "folder-tree" | "folder-up" | "folder-x" | "folders" | "footprints" | "fork-knife" | "fork-knife-crossed" | "forklift" | "form-input" | "forward" | "frame" | "framer" | "frown" | "fuel" | "fullscreen" | "function-square" | "funnel" | "funnel-plus" | "funnel-x" | "gallery-horizontal" | "gallery-horizontal-end" | "gallery-thumbnails" | "gallery-vertical" | "gallery-vertical-end" | "gamepad" | "gamepad-2" | "gantt-chart" | "gantt-chart-square" | "gauge" | "gauge-circle" | "gavel" | "gem" | "georgian-lari" | "ghost" | "gift" | "git-branch" | "git-branch-plus" | "git-commit" | "git-commit-horizontal" | "git-commit-vertical" | "git-compare" | "git-compare-arrows" | "git-fork" | "git-graph" | "git-merge" | "git-pull-request" | "git-pull-request-arrow" | "git-pull-request-closed" | "git-pull-request-create" | "git-pull-request-create-arrow" | "git-pull-request-draft" | "github" | "gitlab" | "glass-water" | "glasses" | "globe" | "globe-2" | "globe-lock" | "goal" | "gpu" | "grab" | "graduation-cap" | "grape" | "grid" | "grid-2-x-2" | "grid-2-x-2-check" | "grid-2-x-2-plus" | "grid-2-x-2-x" | "grid-2x2" | "grid-2x2-check" | "grid-2x2-plus" | "grid-2x2-x" | "grid-3-x-3" | "grid-3x2" | "grid-3x3" | "grip" | "grip-horizontal" | "grip-vertical" | "group" | "guitar" | "ham" | "hamburger" | "hammer" | "hand" | "hand-coins" | "hand-heart" | "hand-helping" | "hand-metal" | "hand-platter" | "handshake" | "hard-drive" | "hard-drive-download" | "hard-drive-upload" | "hard-hat" | "hash" | "haze" | "hdmi-port" | "heading" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "headphone-off" | "headphones" | "headset" | "heart" | "heart-crack" | "heart-handshake" | "heart-minus" | "heart-off" | "heart-plus" | "heart-pulse" | "heater" | "help-circle" | "helping-hand" | "hexagon" | "highlighter" | "history" | "home" | "hop" | "hop-off" | "hospital" | "hotel" | "hourglass" | "house" | "house-plug" | "house-plus" | "house-wifi" | "ice-cream" | "ice-cream-2" | "ice-cream-bowl" | "ice-cream-cone" | "id-card" | "id-card-lanyard" | "image" | "image-down" | "image-minus" | "image-off" | "image-play" | "image-plus" | "image-up" | "image-upscale" | "images" | "import" | "inbox" | "indent" | "indent-decrease" | "indent-increase" | "indian-rupee" | "infinity" | "info" | "inspect" | "inspection-panel" | "instagram" | "italic" | "iteration-ccw" | "iteration-cw" | "japanese-yen" | "joystick" | "kanban" | "kanban-square" | "kanban-square-dashed" | "key" | "key-round" | "key-square" | "keyboard" | "keyboard-music" | "keyboard-off" | "lamp" | "lamp-ceiling" | "lamp-desk" | "lamp-floor" | "lamp-wall-down" | "lamp-wall-up" | "land-plot" | "landmark" | "languages" | "laptop" | "laptop-2" | "laptop-minimal" | "laptop-minimal-check" | "lasso" | "lasso-select" | "laugh" | "layers" | "layers-2" | "layers-3" | "layout" | "layout-dashboard" | "layout-grid" | "layout-list" | "layout-panel-left" | "layout-panel-top" | "layout-template" | "leaf" | "leafy-green" | "lectern" | "letter-text" | "library" | "library-big" | "library-square" | "life-buoy" | "ligature" | "lightbulb" | "lightbulb-off" | "line-chart" | "line-squiggle" | "link" | "link-2" | "link-2-off" | "linkedin" | "list" | "list-check" | "list-checks" | "list-collapse" | "list-end" | "list-filter" | "list-filter-plus" | "list-minus" | "list-music" | "list-ordered" | "list-plus" | "list-restart" | "list-start" | "list-todo" | "list-tree" | "list-video" | "list-x" | "loader" | "loader-2" | "loader-circle" | "loader-pinwheel" | "locate" | "locate-fixed" | "locate-off" | "location-edit" | "lock" | "lock-keyhole" | "lock-keyhole-open" | "lock-open" | "log-in" | "log-out" | "logs" | "lollipop" | "luggage" | "m-square" | "magnet" | "mail" | "mail-check" | "mail-minus" | "mail-open" | "mail-plus" | "mail-question" | "mail-question-mark" | "mail-search" | "mail-warning" | "mail-x" | "mailbox" | "mails" | "map" | "map-pin" | "map-pin-check" | "map-pin-check-inside" | "map-pin-house" | "map-pin-minus" | "map-pin-minus-inside" | "map-pin-off" | "map-pin-plus" | "map-pin-plus-inside" | "map-pin-x" | "map-pin-x-inside" | "map-pinned" | "map-plus" | "mars" | "mars-stroke" | "martini" | "maximize" | "maximize-2" | "medal" | "megaphone" | "megaphone-off" | "meh" | "memory-stick" | "menu" | "menu-square" | "merge" | "message-circle" | "message-circle-code" | "message-circle-dashed" | "message-circle-heart" | "message-circle-more" | "message-circle-off" | "message-circle-plus" | "message-circle-question" | "message-circle-question-mark" | "message-circle-reply" | "message-circle-warning" | "message-circle-x" | "message-square" | "message-square-code" | "message-square-dashed" | "message-square-diff" | "message-square-dot" | "message-square-heart" | "message-square-lock" | "message-square-more" | "message-square-off" | "message-square-plus" | "message-square-quote" | "message-square-reply" | "message-square-share" | "message-square-text" | "message-square-warning" | "message-square-x" | "messages-square" | "mic" | "mic-2" | "mic-off" | "mic-vocal" | "microchip" | "microscope" | "microwave" | "milestone" | "milk" | "milk-off" | "minimize" | "minimize-2" | "minus" | "minus-circle" | "minus-square" | "monitor" | "monitor-check" | "monitor-cog" | "monitor-dot" | "monitor-down" | "monitor-off" | "monitor-pause" | "monitor-play" | "monitor-smartphone" | "monitor-speaker" | "monitor-stop" | "monitor-up" | "monitor-x" | "moon" | "moon-star" | "more-horizontal" | "more-vertical" | "mountain" | "mountain-snow" | "mouse" | "mouse-off" | "mouse-pointer" | "mouse-pointer-2" | "mouse-pointer-ban" | "mouse-pointer-click" | "mouse-pointer-square-dashed" | "move" | "move-3-d" | "move-3d" | "move-diagonal" | "move-diagonal-2" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "music" | "music-2" | "music-3" | "music-4" | "navigation" | "navigation-2" | "navigation-2-off" | "navigation-off" | "network" | "newspaper" | "nfc" | "non-binary" | "notebook" | "notebook-pen" | "notebook-tabs" | "notebook-text" | "notepad-text" | "notepad-text-dashed" | "nut" | "nut-off" | "octagon" | "octagon-alert" | "octagon-minus" | "octagon-pause" | "octagon-x" | "omega" | "option" | "orbit" | "origami" | "outdent" | "package" | "package-2" | "package-check" | "package-minus" | "package-open" | "package-plus" | "package-search" | "package-x" | "paint-bucket" | "paint-roller" | "paintbrush" | "paintbrush-2" | "paintbrush-vertical" | "palette" | "palmtree" | "panda" | "panel-bottom" | "panel-bottom-close" | "panel-bottom-dashed" | "panel-bottom-inactive" | "panel-bottom-open" | "panel-left" | "panel-left-close" | "panel-left-dashed" | "panel-left-inactive" | "panel-left-open" | "panel-right" | "panel-right-close" | "panel-right-dashed" | "panel-right-inactive" | "panel-right-open" | "panel-top" | "panel-top-close" | "panel-top-dashed" | "panel-top-inactive" | "panel-top-open" | "panels-left-bottom" | "panels-left-right" | "panels-right-bottom" | "panels-top-bottom" | "panels-top-left" | "paperclip" | "parentheses" | "parking-circle" | "parking-circle-off" | "parking-meter" | "parking-square" | "parking-square-off" | "party-popper" | "pause" | "pause-circle" | "pause-octagon" | "paw-print" | "pc-case" | "pen" | "pen-box" | "pen-line" | "pen-off" | "pen-square" | "pen-tool" | "pencil" | "pencil-line" | "pencil-off" | "pencil-ruler" | "pentagon" | "percent" | "percent-circle" | "percent-diamond" | "percent-square" | "person-standing" | "philippine-peso" | "phone" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "pi" | "pi-square" | "piano" | "pickaxe" | "picture-in-picture" | "picture-in-picture-2" | "pie-chart" | "piggy-bank" | "pilcrow" | "pilcrow-left" | "pilcrow-right" | "pilcrow-square" | "pill" | "pill-bottle" | "pin" | "pin-off" | "pipette" | "pizza" | "plane" | "plane-landing" | "plane-takeoff" | "play" | "play-circle" | "play-square" | "plug" | "plug-2" | "plug-zap" | "plug-zap-2" | "plus" | "plus-circle" | "plus-square" | "pocket" | "pocket-knife" | "podcast" | "pointer" | "pointer-off" | "popcorn" | "popsicle" | "pound-sterling" | "power" | "power-circle" | "power-off" | "power-square" | "presentation" | "printer" | "printer-check" | "projector" | "proportions" | "puzzle" | "pyramid" | "qr-code" | "quote" | "rabbit" | "radar" | "radiation" | "radical" | "radio" | "radio-receiver" | "radio-tower" | "radius" | "rail-symbol" | "rainbow" | "rat" | "ratio" | "receipt" | "receipt-cent" | "receipt-euro" | "receipt-indian-rupee" | "receipt-japanese-yen" | "receipt-pound-sterling" | "receipt-russian-ruble" | "receipt-swiss-franc" | "receipt-text" | "rectangle-circle" | "rectangle-ellipsis" | "rectangle-goggles" | "rectangle-horizontal" | "rectangle-vertical" | "recycle" | "redo" | "redo-2" | "redo-dot" | "refresh-ccw" | "refresh-ccw-dot" | "refresh-cw" | "refresh-cw-off" | "refrigerator" | "regex" | "remove-formatting" | "repeat" | "repeat-1" | "repeat-2" | "replace" | "replace-all" | "reply" | "reply-all" | "rewind" | "ribbon" | "rocket" | "rocking-chair" | "roller-coaster" | "rotate-3-d" | "rotate-3d" | "rotate-ccw" | "rotate-ccw-key" | "rotate-ccw-square" | "rotate-cw" | "rotate-cw-square" | "route" | "route-off" | "router" | "rows" | "rows-2" | "rows-3" | "rows-4" | "rss" | "ruler" | "ruler-dimension-line" | "russian-ruble" | "sailboat" | "salad" | "sandwich" | "satellite" | "satellite-dish" | "saudi-riyal" | "save" | "save-all" | "save-off" | "scale" | "scale-3-d" | "scale-3d" | "scaling" | "scan" | "scan-barcode" | "scan-eye" | "scan-face" | "scan-heart" | "scan-line" | "scan-qr-code" | "scan-search" | "scan-text" | "scatter-chart" | "school" | "school-2" | "scissors" | "scissors-line-dashed" | "scissors-square" | "scissors-square-dashed-bottom" | "screen-share" | "screen-share-off" | "scroll" | "scroll-text" | "search" | "search-check" | "search-code" | "search-slash" | "search-x" | "section" | "send" | "send-horizonal" | "send-horizontal" | "send-to-back" | "separator-horizontal" | "separator-vertical" | "server" | "server-cog" | "server-crash" | "server-off" | "settings" | "settings-2" | "shapes" | "share" | "share-2" | "sheet" | "shell" | "shield" | "shield-alert" | "shield-ban" | "shield-check" | "shield-close" | "shield-ellipsis" | "shield-half" | "shield-minus" | "shield-off" | "shield-plus" | "shield-question" | "shield-question-mark" | "shield-user" | "shield-x" | "ship" | "ship-wheel" | "shirt" | "shopping-bag" | "shopping-basket" | "shopping-cart" | "shovel" | "shower-head" | "shredder" | "shrimp" | "shrink" | "shrub" | "shuffle" | "sidebar" | "sidebar-close" | "sidebar-open" | "sigma" | "sigma-square" | "signal" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "signature" | "signpost" | "signpost-big" | "siren" | "skip-back" | "skip-forward" | "skull" | "slack" | "slash" | "slash-square" | "slice" | "sliders" | "sliders-horizontal" | "sliders-vertical" | "smartphone" | "smartphone-charging" | "smartphone-nfc" | "smile" | "smile-plus" | "snail" | "snowflake" | "soap-dispenser-droplet" | "sofa" | "sort-asc" | "sort-desc" | "soup" | "space" | "spade" | "sparkle" | "sparkles" | "speaker" | "speech" | "spell-check" | "spell-check-2" | "spline" | "spline-pointer" | "split" | "split-square-horizontal" | "split-square-vertical" | "spool" | "spray-can" | "sprout" | "square" | "square-activity" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-asterisk" | "square-bottom-dashed-scissors" | "square-chart-gantt" | "square-check" | "square-check-big" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-code" | "square-dashed" | "square-dashed-bottom" | "square-dashed-bottom-code" | "square-dashed-kanban" | "square-dashed-mouse-pointer" | "square-dashed-top-solid" | "square-divide" | "square-dot" | "square-equal" | "square-function" | "square-gantt-chart" | "square-kanban" | "square-library" | "square-m" | "square-menu" | "square-minus" | "square-mouse-pointer" | "square-parking" | "square-parking-off" | "square-pen" | "square-percent" | "square-pi" | "square-pilcrow" | "square-play" | "square-plus" | "square-power" | "square-radical" | "square-round-corner" | "square-scissors" | "square-sigma" | "square-slash" | "square-split-horizontal" | "square-split-vertical" | "square-square" | "square-stack" | "square-terminal" | "square-user" | "square-user-round" | "square-x" | "squares-exclude" | "squares-intersect" | "squares-subtract" | "squares-unite" | "squircle" | "squircle-dashed" | "squirrel" | "stamp" | "star" | "star-half" | "star-off" | "stars" | "step-back" | "step-forward" | "stethoscope" | "sticker" | "sticky-note" | "stop-circle" | "store" | "stretch-horizontal" | "stretch-vertical" | "strikethrough" | "subscript" | "subtitles" | "sun" | "sun-dim" | "sun-medium" | "sun-moon" | "sun-snow" | "sunrise" | "sunset" | "superscript" | "swatch-book" | "swiss-franc" | "switch-camera" | "sword" | "swords" | "syringe" | "table" | "table-2" | "table-cells-merge" | "table-cells-split" | "table-columns-split" | "table-config" | "table-of-contents" | "table-properties" | "table-rows-split" | "tablet" | "tablet-smartphone" | "tablets" | "tag" | "tags" | "tally-1" | "tally-2" | "tally-3" | "tally-4" | "tally-5" | "tangent" | "target" | "telescope" | "tent" | "tent-tree" | "terminal" | "terminal-square" | "test-tube" | "test-tube-2" | "test-tube-diagonal" | "test-tubes" | "text" | "text-cursor" | "text-cursor-input" | "text-quote" | "text-search" | "text-select" | "text-selection" | "theater" | "thermometer" | "thermometer-snowflake" | "thermometer-sun" | "thumbs-down" | "thumbs-up" | "ticket" | "ticket-check" | "ticket-minus" | "ticket-percent" | "ticket-plus" | "ticket-slash" | "ticket-x" | "tickets" | "tickets-plane" | "timer" | "timer-off" | "timer-reset" | "toggle-left" | "toggle-right" | "toilet" | "tool-case" | "tornado" | "torus" | "touchpad" | "touchpad-off" | "tower-control" | "toy-brick" | "tractor" | "traffic-cone" | "train" | "train-front" | "train-front-tunnel" | "train-track" | "tram-front" | "transgender" | "trash" | "trash-2" | "tree-deciduous" | "tree-palm" | "tree-pine" | "trees" | "trello" | "trending-down" | "trending-up" | "trending-up-down" | "triangle" | "triangle-alert" | "triangle-dashed" | "triangle-right" | "trophy" | "truck" | "truck-electric" | "turtle" | "tv" | "tv-2" | "tv-minimal" | "tv-minimal-play" | "twitch" | "twitter" | "type" | "type-outline" | "umbrella" | "umbrella-off" | "underline" | "undo" | "undo-2" | "undo-dot" | "unfold-horizontal" | "unfold-vertical" | "ungroup" | "university" | "unlink" | "unlink-2" | "unlock" | "unlock-keyhole" | "unplug" | "upload" | "upload-cloud" | "usb" | "user" | "user-2" | "user-check" | "user-check-2" | "user-circle" | "user-circle-2" | "user-cog" | "user-cog-2" | "user-lock" | "user-minus" | "user-minus-2" | "user-pen" | "user-plus" | "user-plus-2" | "user-round" | "user-round-check" | "user-round-cog" | "user-round-minus" | "user-round-pen" | "user-round-plus" | "user-round-search" | "user-round-x" | "user-search" | "user-square" | "user-square-2" | "user-x" | "user-x-2" | "users" | "users-2" | "users-round" | "utensils" | "utensils-crossed" | "utility-pole" | "variable" | "vault" | "vector-square" | "vegan" | "venetian-mask" | "venus" | "venus-and-mars" | "verified" | "vibrate" | "vibrate-off" | "video" | "video-off" | "videotape" | "view" | "voicemail" | "volleyball" | "volume" | "volume-1" | "volume-2" | "volume-off" | "volume-x" | "vote" | "wallet" | "wallet-2" | "wallet-cards" | "wallet-minimal" | "wallpaper" | "wand" | "wand-2" | "wand-sparkles" | "warehouse" | "washing-machine" | "watch" | "waves" | "waves-ladder" | "waypoints" | "webcam" | "webhook" | "webhook-off" | "weight" | "wheat" | "wheat-off" | "whole-word" | "wifi" | "wifi-cog" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-pen" | "wifi-zero" | "wind" | "wind-arrow-down" | "wine" | "wine-off" | "workflow" | "worm" | "wrap-text" | "wrench" | "x" | "x-circle" | "x-octagon" | "x-square" | "youtube" | "zap" | "zap-off" | "zoom-in" | "zoom-out")
39
- export type _Schema4 = (("auth" | "anon" | "always" | "hide") | unknown)
40
- export type _Schema6 = (("Inter" | "Roboto" | "Open Sans" | "Poppins" | "Montserrat" | "Outfit" | "Plus Jakarta Sans" | "DM Sans" | "IBM Plex Sans" | "Geist" | "Oxanium" | "Architects Daughter" | "Merriweather" | "Playfair Display" | "Lora" | "Source Serif Pro" | "Libre Baskerville" | "Space Grotesk" | "JetBrains Mono" | "Fira Code" | "Source Code Pro" | "IBM Plex Mono" | "Roboto Mono" | "Space Mono" | "Geist Mono") | {
41
- url: string
42
- fontFamily?: string
43
- })
44
- export type _Schema7 = ({
45
- type: "url"
46
- input: string
47
- server?: _Schema8
48
- path?: _Schema9
49
- categories?: _Schema10
50
- options?: _Schema12
51
- } | {
52
- type: "file"
53
- input: (string | string[])
54
- server?: _Schema8
55
- path?: _Schema9
56
- categories?: _Schema10
57
- options?: _Schema12
58
- } | {
59
- type: "raw"
60
- input: string
61
- server?: _Schema8
62
- path?: _Schema9
63
- categories?: _Schema10
64
- options?: _Schema12
65
- })
66
- export type _Schema8 = string
67
- export type _Schema9 = string
68
- export type _Schema10 = {
69
- label: string
70
- tags: string[]
71
- }[]
72
-
73
- export interface FlatZudokuConfig {
74
- slots?: {
75
- [k: string]: unknown
76
- }
77
- UNSAFE_slotlets?: {
78
- [k: string]: unknown
79
- }
80
- mdx?: {
81
- components?: unknown
82
- }
83
- customPages?: {
84
- path: string
85
- element?: unknown
86
- render?: unknown
87
- prose?: boolean
88
- }[]
89
- plugins?: unknown[]
90
- build?: unknown
91
- protectedRoutes?: (string[] | {
92
- [k: string]: unknown
93
- })
94
- basePath?: string
95
- canonicalUrlOrigin?: string
96
- cdnUrl?: (string | {
97
- base?: string
98
- media?: string
99
- })
100
- port?: number
101
- https?: {
102
- key: string
103
- cert: string
104
- ca?: string
105
- }
106
- site?: {
107
- title?: string
108
- logoUrl?: string
109
- dir?: ("ltr" | "rtl")
110
- logo?: _Schema0
111
- showPoweredBy?: boolean
112
- banner?: {
113
- message: unknown
114
- color?: unknown
115
- dismissible?: boolean
116
- }
117
- footer?: {
118
- columns?: {
119
- position?: ("start" | "center" | "end")
120
- title: string
121
- links: {
122
- label: string
123
- href: string
124
- }[]
125
- }[]
126
- social?: {
127
- label?: string
128
- href: string
129
- icon?: (("reddit" | "discord" | "github" | "x" | "linkedin" | "facebook" | "instagram" | "youtube" | "tiktok" | "twitch" | "pinterest" | "snapchat" | "whatsapp" | "telegram") | unknown)
130
- }[]
131
- copyright?: string
132
- logo?: _Schema0
133
- position?: ("start" | "center" | "end")
134
- }
135
- }
136
- navigation?: _Schema1[]
137
- theme?: {
138
- registryUrl?: string
139
- customCss?: (string | {
140
- [k: string]: (string | {
141
- [k: string]: (string | {
142
- [k: string]: string
143
- })
144
- })
145
- })
146
- light?: _Schema5
147
- dark?: _Schema5
148
- fonts?: {
149
- sans?: _Schema6
150
- serif?: _Schema6
151
- mono?: _Schema6
152
- }
153
- noDefaultTheme?: boolean
154
- }
155
- syntaxHighlighting?: {
156
- languages?: ("abap" | "actionscript-3" | "ada" | "angular-html" | "angular-ts" | "apache" | "apex" | "apl" | "applescript" | "ara" | "asciidoc" | "asm" | "astro" | "awk" | "ballerina" | "bat" | "beancount" | "berry" | "bibtex" | "bicep" | "blade" | "bsl" | "c" | "cadence" | "cairo" | "clarity" | "clojure" | "cmake" | "cobol" | "codeowners" | "codeql" | "coffee" | "common-lisp" | "coq" | "cpp" | "crystal" | "csharp" | "css" | "csv" | "cue" | "cypher" | "d" | "dart" | "dax" | "desktop" | "diff" | "docker" | "dotenv" | "dream-maker" | "edge" | "elixir" | "elm" | "emacs-lisp" | "erb" | "erlang" | "fennel" | "fish" | "fluent" | "fortran-fixed-form" | "fortran-free-form" | "fsharp" | "gdresource" | "gdscript" | "gdshader" | "genie" | "gherkin" | "git-commit" | "git-rebase" | "gleam" | "glimmer-js" | "glimmer-ts" | "glsl" | "gnuplot" | "go" | "graphql" | "groovy" | "hack" | "haml" | "handlebars" | "haskell" | "haxe" | "hcl" | "hjson" | "hlsl" | "html" | "html-derivative" | "http" | "hxml" | "hy" | "imba" | "ini" | "java" | "javascript" | "jinja" | "jison" | "json" | "json5" | "jsonc" | "jsonl" | "jsonnet" | "jssm" | "jsx" | "julia" | "kotlin" | "kusto" | "latex" | "lean" | "less" | "liquid" | "llvm" | "log" | "logo" | "lua" | "luau" | "make" | "markdown" | "marko" | "matlab" | "mdc" | "mdx" | "mermaid" | "mipsasm" | "mojo" | "move" | "narrat" | "nextflow" | "nginx" | "nim" | "nix" | "nushell" | "objective-c" | "objective-cpp" | "ocaml" | "pascal" | "perl" | "php" | "plsql" | "po" | "polar" | "postcss" | "powerquery" | "powershell" | "prisma" | "prolog" | "proto" | "pug" | "puppet" | "purescript" | "python" | "qml" | "qmldir" | "qss" | "r" | "racket" | "raku" | "razor" | "reg" | "regexp" | "rel" | "riscv" | "rst" | "ruby" | "rust" | "sas" | "sass" | "scala" | "scheme" | "scss" | "sdbl" | "shaderlab" | "shellscript" | "shellsession" | "smalltalk" | "solidity" | "soy" | "sparql" | "splunk" | "sql" | "ssh-config" | "stata" | "stylus" | "svelte" | "swift" | "system-verilog" | "systemd" | "talonscript" | "tasl" | "tcl" | "templ" | "terraform" | "tex" | "toml" | "ts-tags" | "tsv" | "tsx" | "turtle" | "twig" | "typescript" | "typespec" | "typst" | "v" | "vala" | "vb" | "verilog" | "vhdl" | "viml" | "vue" | "vue-html" | "vyper" | "wasm" | "wenyan" | "wgsl" | "wikitext" | "wit" | "wolfram" | "xml" | "xsl" | "yaml" | "zenscript" | "zig" | "adoc" | "batch" | "be" | "1c" | "cdc" | "clj" | "ql" | "coffeescript" | "lisp" | "c++" | "c#" | "cs" | "cql" | "dockerfile" | "elisp" | "erl" | "ftl" | "f" | "for" | "f77" | "f90" | "f95" | "f03" | "f08" | "f18" | "f#" | "fs" | "gjs" | "gts" | "gql" | "hbs" | "hs" | "properties" | "js" | "fsl" | "jl" | "kt" | "kts" | "kql" | "lean4" | "makefile" | "md" | "mmd" | "mips" | "nar" | "nf" | "nu" | "objc" | "pot" | "potx" | "ps" | "ps1" | "protobuf" | "jade" | "py" | "perl6" | "regex" | "rb" | "rs" | "1c-query" | "shader" | "bash" | "sh" | "shell" | "zsh" | "console" | "closure-templates" | "spl" | "styl" | "talon" | "tf" | "tfvars" | "lit" | "ts" | "tsp" | "typ" | "cmd" | "vim" | "vimscript" | "vy" | "文言" | "mediawiki" | "wiki" | "wl" | "yml")[]
157
- themes?: {
158
- light: ("andromeeda" | "aurora-x" | "ayu-dark" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "everforest-dark" | "everforest-light" | "github-dark" | "github-dark-default" | "github-dark-dimmed" | "github-dark-high-contrast" | "github-light" | "github-light-default" | "github-light-high-contrast" | "gruvbox-dark-hard" | "gruvbox-dark-medium" | "gruvbox-dark-soft" | "gruvbox-light-hard" | "gruvbox-light-medium" | "gruvbox-light-soft" | "houston" | "kanagawa-dragon" | "kanagawa-lotus" | "kanagawa-wave" | "laserwave" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "night-owl" | "nord" | "one-dark-pro" | "one-light" | "plastic" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "snazzy-light" | "solarized-dark" | "solarized-light" | "synthwave-84" | "tokyo-night" | "vesper" | "vitesse-black" | "vitesse-dark" | "vitesse-light")
159
- dark: ("andromeeda" | "aurora-x" | "ayu-dark" | "catppuccin-frappe" | "catppuccin-latte" | "catppuccin-macchiato" | "catppuccin-mocha" | "dark-plus" | "dracula" | "dracula-soft" | "everforest-dark" | "everforest-light" | "github-dark" | "github-dark-default" | "github-dark-dimmed" | "github-dark-high-contrast" | "github-light" | "github-light-default" | "github-light-high-contrast" | "gruvbox-dark-hard" | "gruvbox-dark-medium" | "gruvbox-dark-soft" | "gruvbox-light-hard" | "gruvbox-light-medium" | "gruvbox-light-soft" | "houston" | "kanagawa-dragon" | "kanagawa-lotus" | "kanagawa-wave" | "laserwave" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "night-owl" | "nord" | "one-dark-pro" | "one-light" | "plastic" | "poimandres" | "red" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "snazzy-light" | "solarized-dark" | "solarized-light" | "synthwave-84" | "tokyo-night" | "vesper" | "vitesse-black" | "vitesse-dark" | "vitesse-light")
160
- }
161
- }
162
- metadata?: {
163
- title?: string
164
- description?: string
165
- logo?: string
166
- favicon?: string
167
- generator?: string
168
- applicationName?: string
169
- referrer?: string
170
- keywords?: string[]
171
- authors?: string[]
172
- creator?: string
173
- publisher?: string
174
- }
175
- authentication?: ({
176
- type: "clerk"
177
- clerkPubKey: unknown
178
- jwtTemplateName?: string
179
- redirectToAfterSignUp?: string
180
- redirectToAfterSignIn?: string
181
- redirectToAfterSignOut?: string
182
- } | {
183
- type: "openid"
184
- clientId: string
185
- issuer: string
186
- audience?: string
187
- scopes?: string[]
188
- redirectToAfterSignUp?: string
189
- redirectToAfterSignIn?: string
190
- redirectToAfterSignOut?: string
191
- } | {
192
- type: "azureb2c"
193
- clientId: string
194
- tenantName: string
195
- policyName: string
196
- scopes?: string[]
197
- issuer: string
198
- redirectToAfterSignUp?: string
199
- redirectToAfterSignIn?: string
200
- redirectToAfterSignOut?: string
201
- } | {
202
- type: "auth0"
203
- clientId: string
204
- domain: string
205
- audience?: string
206
- scopes?: string[]
207
- redirectToAfterSignUp?: string
208
- redirectToAfterSignIn?: string
209
- redirectToAfterSignOut?: string
210
- } | {
211
- type: "supabase"
212
- supabaseUrl: string
213
- supabaseKey: string
214
- provider: ("google" | "github" | "gitlab" | "bitbucket" | "facebook" | "twitter")
215
- redirectToAfterSignUp?: string
216
- redirectToAfterSignIn?: string
217
- redirectToAfterSignOut?: string
218
- })
219
- search?: ({
220
- type: "inkeep"
221
- apiKey: string
222
- integrationId: string
223
- organizationId: string
224
- primaryBrandColor: string
225
- organizationDisplayName: string
226
- [k: string]: unknown
227
- } | {
228
- type: "pagefind"
229
- ranking?: {
230
- termFrequency: number
231
- pageLength: number
232
- termSimilarity: number
233
- termSaturation: number
234
- }
235
- maxResults?: number
236
- maxSubResults?: number
237
- transformResults?: unknown
238
- })
239
- docs?: {
240
- files?: (string | string[])
241
- defaultOptions?: {
242
- toc?: boolean
243
- disablePager?: boolean
244
- showLastModified?: boolean
245
- suggestEdit?: {
246
- url: string
247
- text?: string
248
- }
249
- }
250
- }
251
- apis?: (_Schema7 | _Schema7[])
252
- catalogs?: (_Schema13 | _Schema13[])
253
- apiKeys?: {
254
- enabled: boolean
255
- getKeys?: unknown
256
- rollKey?: unknown
257
- deleteKey?: unknown
258
- updateKeyDescription?: unknown
259
- createKey?: unknown
260
- }
261
- redirects?: {
262
- from: string
263
- to: string
264
- }[]
265
- sitemap?: {
266
- siteUrl: string
267
- changefreq?: ("always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never")
268
- priority?: number
269
- outDir?: string
270
- autoLastmod?: boolean
271
- exclude?: unknown
272
- }
273
- enableStatusPages?: boolean
274
- defaults?: {
275
- apis: _Schema12
276
- examplesLanguage?: string
277
- }
278
- }
279
- export interface _Schema0 {
280
- src: {
281
- light: string
282
- dark: string
283
- }
284
- alt?: string
285
- width?: (string | number)
286
- href?: string
287
- }
288
- export interface _Schema3 {
289
- label: string
290
- color: ("green" | "blue" | "yellow" | "red" | "purple" | "indigo" | "gray" | "outline")
291
- }
292
- export interface _Schema5 {
293
- background?: string
294
- foreground?: string
295
- card?: string
296
- cardForeground?: string
297
- popover?: string
298
- popoverForeground?: string
299
- primary?: string
300
- primaryForeground?: string
301
- secondary?: string
302
- secondaryForeground?: string
303
- muted?: string
304
- mutedForeground?: string
305
- accent?: string
306
- accentForeground?: string
307
- destructive?: string
308
- destructiveForeground?: string
309
- border?: string
310
- input?: string
311
- ring?: string
312
- radius?: string
313
- }
314
- export interface _Schema12 {
315
- examplesLanguage?: string
316
- disablePlayground?: boolean
317
- disableSidecar?: boolean
318
- showVersionSelect?: ("always" | "if-available" | "hide")
319
- expandAllTags?: boolean
320
- transformExamples?: unknown
321
- }
322
- export interface _Schema13 {
323
- path: string
324
- label: string
325
- items?: string[]
326
- filterItems?: unknown
327
- }
@@ -1,85 +0,0 @@
1
- import { j as e } from "./jsx-runtime-C5mzlN2N.js";
2
- import { CheckIcon as u, CopyIcon as m } from "lucide-react";
3
- import { useState as x, useCallback as b, useRef as f } from "react";
4
- import { c as n } from "./cn-dYga0KKN.js";
5
- const C = (o = 2e3) => {
6
- const [r, s] = x(!1), t = b(
7
- (l) => {
8
- navigator.clipboard.writeText(l), s(!0), setTimeout(() => s(!1), o);
9
- },
10
- [o]
11
- );
12
- return [r, t];
13
- }, w = ({
14
- children: o,
15
- title: r = "Code",
16
- language: s,
17
- showCopy: t = "hover",
18
- showLanguageIndicator: l = !1,
19
- showLineNumbers: c,
20
- ...d
21
- }) => {
22
- const [i, p] = C(), a = f(null);
23
- return o ? /* @__PURE__ */ e.jsxs(
24
- "div",
25
- {
26
- className: n(
27
- "border code-block-wrapper relative group bg-muted/50 rounded-md overflow-hidden",
28
- c && "line-numbers"
29
- ),
30
- children: [
31
- /* @__PURE__ */ e.jsxs("div", { className: "border-b flex items-center h-10 font-sans bg-black/2", children: [
32
- /* @__PURE__ */ e.jsxs("div", { className: "flex-1 text-sm w-full px-4", children: [
33
- r,
34
- l && s && /* @__PURE__ */ e.jsxs("span", { className: "text-muted-foreground ml-2", children: [
35
- "(",
36
- s,
37
- ")"
38
- ] })
39
- ] }),
40
- " ",
41
- t !== "never" && /* @__PURE__ */ e.jsx(
42
- "button",
43
- {
44
- type: "button",
45
- "aria-label": "Copy code",
46
- title: "Copy code",
47
- className: n(
48
- "cursor:pointer h-full hover:border-l-border active:shadow-none active:inset-shadow-xs hover:inset-shadow-xs flex items-center gap-2 px-4 outline-border text-sm hover:bg-black/5 transition-all"
49
- ),
50
- disabled: i,
51
- onClick: () => {
52
- a.current?.textContent && p(a.current.textContent);
53
- },
54
- children: i ? /* @__PURE__ */ e.jsx(
55
- u,
56
- {
57
- className: "text-emerald-600",
58
- size: 14,
59
- strokeWidth: 2.5,
60
- absoluteStrokeWidth: !0
61
- }
62
- ) : /* @__PURE__ */ e.jsx(m, { size: 14 })
63
- }
64
- )
65
- ] }),
66
- /* @__PURE__ */ e.jsx(
67
- "div",
68
- {
69
- className: n(
70
- "code-block text-sm not-prose scrollbar overflow-x-auto scrollbar [&>code]:p-4",
71
- d.className
72
- ),
73
- ref: a,
74
- children: o
75
- }
76
- )
77
- ]
78
- }
79
- ) : null;
80
- };
81
- export {
82
- w as C,
83
- C as u
84
- };
85
- //# sourceMappingURL=CodeBlock-B-G0eKtw.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeBlock-B-G0eKtw.js","sources":["../src/lib/util/useCopyToClipboard.ts","../src/lib/ui/CodeBlock.tsx"],"sourcesContent":["import { useCallback, useState } from \"react\";\n\nexport const useCopyToClipboard = (timeout = 2000) => {\n const [isCopied, setIsCopied] = useState(false);\n\n const copyToClipboard = useCallback(\n (text: string) => {\n void navigator.clipboard.writeText(text);\n setIsCopied(true);\n\n setTimeout(() => setIsCopied(false), timeout);\n },\n [timeout],\n );\n\n return [isCopied, copyToClipboard] as const;\n};\n","import { CheckIcon, CopyIcon } from \"lucide-react\";\nimport type { ReactNode } from \"react\";\nimport { useRef } from \"react\";\nimport { cn } from \"../util/cn.js\";\nimport { useCopyToClipboard } from \"../util/useCopyToClipboard.js\";\n\nexport type CodeBlockProps = {\n className?: string;\n noBackground?: boolean;\n wrapLines?: boolean;\n showLanguageIndicator?: boolean;\n language?: string;\n title?: string;\n children?: ReactNode;\n code?: ReactNode;\n showCopy?: \"hover\" | \"always\" | \"never\";\n disabled?: boolean;\n showLineNumbers?: boolean;\n};\n\nexport const CodeBlock = ({\n children,\n title = \"Code\",\n language,\n showCopy = \"hover\",\n showLanguageIndicator = false,\n showLineNumbers,\n ...props\n}: CodeBlockProps) => {\n const [isCopied, copyToClipboard] = useCopyToClipboard();\n const ref = useRef<HTMLDivElement>(null);\n\n if (!children) return null;\n\n return (\n <div\n className={cn(\n \"border code-block-wrapper relative group bg-muted/50 rounded-md overflow-hidden\",\n showLineNumbers && \"line-numbers\",\n )}\n >\n <div className=\"border-b flex items-center h-10 font-sans bg-black/2\">\n <div className=\"flex-1 text-sm w-full px-4\">\n {title}\n {showLanguageIndicator && language && (\n <span className=\"text-muted-foreground ml-2\">({language})</span>\n )}\n </div>{\" \"}\n {showCopy !== \"never\" && (\n <button\n type=\"button\"\n aria-label=\"Copy code\"\n title=\"Copy code\"\n className={cn(\n \"cursor:pointer h-full hover:border-l-border active:shadow-none active:inset-shadow-xs hover:inset-shadow-xs flex items-center gap-2 px-4 outline-border text-sm hover:bg-black/5 transition-all\",\n )}\n disabled={isCopied}\n onClick={() => {\n if (!ref.current?.textContent) return;\n\n copyToClipboard(ref.current.textContent);\n }}\n >\n {isCopied ? (\n <CheckIcon\n className=\"text-emerald-600\"\n size={14}\n strokeWidth={2.5}\n absoluteStrokeWidth\n />\n ) : (\n <CopyIcon size={14} />\n )}\n </button>\n )}\n </div>\n <div\n className={cn(\n \"code-block text-sm not-prose scrollbar overflow-x-auto scrollbar [&>code]:p-4\",\n props.className,\n )}\n ref={ref}\n >\n {children}\n </div>\n </div>\n );\n};\n"],"names":["useCopyToClipboard","timeout","isCopied","setIsCopied","useState","copyToClipboard","useCallback","text","CodeBlock","children","title","language","showCopy","showLanguageIndicator","showLineNumbers","props","ref","useRef","jsxs","cn","jsx","CheckIcon","CopyIcon"],"mappings":";;;;AAEO,MAAMA,IAAqB,CAACC,IAAU,QAAS;AACpD,QAAM,CAACC,GAAUC,CAAW,IAAIC,EAAS,EAAK,GAExCC,IAAkBC;AAAA,IACtB,CAACC,MAAiB;AAChB,MAAK,UAAU,UAAU,UAAUA,CAAI,GACvCJ,EAAY,EAAI,GAEhB,WAAW,MAAMA,EAAY,EAAK,GAAGF,CAAO;AAAA,IAC9C;AAAA,IACA,CAACA,CAAO;AAAA,EAAA;AAGV,SAAO,CAACC,GAAUG,CAAe;AACnC,GCIaG,IAAY,CAAC;AAAA,EACxB,UAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,UAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,uBAAAC,IAAwB;AAAA,EACxB,iBAAAC;AAAA,EACA,GAAGC;AACL,MAAsB;AACpB,QAAM,CAACb,GAAUG,CAAe,IAAIL,EAAA,GAC9BgB,IAAMC,EAAuB,IAAI;AAEvC,SAAKR,IAGHS,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAL,KAAmB;AAAA,MAAA;AAAA,MAGrB,UAAA;AAAA,QAAAI,gBAAAA,EAAAA,KAAC,OAAA,EAAI,WAAU,wDACb,UAAA;AAAA,UAAAA,gBAAAA,EAAAA,KAAC,OAAA,EAAI,WAAU,8BACZ,UAAA;AAAA,YAAAR;AAAA,YACAG,KAAyBF,KACxBO,gBAAAA,OAAC,QAAA,EAAK,WAAU,8BAA6B,UAAA;AAAA,cAAA;AAAA,cAAEP;AAAA,cAAS;AAAA,YAAA,EAAA,CAAC;AAAA,UAAA,GAE7D;AAAA,UAAO;AAAA,UACNC,MAAa,WACZQ,gBAAAA,EAAAA;AAAAA,YAAC;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,cAAW;AAAA,cACX,OAAM;AAAA,cACN,WAAWD;AAAA,gBACT;AAAA,cAAA;AAAA,cAEF,UAAUjB;AAAA,cACV,SAAS,MAAM;AACb,gBAAKc,EAAI,SAAS,eAElBX,EAAgBW,EAAI,QAAQ,WAAW;AAAA,cACzC;AAAA,cAEC,UAAAd,IACCkB,gBAAAA,EAAAA;AAAAA,gBAACC;AAAA,gBAAA;AAAA,kBACC,WAAU;AAAA,kBACV,MAAM;AAAA,kBACN,aAAa;AAAA,kBACb,qBAAmB;AAAA,gBAAA;AAAA,cAAA,IAGrBD,gBAAAA,MAACE,GAAA,EAAS,MAAM,GAAA,CAAI;AAAA,YAAA;AAAA,UAAA;AAAA,QAExB,GAEJ;AAAA,QACAF,gBAAAA,EAAAA;AAAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAWD;AAAA,cACT;AAAA,cACAJ,EAAM;AAAA,YAAA;AAAA,YAER,KAAAC;AAAA,YAEC,UAAAP;AAAA,UAAA;AAAA,QAAA;AAAA,MACH;AAAA,IAAA;AAAA,EAAA,IApDkB;AAuDxB;"}