mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Merge pull request #95 from utopia-os/small-fixes
fix(source): small fixes
This commit is contained in:
commit
4c01c15623
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "utopia-ui",
|
||||
"version": "3.0.37",
|
||||
"version": "3.0.38",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "utopia-ui",
|
||||
"version": "3.0.37",
|
||||
"version": "3.0.38",
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@heroicons/react": "^2.0.17",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "utopia-ui",
|
||||
"version": "3.0.37",
|
||||
"version": "3.0.38",
|
||||
"description": "Reuseable React Components to build mapping apps for real life communities and networks",
|
||||
"repository": "https://github.com/utopia-os/utopia-ui",
|
||||
"homepage:": "https://utopia-os.org/",
|
||||
|
||||
@ -40,7 +40,7 @@ export const Layer = ({
|
||||
menuIcon = 'MapPinIcon',
|
||||
menuText = 'add new place',
|
||||
menuColor = '#2E7D32',
|
||||
markerIcon = 'circle-solid',
|
||||
markerIcon = 'point',
|
||||
markerShape = 'circle',
|
||||
markerDefaultColor = '#777',
|
||||
markerDefaultColor2 = 'RGBA(35, 31, 32, 0.2)',
|
||||
|
||||
@ -73,7 +73,7 @@ export function UtopiaMapInner({
|
||||
infoText &&
|
||||
setTimeout(() => {
|
||||
toast(<TextView rawText={infoText} />, { autoClose: false })
|
||||
}, 4000)
|
||||
}, 10000)
|
||||
init.current = true
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
|
||||
@ -172,7 +172,7 @@ export const TabsForm = ({
|
||||
name='my_tabs_2'
|
||||
role='tab'
|
||||
className='tw-tab [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]'
|
||||
aria-label='Relations'
|
||||
aria-label='Links'
|
||||
checked={activeTab === 7 && true}
|
||||
onChange={() => updateActiveTab(7)}
|
||||
/>
|
||||
|
||||
@ -121,7 +121,7 @@ export const TabsView = ({
|
||||
className={
|
||||
'tw-tab tw-font-bold !tw-ps-2 !tw-pe-2 [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]'
|
||||
}
|
||||
aria-label={`${item.layer.itemType.icon_as_labels && activeTab !== 2 ? '❤️' : '❤️\u00A0Credibility'}`}
|
||||
aria-label={`${item.layer.itemType.icon_as_labels && activeTab !== 2 ? '❤️' : '❤️\u00A0Trust'}`}
|
||||
checked={activeTab === 2 && true}
|
||||
onChange={() => updateActiveTab(2)}
|
||||
/>
|
||||
@ -161,7 +161,7 @@ export const TabsView = ({
|
||||
appState.assetsApi.url +
|
||||
getUserProfile(a.user_created.id)?.image
|
||||
}
|
||||
alt='Avatar Tailwind CSS Component'
|
||||
alt='Avatar'
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@ -243,7 +243,7 @@ export const TabsView = ({
|
||||
name='my_tabs_2'
|
||||
role='tab'
|
||||
className='tw-tab tw-font-bold !tw-ps-2 !tw-pe-2 [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]'
|
||||
aria-label={`${item.layer.itemType.icon_as_labels && activeTab !== 7 ? '🔗' : '🔗\u00A0Relations'}`}
|
||||
aria-label={`${item.layer.itemType.icon_as_labels && activeTab !== 7 ? '🔗' : '🔗\u00A0Links'}`}
|
||||
checked={activeTab === 7 && true}
|
||||
onChange={() => updateActiveTab(7)}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user