WIP: Poc for date picker

This commit is contained in:
Conor Mack 2020-03-07 16:33:44 +00:00
parent 86327760a1
commit 6e0518c646
6 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,10 @@
<script>
import { Menu } from "../Menu"
import { Textfield } from "../Textfield"
let open = false
debugger
</script>
<Textfield label="Select Date" />
<Menu {open} />

View File

@ -0,0 +1 @@
export { default as DatePicker } from "./DatePicker.svelte"

View File

@ -39,6 +39,7 @@
})
$: menuList && _bb.attachChildren(menuList)
debugger
</script>
{#if useFixedPosition || useAbsolutePosition}

View File

@ -17,6 +17,7 @@
Icon,
List,
Select,
DatePicker,
} = props
let currentComponent
@ -28,6 +29,7 @@
props: {
_component: "testcomponents/rootComponent",
_children: [
DatePicker,
Button,
BodyBoundToStore,
Textfield,

View File

@ -205,5 +205,9 @@ export const props = {
value: "2",
},
],
}
},
DatePicker: {
_component: "@budibase/materialdesign-components/ListItem",
_children: [],
},
}

View File

@ -19,3 +19,4 @@ export { default as recordForm } from "./Templates/recordForm"
export { List, ListItem } from "./List"
export { Menu } from "./Menu"
export { Select } from "./Select"
export { DatePicker } from "./DatePicker"