1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00

WIP: Poc for date picker

This commit is contained in:
Conor Mack 2020-03-07 16:33:44 +00:00
parent a0967a143f
commit 31eb063cf6
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"