Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-doodle

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-doodle - npm Package Versions

1
19

0.32.2

Diff

Changelog

Source

0.32.2

  • Do not use ?? operator at the moment.

<br /> <br />

yuanchuan
published 0.32.1 •

Changelog

Source

0.32.1

  • Build grid without DOM object.
  • Fix CSS parser for reading tail function names.

<br /> <br />

yuanchuan
published 0.32.0 •

Changelog

Source

0.32.0

Features

  • Add @unicode function to insert Unicode and it can be used both in HTML and CSS.

    /* in HTML */
    @content: @unicode(0x2500);
    
    /* in CSS */
    :after {
      content: @unicode(0x2500);
    }
    

    A sequence of Unicode characters.

    @content: @pn.unicode(0x2500, 0x257f, 0x2588);
    
  • Add @mirror/@Mirror function to transform input items, simlar to @cycle and @reverse.

    /* 1, 2, 3, 4, 5, 5, 4, 3, 2, 1 */
    @mirror(1, 2, 3, 4, 5);
    
    /* 1, 2, 3, 4, 5, 4, 3, 2, 1 */
    @Mirror(1, 2, 3, 4, 5);
    
  • All index functions, @i/I, @x/X, @y/Y, and @n/N/nx/ny accept extra arguments to do calulations.

    @i5 === @calc(@i + 5)
    
    @i(*10) === @calc(@i * 10)
    @i(-10) === @calc(@i - 10)
    @i(/10) === @calc(@i / 10)
    @i(%10) === @calc(@i % 10)
    
    @i(10/) === @calc(10 / @i)
    @i(10-) === @calc(10 - @i)
    

Patches

  • Reduce imports of the exported svg function.

  • Improve @cycle to support comma-separated values.

  • Fix grid build for @content.

  • Fix parsing quotes in content.

    /* There used to be bugs` */
    content: '");';
    

<br /> <br />

yuanchuan
published 0.31.2 •

Changelog

Source

0.31.2

  • Fix svg-extended style tag generation.

<br /> <br />

yuanchuan
published 0.31.1 •

Changelog

Source

0.31.1

  • Fix bad reverse function implementation.

<br /> <br />

yuanchuan
published 0.31.0 •

Changelog

Source

0.31.0

  • Add @content property for text content so that they can be selectable.
  • The @ symbol can be ommited if the functions are chained together.
  • Patch reverse function to support both SVG path commands and general arguments.
  • Skip variable properties for SVG generation.
  • Fix style tag parsing inside SVG for complex CSS selectors.

<br /> <br />

yuanchuan
published 0.30.10 •

Changelog

Source

0.30.10

  • Add @pnr alias for @pr.

<br /> <br />

yuanchuan
published 0.30.9 •

Changelog

Source

0.30.9

  • Support variables in standalone SVG export function.
  • Compute index instead of reversing the whole array.
  • Use single rotate for inner @place transformation.
  • Simplify image detection.
  • Use @pn and @position as aliases.

<br /> <br />

yuanchuan
published 0.30.8 •

Changelog

Source

0.30.8

Experimenting the new added pr function.

<br /> <br />

yuanchuan
published 0.30.7 •

Changelog

Source

0.30.7

Experimenting the new added cycle() function.

<br /> <br />

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc