-
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: More properties, pseudo-stuff and a few fixes #553
base: phantom-types
Are you sure you want to change the base?
Phantom types: More properties, pseudo-stuff and a few fixes #553
Commits on Nov 17, 2021
-
Adds Logical border radius properties
Implements: - border-start-start-radius - border-start-end-radius - border-end-start-radius - border-end-end-radius In both 1 and 2-argument forms.
Configuration menu - View commit details
-
Copy full SHA for 6b76a8c - Browse repository at this point
Copy the full SHA 6b76a8cView commit details -
Adds basic scroll-margin-block/inline
Implements the following: - scroll-margin-block - scroll-margin-inline both as 1 and 2 argument versions.
Configuration menu - View commit details
-
Copy full SHA for 953e131 - Browse repository at this point
Copy the full SHA 953e131View commit details -
Bug fix for all current scroll margins
Scroll-margin properties don't accept percentages, only basic lengths. https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-margin - All scroll-margin properties have had their input types changed from LengthSupported { auto : Supported } to Length.
Configuration menu - View commit details
-
Copy full SHA for b0cf944 - Browse repository at this point
Copy the full SHA b0cf944View commit details -
Implements the following: - scroll-margin-block-start - scroll-margin-block-end - scroll-margin-inline-start - scroll-margin-inline-end
Configuration menu - View commit details
-
Copy full SHA for 736fc6e - Browse repository at this point
Copy the full SHA 736fc6eView commit details -
- Adds an implementation of the inset property in 1, 2, 3, and 4 argument forms. - Renames the pre-existing 'inset' value to 'inset_', based on current package conventions.
Configuration menu - View commit details
-
Copy full SHA for 6afbf85 - Browse repository at this point
Copy the full SHA 6afbf85View commit details -
Adds one-liner inset-block/inline
Implements the following: - inset-block - inset-inline as both 1 and 2-argument functions.
Configuration menu - View commit details
-
Copy full SHA for e0f2931 - Browse repository at this point
Copy the full SHA e0f2931View commit details -
Add inset start/end properties
Implements the following: - inset-block-start - inset-block-end - inset-inline-start - inset-inline-end Makes the docs for top, bottom, left and right properties flow a bit better with the link use. Changed the links for inset-block and inset-inline functions from MDN to CSS Tricks Almanac.
Configuration menu - View commit details
-
Copy full SHA for 54788eb - Browse repository at this point
Copy the full SHA 54788ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8fdad2 - Browse repository at this point
Copy the full SHA f8fdad2View commit details -
Adds scroll-padding-block/inline one-liners
Implements the following: - scroll-padding-block - scroll-padding-inline Both as 1 and 2-argument functions. - Fixed variable naming in scrollMarginBlock2 and scrollMarginInline2. - Fixed a typo I noticed in scrollPadding's documentation.
Configuration menu - View commit details
-
Copy full SHA for 5fdb082 - Browse repository at this point
Copy the full SHA 5fdb082View commit details -
Implements the following properties: - scroll-padding-block-start - scroll-padding-block-end - scroll-padding-inline-start - scroll-padding-inline-end
Configuration menu - View commit details
-
Copy full SHA for d753af9 - Browse repository at this point
Copy the full SHA d753af9View commit details -
Merge branch 'phantom-types-logical-scroll-metrics' into phantom-type…
…s-logical-border-radii
Configuration menu - View commit details
-
Copy full SHA for 9b8ffed - Browse repository at this point
Copy the full SHA 9b8ffedView commit details -
Some one-argument functions I wrote didn't use BaseValue when they should have.. This has been fixed.
Configuration menu - View commit details
-
Copy full SHA for 018cf0a - Browse repository at this point
Copy the full SHA 018cf0aView commit details
Commits on Nov 18, 2021
-
Adds logical sizing, size property fixes
Implements the following: - block-size - inline-size - max-block-size - max-inline-size - min-block-size - min-inline-size Fixes: - Both the width and height properties can accept, pct, auto, maxContent, minContent and fitContent, so I've changed their type annotations to add them. - Re-arranged existing sizing property and variable functions so they flow better (group functions first and values later). - Made the documentation for minContent, maxContent and fitContent a bit more concise and inclusive to Logical size properties.
Configuration menu - View commit details
-
Copy full SHA for 3f2e99a - Browse repository at this point
Copy the full SHA 3f2e99aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3af14b7 - Browse repository at this point
Copy the full SHA 3af14b7View commit details
Commits on Nov 19, 2021
-
Implements the following: - gap - row-gap This commit also groups column-gap with the aforementioned properties since they're related.
Configuration menu - View commit details
-
Copy full SHA for 98dcdf9 - Browse repository at this point
Copy the full SHA 98dcdf9View commit details -
Add Logical overflow properties
Implements the following: - overflow-block - overflow-inline
Configuration menu - View commit details
-
Copy full SHA for 7ca126d - Browse repository at this point
Copy the full SHA 7ca126dView commit details -
Add overscroll-behavior properties
Implements the following: - overscroll-behavior - overscroll-behavior-x - overscroll-behavior-y - overscroll-behavior-block - overscroll-behavior-inline
Configuration menu - View commit details
-
Copy full SHA for 6362c2f - Browse repository at this point
Copy the full SHA 6362c2fView commit details -
boxShadow inset and documentation fix
- The 'inset_' field for box-shadows has been renamed to 'inset' because they don't interact with the 'inset_' function. - Fixed a typo in the boxShadows documentation where the function examples were called 'boxShadow' instead of 'boxShadows'.
Configuration menu - View commit details
-
Copy full SHA for 060872b - Browse repository at this point
Copy the full SHA 060872bView commit details -
Merge branch 'phantom-types-pr4' into phantom-types-pr3
# Conflicts: # src/Css.elm
Configuration menu - View commit details
-
Copy full SHA for 52689ab - Browse repository at this point
Copy the full SHA 52689abView commit details -
The contain variable now includes documentation for overscrollBehavior as well as backgroundSize.
Configuration menu - View commit details
-
Copy full SHA for 3092434 - Browse repository at this point
Copy the full SHA 3092434View commit details -
- Adds quotes property (in 1, 2 and 4 argument versions) - Moves the string value up to the area with other shared value types
Configuration menu - View commit details
-
Copy full SHA for 62fa02d - Browse repository at this point
Copy the full SHA 62fa02dView commit details -
Implements: - text-overflow property (in 1 and 2-argument forms) - ellipsis value (for text-overflow)
Configuration menu - View commit details
-
Copy full SHA for b03be81 - Browse repository at this point
Copy the full SHA b03be81View commit details
Commits on Nov 20, 2021
-
Implements the following: - line-break - strict value for line-break - loose value for line-break Adds line-break as a use case the documentation for the other values that it accepts.
Configuration menu - View commit details
-
Copy full SHA for cb1a07c - Browse repository at this point
Copy the full SHA cb1a07cView commit details
Commits on Nov 21, 2021
-
Adds prelim 2 and 3-argument hanging-punctuation
Adds preliminary 2 and 3-argument versions of hanging-punctuation. These need more work because the way the arguments work here can enable incorrectly typed CSS.
Configuration menu - View commit details
-
Copy full SHA for 2443e4f - Browse repository at this point
Copy the full SHA 2443e4fView commit details -
Implements the following: - resize property - horizontal and vertical values (for resize) Changed the variable names in various functions to eliminate naming conflicts with the new horizontal and vertical values.
Configuration menu - View commit details
-
Copy full SHA for 6529a30 - Browse repository at this point
Copy the full SHA 6529a30View commit details -
Adds contain property and values
Implements the following: - contain property (1, 2, 3 and 4 argument versions) - strict value - size value - layout value - style value - paint value Changes to existing code: - style variables in functions have been renamed to styleVal to avoid clashes with style. - size variables in functions have been renamed to sizeVal to avoid clashes with size. - Renamed contain value to contain_ so as to not clash with contain property. It's unclear how to mark contain4 since having values is redundant but calling it containAll is probably misleading, so it's being called contain4 pending further discussion.
Configuration menu - View commit details
-
Copy full SHA for a78c3d1 - Browse repository at this point
Copy the full SHA a78c3d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e01813b - Browse repository at this point
Copy the full SHA e01813bView commit details -
Implements the following: - paint-order property (in 1, 2 and 3-argument forms) - markers value Adjusts the documentation of fill_ and stroke to mention that they work with paintOrder.
Configuration menu - View commit details
-
Copy full SHA for 50a95d3 - Browse repository at this point
Copy the full SHA 50a95d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbaa819 - Browse repository at this point
Copy the full SHA dbaa819View commit details -
Adds clip value to overflow properties
- Adds clip value to overflow, overflowX and overflowY.
Configuration menu - View commit details
-
Copy full SHA for f5765bc - Browse repository at this point
Copy the full SHA f5765bcView commit details -
- Adds perspective property - Renames the pre-existing 'perspective' value to 'perspective_'
Configuration menu - View commit details
-
Copy full SHA for 45ee249 - Browse repository at this point
Copy the full SHA 45ee249View commit details -
Adds perspective-origin property
- Implements perspective-origin property. - Applies elm-format to the previous few commits that hadn't had it applied.
Configuration menu - View commit details
-
Copy full SHA for a794c50 - Browse repository at this point
Copy the full SHA a794c50View commit details -
Adds scale and rotate properties
- Adds scale property (as scale, scale2, and scale3) - Renames scale value to scale_ (to avoid conflicts with scale) - Renames scale2 value to scale2_ (to avoid conflicts with scale2) - Adds rotate property (as rotate and rotate2) - Renames rotate value to rotate_ (to avoid conflicts with rotate) - New value function: z - New value function: vec3 - Changes some variable names in functions to avoid conflicts with new value functions
Configuration menu - View commit details
-
Copy full SHA for b23ca7f - Browse repository at this point
Copy the full SHA b23ca7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d0ae6a - Browse repository at this point
Copy the full SHA 9d0ae6aView commit details -
Adds the folowing pseudo-elements: - ::backdrop - ::cue - ::marker - ::placeholder - ::selection
Configuration menu - View commit details
-
Copy full SHA for 256f5eb - Browse repository at this point
Copy the full SHA 256f5ebView commit details -
- Keeps active, disabled and after DRY. - Makes a doc I just made make a little more sense.
Configuration menu - View commit details
-
Copy full SHA for c0d2c8a - Browse repository at this point
Copy the full SHA c0d2c8aView commit details
Commits on Nov 22, 2021
-
Adds the following pseudo-classes: - :checked - :empty - :enabled - :first-child - :first-of-type - :focus - :fullscreen - :hover - :in-range - :indeterminate - :invalid - :last-child - :last-of-type - :link - :only-child - :only-of-type - :out-of-range - :read-only - :read-write - :required - :root - :scope - :target - :valid - :visited
Configuration menu - View commit details
-
Copy full SHA for a953ca5 - Browse repository at this point
Copy the full SHA a953ca5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8bb767 - Browse repository at this point
Copy the full SHA f8bb767View commit details
Commits on Nov 23, 2021
-
Doc improvements for contain values
- Noted that contain: style; is at-risk of being depreciated.
Configuration menu - View commit details
-
Copy full SHA for 12ef623 - Browse repository at this point
Copy the full SHA 12ef623View commit details -
Merge branch 'phantom-types-misc1' into phantom-types-pr3
# Conflicts: # src/Css.elm
Configuration menu - View commit details
-
Copy full SHA for c1297a0 - Browse repository at this point
Copy the full SHA c1297a0View commit details -
Fixed missing issues from merge
There were a series of conflicts and a few duplicate functions from the recent merge. This fixes those issues.
Configuration menu - View commit details
-
Copy full SHA for 5281244 - Browse repository at this point
Copy the full SHA 5281244View commit details
Commits on Nov 24, 2021
-
- Added all possible implementations of font-variant-east-asian. - Added all possible values of font-variant-east-asian. - Changed the docs for fullWidth so it includes it's new use with fontVariantEastAsian.
Configuration menu - View commit details
-
Copy full SHA for 46b95ae - Browse repository at this point
Copy the full SHA 46b95aeView commit details -
- Added the font-optical-sizing property.
Configuration menu - View commit details
-
Copy full SHA for 2c5c5b4 - Browse repository at this point
Copy the full SHA 2c5c5b4View commit details
Commits on Nov 27, 2021
-
Implements the following: - font-kerning - font-language-override - font-synthesis (1, 2 and 3-argument variants) - font-variant-position Other changes: - made contain4 a normal property because I figured it would be more readable to have explicit CSS values rather than implicit ones.
Configuration menu - View commit details
-
Copy full SHA for 37a70a3 - Browse repository at this point
Copy the full SHA 37a70a3View commit details
Commits on Dec 5, 2021
-
Cleaning up by moving values shared across different types of properties into the 'Shared Values' section. These values also have updated documentation to these the properties that use them. Moved values: - start - end - left_ - right_ - top_ - bottom_ - baseline - clip - block - inline - ruby Pre-existing values in the shared category have also had updated documentation. Some documentation to other values have had lightly improved grammar.
Configuration menu - View commit details
-
Copy full SHA for b0f618d - Browse repository at this point
Copy the full SHA b0f618dView commit details -
Bringing more values that should be in the shared section: - stretch (added documentation) - center (added documentation) - content (improved documentation) - normal - text (improved docs) - paddingBox - cover (improved docs) - contain_ Other stuff - Improved documentation for placeholder. - Added links to moved values in the Align Items section of the docs so the user knows that these are other values that can be used. - Simplified the wording in the documentation for repeat values to match the wording in other documentation for values. - Applied elm-format to previous commits.
Configuration menu - View commit details
-
Copy full SHA for d601804 - Browse repository at this point
Copy the full SHA d601804View commit details
Commits on Dec 6, 2021
-
Re-organised and improved docs
As I'm working on this file more, I found that a lot of things didn't have clear organisation so I figured it would be good to give them a look over. Moved docs and exposing - Moved the shared values section to a more logical part of the docs and exposing (after the main measurements) - Moved the url variable higher up in the docs and exposing. - Added one line break between the cursor properties and the cursor values since I figured that would separate them a bit more neatly. Edited documentation - Changed the levels of different headers to reflect what level they're actually at in the general categorisation heirarchy. - Fixed a doc typo in contain_ and textOverflow2. - Renamed 'Align Items' section to 'Flex align items' and made it a subheader of the Flexbox module section as there's no other purpose for these particular values.
Configuration menu - View commit details
-
Copy full SHA for 01238b3 - Browse repository at this point
Copy the full SHA 01238b3View commit details -
More shared values have been organised together: - fullWidth - sub - super Misc: - Moved ltr and rtl values to be next to the direction property in the code (since they are the only things that go together)
Configuration menu - View commit details
-
Copy full SHA for 7000980 - Browse repository at this point
Copy the full SHA 7000980View commit details -
Grouped what might be the last batch of shared values: - all_ - both - strict - fill_ - stroke - always - x - y - style Misc: - Expanded documentation for slice and clone. - Fixed some documentation typos for shared values - Applied elm-format to Css.elm.
Configuration menu - View commit details
-
Copy full SHA for 5307911 - Browse repository at this point
Copy the full SHA 5307911View commit details -
- Rearranged the shared values so values with similar effects and categories are next to each other. - Improved documentation
Configuration menu - View commit details
-
Copy full SHA for 49f851e - Browse repository at this point
Copy the full SHA 49f851eView commit details -
Re-organised clip in docs and includes
Forgot to move clip to it's more appropriate place in the shared values.
Configuration menu - View commit details
-
Copy full SHA for a742834 - Browse repository at this point
Copy the full SHA a742834View commit details