Shagen Ogandzhanian
60944c87c4
Simplify elements internal api by removing Tag interface completely and rely on existing HTMLElement hierarchy ( #779 )
...
* Relax upperbound for ElementBuilder to Element
It's still a lie since there's a HTMLElement cast later on but it will
make possible further improvements
* Don't use Tags anywhere in code
* Remove Tags completely
3 years ago
Shagen Ogandzhanian
ee0793dcaa
Relax upperbound for ElementBuilder to Element
...
It's still a lie since there's a HTMLElement cast later on but it will
make possible further improvements
3 years ago
Shagen Ogandzhanian
d38dcbe8a2
Label content is specialized as HTMLLabelElement
3 years ago
Andrew Rudenko
603901b814
Updated Keyboard tutorial ( #771 )
3 years ago
Shagen Ogandzhanian
f1beb00a90
Clone node experiment ( #772 )
...
* Specialize TagElement for creating HTMLElements in different ways
* Clone elements for Div, Span and A
* Clone counterparts for Button and Input
* Remove redundant type cast
* Created nodes does not have content so I'm not sure we need to pass true
* H1, H2, H3, H4, H5, H6, P
* Switch all element creation to cloneNode
* Split ElementBuilder and ElementBuilderImplementation
* BROKEN pass ElementBuilder
* Remove obsolete tagName syntax completely
* Fix typo in generic name
* Reintroduce legaci API call signature which uses cloneNode as well
3 years ago
Shagen Ogandzhanian
de143273e8
Introduce test for attributes re-evaluation
3 years ago
Shagen Ogandzhanian
e96d59818b
Produce DOM nodes via builder
3 years ago
Shagen Ogandzhanian
428a0a6ce8
Add test for just checking DOM names to be sure none of future refactoring will affect this
3 years ago
Shagen Ogandzhanian
ab937a9716
Introduce test for testing "raw" element creaation
3 years ago
Shagen Ogandzhanian
72a8a5b2c9
Align bencmhark source with web example
...
We need to think of a better approach though
3 years ago
Shagen Ogandzhanian
379fa42e23
Remove redundnant Hr definition since we have it already in DOM API
3 years ago
Shagen Ogandzhanian
90d7933f5a
Update artifact version in web tutorial to 0.5.0-build222
3 years ago
Shagen Ogandzhanian
192f360dbe
Update web tutorial
3 years ago
Shagen Ogandzhanian
0992de69e0
Update web/CHANGELOG.md after 0.5.0-build222
3 years ago
Shagen Ogandzhanian
94e7ee43cf
Update examples to 0.5.0-build222
3 years ago
Shagen Ogandzhanian
f0aaa63e60
Add test for testing arithmetic in composable context
3 years ago
Oleksandr Karpovich
3b96c55daa
web: test for media query ( #766 )
...
* web: Add a test for media query in style sheet
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
3 years ago
Shagen Ogandzhanian
7ef65d21de
Fix name so web_landing as a part of the web build
3 years ago
Oleksandr Karpovich
d2371cb878
web: Add a fix for css variables
3 years ago
Shagen Ogandzhanian
9846c190ed
Introduce minimal tests for injecting stylesheets
3 years ago
Shagen Ogandzhanian
1315be6d5e
For composition unit tests add container to the document
3 years ago
Shagen Ogandzhanian
492a5227e1
Update examples to 0.5.0-build221
3 years ago
Shagen Ogandzhanian
9698698bd0
Simplify assignment signatures in CSS properties
3 years ago
Drakeet
ee1a8f1ab2
Fix invalid Char code exception for readLinePositions ( #751 )
3 years ago
Shagen Ogandzhanian
a5c55de3bf
Introduce markers for CSS Length and CSS percentage
3 years ago
Shagen Ogandzhanian
6048760a1a
CSS units API is CSSOM-agnostic and supports homogenous arithmetic operations
3 years ago
Arkadii Ivanov
5ed9c41243
TodoApp. Update Kotlin to 1.5.10, Compose to 0.4.0, and other deps. ( #756 )
3 years ago
Oleksandr Karpovich
d0d272897b
Fix `add1kItems` benchmark to avoid it getting swallowed on CI
...
Now it will repeat only 3 times instead of default (5).
3 years ago
Philip Wedemann
20fa5edd82
Web: Remove content builder for empty elements ( #745 )
...
* Remove content builder for empty elements
* Remove content builder for empty elements
Co-authored-by: hfhbd <hfhbd@users.noreply.github.com>
3 years ago
Igor Demin
a6ea8e2930
Update CHANGELOG.md
4 years ago
Shagen Ogandzhanian
d9509dd17e
Remove CSSSizeOrAuto completely
...
Use CSSAuto or CSSSize instead (and overloading when needed)
4 years ago
Shagen Ogandzhanian
67244aec5e
CSSProperties is CSSSizeOrAuto-agnostic
4 years ago
Shagen Ogandzhanian
0a39d4681f
Remove unused (and non-existent) CSSTypedUnitValue
4 years ago
Shagen Ogandzhanian
7d4e3307ac
Move parse definition from CSSNumericValueJS to CSSNumericValue
4 years ago
Shagen Ogandzhanian
7022ab225a
CSSSizeValue child interfaces are not external
4 years ago
Shagen Ogandzhanian
c5b661850b
Remove CSSNumericValue::equals since it clashes with regular equals and can not be actually called
...
Our goal is not to provide precise CSSOM model but a convenient
composable css API and users are supposed to be agnostic about CSSOM
4 years ago
Shagen Ogandzhanian
de42b05b99
Introduce CSSUnitApiTests and slightly modify API according to the results of such testing
4 years ago
Shagen Ogandzhanian
8e546f84f8
Get rid of redundnant typecases in CSSUnits
4 years ago
Philip Wedemann
21146ed1d5
Web: Add Hr Element ( #741 )
...
* Add Hr element
* Add Hr Tag
* Add missing HRElement import
* Remove the forbidden content
4 years ago
Philip Wedemann
6773408821
Web: Fix Option usage in Select Element ( #742 )
...
* Fix Option usage in Select Element
* Remove the scope limitation
option could also be placed inside opt group, datalist and select
4 years ago
Shagen Ogandzhanian
a4c7f3d074
CSSSizeOrAutoValue is a marker interface
...
This leads to lie since it's actually not an external interface.
But this is a forgiveable lie, regarding the fact what would come next.
4 years ago
Shagen Ogandzhanian
80f5eae42c
StylePropertyValue does not contain any nested entities
4 years ago
Shagen Ogandzhanian
15a6b5601e
Remove CSSKeywordValue from API completely
...
And subsequently simplify auto invocation
4 years ago
Igor Demin
69dbc82ec8
Update tutorials
4 years ago
Oleksandr Karpovich
b051250388
Add web-core benchmarks with reports to TeamCity ( #724 )
...
* Add web-core benchmarks with reports to TeamCity
* Add a test project for bundle size measurements
Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
4 years ago
Igor Demin
74bff411d2
Window API tutorial. Listening the state of the window ( #737 )
4 years ago
Nikolay Igotti
a24ad2c433
Update README.md
4 years ago
Oleksandr Karpovich
bfc5a91d2a
Update web tutorials and template to conform the latest API changes
4 years ago
Shagen Ogandzhanian
6e3efa2ebb
Update web/CHANGELOG.md after releasing 0.0.0-web-dev-14
4 years ago
Shagen Ogandzhanian
de2ee4c8e5
Update web tutorial
4 years ago