package styled-ppx

  1. Overview
  2. Docs
Type-safe styled components for ReScript and Melange

Install

dune-project
 Dependency

Authors

Maintainers

Sources

styled-ppx-0.61.0.tbz
sha256=c6eba770e9e9bb9002bf3f759f99ebcec6d7b4132c6c2ad562886c88b6839bab
sha512=8a1776181f6ef292518a0b96b1fae7927cf5767dee75dc04bc05d99d297866e45a5943455bea9ce500a04a635bd179d2b2bec8bccebc55dc1e696a23b3efad69

doc/styled-ppx.native/Css_types/Grid/index.html

Module Css_types.Grid

type t = [
  1. | `template of GridTemplate.Value.t
  2. | `autoColumns of GridTemplateRows.Value.t * bool * TrackSize.t array option
  3. | `autoRows of bool * TrackSize.t array option * GridTemplateColumns.Value.t
  4. | Var.t
  5. | Cascading.t
]
val template : GridTemplate.Value.t -> [> `template of GridTemplate.Value.t ]
val autoColumns : templateRows:GridTemplateRows.Value.t -> dense:bool -> autoColumns:TrackSize.t array option -> [> `autoColumns of GridTemplateRows.Value.t * bool * TrackSize.t array option ]
val autoRows : dense:bool -> autoRows:TrackSize.t array option -> templateColumns:GridTemplateColumns.Value.t -> [> `autoRows of bool * TrackSize.t array option * GridTemplateColumns.Value.t ]
val toString : [< `autoColumns of [< `masonry | `none | `tracks of [< `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `lineNames of string | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `repeat of RepeatValue.t * RepeatTrack.t array | `subgrid | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array ] * bool * [< `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array option | `autoRows of bool * [< `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array option * [< `masonry | `none | `tracks of [< `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `lineNames of string | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `repeat of RepeatValue.t * RepeatTrack.t array | `subgrid | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array ] | `inherit_ | `initial | `revert | `revertLayer | `template of [< `areasRows of [< `area of string | `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `lineNames of string | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array | `areasRowsColumns of [< `area of string | `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `lineNames of string | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array * [< `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `lineNames of string | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array | `none | `rowsColumns of [< `masonry | `none | `tracks of [< `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `lineNames of string | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `repeat of RepeatValue.t * RepeatTrack.t array | `subgrid | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array ] * [< `masonry | `none | `tracks of [< `auto | `calc of Length.calc_value | `ch of float | `cm of float | `cqb of float | `cqh of float | `cqi of float | `cqmax of float | `cqmin of float | `cqw of float | `em of float | `ex of float | `fitContent of Length.t | `fr of float | `inch of float | `lineNames of string | `max of Length.t array | `maxContent | `min of Length.t array | `minContent | `minmax of InflexibleBreadth.t * TrackBreadth.t | `mm of float | `pc of float | `percent of float | `pt of int | `px of int | `pxFloat of float | `rem of float | `repeat of RepeatValue.t * RepeatTrack.t array | `subgrid | `var of string | `varDefault of string * string | `vh of float | `vmax of float | `vmin of float | `vw of float | `zero ] array ] ] | `unset | `var of string | `varDefault of string * string ] -> string