88 Commits

Author SHA1 Message Date
a01fa313fe more fixing 2025-03-20 15:58:23 +00:00
9fcde51584 fixed broken layouts 2025-03-20 13:41:50 +00:00
6c4062717b migrated to tailwind4 and daisyui5 2025-03-20 10:32:25 +00:00
Anton Tranelis
4fc9516715
fix(source): external svg theming (#192)
* allow include of external svgs without breaking theming

* 3.0.77

* 3.0.78

* fixed LocateControl and added react-inlinesvg to external dependencies

* theming toast close button

* fixed typing

* theming search resuts

* theming search resuts

* theming search resuts

* theming donation widget

* theming donation widget

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-03-19 23:28:04 +00:00
4041e9472a
refactor(source): css (#171)
* separate css into several files by topic, move all css into assets

Make separate files for all css topics like leaflet and move its into
the assets folder.

This way only one include from index.ts points to an index.tsx in assets
including all the css files.

* fix up compiling

* extract more css imports, unify imports in a css.tsx file

* separate external css & internal css

* renamed icons.css in marker-icons.css

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-03-03 19:42:59 +01:00
Anton Tranelis
18e561b8b9
fix(source): adjust filter control (#170)
* rollup - fail when typescript has warnings or errors

Currently this is detected when building the docu. Since the developer
rarely does that the problem is detected on github.
This change allows the developer to discover the error early by failing
the build.

* adjust filter control to migrate wuerdekompass map to the latest code with modular profiles

* 3.0.65

* set version to 3.0.71 for npm release

* 3.0.72

* 3.0.73

* resolved merge conflict

* 3.0.74

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-03-01 10:04:25 +00:00
9668f8d417
refactor(source): svg files & heroicons (#144)
* support for svg files

Support to load svg files and include them as bas64 encoded images in
the bundle.

* navbar svgs

* replace NavBar SVGs with heroicons

* layercontrol icons

* lint fix

* quest - questionmark

* plusbutton - plus

* linkeditem - elipse-vertical - link-slash

* contactinfo - envelope & phone

* avatar - arrow-up-tray

* ActionButton - link & plus

* StartEndView - calendar x2

* HeaderView - ellipse-vertical & pencil & trash

* SidebarControl - bars-3

* SearchControl - flag & magnifying-glass

* GratitudeControl - heart

* FilterControl - funnel

* AddButton - plus

* reduce test coverage requirements

* remove wrongfully commit dummy svg

* updated obsolete package.lock

* migrate more svgs from code to file, use hero icons where it seems applicable

* moved share icons to subfolder

* fixed layout

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
2025-02-24 14:58:31 +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
Maximilian Harz
b9295128fd Add ? to item references 2025-02-17 18:07:01 +01:00
Maximilian Harz
4316387ecb Improve typing of items, remove getValue 2025-02-17 18:03:25 +01: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
04e806cbdc fix linting 2025-02-02 21:37:39 +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
antontranelis
f4e71050a5
Merge branch 'main' into lint-security 2024-11-18 09:28:52 +01:00
6e60d47e86
fix all lint errors 2024-11-12 09:29:02 +01:00
5a7bdfe7f7
lint fixes 2024-11-11 17:02:21 +01:00
34435e8272
lint-security fixes 2024-11-11 16:45:01 +01:00
94d5f2ef52
build fix 2024-11-08 19:42:56 +01:00
fefc015b70
lint fixes 2024-11-08 19:36:35 +01:00
5807869721
lint fixes 2024-11-03 00:36:02 +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
226e19e626 small cleanup 2024-10-13 16:28:21 +02:00
85bbf0e911 fix search control css 2024-10-13 01:00:06 +02:00
b98cc90983 added padding to search field 2024-07-31 21:53:47 +02:00
5a84c4f180 merged 2024-07-31 21:34:27 +02:00
930a4d6ceb fix marker icon in search control 2024-07-31 21:08:32 +02:00
f4b22f9361 optimizing attestations 2024-07-31 14:33:40 +02:00
e0eb300304 merged 2024-07-30 16:54:23 +02:00
17dc55e1bb fix control width 2024-07-29 22:06:12 +02:00
23578502e3 give layer and filter control some more padding 2024-07-29 21:52:02 +02:00
65de01caf9 give layer and filter control some more padding 2024-07-29 21:48:56 +02:00
7d2cc19eec give layer and filter control some more padding 2024-07-29 21:46:36 +02:00
c3b074f22c attestation form and profile experiments 2024-07-26 13:05:44 +02:00
424a0f6b17 change color of filter indicator 2024-07-21 13:52:28 +02:00
c4ae29411f filter indicator 2024-07-21 12:23:50 +02:00
a59655fd0a code formatted 2024-07-12 13:04:47 +02:00
ab4d60c950 optimizations for unlisted user items 2024-07-11 13:57:11 +02:00
871e853340 allow unlisted layers 2024-07-11 12:17:28 +02:00
bec87a23a3 rebuild FilterControl Component 2024-07-11 11:14:13 +02:00
b196e253b1 fixed marker Icon on Location Search 2024-07-11 08:26:20 +02:00
Sebastian Stein
033eeb64db - added FilterControl to map 2024-07-10 17:13:46 +02:00
6788310368 mobile fix 2024-06-16 22:28:32 +02:00
22ab0e3acc optimized search, filter and items index pages 2024-06-16 11:45:18 +02:00
9829456ed8 fixed sidenav margin in embedded mode 2024-06-10 11:45:54 +02:00