@lukoweb/apitogo 0.1.79 → 0.1.80

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/cli/cli.js CHANGED
@@ -5633,7 +5633,7 @@ import {
5633
5633
  // package.json
5634
5634
  var package_default = {
5635
5635
  name: "@lukoweb/apitogo",
5636
- version: "0.1.79",
5636
+ version: "0.1.80",
5637
5637
  type: "module",
5638
5638
  sideEffects: [
5639
5639
  "**/*.css",
@@ -10962,7 +10962,7 @@ function printPageAddedHint(relativePath, routePath) {
10962
10962
  printDiagnosticsToConsole(`Page created: ${relativePath} (route ${routePath})`);
10963
10963
  printDiagnosticsToConsole("Edit that file to change the content.");
10964
10964
  printDiagnosticsToConsole(
10965
- `Predefined components: ${DOCS}/docs/guides/custom-pages and ${DOCS}/docs/components/callout`
10965
+ `Predefined components: ${DOCS}/docs/components`
10966
10966
  );
10967
10967
  }
10968
10968
  function printPlanAddedHint(displayName) {
@@ -10976,16 +10976,13 @@ function printPlanAddedHint(displayName) {
10976
10976
  }
10977
10977
  function printPaidPlanPlatformWarning() {
10978
10978
  printDiagnosticsToConsole(
10979
- "Paid API plans require Starter or Professional platform hosting. Free cannot publish paid gateway plans or custom domains."
10979
+ "Paid API plans require Starter or Professional platform hosting. Free cannot publish paid gateway plans."
10980
10980
  );
10981
10981
  }
10982
10982
  function printInteractiveWrapUp(hasPaidPlans) {
10983
10983
  printDiagnosticsToConsole("");
10984
10984
  printDiagnosticsToConsole("Configuration saved. Next steps:");
10985
10985
  printDiagnosticsToConsole("- Preview locally: npm run dev");
10986
- printDiagnosticsToConsole(
10987
- "- Auth API URL is written automatically when you run apitogo apply"
10988
- );
10989
10986
  if (hasPaidPlans) {
10990
10987
  printPaidPlanPlatformWarning();
10991
10988
  } else {
@@ -10996,14 +10993,12 @@ function printInteractiveWrapUp(hasPaidPlans) {
10996
10993
  printDiagnosticsToConsole("");
10997
10994
  printDiagnosticsToConsole("Configure more:");
10998
10995
  printDiagnosticsToConsole(`- Overview: ${DOCS}/docs/configuration/overview`);
10999
- printDiagnosticsToConsole(`- Manifest: ${DOCS}/docs/configuration/manifest`);
11000
10996
  printDiagnosticsToConsole(`- Gateway plans: ${DOCS}/docs/configuration/plans`);
11001
10997
  printDiagnosticsToConsole(`- Custom pages: ${DOCS}/docs/guides/custom-pages`);
11002
10998
  printDiagnosticsToConsole(`- API reference: ${DOCS}/docs/configuration/api-reference`);
11003
10999
  printDiagnosticsToConsole(`- Theme: ${DOCS}/docs/customization/colors-theme`);
11004
11000
  printDiagnosticsToConsole(`- Fonts: ${DOCS}/docs/customization/fonts`);
11005
11001
  printDiagnosticsToConsole(`- CLI shape: ${DOCS}/docs/cli/shape`);
11006
- printDiagnosticsToConsole(`- apitogo config: ${DOCS}/docs/configuration/make-config`);
11007
11002
  }
11008
11003
 
11009
11004
  // src/cli/make-config/interactive.ts
@@ -0,0 +1,60 @@
1
+ ---
2
+ title: Components
3
+ sidebar_icon: component
4
+ description: Reference of all APIToGo UI and documentation components.
5
+ ---
6
+
7
+ Use these components in MDX pages and custom React pages. Import from `@lukoweb/apitogo/ui/*` or
8
+ `@lukoweb/apitogo/components` unless noted.
9
+
10
+ ## General
11
+
12
+ | Component | Import | Description |
13
+ | --------- | ------ | ----------- |
14
+ | [Alert](/docs/components/alert) | `@lukoweb/apitogo/ui/Alert` | Important messages with severity levels |
15
+ | [Callout](/docs/components/callout) | `@lukoweb/apitogo/ui/Callout` | Highlight notes, tips, and warnings |
16
+ | [Badge](/docs/components/badge) | `@lukoweb/apitogo/ui/Badge` | Status labels and tags |
17
+ | [Card](/docs/components/card) | `@lukoweb/apitogo/ui/Card` | Grouped content with header, body, and footer |
18
+ | [Dialog](/docs/components/dialog) | `@lukoweb/apitogo/ui/Dialog` | Modal dialogs that require attention |
19
+ | [Icons](/docs/components/icons) | `@lukoweb/apitogo/icons` | Lucide icons re-exported for MDX and React |
20
+ | [Markdown](/docs/components/markdown) | `@lukoweb/apitogo/components` | Render markdown with syntax highlighting |
21
+ | [Tooltip](/docs/components/tooltip) | `@lukoweb/apitogo/ui/Tooltip` | Hover or focus hints |
22
+ | [Typography](/docs/components/typography) | `@lukoweb/apitogo/components` | Prose styling for headings, lists, and body text |
23
+
24
+ ## Documentation
25
+
26
+ | Component | Import | Description |
27
+ | --------- | ------ | ----------- |
28
+ | [CodeTabs](/docs/components/code-tabs) | MDX built-in | Tabbed code examples (languages or package managers) |
29
+ | [Mermaid](/docs/components/mermaid) | `@lukoweb/apitogo/mermaid` | Client-rendered Mermaid diagrams |
30
+ | [API Playground](/docs/components/playground) | MDX built-in | Try API requests from the docs |
31
+ | [Secret](/docs/components/secret) | `@lukoweb/apitogo/ui/Secret` | Mask and reveal API keys |
32
+ | [Stepper](/docs/components/stepper) | MDX built-in | Numbered multi-step guides |
33
+ | [Syntax Highlight](/docs/components/syntax-highlight) | `@lukoweb/apitogo/ui/SyntaxHighlight` | Highlighted code with line numbers and copy |
34
+
35
+ ## Form
36
+
37
+ | Component | Import | Description |
38
+ | --------- | ------ | ----------- |
39
+ | [Button](/docs/components/button) | `@lukoweb/apitogo/ui/Button` | Actions with variants and sizes |
40
+ | [Checkbox](/docs/components/checkbox) | `@lukoweb/apitogo/ui/Checkbox` | Boolean checkbox input |
41
+ | [Input](/docs/components/input) | `@lukoweb/apitogo/ui/Input` | Single-line text input |
42
+ | [Label](/docs/components/label) | `@lukoweb/apitogo/ui/Label` | Accessible form labels |
43
+ | [Select](/docs/components/select) | `@lukoweb/apitogo/ui/Select` | Choose from a list of options |
44
+ | [Slider](/docs/components/slider) | `@lukoweb/apitogo/ui/Slider` | Numeric range input |
45
+ | [Switch](/docs/components/switch) | `@lukoweb/apitogo/ui/Switch` | Boolean toggle |
46
+ | [Textarea](/docs/components/textarea) | `@lukoweb/apitogo/ui/Textarea` | Multiline text input |
47
+
48
+ ## Utility
49
+
50
+ | Component | Import | Description |
51
+ | --------- | ------ | ----------- |
52
+ | [ClientOnly](/docs/components/client-only) | `@lukoweb/apitogo/components` | Render children only on the client |
53
+ | [Head](/docs/components/head) | `@lukoweb/apitogo/components` | Set title, meta, and link tags |
54
+ | [Link](/docs/components/link) | `@lukoweb/apitogo/components` | Client-side and external navigation |
55
+ | [Slot](/docs/components/slot) | `@lukoweb/apitogo/components` | Inject content into layout slots |
56
+
57
+ ## shadcn/ui
58
+
59
+ Additional primitives are available from `@lukoweb/apitogo/ui/*`. See
60
+ [shadcn/ui](/docs/components/shadcn) for the full list.
@@ -17,7 +17,7 @@ Start by creating the page you want to add.
17
17
  `page` in the wizard loop, then edit the generated `.tsx` file.
18
18
 
19
19
  Predefined UI components (Callout, Card, Button, Heading, and more) are documented under
20
- [/docs/components/](/docs/components/callout).
20
+ [/docs/components](/docs/components).
21
21
 
22
22
  ## Setup a custom page
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/apitogo",
3
- "version": "0.1.79",
3
+ "version": "0.1.80",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css",