Shagen Ogandzhanian
019cbd2940
Use CSSStyleSheet so that there's no need to define additional functionality on Stylesheet
4 years ago
Igor Demin
ef697af7ed
Update tutorials
4 years ago
Igor Demin
cd7f4f4587
Migrate desktop templates/tutorials to 0.5.0-build226
4 years ago
theapache64
7f90700f8d
Compose Web Example - Compose Bird ( #797 )
...
* add new compose web example - compose bird
* bump compose web version and fix breaking changes
* refresh .gitignore with new rules
* update README
4 years ago
Igor Demin
e68baff90d
Migrate desktop templates/tutorials to 0.5.0-build226
4 years ago
Shagen Ogandzhanian
453cc89bca
Add minimal test for testing media query in stylesheet
4 years ago
Philip Wedemann
766e5950de
web: Remove the boolean parameter from hidden() to align with #780 ( #783 )
...
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden
4 years ago
Abasov Akif
a167abe04c
Add more calc shortcuts ( #798 )
4 years ago
Abasov Akif
925f697a6f
Feature/calc ( #790 )
...
* CSS operations
* CSS operations with variables
* Fix api to use CSSColorValue instead of Color to use CSSVariables too
* Fix api to use CSSNumericValue instead of CSSSizeValue to use CSSVariables too
* Fix CSSBorder types
4 years ago
Abasov Akif
0a90ae2194
Remove CSS Typed OM API ( #786 )
4 years ago
Arkadii Ivanov
ba7c4293aa
Update TodoApp example readme with Web app ( #796 )
4 years ago
Oleksandr Karpovich
fac8a856b3
Update version of `compose core` for web components - 0.5.0-build225
...
It means that when we build the components locally, the new version will be used (same as for recently published artefacts).
4 years ago
Louis CAD
bfe4bf4a3a
Remove extra erroneous characters from comment ( #787 )
4 years ago
Louis CAD
a57f037c12
Reformat Kotlin snippet in README ( #781 )
...
It now conforms to the official Kotlin style guide.
4 years ago
Arkadii Ivanov
8f87cda24d
Add web app for the TodoApp example ( #778 )
...
* Prepare the TodoApp example for adding the JavaScript app
* Add the JavaScript app for the TodoApp example
* TodoApp. Update Compose to 0.5.0-build225.
4 years ago
Oleksandr Karpovich
971a2a45dd
Update snippets in web tutorials (fix file name)
4 years ago
Oleksandr Karpovich
679ed1dda9
Update snippets in web tutorials
4 years ago
Shagen Ogandzhanian
c8794cbad6
Update web examples after the 0.5.0-build225 release
4 years ago
Igor Demin
80bb819997
Update templates
4 years ago
Igor Demin
49495a9bf8
Fix tutorials
4 years ago
Igor Demin
435b378bb7
Fix tutorials
4 years ago
Shagen Ogandzhanian
4529645a75
Don't allow to assign null value in attr ( #780 )
...
* Remove atrributes completely and reapply everything
Rather than keeping map with attributes applied
* Don't allow nullable signatures while calling attr
4 years ago
Shagen Ogandzhanian
b794032880
Remove unused constructor from DomNodeWrapper
4 years ago
Shagen Ogandzhanian
c83938374f
Add missing embedded HTML elements (apart from PORTAL)
...
IFRAME, OBJECT, PARAM, PICTURE, SOURCE
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element
4 years ago
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
4 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
4 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
4 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
4 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
4 years ago
Shagen Ogandzhanian
d38dcbe8a2
Label content is specialized as HTMLLabelElement
4 years ago
Andrew Rudenko
603901b814
Updated Keyboard tutorial ( #771 )
4 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
4 years ago
Shagen Ogandzhanian
de143273e8
Introduce test for attributes re-evaluation
4 years ago
Shagen Ogandzhanian
e96d59818b
Produce DOM nodes via builder
4 years ago
Shagen Ogandzhanian
428a0a6ce8
Add test for just checking DOM names to be sure none of future refactoring will affect this
4 years ago
Shagen Ogandzhanian
ab937a9716
Introduce test for testing "raw" element creaation
4 years ago
Shagen Ogandzhanian
72a8a5b2c9
Align bencmhark source with web example
...
We need to think of a better approach though
4 years ago
Shagen Ogandzhanian
379fa42e23
Remove redundnant Hr definition since we have it already in DOM API
4 years ago
Shagen Ogandzhanian
90d7933f5a
Update artifact version in web tutorial to 0.5.0-build222
4 years ago
Shagen Ogandzhanian
192f360dbe
Update web tutorial
4 years ago
Shagen Ogandzhanian
0992de69e0
Update web/CHANGELOG.md after 0.5.0-build222
4 years ago
Shagen Ogandzhanian
94e7ee43cf
Update examples to 0.5.0-build222
4 years ago
Shagen Ogandzhanian
f0aaa63e60
Add test for testing arithmetic in composable context
4 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>
4 years ago
Shagen Ogandzhanian
7ef65d21de
Fix name so web_landing as a part of the web build
4 years ago
Oleksandr Karpovich
d2371cb878
web: Add a fix for css variables
4 years ago
Shagen Ogandzhanian
9846c190ed
Introduce minimal tests for injecting stylesheets
4 years ago
Shagen Ogandzhanian
1315be6d5e
For composition unit tests add container to the document
4 years ago
Shagen Ogandzhanian
492a5227e1
Update examples to 0.5.0-build221
4 years ago
Shagen Ogandzhanian
9698698bd0
Simplify assignment signatures in CSS properties
4 years ago