diff --git a/packages/builder/src/components/userInterface/temporaryPanelStructure.js b/packages/builder/src/components/userInterface/temporaryPanelStructure.js index 213cfc4a58..5c4188d311 100644 --- a/packages/builder/src/components/userInterface/temporaryPanelStructure.js +++ b/packages/builder/src/components/userInterface/temporaryPanelStructure.js @@ -52,28 +52,28 @@ export default { name: "Textfield", description: "A textfield component that allows the user to input text.", icon: 'ri-edit-box-line', - props: {} + props: {} }, { _component: "@budibase/standard-components/checkbox", name: "Checkbox", description: "A selectable checkbox component", icon: 'ri-checkbox-line', - props: {} + props: {} }, { _component: "@budibase/standard-components/radiobutton", name: "Radiobutton", description: "A selectable radiobutton component", icon: 'ri-radio-button-line', - props: {} + props: {} }, { _component: "@budibase/standard-components/select", name: "Select", description: "A select component for choosing from different options", icon: 'ri-file-list-line', - props: {} + props: {} } ] }, @@ -123,9 +123,10 @@ export default { children: [] }, { - name: 'Navbar', - description: 'A component for handling the navigation within your app.', - icon: 'ri-navigation-fill', + name: "Navigation Bar", + _component: "@budibase/standard-components/Navigation", + description: "A component for handling the navigation within your app.", + icon: "ri-navigation-fill", commonProps: {}, children: [] } diff --git a/packages/standard-components/components.json b/packages/standard-components/components.json index 541aa8a143..888668877b 100644 --- a/packages/standard-components/components.json +++ b/packages/standard-components/components.json @@ -1,16 +1,32 @@ { "_lib": "./dist/index.js", - "_templates" : { - "saveRecordButton" : { + "_templates": { + "saveRecordButton": { "description": "Save record button", "component": "button" } }, - "button" : { + "Navigation": { + "name": "Navigation", + "description": "A basic header navigation component", + "props": { + "logoUrl": "string", + "title": "string", + "backgroundColor": "string", + "color": "string", + "borderWidth": "string", + "borderColor": "string", + "borderStyle": "string" + } + }, + "button": { "name": "Button", "description": "an html