30 Commits

Author SHA1 Message Date
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
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
79ca17aa3f fix types import path 2025-02-10 11:39:07 +00:00
a450128b72 reorganized types 2025-02-09 20:32:41 +00:00
20e8203b26
make NavBar typesafe
removed obsolete eslint disables

fixed a type problem

another type problem

type check
2024-12-19 12:17:51 +01: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
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
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
44f46d60a4 removed unused imports 2024-05-06 10:24:03 +02:00
69131b6618 fixed search bar bug 2024-04-25 18:09:50 +02:00
5bbd4714b6 some adjustments for dynamic maps 2024-04-22 22:38:39 +02:00
3e43df82d7 fixed quests 2024-03-29 15:09:56 +01:00
ea31a5672b fixed gaming 2024-03-28 15:48:54 +01:00
e0e154fcf6 hide Quest Control when there are no Quests 2023-12-22 08:45:35 +01:00
d70b1bc7f1 Quest improvments 2023-12-15 13:11:52 +01:00
29eedc3a37 basic avatar upload 2023-10-13 18:32:23 +02:00
da368e9728 gameplay 2023-10-11 22:11:30 +02:00
cb91cc2f4a translated demo quests 2023-10-09 23:37:09 +02:00
3ffd88c5a9 updated gaming 2023-10-09 20:13:17 +02:00
f99a5fcce9 changed Quests z-index 2023-09-27 08:22:12 +02:00
3dd32c62dd updated daisy ui 2023-07-23 23:14:44 +02:00
f8f0001ed7 Quests closeable 2023-07-23 09:57:40 +02:00
b1093dcc41 fix quest positio 2023-07-22 00:11:30 +02:00
AT
0c39ffa6f9 more components 2023-05-18 23:48:46 +02:00