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",
|
"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",
|
||||||
|
|||||||
@ -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/",
|
||||||
|
|||||||
@ -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)',
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -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)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user