Merge pull request #95 from utopia-os/small-fixes

fix(source): small fixes
This commit is contained in:
antontranelis 2025-02-03 15:14:13 +00:00 committed by GitHub
commit 4c01c15623
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 9 additions and 9 deletions

4
package-lock.json generated
View File

@ -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",

View File

@ -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/",

View File

@ -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)',

View File

@ -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

View File

@ -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)}
/>

View File

@ -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)}
/>