Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Compose Playground
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Briar Staging
Compose Playground
Commits
d9509dd1
Commit
d9509dd1
authored
4 years ago
by
Shagen Ogandzhanian
Browse files
Options
Downloads
Patches
Plain Diff
Remove CSSSizeOrAuto completely
Use CSSAuto or CSSSize instead (and overloading when needed)
parent
67244aec
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/core/src/jsMain/kotlin/androidx/compose/web/css/CSSHelpers.kt
+1
-3
1 addition, 3 deletions
.../src/jsMain/kotlin/androidx/compose/web/css/CSSHelpers.kt
web/core/src/jsMain/kotlin/androidx/compose/web/css/CSSUnits.kt
+1
-1
1 addition, 1 deletion
...re/src/jsMain/kotlin/androidx/compose/web/css/CSSUnits.kt
with
2 additions
and
4 deletions
web/core/src/jsMain/kotlin/androidx/compose/web/css/CSSHelpers.kt
+
1
−
3
View file @
d9509dd1
@
file
:
Suppress
(
"UNUSED"
)
@
file
:
Suppress
(
"UNUSED"
)
package
org.jetbrains.compose.web.css
package
org.jetbrains.compose.web.css
interface
CSSAutoValue
:
CSSSizeOrAuto
Value
interface
CSSAutoValue
:
StyleProperty
Value
val
auto
=
"auto"
.
unsafeCast
<
CSSAutoValue
>()
val
auto
=
"auto"
.
unsafeCast
<
CSSAutoValue
>()
external
interface
CSSSizeOrAutoValue
:
StylePropertyValue
enum
class
Direction
{
enum
class
Direction
{
rtl
,
rtl
,
ltr
;
ltr
;
...
...
This diff is collapsed.
Click to expand it.
web/core/src/jsMain/kotlin/androidx/compose/web/css/CSSUnits.kt
+
1
−
1
View file @
d9509dd1
package
org.jetbrains.compose.web.css
package
org.jetbrains.compose.web.css
interface
CSSSizeValue
:
CSSUnitValue
,
CSSSizeOrAuto
Value
interface
CSSSizeValue
:
CSSUnitValue
,
StyleProperty
Value
interface
CSSRelValue
:
CSSSizeValue
interface
CSSRelValue
:
CSSSizeValue
interface
CSSpercentValue
:
CSSRelValue
interface
CSSpercentValue
:
CSSRelValue
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment