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", "name": "utopia-ui",
"version": "3.0.37", "version": "3.0.38",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "utopia-ui", "name": "utopia-ui",
"version": "3.0.37", "version": "3.0.38",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"dependencies": { "dependencies": {
"@heroicons/react": "^2.0.17", "@heroicons/react": "^2.0.17",

View File

@ -1,6 +1,6 @@
{ {
"name": "utopia-ui", "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", "description": "Reuseable React Components to build mapping apps for real life communities and networks",
"repository": "https://github.com/utopia-os/utopia-ui", "repository": "https://github.com/utopia-os/utopia-ui",
"homepage:": "https://utopia-os.org/", "homepage:": "https://utopia-os.org/",

View File

@ -40,7 +40,7 @@ export const Layer = ({
menuIcon = 'MapPinIcon', menuIcon = 'MapPinIcon',
menuText = 'add new place', menuText = 'add new place',
menuColor = '#2E7D32', menuColor = '#2E7D32',
markerIcon = 'circle-solid', markerIcon = 'point',
markerShape = 'circle', markerShape = 'circle',
markerDefaultColor = '#777', markerDefaultColor = '#777',
markerDefaultColor2 = 'RGBA(35, 31, 32, 0.2)', markerDefaultColor2 = 'RGBA(35, 31, 32, 0.2)',

View File

@ -73,7 +73,7 @@ export function UtopiaMapInner({
infoText && infoText &&
setTimeout(() => { setTimeout(() => {
toast(<TextView rawText={infoText} />, { autoClose: false }) toast(<TextView rawText={infoText} />, { autoClose: false })
}, 4000) }, 10000)
init.current = true init.current = true
} }
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps

View File

@ -172,7 +172,7 @@ export const TabsForm = ({
name='my_tabs_2' name='my_tabs_2'
role='tab' role='tab'
className='tw-tab [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]' className='tw-tab [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]'
aria-label='Relations' aria-label='Links'
checked={activeTab === 7 && true} checked={activeTab === 7 && true}
onChange={() => updateActiveTab(7)} onChange={() => updateActiveTab(7)}
/> />

View File

@ -121,7 +121,7 @@ export const TabsView = ({
className={ className={
'tw-tab tw-font-bold !tw-ps-2 !tw-pe-2 [--tab-border-color:var(--fallback-bc,oklch(var(--bc)/0.2))]' '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} checked={activeTab === 2 && true}
onChange={() => updateActiveTab(2)} onChange={() => updateActiveTab(2)}
/> />
@ -161,7 +161,7 @@ export const TabsView = ({
appState.assetsApi.url + appState.assetsApi.url +
getUserProfile(a.user_created.id)?.image getUserProfile(a.user_created.id)?.image
} }
alt='Avatar Tailwind CSS Component' alt='Avatar'
/> />
</div> </div>
</div> </div>
@ -243,7 +243,7 @@ export const TabsView = ({
name='my_tabs_2' name='my_tabs_2'
role='tab' 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))]' 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} checked={activeTab === 7 && true}
onChange={() => updateActiveTab(7)} onChange={() => updateActiveTab(7)}
/> />