@toreda/strong-types
Version:
Better TypeScript code in fewer lines.
1 lines • 4.44 kB
Source Map (JSON)
{"version":3,"sources":["../src/css/display.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;;;GAGG;AAEH;;;;;;GAMG;AACH,oBAAY,UAAU;AACrB;8CAC8C;AAC5C,OAAO;AACT;mDACmD;GACjD,UAAU;AACZ,2DAA2D;GACzD,MAAM;AACR,2DAA2D;GACzD,MAAM;AACR,uDAAuD;GACrD,SAAS;AACX,gDAAgD;GAC9C,SAAS;AACX;;wBAEwB;GACtB,cAAc;AAChB,6DAA6D;GAC3D,aAAa;AACf,6DAA6D;GAC3D,aAAa;AACf,yDAAyD;GACvD,cAAc;AAChB;6CAC6C;GAC3C,QAAQ;AACV,kDAAkD;GAChD,WAAW;AACb,yCAAyC;GACvC,MAAM;AACR,2EAA2E;GACzE,QAAQ;AACV,uDAAuD;GACrD,eAAe;AACjB,kDAAkD;GAChD,YAAY;AACd,wDAAwD;GACtD,oBAAoB;AACtB,mDAAmD;GACjD,cAAc;AAChB,qDAAqD;GACnD,oBAAoB;AACtB,qDAAqD;GACnD,oBAAoB;AACtB,qDAAqD;GACnD,iBAAiB;AACnB,kDAAkD;GAChD,WAAW;AACb,qDAAqD;GACnD,OAAO;AACT,uDAAuD;GACrD,EAAE,CAAC","file":"display.d.ts","sourcesContent":["/**\n *\tMIT License\n *\n *\tCopyright (c) 2019 - 2021 Toreda, Inc.\n *\n *\tPermission is hereby granted, free of charge, to any person obtaining a copy\n *\tof this software and associated documentation files (the \"Software\"), to deal\n *\tin the Software without restriction, including without limitation the rights\n *\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n *\tcopies of the Software, and to permit persons to whom the Software is\n *\tfurnished to do so, subject to the following conditions:\n\n * \tThe above copyright notice and this permission notice shall be included in all\n * \tcopies or substantial portions of the Software.\n *\n * \tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n *\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n *\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * \tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n *\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n *\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * \tSOFTWARE.\n *\n */\n/**\n * CSS Property descriptions from w3 schools:\n * https://www.w3schools.com/cssref/pr_class_display.asp\n */\n\n/**\n * Supported values for CSS property 'display'.\n * The display property specifies the display behavior (the type of\n * rendering box) of an element.\n *\n * @category CSS\n */\nexport type CSSDisplay =\n\t/** Displays an element as a block element (like <p>). Starts on\n\t * new line, and takes up the whole width */\n\t| 'block'\n\t/** Makes the container disappear, making the child elements children\n\t * of the element the next level up in the DOM */\n\t| 'contents'\n\t/** Displays an element as a block-level flex container */\n\t| 'flex'\n\t/** Displays an element as a block-level grid container */\n\t| 'grid'\n\t/** Inherits this property from its parent element. */\n\t| 'inherit'\n\t/** Sets this property to its default value. */\n\t| 'initial'\n\t/** Displays an element as an inline-level block container. The element\n\t * itself is formatted as an inline element, but you can apply height\n\t * and width values */\n\t| 'inline-block'\n\t/** Displays an element as an inline-level flex container */\n\t| 'inline-flex'\n\t/** Displays an element as an inline-level grid container */\n\t| 'inline-grid'\n\t/** The element is displayed as an inline-level table */\n\t| 'inline-table'\n\t/** Displays an element as an inline element (like <span>). Any height and\n\t * width properties will have no effect. */\n\t| 'inline'\n\t/** Let the element behave like a <li> element */\n\t| 'list-item'\n\t/** The element is completely removed */\n\t| 'none'\n\t/** Displays an element as either block or inline, depending on context */\n\t| 'run-in'\n\t/** Let the element behave like a <caption> element */\n\t| 'table-caption'\n\t/** Let the element behave like a <td> element */\n\t| 'table-cell'\n\t/** Let the element behave like a <colgroup> element */\n\t| 'table-column-group'\n\t/** Let the element behave like a <col> element */\n\t| 'table-column'\n\t/** Let the element behave like a <tfoot> element */\n\t| 'table-footer-group'\n\t/** Let the element behave like a <thead> element */\n\t| 'table-header-group'\n\t/** Let the element behave like a <tbody> element */\n\t| 'table-row-group'\n\t/** Let the element behave like a <tr> element */\n\t| 'table-row'\n\t/** Let the element behave like a <table> element */\n\t| 'table'\n\t/** Empty with no value. Default value will be used. */\n\t| '';\n"]}