mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
utopia-ui@3.0.0-alpha.149
This commit is contained in:
parent
ec4f4d6c3b
commit
4575be4522
Binary file not shown.
8
package-lock.json
generated
8
package-lock.json
generated
@ -17,7 +17,7 @@
|
||||
"react-dom": "^18.2.0",
|
||||
"react-rnd": "^10.4.1",
|
||||
"react-router-dom": "^6.23.0",
|
||||
"utopia-ui": "^3.0.0-alpha.140"
|
||||
"utopia-ui": "^3.0.0-alpha.149"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.2.79",
|
||||
@ -7245,9 +7245,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/utopia-ui": {
|
||||
"version": "3.0.0-alpha.140",
|
||||
"resolved": "https://registry.npmjs.org/utopia-ui/-/utopia-ui-3.0.0-alpha.140.tgz",
|
||||
"integrity": "sha512-NwYDHfyjrFejpvcWkJpc4LvJvtyde7/mysWlk6zx5sB+X8aWD9fjIEAQjPAI0NMebyNwKqqUcu4rsb87CzVcUA==",
|
||||
"version": "3.0.0-alpha.149",
|
||||
"resolved": "https://registry.npmjs.org/utopia-ui/-/utopia-ui-3.0.0-alpha.149.tgz",
|
||||
"integrity": "sha512-hKYVQSWHsL9wDSeL0aWF/C87zhGDj4PVjg7gLbfHFC9w1cQe62SnN05FjbDlOoGn3av82opZoeTnKRS2AGaAQw==",
|
||||
"dependencies": {
|
||||
"@heroicons/react": "^2.0.17",
|
||||
"@tanstack/react-query": "^5.17.8",
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
"react-dom": "^18.2.0",
|
||||
"react-rnd": "^10.4.1",
|
||||
"react-router-dom": "^6.23.0",
|
||||
"utopia-ui": "^3.0.0-alpha.140"
|
||||
"utopia-ui": "^3.0.0-alpha.149"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.2.79",
|
||||
|
||||
@ -52,6 +52,7 @@ function MapContainer({ layers, map }: { layers: Array<LayerProps>, map: any })
|
||||
itemNeedsField='needs'
|
||||
customEditLink='/edit-item'
|
||||
customEditParameter='id'
|
||||
public_edit_items={layer.public_edit_items}
|
||||
api={apis?.find(api => api.id === layer.id)?.api}>
|
||||
<ItemView>
|
||||
{layer.itemType.show_start_end &&
|
||||
@ -68,6 +69,8 @@ function MapContainer({ layers, map }: { layers: Array<LayerProps>, map: any })
|
||||
{layer.itemType.show_name_input && <PopupTextInput dataField='name' placeholder='Name'></PopupTextInput>}
|
||||
{layer.itemType.show_start_end_input && <PopupStartEndInput></PopupStartEndInput>}
|
||||
{layer.itemType.show_text_input &&<PopupTextAreaInput dataField='text' placeholder={'Text ...'} style="tw-h-40"></PopupTextAreaInput>}
|
||||
{//layer.public_edit_items && <PopupCheckboxInput dataField={'public_edit'} label={'public edit'}/>
|
||||
}
|
||||
{layer.itemType.custom_text && <div className='flex justify-center'>
|
||||
<p>Press Save to place your Profile to the Map</p>
|
||||
</div>}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user