- Fix blink on reinitialization.
- Fix the value of
@n
and@M
with no context.
- Fix grid parsing.
- Set default width/height to be
auto
. - Export CSSDoodle as the module name for working with Observable.
- Support for function composition.
- Make arguments expandable.
- Fix Math function name like
ln10
andSQRT2
.
- Add top-level grid definition.
- Add stripe() function for gradients.
- Make function arguments less error prone, e.g. trailing commas.
- Increase the grid size up to 64x64.
- Use place-items instead of place-content for pseudo elements.
- Modify the name shape
pear
todrop
and add rotation. - Limit size of the lp and lr to 20.
- Fix unexpectable bug in Chrome.
- Add max iteration count
@N
. - Support last n value for
@lp()
and@lr()
.
- Ignore null or undefined values.
- Add
π
symbol. - Recongize function without parentheses.
- Add
rep
forrepeat
and several others for personal usage.
- Add shorthand for common standard paper sizes.
- Prevent duplicated definition when more than one css-doodle source being included in the page.
- Set all elements inside the component to be
border-box
. - Use
place-content
insteaad offlexbox
alignment. - Add opencollective funding to package.
- Expand the '±' symbol to '-' and '+' in one place.
- Add
click-to-update
attribute for demo stuff. - Add
@id()
function.
- Fix the nesting limit inside shadowDOM.
- Add
depth
dimension. - Add alias for
row
andcol
.
- Fix typo for
multiple-with-space
.
-
The third dimension now based on
1x1
. That is to say, the1x2x8
will not work, but1x1x8
does. -
Deprecated the
@multi
alias.
- Add
@ms()
multiple values separated with space. - Add support for dynamic functions with numeric parameters.
- Fix for
content: none
- Add
@rand-int()
.
- Ignore empty composed values.
- Fix the missing varaible for dimension
z
.
- Experiment for new dimension z.
- Fix the clamped min value.
- Fix type error in
@rand()
. - Fix the shuffle algorithm.
- Improve the behaviours of
@pd()
and@pn()
.
- Support multiple arguments for
@nth()
,@row()
and@col()
. - The range of
@rand()
is now unlimited.
- Remove step value for
@rand()
.
- Fix native content values.
- Fix bug on attribute changing.
DO NOT USE
- Fix coords reference.
- Fix pseudo content value with
var()
. - Fix empty value for
@use()
.
- Support multitple pseudo selectors on one rule.
- Fix bug on multitple animation names.
- Fix parse error on keyframe names.
- Fix generated multiple animation names.
- Prevent error on empty or unknown shapes.
- Don't throw JS errors.
- Fix the shuffle algorithm.
- Fix context bug for
@pick-d()
. - Prevent scrollbars caused by
@place-cell()
.
- Automatically add vendor prefixes for properties.
- Automatically add quotes for pseudo-content.
- Support char range in
@pick
functions. - Add experimental
@svg-filter()
function.
- Fix error in
@pick-d()
. - Fix type error of units handling.
- Rename
@max-row()
to@size-row()
and@max-col()
to@size-col()
. - Replace uglify-es with terser.
- Fix scientific notation in
@calc()
.
@nth()
now behaves like nth-child.- Add
@pick-d()
function. - Accept any unit.
- Fix errors in
@calc()
. - Fix invalid
@n()
caused by the idx params.
- Increase iterating limit for
@repeat()
and@multiple()
. - Make
:container
inherits all the grid properties from:doodle
element.
- Fix parse error to read arguments.
- Fix context called by
@n()
and@pick-by-turn()
.
- Remove legacy functions and properties:
size()
,min-size()
,max-size()
and@shape()
.
- Add aliases for frequently used functions.
- Fix parse error to support more dynamic value inside function parameters.
- Fix parse error related to @keyfames.
- The second value of
@place-cell
is set to50%
when it is missing.
- Add
@multiple()
function to easily compose values. - Add
@pick-by-turn()
to pick a value one by one. - Add
@last-pick()
andlast-rand()
to reference the last generated value. - Add
@var()
to replace the use ofvar()
inside the styles which passed to the@use
property.
- Fix parse error
- Add experimental
@svg()
function to use svg as background
- Fix bug in @size()
- Fix type error in @calc()
- Support more CSS units
- Fix bug on reset
- Support
left/right
,top/bottom
keywords for@place-cell
- Fix duplicate rule for
nth-of-type(1)
- Remove
eval()
for Math functions
- Add
@use
property anduse
attribute