Releases: ressurectit/css-common
Releases · ressurectit/css-common
Release list
v2.0.1
v2.0.0
Features
- new
buildCssVarsmixin, which allows generating css variables from map - new
is-mapfunction, which tests whether provided variable is of typemap - new
buildMarginCssmixin, which allows generating css variables for margin and css classes for margins of various sizes according provided map - new
buildPaddingCssmixin, which allows generating css variables for padding and css classes for paddings of various sizes according provided map - new
buildBorderRadiusCssmixin, which allows generating css variables for border radius and css classes for border radiuses of various sizes according provided map - new
buildGapsCssmixin, which allows generating css variables for gaps and css classes for gaps of various sizes according provided map - new
buildSizesmixin, which allows generating css variables with sizes using provided map - new
buildFontSizeCssmixin, which allows generating css variables for font size and css classes for font sizes of various sizes according provided map - new
fontSizesmap scss variable, with default values for fong sizes - new
in-layermixin, which allows generating nested css in layer - updated
misc-cssmixin, now generates also--color-transparentcss variable - updated
getSizefunction, now takes optional third parameterfixed, which allows function to get size inremunits, relative to root - misc
- new
%align-items-startplaceholder foralign-items: start;css properties - new
.align-items-startcss class foralign-items: start;css properties - new
%align-items-endplaceholder foralign-items: end;css properties - new
.align-items-endcss class foralign-items: end;css properties - new
%align-content-centerplaceholder foralign-content: center;css properties - new
.align-content-centercss class foralign-content: center;css properties - new
%align-content-endplaceholder foralign-content: end;css properties - new
.align-content-endcss class foralign-content: end;css properties
- new
BREAKING CHANGES
- removed
.file-upload.input-groupcss class - updated
buildSizesmixin- removed
--responsive-threshold-mdvariable - removed
--border-radius-small,--border-radius-medium,--border-radius, use new mixinbuildBorderRadiusCss - removed
--color-transparent, usemisc-css
- removed
- renamed
buildSizesmixin intobuildFixedSizesand it take onlyfontSizeas parameter - removed
negXsWidth,negSmWidth,negMdWidth,negLgWidth,rootMinFontSize,rootMaxFontSize,rootMinFontSizeWidth,rootMaxFontSizeWidth,responsiveThresholdMd,borderRadiusSmall,borderRadius,borderRadiusMedium,dimensions, scss variables
v1.6.0
Features
- misc
- new
%grid-subgridplaceholder fordisplay: grid; grid-template-columns: subgrid; grid-template-rows: subgrid;css properties - new
.grid-subgridcss class fordisplay: grid; grid-template-columns: subgrid; grid-template-rows: subgrid;css properties - new
%overflow-horizontal-autoplaceholder foroverflow-x: auto;css properties - new
.overflow-horizontal-autocss class foroverflow-x: auto;css properties - new
%overflow-horizontal-scrollplaceholder foroverflow-x: scroll;css properties - new
.overflow-horizontal-scrollcss class foroverflow-x: scroll;css properties
- new
v1.5.0
Features
- misc
- new
%flex-025placeholder forflex: .25;,min-width: 0;,min-height: 0;css properties - new
.flex-025css class forflex: .25;,min-width: 0;,min-height: 0;css properties - new
%flex-05placeholder forflex: .5;,min-width: 0;,min-height: 0;css properties - new
.flex-05css class forflex: .5;,min-width: 0;,min-height: 0;css properties - new
%flex-075placeholder forflex: .75;,min-width: 0;,min-height: 0;css properties - new
.flex-075css class forflex: .75;,min-width: 0;,min-height: 0;css properties - new
%align-self-startplaceholder foralign-self: start;css property - new
.align-self-startcss class foralign-self: start;css property - new
%align-self-endplaceholder foralign-self: end;css property - new
.align-self-endcss class foralign-self: end;css property - new
%justify-self-stretchplaceholder forjustify-self: stretch;css property - new
.justify-self-stretchcss class forjustify-self: stretch;css property - new
%justify-content-stretchplaceholder forjustify-content: stretch;css property - new
.justify-content-stretchcss class forjustify-content: stretch;css property
- new
v1.4.0
v1.3.0
Feature
- misc
- new
%root-scaleplaceholder forfont-size: 1rem;css property - new
.root-scalecss class forfont-size: 1rem;css property - new
.reset-scalealias css class for.root-scale - new
.reset-zoomalias css class for.root-scale
- new
- mixins
- updated
buildSizesmixin- now has second optional parameter which allows customization of dimensions
- updated
- vars
- new
dimensionsmap variable- holds all default dimensions in form of map
- new
v1.2.0
Bug Fixes
- fixed
%thin-scrollbarplaceholder, now using only native css not webkit specials - fixed
thin-scrollbar-colormixin, now using only native css not webkit specials
Feature
- misc
- new
%grid-subgrid-rowsplaceholder fordisplay: grid;,grid-template-rows: subgrid;css properties - new
%justify-self-startplaceholder forjustify-self: start;css property - new
%justify-self-endplaceholder forjustify-self: end;css property - new
%justify-content-startplaceholder forjustify-content: start;css property - new
%justify-content-centerplaceholder forjustify-content: center;css property - new
.grid-subgrid-rowscss class fordisplay: grid;,grid-template-rows: subgrid;css properties - new
.justify-self-startcss class forjustify-self: start;css property - new
.justify-self-endcss class forjustify-self: end;css property - new
.justify-content-startcss class forjustify-content: start;css property - new
.justify-content-centercss class forjustify-content: center;css property
- new
- mixins
- updated
thin-scrollbar-colormixin- new second parameter with default value (transparent) for changing scrollbar background (track)
- updated
buildSizesmixin- now also defines
--color-transparentcss variable - now also defines
--border-radius-smallcss variable - now also defines
--border-radius-mediumcss variable
- now also defines
- new
css-resetmixin- allows reseting default browser styles
- updated
- vars
- new
$borderRadiusSmallvariable with2as value - new
$borderRadiusMediumvariable with8as value
- new
v1.1.0
Feature
- misc
- new
%white-space-normalalias placeholders for%content-wrap - new
%white-space-nowrapalias placeholders for%content-nowrap - new
.white-space-normalalias css class for.content-wrap - new
.white-space-nowrapalias css class for.content-nowrap - new
%white-space-preplaceholder forwhite-space: pre;css property - new
%white-space-pre-wrapplaceholder forwhite-space: pre-wrap;css property - new
.white-space-preplaceholder forwhite-space: pre;css property - new
.white-space-pre-wrapplaceholder forwhite-space: pre-wrap;css property
- new
v1.0.0
Feature
- new base sets of misc placeholder selectors
- new
misc-cssmixin for generating misc styles - new
thin-scrollbar-colormixin for generating thin scrollbar css with colour vars - new
strip-unitmixin which removes unit from unitfull value - new
getSizemixin which gets relative size to font - new
fluid-typemixin which generates fluid font size - new
buildSizesmixin which generates variables for various sizes - new vars for sizes and colours