105 Commits

Author SHA1 Message Date
Anton Tranelis
67e8dfe7c1
refactor(source): dynamic marker icons (#219)
* 3.0.82

* version number

* 3.0.84

* 3.0.85

* 3.0.86

* loading svgs from backend

* bugfixing and icon ajustments

* correct type import

* updated examples

* bugfix

* bugfix

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-05-21 09:37:16 +02:00
Anton Tranelis
656fbb3ffc
refactor(source): get rid of item type (#142)
* started

* removed replaced itemType on all the places where it was used to identyfi the user profile layer

* removed unused property from NavBar

* removed unused property from AppShell

* removed userType from app state

* 3.0.60

* set version to 3.0.64 to publish package to include it in utopia-map

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-20 11:04:05 +00:00
e2beb712bf
refactor(source): export point type (#138)
* bind the local utopia-ui lib

To ensure the examples still work with the latest utopia-ui, it is now
bound to the current code and does no longer depend on publishing the
library first

* replaced number by uuid as item ids in examples

* remove link mechanic from workflow

* also build utopia-ui

* fix example2

for some reason this stopped working on maaster.

* export geojson point to remove this external dependency

By exporting this type another package is not needed. This is especially
important, since there are different Point definitions which are
partially incompatible.

---------

Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-02-19 14:44:56 +00:00
feae3dc482
fix(source): type export via rollup plugin by using the correct input (#122)
* fix typeexport via rollup plugin by using the correct input

The rollup plugin dts requires a d.ts tree as input not the txs sources.

This change points the plugin into the right direction and removes the
type export hacks.

* corrected types path

apparently this was not properly adjusted accross the board when moving
the folder

* fix rollup config

properly export types

* use export * where needed

Since we now export types alongside with defintions we use the `export *
from` syntax to simplify things

* export types alongside with interfaces

export types so we can properly use them in external projects alongside
the exported function/module/...

* fix type-problems uncovered by utopia-map

When including types properly in the utopia-map several missing typings
showed up.

* fix typing

fix an inhereted type

* dummy restructure code

to properly be able to compile things we are not allowed to have unsed
parameters/props

* assigne types to category types
2025-02-19 12:05:42 +00:00
93eabedd16
docs: group by category (#124)
Groups the docs by categories and assigns all exported Components a
category (except types).
2025-02-18 11:11:06 +01:00
Maximilian Harz
2556d8c047 item.text is optional 2025-02-17 18:07:01 +01:00
Maximilian Harz
a949df25c2 Simplify conditional and fix color calculation 2025-02-17 18:05:06 +01:00
Maximilian Harz
4316387ecb Improve typing of items, remove getValue 2025-02-17 18:03:25 +01:00
Maximilian Harz
f5b7b9267f Try to type Item and getValue (WIP) 2025-02-17 17:56:56 +01:00
f6ba6fbff1 Use JavaScript default parameters instead defaultProps 2025-02-11 10:52:09 +00:00
79ca17aa3f fix types import path 2025-02-10 11:39:07 +00:00
a450128b72 reorganized types 2025-02-09 20:32:41 +00:00
eb02d376df fix custom marker icon in Layer component 2025-02-03 10:16:53 +00:00
9c0a11ceee cleanup maps and layers 2025-01-29 14:13:02 +00:00
3872a052b6
separated types, eslint rule for importing types
- Separated types and moved them into the proper ./types folder defined
in the tsconfig.json.
- Defined a new folder alias `#types`.
- New eslint rule to enforce `import type` when a type is imported.
- Removed Geometry Class and used manual Point types from `geojson`
2024-11-24 04:11:32 +01:00
34435e8272
lint-security fixes 2024-11-11 16:45:01 +01:00
fefc015b70
lint fixes 2024-11-08 19:36:35 +01:00
b849e48c3e
fix problem 2024-11-05 10:13:21 +01:00
5807869721
lint fixes 2024-11-03 00:36:02 +01:00
2746844f07
fix formating errors with eslint ignore comments 2024-11-02 22:51:59 +01:00
6ae276bedf
autofixes 2024-11-02 22:45:29 +01:00
3dc533676e fixed linting 2024-11-02 21:21:24 +01:00
36aeda5919
lint fixes 2024-10-29 18:24:11 +01:00
9546b2e9f4
autofixes 2024-10-29 17:42:04 +01:00
d832185ee3
lint fixes 2024-10-29 11:55:07 +01:00
95f108c2f7
fix more lint errors 2024-10-29 10:46:14 +01:00
2b4a2ae08f fix URL issue 2024-07-31 17:00:15 +02:00
dc3434e22c set #tag filter to logic from AND to OR 2024-07-29 10:27:29 +02:00
ed3446dc13 fix not showing items with grouptypes on maps not filtered 2024-07-21 12:02:40 +02:00
f310bb7033 fixed color / removed logging 2024-07-16 14:16:41 +02:00
871e853340 allow unlisted layers 2024-07-11 12:17:28 +02:00
1d01d5d91f make controls visibility customizable 2024-07-11 11:15:00 +02:00
b191466f39 fixed js-console errors 2024-07-02 14:11:10 +02:00
02af3b5d82 diffeent icons for diffeent groups 2024-07-02 13:54:16 +02:00
06755d7f80 basic public item support 2024-05-03 12:49:19 +02:00
4a681cd503 performance fix 2024-04-24 08:48:52 +02:00
69e3222c97 small fix 2024-04-23 22:09:12 +02:00
f1b338f36e small fix 2024-04-23 22:08:57 +02:00
183f549742 marker color fix 2024-04-23 09:16:46 +02:00
5bbd4714b6 some adjustments for dynamic maps 2024-04-22 22:38:39 +02:00
c627ee3800 subtitles, header optimization and bugfixing 2024-03-25 18:57:26 +01:00
8484379113 update item position, item parents, focus item on profile load an open cluster 2024-03-25 01:06:47 +01:00
7005f492dd support for tab urls and several fixes 2024-03-23 11:46:44 +01:00
d935cc0bb6 fixed tag handling for items comming with tag property 2024-02-20 17:29:00 +01:00
1583e55e7e refactored tags and offers & needs implemented 2024-02-15 17:28:00 +01:00
b43c4f3cfb tags url parameter 2024-02-04 12:01:16 +01:00
994ea884a2 fix tag issue 2024-02-02 19:50:53 +01:00
ec69c14fb4 fix tag issue 2024-02-02 19:26:05 +01:00
a5baa8f39d implemented new tag schema 2024-02-01 11:57:11 +01:00
10f5709732 fix some firefox mobile issue 2024-01-30 21:06:35 +01:00