-
Notifications
You must be signed in to change notification settings - Fork 8
Elm UI support status
Andrea Peltrin edited this page Apr 11, 2023
·
8 revisions
Currently Elm Designer supports the following Elm UI elements and styling properties.
- ❌ el (you don't add this directly, there is always a more concrete library element to pick from)
- ✅ text
- ✅ row
- ✅ wrappedRow
- ✅ column
- ✅ paragraph
- ✅ textColumn
- ❌ link
- ✅ image
- ✅ button
- ✅ checkbox
- ✅ text
- ✅ multiline
- ✅ radio
- ✅ radioRow
- ❌ slider
- ✅ label (coupled with form elements)
- ❌ placeholder
- ❌ table
- ✅
moveUp
,moveDown
,moveRight
,moveLeft
- ❌
rotate
- ❌
scale
- ✅
width
,height
,px
,shrink
,fill
,fillPortion
,maximum
,minimum
- ✅
centerX
,centerY
,alignLeft
,alignRight
,alignTop
,alignBottom
- ✅ Nearby elements, only inside a common container:
above
,below
,onRight
,onLeft
,inFront
,behindContent
- ✅ Padding
- Spacing value:
- ✅ Within a column only Y value is used
- ✅ Within a row only X value is used
- ✅ Within a text column both X and Y values can be used
- ❌
spaceEvenly
(See https://github.com/passiomatic/elm-designer/issues/19)
- ✅
width
,color
,solid
,dashed
,dotted
,rounded
- ✅
shadow
- ✅
innerShadow
- ✅
color
,image
- ❌
gradient
- ✅ Family
- ✅ Size
- ✅ Weight (from
hairline
toheavy
) - ✅
italic
- ✅ Color
- ✅ Spacing (
letterSpacing
andwordSpacing
) - ❌
underline
andstrike
- ❌ Variants (see https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/Element-Font#variant)
- ❌
shadow
- ✅
alignmentLeft
,alignmentRight
,center
,justify
- ❌ regions (
mainContent
,navigation
,heading
,aside
,footer
,description
,announce
,announceUrgently
) - ❌
alpha
/transparent
- ❌
pointer
- ❌ Text fields autofill hint (
username
,email
, etc.) - ❌ Overflow content behavior (
clip*
andscrollbar*
)
Properties mapping between Elm UI elements and designer tree nodes: https://docs.google.com/spreadsheets/d/1s49186vcudtztkYbsqHpwb9SJyeEwuRoor5S9OowW40/edit?usp=sharing