0.0.53 • Published 5 months ago

@design-sdk/flags v0.0.53

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

flags on layer name or in meta data

  • ignore - indicating layer that should be ignored
  • base component - indicating base layer that having nested component structure for state (variant) representation on design tools.
  • content component - component(symbol) that is only marked as component because it contains re-usable content, not for marking that it is a component with specific layout or style.
  • data source - layer / instance that is only existing for holding a specific data that can be referenced by other nodes.
  • data target - for mapping the single data to be targetted from data source (can be another node, or remote api with structured data)

--flags flag args

--flag is a standard way for passing arguments in cli environments across various ecosystems.

using dashdash flag (as we call it) is usefull for passing development related arguments and passing countinuous arguments.

//@special tokens

The syntax is inspired from typescript's //@ts-ignore

The list of special tokens can be found here.

(value) tokens

for passing dedicated arguments in design tools, the most intuitive way is to inject the minimal data throught the layer's name. And we often use () to descrive the design's state.

Inspired from this, we also support (value) flags by deafult. In this way, we can keep the layer names human readable & managable.

0.0.52

5 months ago

0.0.53

5 months ago

0.0.48

5 months ago

0.0.42

2 years ago

0.0.43

2 years ago

0.0.41

2 years ago

0.0.40

2 years ago

0.0.39

2 years ago

0.0.37

2 years ago

0.0.38

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.34

2 years ago

0.0.33

2 years ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago

0.0.27

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago