-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phantom Types TODO List #392
Comments
I'll take What do you think would be the best diff to look at so I don't submit something unexpected in a PR? |
@BrianHicks For I think for |
Mmm, my bad. I guess I was after general advice for the other 356 items to make this low-hanging fruit even lower. Based on our chat elsewhere, here's how you'd upgrade one item:
|
also, ah dang you already did this in the wiki! Nice! I just missed it. |
I did textTransform and its values since I identified that one as a very easy one and I am a total beginner on this stuff. I did:
If you can review when you get a chance and let me know if I did it correctly I can submit you a list of some others I can do (with less hand-holding/reviewing). Here it is: textTransform Hopefully I am more help than trouble! |
looks like I'll also need to do the linearGradients for backgroundImage |
I'll start with the overflow props (220-223)! |
👋 |
I can work on:
|
Nice, sounds good @sturgman! I avoid including things that are deprecated, or which are too new to have widespread browser support yet. I don't think we need the aliases. |
I can take the
Edit: #404 |
#408 includes:
|
I'd like to take some Border with single argument:
Border with multiple arguments:
New border style values:
|
Sounds great @owanturist! 🤘 |
I'd like to grab all @rtfeldman please mark |
I'd would like to add the following properties 🙂
|
I see that the following SVG related properties are missing from the TODO list:
I'll take these if they should be added :) |
@rtfeldman I'm going to adapt |
@brianvanburken Added |
@rtfeldman I think |
@rtfeldman I'd like to grab next properties:
with corresponding values:
and I think those properties are invalid (I haven't found any of them):
|
I'll be working on the column related properties next:
|
I'll pick up the |
Actually, the following list of properties are tagged as experimental on the MDN website, so maybe we should remove them from the list:
|
I'll pick up the |
@rtfeldman I want to implement I see they can also accept a few experimental values: So should I add support for these values or should they be removed from the list? |
I'll also take |
At least the following properties are also experimental and should probably be removed from the list:
|
I've edited the list to be up-to-date with the latest merges.
|
I'll be adding
|
Holidays are coming, let's add a few phantom types on the beach ! I will give it a try with the flexbox ones:
Edit: pull request done |
hey, it's hacktoberfest! This would be a really good issue for people who are working on that. If you add a as for myself, I plan to make several PRs on this to get my yearly t-shirt 😉 |
That would be fantastic! I've been focusing on getting the |
getting back into it with:
|
I've taken the properties in the list below (PR #505)
|
I am working on re-implementing the tests and adding some functions. You can check it out here. I have merged several other contributions into this branch though... I hope that is not a huge problem. I used the type aliases suggested by @rlefevre in #453, but without the |
@leifhelm That's great! I have posted the work-around to make |
Last year I created a list of all CSS properties by crawling Mozilla's developer network site. Then I painstakingly crossed off all that properties and values the Phantom Types branch had. In this gist you can see what still needs to be done to fully cover the whole CSS spec: https://gist.github.com/brianvanburken/756377e61899e5a5a92add5069d0af4f While looking crossing off I found some differences between the spec and implementation that I tried to correct in #517. These question also arose that need to be looked into:
|
I added all Logical margins and padding properties in a PR I just made (#550) because it seems like nobody assigned themselves that and they are no longer experimental, hope I didn't clash with anybody ^^'
Based on the new list @brianvanburken made, I'll try to give myself all the Logical border ( |
I'll work on these next and add a PR link in this post when I'm done ^^: Logical scroll margins and padding
Logical border radii
|
I've been combing through the todo list some more (and made my own fork so I could keep track of changes that have happened since the last list, as well as the PRs I've made) and I found that |
I noticed that when it comes to the documentation of CSS values in the Css module, some docs link to to the values section of the property that uses this value on MDN and use the property's CSS name:
...while others reference the Elm documentation and the Elm function name for that property.
As far as I know there isn't a consistency rule for what it should be? (All the stuff I've written so far use URLs to the Elm functions and use the Elm function naming for properties) |
This issue will help coordinate efforts on #375 (the
phantom-types
branch)If you'd like to pitch in, awesome! Here are some guidelines on how to contribute: https://github.com/rtfeldman/elm-css/wiki/Phantom-Types:-Contributing
If you'd like to grab one (or a related set) of these, comment below and I'll add your name! This way we can avoid stepping on each others' toes.
Grabbed
width
@edkvheight
@edkvminWidth
@edkvminHeight
@edkvmaxWidth
@edkvmaxHeight
@edkvtextShadow
@brianvanburkentextShadow2
@brianvanburkentextShadow3
@brianvanburkentextShadow4
@brianvanburkenIf you'd like to grab something, please leave a comment below!
Available to convert
blink
bottom
boxShadow2
boxShadow3
boxShadow4
boxShadow5
boxShadow6
breakWord
checked
circle
clip
column
columnReverse
content
currentColor
cursorAlias
decimal
decimalLeadingZero
deg
dir
disabled
disc
eachLine
ellipsis
empty
enabled
featureOff
featureOn
featureTag
featureTag2
fillAvailable
first
firstChild
firstLetter
firstLine
firstOfType
fitContent
flat
flex
flex2
flex3
flexBasis
flexDirection
flexFlow1
flexFlow2
flexGrow
flexShrink
flexWrap
focus
fullscreen
grad
hanging
horizontal
hover
important
indeterminate
inlineListItem
inlineTable
inside
invalid
justifyAll
justifyContent
lang
lastChild
lastOfType
letterSpacing
lineHeight
lineThrough
linearGradient
linearGradient2
link
listItem
listStylePosition
listStyleType
lowerAlpha
lowerGreek
lowerLatin
lowerRoman
manipulation
maxContent
minContent
nthChild
nthLastChild
nthLastOfType
nthOfType
onlyChild
onlyOfType
optional
outOfRange
outline
outline3
outlineColor
outlineOffset
outlineStyle
outlineWidth
outside
overline
panDown
panLeft
panRight
panUp
panX
panY
pinchZoom
preserve3d
property
qt
rad
readWrite
required
resize
root
row
rowReverse
scope
screenBlendMode
selection
spaceAround
spaceBetween
stroke
src_
target
textAlignLast
textEmphasisColor
textIndent
textIndent2
textIndent3
textOverflow
thick
thin
top
touchAction
transformBox
transformStyle
transparent
true
turn
upperAlpha
upperLatin
upperRoman
valid
vertical
viewBox
visited
wrap
wrapReverse
Done!
@rtfeldmanabsolute
@rtfeldmanactive
@rtfeldmanafter
@rtfeldmanalias
@rtfeldmanalignItems
@rtfeldmanalignSelf
@rtfeldmanall
@rtfeldmanallPetiteCaps
@rtfeldmanallScroll
@rtfeldmanallSmallCaps
@rtfeldmanarabicIndic
@rtfeldmanarmenian
@rtfeldmanauto
@rtfeldmanbackgroundAttachment
@rtfeldmanbackgroundAttachments
@rtfeldmanbackgroundBlendMode
@rtfeldmanbackgroundBlendModes
@rtfeldmanbackgroundClip
@rtfeldmanbackgroundClips
@rtfeldmanbackgroundColor
@rtfeldmanbackgroundOrigin
@rtfeldmanbackgroundOrigins
@rtfeldmanbaseline
@rtfeldmanbatch
@rtfeldmanbefore
@rtfeldmanbengali
@rtfeldmanblock
@rtfeldmanbold
@rtfeldmanbolder
@rtfeldmanborderBox
@rtfeldmanboxShadow
@rtfeldmancell
@rtfeldmancenter
@rtfeldmanch
@rtfeldmancjkEarthlyBranch
@rtfeldmancjkHeavenlyStem
@rtfeldmancm
@rtfeldmancolResize
@rtfeldmancolor
@rtfeldmancolorBurn
@rtfeldmancolorDodge
@rtfeldmancolor_
@rtfeldmancommonLigatures
@rtfeldmancontentBox
@rtfeldmancontextMenu
@rtfeldmancontextual
@rtfeldmancopy
@rtfeldmancrosshair
@rtfeldmancursive
@rtfeldmancursor
@rtfeldmandarken
@rtfeldmandashed
@rtfeldmandefault
@rtfeldmandefaultBoxShadow
@rtfeldmandevanagari
@rtfeldmandiagonalFractions
@rtfeldmandifference
@rtfeldmandiscretionaryLigatures
@rtfeldmandisplay
@rtfeldmandisplayFlex
@rtfeldmandotted
@rtfeldmandouble
@rtfeldmaneResize
@rtfeldmanem
@rtfeldmanend
@rtfeldmanewResize
@rtfeldmanex
@rtfeldmanexclusion
@rtfeldmanfantasy
@rtfeldmanfirstBaseline
@rtfeldmanfixed
@rtfeldmanflexEnd
@rtfeldmanflexStart
@rtfeldmanfontFamilies
@rtfeldmanfontFamily
@rtfeldmanfontSize
@rtfeldmanfontStyle
@rtfeldmanfontVariantCaps
@rtfeldmanfontVariantLigatures
@rtfeldmanfontVariantNumeric
@rtfeldmanfontWeight
@rtfeldmangeorgian
@rtfeldmangrab
@rtfeldmangrabbing
@rtfeldmangrid
@rtfeldmangroove
@rtfeldmangujarati
@rtfeldmangurmukhi
@rtfeldmanhardLight
@rtfeldmanhelp
@rtfeldmanhex
@rtfeldmanhistoricalLigatures
@rtfeldmanhsl
@rtfeldmanhsla
@rtfeldmanhue
@rtfeldmaninches
@rtfeldmaninherit
@rtfeldmaninitial
@rtfeldmaninline
@rtfeldmaninlineBlock
@rtfeldmaninlineFlex
@rtfeldmaninset
@rtfeldmanint
@rtfeldmanitalic
@rtfeldmankannada
@rtfeldmankhmer
@rtfeldmanlao
@rtfeldmanlarge
@rtfeldmanlarger
@rtfeldmanlastBaseline
@rtfeldmanleft
@rtfeldmanlighten
@rtfeldmanlighter
@rtfeldmanliningNums
@rtfeldmanlistStyle
@rtfeldmanlistStyle2
@rtfeldmanlistStyle3
@rtfeldmanlocal
@rtfeldmanluminosity
@rtfeldmanmalayalam
@rtfeldmanmedium
@rtfeldmanmm
@rtfeldmanmonospace
@rtfeldmanmove
@rtfeldmanmultiply
@rtfeldmanmyanmar
@rtfeldmannResize
@rtfeldmanneResize
@rtfeldmanneswResize
@rtfeldmannoCommonLigatures
@rtfeldmannoContextual
@rtfeldmannoDiscretionaryLigatures
@rtfeldmannoDrop
@rtfeldmannoHistoricalLigatures
@rtfeldmannone
@rtfeldmannormal
@rtfeldmannotAllowed
@rtfeldmannsResize
@rtfeldmannum
@rtfeldmannwResize
@rtfeldmannwseResize
@rtfeldmanoblique
@rtfeldmanoldstyleNums
@rtfeldmanordinal
@rtfeldmanoriya
@rtfeldmanoutset
@rtfeldmanoverlay
@rtfeldmanpaddingBox
@rtfeldmanpc
@rtfeldmanpct
@rtfeldmanpetiteCaps
@rtfeldmanpointer
@rtfeldmanprogress
@rtfeldmanproportionalNums
@rtfeldmanpseudoClass
@rtfeldmanpseudoElement
@rtfeldmanpt
@rtfeldmanpx
@rtfeldmanrem
@rtfeldmanrevert
@rtfeldmanrgb
@rtfeldmanrgba
@rtfeldmanridge
@rtfeldmanright
@rtfeldmanrowResize
@rtfeldmansResize
@rtfeldmansafeCenter
@rtfeldmansansSerif
@rtfeldmansaturation
@rtfeldmanscreen
@rtfeldmanscroll
@rtfeldmanseResize
@rtfeldmanselfEnd
@rtfeldmanselfStart
@rtfeldmanserif
@rtfeldmanslashedZero
@rtfeldmansmall
@rtfeldmansmallCaps
@rtfeldmansmaller
@rtfeldmansoftLight
@rtfeldmansolid
@rtfeldmanstackedFractions
@rtfeldmanstart
@rtfeldmanstretch
@rtfeldmanswResize
@rtfeldmansystemUi
@rtfeldmantable
@rtfeldmantableCaption
@rtfeldmantableCell
@rtfeldmantableColumn
@rtfeldmantableColumnGroup
@rtfeldmantableFooterGroup
@rtfeldmantableHeaderGroup
@rtfeldmantableRow
@rtfeldmantableRowGroup
@rtfeldmantabularNums
@rtfeldmantelugu
@rtfeldmantext
@rtfeldmantext_
@rtfeldmanthai
@rtfeldmantitlingCaps
@rtfeldmanunicase
@rtfeldmanunsafeCenter
@rtfeldmanunset
@rtfeldmanurl
@rtfeldmanverticalText
@rtfeldmanvh
@rtfeldmanvmax
@rtfeldmanvmin
@rtfeldmanvw
@rtfeldmanwResize
@rtfeldmanwait
@rtfeldmanwavy
@rtfeldmanxLarge
@rtfeldmanxSmall
@rtfeldmanxxLarge
@rtfeldmanxxSmall
@rtfeldmanzero
@rtfeldmanzoomIn
@rtfeldmanzoomOut
@BrianHicksbackgroundImage
@BrianHicksbackgroundPosition
@BrianHicksbackgroundPosition2
@BrianHicksbackgroundPosition4
@BrianHicksbackgroundSize
@BrianHicksbackgroundSize2
@BrianHicksbottom_
@BrianHicksdeg
@BrianHicksgrad
@BrianHicksleft_
@BrianHickslinearGradient
@BrianHicksrad
@BrianHicksright_
@BrianHicksstop
@BrianHicksstop2
@BrianHicksto
@BrianHickstoCorner
@BrianHickstop_
@BrianHicksturn
@juanedioverflow
@juanedioverflowWrap
@juanedioverflowX
@juanedioverflowY
@sturgmantextTransform
@sturgmancapitalize
@sturgmanuppercase
@sturgmanlowercase
@sturgmanfullWidth
@sturgmantextRendering
@sturgmanoptimizeLegibility
@sturgmanoptimizeSpeed
@sturgmangeometricPrecision
@sturgmantextOrientation
@sturgmanmixed
@sturgmanupright
@sturgmansideways
@mattjbraycaptionSide
@mattjbrayborderCollapse
@mattjbrayborderSpacing
@mattjbrayborderSpacing2
@mattjbrayseparate
@mattjbraycollapse
@mattjbrayemptyCells
@mattjbrayshow
@mattjbrayhide
@mattjbraytableLayout
@mattjbrayverticalAlign
@mattjbraysub
@mattjbraysuper
@mattjbraytextTop
@mattjbraytextBottom
@mattjbraymiddle
@brianvanburkendirection
@brianvanburkenltr
@brianvanburkenrtl
@brianvanburkentextAlign
@brianvanburkenmatchParent
@brianvanburkenjustify
@rtfeldmantoBottom
@rtfeldmantoBottomLeft
@rtfeldmantoBottomRight
@rtfeldmantoLeft
@rtfeldmantoRight
@rtfeldmantoTop
@rtfeldmantoTopLeft
@rtfeldmantoTopRight
@tolgapposition
@tolgaprelative
@tolgapstatic
@tolgapsticky
@tolgaptop
@tolgapbottom
@tolgapleft
@tolgapright
@tolgapzIndex
@BrianHicksbackgroundRepeat
@BrianHicksbackgroundRepeat2
@BrianHicksnoRepeat
@BrianHicksrepeat
@BrianHicksrepeatX
@BrianHicksrepeatY
@BrianHicksround
@BrianHicksspace
@owanturistborder
@owanturistborder2
@owanturistborder3
@owanturistborderColor
@owanturistborderColor2
@owanturistborderColor3
@owanturistborderColor4
@owanturistborderStyle
@owanturistborderWidth
@owanturistborderWidth2
@owanturistborderWidth3
@owanturistborderWidth4
@owanturistborderBottom
@owanturistborderBottom2
@owanturistborderBottom3
@owanturistborderBottomColor
@owanturistborderBottomStyle
@owanturistborderBottomWidth
@owanturistborderTop
@owanturistborderTop2
@owanturistborderTop3
@owanturistborderTopColor
@owanturistborderTopStyle
@owanturistborderTopWidth
@owanturistborderRight
@owanturistborderRight2
@owanturistborderRight3
@owanturistborderRightColor
@owanturistborderRightStyle
@owanturistborderRightWidth
@owanturistborderLeft
@owanturistborderLeft2
@owanturistborderLeft3
@owanturistborderLeftColor
@owanturistborderLeftStyle
@owanturistborderLeftWidth
@owanturistthick
@owanturistthin
@brianvanburkennowrap
@brianvanburkenpre
@brianvanburkenpreLine
@brianvanburkenpreWrap
@brianvanburkenwhiteSpace
@brianvanburkenfloat
@brianvanburkenwordBreak
@brianvanburkenbreakAll
@brianvanburkenkeepAll
@brianvanburkenvisibility
@brianvanburkenvisible
@BrianHickscontain
@BrianHickscover
@owanturistborderRadius
@owanturistborderRadius2
@owanturistborderRadius3
@owanturistborderRadius4
@owanturistborderTopLeftRadius
@owanturistborderTopLeftRadius2
@owanturistborderTopRightRadius
@owanturistborderTopRightRadius2
@owanturistborderBottomLeftRadius
@owanturistborderBottomLeftRadius2
@owanturistborderBottomRightRadius
@owanturistborderBottomRightRadius2
@brianvanburkenfill
@owanturistpadding
@owanturistpadding2
@owanturistpadding3
@owanturistpadding4
@owanturistpaddingBottom
@owanturistpaddingLeft
@owanturistpaddingRight
@owanturistpaddingTop
@owanturistmargin
@owanturistmargin2
@owanturistmargin3
@owanturistmargin4
@owanturistmarginBottom
@owanturistmarginLeft
@owanturistmarginRight
@owanturistmarginTop
@owanturisttextDecoration
@owanturisttextDecoration2
@owanturisttextDecoration3
@owanturisttextDecorationColor
@owanturisttextDecorationLine
@owanturisttextDecorationLine3
@owanturisttextDecorationStyle
@owanturistunderline
@owanturistoverline
@owanturistlineThrough
@ArkhamborderImageOutset
@ArkhamborderImageOutset2
@ArkhamborderImageOutset3
@ArkhamborderImageOutset4
@ArkhamborderImageWidth
@ArkhamborderImageWidth2
@ArkhamborderImageWidth3
@ArkhamborderImageWidth4
@brianvanburkenall_
@brianvanburkenbalance
@brianvanburkenbalanceAll
@brianvanburkencolumnCount
@brianvanburkencolumnFill
@brianvanburkencolumnGap
@brianvanburkencolumnRule
@brianvanburkencolumnRule2
@brianvanburkencolumnRule3
@brianvanburkencolumnRuleColor
@brianvanburkencolumnRuleStyle
@brianvanburkencolumnRuleWidth
@brianvanburkencolumnSpan
@brianvanburkencolumnWidth
@brianvanburkencolumns
@brianvanburkencolumns2
@edkvboxSizing
@brianvanburkenarcs
@brianvanburkenbevel
@brianvanburkenboundingBox
@brianvanburkenbutt
@brianvanburkenclone
@brianvanburkencompress
@brianvanburkencrop
@brianvanburkendashes
@brianvanburkenfillBox
@brianvanburkengaps
@brianvanburkenmiter
@brianvanburkenslice
@brianvanburkensquare
@brianvanburkenstrokeAlign
@brianvanburkenstrokeAlign
@brianvanburkenstrokeBox
@brianvanburkenstrokeBreak
@brianvanburkenstrokeColor
@brianvanburkenstrokeDashCorner
@brianvanburkenstrokeDashJustify
@brianvanburkenstrokeDasharray
@brianvanburkenstrokeDashoffset
@brianvanburkenstrokeImage
@brianvanburkenstrokeLinecap
@brianvanburkenstrokeLinejoin
@brianvanburkenstrokeLinejoin2
@brianvanburkenstrokeMiterlimit
@brianvanburkenstrokeOpacity
@brianvanburkenstrokeOrigin
@brianvanburkenstrokePosition
@brianvanburkenstrokePosition2
@brianvanburkenstrokePosition4
@brianvanburkenstrokeRepeat
@brianvanburkenstrokeRepeat2
@brianvanburkenstrokeSize
@brianvanburkenstrokeSize2
@brianvanburkenstrokeWidth
@brianvanburkenstupid
@rtfeldmancalc
@rtfeldmanplus
@rtfeldmanminus
@brianvanburkenboth
@brianvanburkenclear
@brianvanburkenzoom
@brianvanburkenopacity
@brianvanburkeninlineEnd
@brianvanburkeninlineStart
@brianvanburkenmatrix
@brianvanburkenmatrix3d
@brianvanburkenperspective
@brianvanburkenrotate
@brianvanburkenrotate3d
@brianvanburkenrotateX
@brianvanburkenrotateY
@brianvanburkenrotateZ
@brianvanburkenscale
@brianvanburkenscale2
@brianvanburkenscale3d
@brianvanburkenscaleX
@brianvanburkenscaleY
@brianvanburkenscaleZ
@brianvanburkenskew
@brianvanburkenskew2
@brianvanburkenskewX
@brianvanburkenskewY
@brianvanburkentranslate
@brianvanburkentranslate2
@brianvanburkentranslate3d
@brianvanburkentranslateX
@brianvanburkentranslateY
@brianvanburkentranslateZ
@brianvanburkentransform
The text was updated successfully, but these errors were encountered: