docs: migrate UI docs (#13245)
* docs: create a new UI docs project (#13233) * docs: create a new UI docs project * fix installation errors * docs: migrate UI docs content to new project (#13241) * Fix content * added examples for some components * finish adding examples * lint fix * fix build errors * delete empty files * path fixes + refactor * fix build error
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
export const generatedEditDates = {
|
||||
"app/page.mdx": "2025-08-18T11:47:21.886Z",
|
||||
"app/colors/overview/page.mdx": "2025-08-18T11:40:32.013Z",
|
||||
"app/components/alert/page.mdx": "2025-08-18T11:37:35.544Z",
|
||||
"app/components/avatar/page.mdx": "2025-08-18T11:37:36.799Z",
|
||||
"app/components/badge/page.mdx": "2025-08-18T11:37:36.164Z",
|
||||
"app/components/button/page.mdx": "2025-08-18T11:37:35.546Z",
|
||||
"app/components/calendar/page.mdx": "2025-08-18T11:37:38.037Z",
|
||||
"app/components/checkbox/page.mdx": "2025-08-18T11:37:37.354Z",
|
||||
"app/components/code-block/page.mdx": "2025-08-18T11:37:38.418Z",
|
||||
"app/components/command-bar/page.mdx": "2025-08-18T11:37:36.642Z",
|
||||
"app/components/command/page.mdx": "2025-08-18T11:37:36.401Z",
|
||||
"app/components/container/page.mdx": "2025-08-18T11:37:37.043Z",
|
||||
"app/components/copy/page.mdx": "2025-08-18T11:37:36.720Z",
|
||||
"app/components/currency-input/page.mdx": "2025-08-18T11:37:37.429Z",
|
||||
"app/components/data-table/page.mdx": "2025-08-18T11:37:36.243Z",
|
||||
"app/components/date-picker/page.mdx": "2025-08-18T11:37:36.882Z",
|
||||
"app/components/drawer/page.mdx": "2025-08-18T11:37:37.962Z",
|
||||
"app/components/dropdown-menu/page.mdx": "2025-08-18T11:37:37.884Z",
|
||||
"app/components/focus-modal/page.mdx": "2025-08-18T11:37:37.504Z",
|
||||
"app/components/heading/page.mdx": "2025-08-18T11:37:38.265Z",
|
||||
"app/components/icon-badge/page.mdx": "2025-08-18T11:37:36.089Z",
|
||||
"app/components/icon-button/page.mdx": "2025-08-18T11:37:37.123Z",
|
||||
"app/components/inline-tip/page.mdx": "2025-08-18T11:37:36.565Z",
|
||||
"app/components/input/page.mdx": "2025-08-18T11:37:38.342Z",
|
||||
"app/components/kbd/page.mdx": "2025-08-18T11:37:35.852Z",
|
||||
"app/components/label/page.mdx": "2025-08-18T11:37:37.218Z",
|
||||
"app/components/progress-accordion/page.mdx": "2025-08-18T11:37:35.931Z",
|
||||
"app/components/progress-tabs/page.mdx": "2025-08-18T11:37:37.808Z",
|
||||
"app/components/prompt/page.mdx": "2025-08-18T11:37:38.113Z",
|
||||
"app/components/radio-group/page.mdx": "2025-08-18T11:37:36.321Z",
|
||||
"app/components/select/page.mdx": "2025-08-18T11:37:36.964Z",
|
||||
"app/components/status-badge/page.mdx": "2025-08-18T11:37:37.579Z",
|
||||
"app/components/switch/page.mdx": "2025-08-18T11:37:37.277Z",
|
||||
"app/components/table/page.mdx": "2025-08-18T11:37:37.655Z",
|
||||
"app/components/tabs/page.mdx": "2025-08-18T11:37:38.190Z",
|
||||
"app/components/text/page.mdx": "2025-08-18T11:37:36.492Z",
|
||||
"app/components/textarea/page.mdx": "2025-08-18T11:37:37.731Z",
|
||||
"app/components/toast/page.mdx": "2025-08-18T11:37:36.010Z",
|
||||
"app/components/tooltip/page.mdx": "2025-08-18T11:37:35.772Z",
|
||||
"app/hooks/use-prompt/page.mdx": "2025-08-18T11:37:35.558Z",
|
||||
"app/hooks/use-toggle-state/page.mdx": "2025-08-18T11:37:35.558Z",
|
||||
"app/icons/overview/page.mdx": "2025-08-18T11:37:35.553Z",
|
||||
"app/installation/medusa-admin-extension/page.mdx": "2025-08-18T12:34:16.683Z",
|
||||
"app/installation/page.mdx": "2025-08-18T11:37:35.544Z",
|
||||
"app/installation/standalone-project/page.mdx": "2025-08-18T12:40:30.780Z",
|
||||
"app/utils/clx/page.mdx": "2025-08-18T11:37:35.561Z"
|
||||
}
|
||||
@@ -0,0 +1,410 @@
|
||||
export const generatedSidebars = [
|
||||
{
|
||||
"sidebar_id": "ui",
|
||||
"title": "Medusa UI",
|
||||
"items": [
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Introduction",
|
||||
"path": "/",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"type": "separator"
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "category",
|
||||
"title": "Installation",
|
||||
"initialOpen": true,
|
||||
"children": [
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Medusa Admin Extension",
|
||||
"path": "/installation/medusa-admin-extension",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Standalone Project",
|
||||
"path": "/installation/standalone-project",
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Icons",
|
||||
"path": "/icons/overview",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Colors",
|
||||
"path": "/colors/overview",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"type": "separator"
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "category",
|
||||
"title": "Components",
|
||||
"initialOpen": true,
|
||||
"children": [
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Alert",
|
||||
"path": "/components/alert",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Avatar",
|
||||
"path": "/components/avatar",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Badge",
|
||||
"path": "/components/badge",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Button",
|
||||
"path": "/components/button",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Calendar",
|
||||
"path": "/components/calendar",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Checkbox",
|
||||
"path": "/components/checkbox",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Code Block",
|
||||
"path": "/components/code-block",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Command",
|
||||
"path": "/components/command",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Command Bar",
|
||||
"path": "/components/command-bar",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Container",
|
||||
"path": "/components/container",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Copy",
|
||||
"path": "/components/copy",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Currency Input",
|
||||
"path": "/components/currency-input",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Data Table",
|
||||
"path": "/components/data-table",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Date Picker",
|
||||
"path": "/components/date-picker",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Drawer",
|
||||
"path": "/components/drawer",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Dropdown Menu",
|
||||
"path": "/components/dropdown-menu",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Focus Modal",
|
||||
"path": "/components/focus-modal",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Heading",
|
||||
"path": "/components/heading",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Icon Badge",
|
||||
"path": "/components/icon-badge",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Icon Button",
|
||||
"path": "/components/icon-button",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Inline Tip",
|
||||
"path": "/components/inline-tip",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Input",
|
||||
"path": "/components/input",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Kbd",
|
||||
"path": "/components/kbd",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Label",
|
||||
"path": "/components/label",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Progress Accordion",
|
||||
"path": "/components/progress-accordion",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Progress Tabs",
|
||||
"path": "/components/progress-tabs",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Prompt",
|
||||
"path": "/components/prompt",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Radio Group",
|
||||
"path": "/components/radio-group",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Select",
|
||||
"path": "/components/select",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Status Badge",
|
||||
"path": "/components/status-badge",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Switch",
|
||||
"path": "/components/switch",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Table",
|
||||
"path": "/components/table",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Tabs",
|
||||
"path": "/components/tabs",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Text",
|
||||
"path": "/components/text",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Textarea",
|
||||
"path": "/components/textarea",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Toast",
|
||||
"path": "/components/toast",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "Tooltip",
|
||||
"path": "/components/tooltip",
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "category",
|
||||
"title": "Hooks",
|
||||
"initialOpen": true,
|
||||
"children": [
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "usePrompt",
|
||||
"path": "/hooks/use-prompt",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "useToggleState",
|
||||
"path": "/hooks/use-toggle-state",
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "category",
|
||||
"title": "Utils",
|
||||
"initialOpen": true,
|
||||
"children": [
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"title": "clx",
|
||||
"path": "/utils/clx",
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user