25 Commits

Author SHA1 Message Date
Anton Tranelis
ed9906ae2f
fix(source): enhancing layer control (#223)
* 3.0.82

* version number

* 3.0.84

* 3.0.85

* 3.0.86

* 3.0.87

* 3.0.88

* url layer parameter

* layer control customizing

* 3.0.89

* 3.0.90

* 3.0.91

* typing

* 3.0.92

* fixing bug and imports

* 3.0.93

* fixing bug on profile-item-create caused by PR 185
2025-05-23 10:04:34 +02:00
Max
82b1f39141
refactor(source): refactor Layer and its subcomponents, replacing cloneElement by context (#185)
* Refactor Layer and its subcomponents, replacing cloneElement by context

* Add showcase for PopupButton template component

* Templateify exported elements (WIP)

* Remove unused file

* Export templateified PopupStartEndInput

* Fix template component type

* Change folder structure

* Lower test coverage

* changed export name

* Refactor PopupForm and PopupView

* More refactoring

* Add provider for PopupFormContext

* Fix popupform title

* Add comments

* Use correct ItemFormPopup for new items

* Fix linting

* Reduce coverage

* Change tailwind prefix

* Fix type

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-05-22 20:14:42 +02:00
Anton Tranelis
06252fb0b5
refactor(source): zoom control (#221)
* 3.0.82

* version number

* 3.0.84

* 3.0.85

* 3.0.86

* optional zoom control
2025-05-22 12:06:30 +02:00
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
9e6bcf1846
fix(source): update tailwind and daisyui (#196)
* removed daisy from config

* removed tw-elements artefact

* removed comments from tailwind config

* removed safelist

* migrated to tailwind4 and daisyui5

* deleted tailwind.config.js which is not eeded anymore

* 3.0.79

* version number

* fixed broken layouts

* more fixing

* more layout fixing

* tested theming

* small fixes

* adapt snapshots to changes

* package.json: add unit test update script

* more ui refactoring & theme controller

* ui improvements

* package-lock.json

* fix linting

* fixed tabs

* fix linting

* fixed typing

---------

Co-authored-by: mahula <lenzmath@posteo.de>
2025-04-25 16:03:42 +02:00
Anton Tranelis
67a5e6e22d
docs(docu): improved documentation (#169)
* 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.

* cleand up types of UtopiaMap and UtopiaMapInner

* documented UtopiaMap, Tags, Tag and  Permissions

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-04-21 23:21:11 +00:00
Anton Tranelis
edb0172a8e
feat(source): initialized donation widget (#194)
* initialized donation widget

* opencollective api calls

* form element and styling

* fix linting

* removed unused import

* 3.0.79

* get opencollectiva api key from app state

* linting
2025-04-17 14:47:31 +02:00
Max
1de44c3e1c
feat(release): improve typing of itemsApi (WIP) (#148)
* Improve typing of itemsApi

* Show error if name of new item cannot be determined

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-02-25 08:39:09 +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
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
27e4282624
types for all auth related things (#135) 2025-02-20 09:45:58 +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
2556d8c047 item.text is optional 2025-02-17 18:07:01 +01:00
Maximilian Harz
5835a71588 Type item.gallery 2025-02-17 18:05:06 +01:00
Maximilian Harz
a949df25c2 Simplify conditional and fix color calculation 2025-02-17 18:05:06 +01:00
Maximilian Harz
7e326590bb Don't type api for now; re-add hasColor 2025-02-17 18:05:06 +01:00
Maximilian Harz
bc0aa25cd2 Make updateItem type partial 2025-02-17 18:05:06 +01:00
Maximilian Harz
a3acf592dd Allow item.position to be null 2025-02-17 18:05:06 +01:00
Maximilian Harz
5846637747 Improve api type 2025-02-17 18:05:06 +01:00
Maximilian Harz
5741070854 Remove unused props and comment 2025-02-17 18:05:06 +01:00
Maximilian Harz
ea80e6e94c Use better type name for tag ids 2025-02-17 18:03:30 +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
e1b3492514 added donation widget 2025-02-11 13:53:03 +00:00
a450128b72 reorganized types 2025-02-09 20:32:41 +00:00