Shagen Ogandzhanian
18ff668cd2
Add missing form HTML elements
...
DATALIST, FIELDSET, LEGEND, METER, OUTPUT, PROGRESS
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
3 years ago
Shagen Ogandzhanian
84cee1bf92
Add missing image and multimedia HTML elements
...
AREA, AUDIO, MAP, TRACK, VIDEO
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
3 years ago
Shagen Ogandzhanian
08dc15182f
Add missing content sectioning HTML elements
...
Namely: ADDRESS, ARTICLE, ASIDE, HEADER
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
3 years ago
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
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
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
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
9698698bd0
Simplify assignment signatures in CSS properties
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
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
Shagen Ogandzhanian
d9509dd17e
Remove CSSSizeOrAuto completely
...
Use CSSAuto or CSSSize instead (and overloading when needed)
3 years ago
Shagen Ogandzhanian
67244aec5e
CSSProperties is CSSSizeOrAuto-agnostic
3 years ago
Shagen Ogandzhanian
0a39d4681f
Remove unused (and non-existent) CSSTypedUnitValue
3 years ago
Shagen Ogandzhanian
7d4e3307ac
Move parse definition from CSSNumericValueJS to CSSNumericValue
3 years ago
Shagen Ogandzhanian
7022ab225a
CSSSizeValue child interfaces are not external
3 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
3 years ago
Shagen Ogandzhanian
de42b05b99
Introduce CSSUnitApiTests and slightly modify API according to the results of such testing
3 years ago
Shagen Ogandzhanian
8e546f84f8
Get rid of redundnant typecases in CSSUnits
3 years ago
Philip Wedemann
21146ed1d5
Web: Add Hr Element ( #741 )
...
* Add Hr element
* Add Hr Tag
* Add missing HRElement import
* Remove the forbidden content
3 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
3 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.
3 years ago
Shagen Ogandzhanian
80f5eae42c
StylePropertyValue does not contain any nested entities
3 years ago
Shagen Ogandzhanian
15a6b5601e
Remove CSSKeywordValue from API completely
...
And subsequently simplify auto invocation
3 years ago
Oleksandr Karpovich
59470f36c6
dom: Add a test for `auto` keyword in inline style
3 years ago
Shagen Ogandzhanian
3962c5cf23
Revert "Commonize CSS interfaces and remove polyfill dependency"
...
This reverts commit 8e2176b029
.
3 years ago
Shagen Ogandzhanian
898fa303ff
Rename package names in web-core
...
androidx.compose.web -> org.jetbrains.compose.web
androidx.compose.web.elements -> org.jetbrains.compose.web.dom
3 years ago
Shagen Ogandzhanian
f10eb96974
Make content nullable so that we won't pass even empty lambda
3 years ago
Akif Abasov
8e2176b029
Commonize CSS interfaces and remove polyfill dependency
3 years ago
Shagen Ogandzhanian
b1328204b8
Make consistent multi-platform plugin invocation throughout web modules and examples
3 years ago
Shagen Ogandzhanian
42ad7c7dcc
[web] Remove classes builder version from API
3 years ago
Shagen Ogandzhanian
526053086b
[web] Preprations for using DomApplier with Element
3 years ago
Shagen Ogandzhanian
16813707d4
Simplify call signatures in [web-core] tests
3 years ago
Shagen Ogandzhanian
d998bf9058
Move all tests in core to org.jetbrains.compose.web.core.tests
3 years ago
Shagen Ogandzhanian
8118bb7cbe
[web] Don't leave emtpy style attribute if nothing as applied
3 years ago
Shagen Ogandzhanian
6a8e15a7fe
[web] Attribute builder builds styles as well
3 years ago
Oleksandr Karpovich
2b788ef9df
[compose-dom] Let classes lists get merged instead of overriding earlier calls
3 years ago
Shagen Ogandzhanian
3232571f35
[web-core] introduce StyleBuilderContext, AttrBuilderContext and ContentBuilder aliases
3 years ago
Shagen Ogandzhanian
06a905e63a
Split web-core to web-core and web-integration
...
This also means that we have new naming for web artifacts in the gradle plugin
3 years ago
Shagen Ogandzhanian
a6b4ce29f3
[web] Move build to the Kotlin DSL API
4 years ago
Shagen Ogandzhanian
8a35ada373
Remove androidx copyrights that actually are irrelevant to the codebase ported
4 years ago
Shagen Ogandzhanian
f4987d0ce9
Pull web components from androidx-compose
4 years ago