634 Commits

Author SHA1 Message Date
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
8f624b90fa Make item optional 2025-02-17 18:07:01 +01:00
Maximilian Harz
10e81c38c2 Use item in TextView when given 2025-02-17 18:07:01 +01:00
Maximilian Harz
b9295128fd Add ? to item references 2025-02-17 18:07:01 +01:00
Maximilian Harz
23145b0a14 Remove unnecessary eslint disable 2025-02-17 18:07:01 +01:00
Maximilian Harz
134d2ef123 Use ?? instead of || 2025-02-17 18:07:01 +01:00
Maximilian Harz
2556d8c047 item.text is optional 2025-02-17 18:07:01 +01:00
Maximilian Harz
cb727d433d Fix paranthesis in ProfileForm 2025-02-17 18:07:01 +01:00
Maximilian Harz
aa616ed295 Refactor background style 2025-02-17 18:07:00 +01:00
Maximilian Harz
f71929b4d8 Fix paranthesis in ActionsButton 2025-02-17 18:07:00 +01:00
Maximilian Harz
5835a71588 Type item.gallery 2025-02-17 18:05:06 +01:00
Maximilian Harz
990f837aaf Use radash.get to support deep properties in ProfileTextView 2025-02-17 18:05:06 +01:00
Maximilian Harz
876aa65f4f Ignore any 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
f0a3cbada7 Hide empty avatar 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
bbd6e2dd61 Remove unneeded props 2025-02-17 18:05:06 +01:00
Maximilian Harz
9511dc0408 Use .image as avatar 2025-02-17 18:05:06 +01:00
Maximilian Harz
d096ffe456 Fix PopupButton 2025-02-17 18:05:04 +01:00
Maximilian Harz
ea80e6e94c Use better type name for tag ids 2025-02-17 18:03:30 +01:00
Maximilian Harz
7f4594ad53 Fix functionality of ProfileTextView 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
mahula
0b509d1963 fix linting 2025-02-14 21:54:58 +01:00
mahula
b1b3376aee add first rudimentary component tests 2025-02-14 21:42:37 +01:00
mahula
d632e2c5b7 add first rudimentary component tests 2025-02-14 21:20:18 +01:00
ba1dbcb975 contact not mandotory anymore in TabView to avoid side effects 2025-02-11 14:08:38 +00:00
antontranelis
7bc4e34718
Merge pull request #115 from utopia-os/info-dialog
feat(source): info dialog
2025-02-11 13:55:22 +00:00
e1b3492514 added donation widget 2025-02-11 13:53:03 +00:00
0a70af994c Merge branch 'main' into info-dialog 2025-02-11 13:05:53 +00: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
58e1b12121 capture tap events 2025-02-09 21:09:38 +00:00
a450128b72 reorganized types 2025-02-09 20:32:41 +00:00
c5f4c227a0 adjust donation widget 2025-02-04 20:39:18 +00:00
39a114bb1b Merge branch 'main' into info-dialog 2025-02-04 20:07:29 +00:00
4524cc8417 added avatar placeholder 2025-02-04 19:56:46 +00:00
27f0af6654 incude button 2025-02-04 17:25:21 +00:00
ec9f086000 fix linting 2025-02-04 12:47:53 +00:00
a8ad09fab7 removed tributejs 2025-02-04 12:44:59 +00:00
Moriz Wahl
52899df550 Merge branch 'main' into setup-unit-tests 2025-02-04 10:46:27 +01:00
c71b4f5ed3
Merge pull request #89 from utopia-os/typedoc
feat(other): typedoc
2025-02-04 10:42:28 +01:00
Moriz Wahl
942d17d1e2 Merge branch 'main' into setup-unit-tests 2025-02-03 23:09:44 +01:00
Moriz Wahl
22258a62ca fully test text input component 2025-02-03 22:40:06 +01:00
Moriz Wahl
3a84b6db07 test snapshot 2025-02-03 21:52:07 +01:00