@dazl/shorthands-opener 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/README.md +3 -0
  2. package/dist/compounds/compound-css-data.d.ts +22 -0
  3. package/dist/compounds/compound-css-data.d.ts.map +1 -0
  4. package/dist/compounds/compound-css-data.js +2 -0
  5. package/dist/compounds/compound-css-data.js.map +1 -0
  6. package/dist/compounds/compound-mapper.d.ts +4 -0
  7. package/dist/compounds/compound-mapper.d.ts.map +1 -0
  8. package/dist/compounds/compound-mapper.js +10 -0
  9. package/dist/compounds/compound-mapper.js.map +1 -0
  10. package/dist/compounds/compound-parser-utils.d.ts +3 -0
  11. package/dist/compounds/compound-parser-utils.d.ts.map +1 -0
  12. package/dist/compounds/compound-parser-utils.js +33 -0
  13. package/dist/compounds/compound-parser-utils.js.map +1 -0
  14. package/dist/compounds/compound-types.d.ts +26 -0
  15. package/dist/compounds/compound-types.d.ts.map +1 -0
  16. package/dist/compounds/compound-types.js +2 -0
  17. package/dist/compounds/compound-types.js.map +1 -0
  18. package/dist/compounds/compound-value-parsers.d.ts +6 -0
  19. package/dist/compounds/compound-value-parsers.d.ts.map +1 -0
  20. package/dist/compounds/compound-value-parsers.js +5 -0
  21. package/dist/compounds/compound-value-parsers.js.map +1 -0
  22. package/dist/compounds/index.d.ts +6 -0
  23. package/dist/compounds/index.d.ts.map +1 -0
  24. package/dist/compounds/index.js +6 -0
  25. package/dist/compounds/index.js.map +1 -0
  26. package/dist/compounds/parsers/index.d.ts +2 -0
  27. package/dist/compounds/parsers/index.d.ts.map +1 -0
  28. package/dist/compounds/parsers/index.js +2 -0
  29. package/dist/compounds/parsers/index.js.map +1 -0
  30. package/dist/compounds/parsers/shadow-compound.d.ts +5 -0
  31. package/dist/compounds/parsers/shadow-compound.d.ts.map +1 -0
  32. package/dist/compounds/parsers/shadow-compound.js +39 -0
  33. package/dist/compounds/parsers/shadow-compound.js.map +1 -0
  34. package/dist/css-data-types/data-types-consts.d.ts +212 -0
  35. package/dist/css-data-types/data-types-consts.d.ts.map +1 -0
  36. package/dist/css-data-types/data-types-consts.js +790 -0
  37. package/dist/css-data-types/data-types-consts.js.map +1 -0
  38. package/dist/css-data-types/data-types-predicates.d.ts +32 -0
  39. package/dist/css-data-types/data-types-predicates.d.ts.map +1 -0
  40. package/dist/css-data-types/data-types-predicates.js +353 -0
  41. package/dist/css-data-types/data-types-predicates.js.map +1 -0
  42. package/dist/css-data-types/data-types-state-machines.d.ts +14 -0
  43. package/dist/css-data-types/data-types-state-machines.d.ts.map +1 -0
  44. package/dist/css-data-types/data-types-state-machines.js +129 -0
  45. package/dist/css-data-types/data-types-state-machines.js.map +1 -0
  46. package/dist/css-data-types/data-types-types.d.ts +26 -0
  47. package/dist/css-data-types/data-types-types.d.ts.map +1 -0
  48. package/dist/css-data-types/data-types-types.js +2 -0
  49. package/dist/css-data-types/data-types-types.js.map +1 -0
  50. package/dist/css-data-types/data-types-utils.d.ts +31 -0
  51. package/dist/css-data-types/data-types-utils.d.ts.map +1 -0
  52. package/dist/css-data-types/data-types-utils.js +176 -0
  53. package/dist/css-data-types/data-types-utils.js.map +1 -0
  54. package/dist/css-data-types/data-types.d.ts +64 -0
  55. package/dist/css-data-types/data-types.d.ts.map +1 -0
  56. package/dist/css-data-types/data-types.js +304 -0
  57. package/dist/css-data-types/data-types.js.map +1 -0
  58. package/dist/css-data-types/index.d.ts +7 -0
  59. package/dist/css-data-types/index.d.ts.map +1 -0
  60. package/dist/css-data-types/index.js +7 -0
  61. package/dist/css-data-types/index.js.map +1 -0
  62. package/dist/index.d.ts +5 -0
  63. package/dist/index.d.ts.map +1 -0
  64. package/dist/index.js +5 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/shorthands/index.d.ts +8 -0
  67. package/dist/shorthands/index.d.ts.map +1 -0
  68. package/dist/shorthands/index.js +8 -0
  69. package/dist/shorthands/index.js.map +1 -0
  70. package/dist/shorthands/openers/background-position-shorthand.d.ts +5 -0
  71. package/dist/shorthands/openers/background-position-shorthand.d.ts.map +1 -0
  72. package/dist/shorthands/openers/background-position-shorthand.js +173 -0
  73. package/dist/shorthands/openers/background-position-shorthand.js.map +1 -0
  74. package/dist/shorthands/openers/background-shorthand.d.ts +5 -0
  75. package/dist/shorthands/openers/background-shorthand.d.ts.map +1 -0
  76. package/dist/shorthands/openers/background-shorthand.js +88 -0
  77. package/dist/shorthands/openers/background-shorthand.js.map +1 -0
  78. package/dist/shorthands/openers/border-image-shorthand.d.ts +5 -0
  79. package/dist/shorthands/openers/border-image-shorthand.d.ts.map +1 -0
  80. package/dist/shorthands/openers/border-image-shorthand.js +16 -0
  81. package/dist/shorthands/openers/border-image-shorthand.js.map +1 -0
  82. package/dist/shorthands/openers/border-radius-shorthand.d.ts +5 -0
  83. package/dist/shorthands/openers/border-radius-shorthand.d.ts.map +1 -0
  84. package/dist/shorthands/openers/border-radius-shorthand.js +61 -0
  85. package/dist/shorthands/openers/border-radius-shorthand.js.map +1 -0
  86. package/dist/shorthands/openers/border-shorthand.d.ts +20 -0
  87. package/dist/shorthands/openers/border-shorthand.d.ts.map +1 -0
  88. package/dist/shorthands/openers/border-shorthand.js +90 -0
  89. package/dist/shorthands/openers/border-shorthand.js.map +1 -0
  90. package/dist/shorthands/openers/flex-flow-shorthand.d.ts +5 -0
  91. package/dist/shorthands/openers/flex-flow-shorthand.d.ts.map +1 -0
  92. package/dist/shorthands/openers/flex-flow-shorthand.js +13 -0
  93. package/dist/shorthands/openers/flex-flow-shorthand.js.map +1 -0
  94. package/dist/shorthands/openers/flex-shorthand.d.ts +5 -0
  95. package/dist/shorthands/openers/flex-shorthand.d.ts.map +1 -0
  96. package/dist/shorthands/openers/flex-shorthand.js +55 -0
  97. package/dist/shorthands/openers/flex-shorthand.js.map +1 -0
  98. package/dist/shorthands/openers/font-shorthand.d.ts +5 -0
  99. package/dist/shorthands/openers/font-shorthand.d.ts.map +1 -0
  100. package/dist/shorthands/openers/font-shorthand.js +60 -0
  101. package/dist/shorthands/openers/font-shorthand.js.map +1 -0
  102. package/dist/shorthands/openers/gap-shorthand.d.ts +5 -0
  103. package/dist/shorthands/openers/gap-shorthand.d.ts.map +1 -0
  104. package/dist/shorthands/openers/gap-shorthand.js +28 -0
  105. package/dist/shorthands/openers/gap-shorthand.js.map +1 -0
  106. package/dist/shorthands/openers/grid-axis-shorthand.d.ts +6 -0
  107. package/dist/shorthands/openers/grid-axis-shorthand.d.ts.map +1 -0
  108. package/dist/shorthands/openers/grid-axis-shorthand.js +36 -0
  109. package/dist/shorthands/openers/grid-axis-shorthand.js.map +1 -0
  110. package/dist/shorthands/openers/grid-gap-shorthand.d.ts +5 -0
  111. package/dist/shorthands/openers/grid-gap-shorthand.d.ts.map +1 -0
  112. package/dist/shorthands/openers/grid-gap-shorthand.js +21 -0
  113. package/dist/shorthands/openers/grid-gap-shorthand.js.map +1 -0
  114. package/dist/shorthands/openers/grid-shorthand.d.ts +8 -0
  115. package/dist/shorthands/openers/grid-shorthand.d.ts.map +1 -0
  116. package/dist/shorthands/openers/grid-shorthand.js +145 -0
  117. package/dist/shorthands/openers/grid-shorthand.js.map +1 -0
  118. package/dist/shorthands/openers/grid-template-shorthand.d.ts +10 -0
  119. package/dist/shorthands/openers/grid-template-shorthand.d.ts.map +1 -0
  120. package/dist/shorthands/openers/grid-template-shorthand.js +113 -0
  121. package/dist/shorthands/openers/grid-template-shorthand.js.map +1 -0
  122. package/dist/shorthands/openers/index.d.ts +22 -0
  123. package/dist/shorthands/openers/index.d.ts.map +1 -0
  124. package/dist/shorthands/openers/index.js +22 -0
  125. package/dist/shorthands/openers/index.js.map +1 -0
  126. package/dist/shorthands/openers/list-style-shorthand.d.ts +5 -0
  127. package/dist/shorthands/openers/list-style-shorthand.d.ts.map +1 -0
  128. package/dist/shorthands/openers/list-style-shorthand.js +15 -0
  129. package/dist/shorthands/openers/list-style-shorthand.js.map +1 -0
  130. package/dist/shorthands/openers/margin-shorthand.d.ts +5 -0
  131. package/dist/shorthands/openers/margin-shorthand.d.ts.map +1 -0
  132. package/dist/shorthands/openers/margin-shorthand.js +11 -0
  133. package/dist/shorthands/openers/margin-shorthand.js.map +1 -0
  134. package/dist/shorthands/openers/outline-shorthand.d.ts +5 -0
  135. package/dist/shorthands/openers/outline-shorthand.d.ts.map +1 -0
  136. package/dist/shorthands/openers/outline-shorthand.js +14 -0
  137. package/dist/shorthands/openers/outline-shorthand.js.map +1 -0
  138. package/dist/shorthands/openers/overflow-shorthand.d.ts +5 -0
  139. package/dist/shorthands/openers/overflow-shorthand.d.ts.map +1 -0
  140. package/dist/shorthands/openers/overflow-shorthand.js +21 -0
  141. package/dist/shorthands/openers/overflow-shorthand.js.map +1 -0
  142. package/dist/shorthands/openers/padding-shorthand.d.ts +5 -0
  143. package/dist/shorthands/openers/padding-shorthand.d.ts.map +1 -0
  144. package/dist/shorthands/openers/padding-shorthand.js +11 -0
  145. package/dist/shorthands/openers/padding-shorthand.js.map +1 -0
  146. package/dist/shorthands/openers/place-content-shorthand.d.ts +5 -0
  147. package/dist/shorthands/openers/place-content-shorthand.d.ts.map +1 -0
  148. package/dist/shorthands/openers/place-content-shorthand.js +29 -0
  149. package/dist/shorthands/openers/place-content-shorthand.js.map +1 -0
  150. package/dist/shorthands/openers/place-items-shorthand.d.ts +5 -0
  151. package/dist/shorthands/openers/place-items-shorthand.d.ts.map +1 -0
  152. package/dist/shorthands/openers/place-items-shorthand.js +23 -0
  153. package/dist/shorthands/openers/place-items-shorthand.js.map +1 -0
  154. package/dist/shorthands/openers/text-decoration-shorthand.d.ts +5 -0
  155. package/dist/shorthands/openers/text-decoration-shorthand.d.ts.map +1 -0
  156. package/dist/shorthands/openers/text-decoration-shorthand.js +14 -0
  157. package/dist/shorthands/openers/text-decoration-shorthand.js.map +1 -0
  158. package/dist/shorthands/shorthand-css-data.d.ts +120 -0
  159. package/dist/shorthands/shorthand-css-data.d.ts.map +1 -0
  160. package/dist/shorthands/shorthand-css-data.js +48 -0
  161. package/dist/shorthands/shorthand-css-data.js.map +1 -0
  162. package/dist/shorthands/shorthand-mapper.d.ts +6 -0
  163. package/dist/shorthands/shorthand-mapper.d.ts.map +1 -0
  164. package/dist/shorthands/shorthand-mapper.js +72 -0
  165. package/dist/shorthands/shorthand-mapper.js.map +1 -0
  166. package/dist/shorthands/shorthand-parser-errors.d.ts +25 -0
  167. package/dist/shorthands/shorthand-parser-errors.d.ts.map +1 -0
  168. package/dist/shorthands/shorthand-parser-errors.js +41 -0
  169. package/dist/shorthands/shorthand-parser-errors.js.map +1 -0
  170. package/dist/shorthands/shorthand-parser-utils.d.ts +24 -0
  171. package/dist/shorthands/shorthand-parser-utils.d.ts.map +1 -0
  172. package/dist/shorthands/shorthand-parser-utils.js +398 -0
  173. package/dist/shorthands/shorthand-parser-utils.js.map +1 -0
  174. package/dist/shorthands/shorthand-types.d.ts +64 -0
  175. package/dist/shorthands/shorthand-types.d.ts.map +1 -0
  176. package/dist/shorthands/shorthand-types.js +2 -0
  177. package/dist/shorthands/shorthand-types.js.map +1 -0
  178. package/dist/shorthands/shorthands-ast-evaluation.d.ts +5 -0
  179. package/dist/shorthands/shorthands-ast-evaluation.d.ts.map +1 -0
  180. package/dist/shorthands/shorthands-ast-evaluation.js +19 -0
  181. package/dist/shorthands/shorthands-ast-evaluation.js.map +1 -0
  182. package/dist/tokenizers/css-value-tokenizer.d.ts +43 -0
  183. package/dist/tokenizers/css-value-tokenizer.d.ts.map +1 -0
  184. package/dist/tokenizers/css-value-tokenizer.js +154 -0
  185. package/dist/tokenizers/css-value-tokenizer.js.map +1 -0
  186. package/dist/tokenizers/index.d.ts +2 -0
  187. package/dist/tokenizers/index.d.ts.map +1 -0
  188. package/dist/tokenizers/index.js +2 -0
  189. package/dist/tokenizers/index.js.map +1 -0
  190. package/package.json +54 -0
  191. package/src/compounds/compound-css-data.ts +24 -0
  192. package/src/compounds/compound-mapper.ts +21 -0
  193. package/src/compounds/compound-parser-utils.ts +47 -0
  194. package/src/compounds/compound-types.ts +35 -0
  195. package/src/compounds/compound-value-parsers.ts +12 -0
  196. package/src/compounds/index.ts +5 -0
  197. package/src/compounds/parsers/index.ts +1 -0
  198. package/src/compounds/parsers/shadow-compound.ts +56 -0
  199. package/src/css-data-types/data-types-consts.ts +877 -0
  200. package/src/css-data-types/data-types-predicates.ts +477 -0
  201. package/src/css-data-types/data-types-state-machines.ts +169 -0
  202. package/src/css-data-types/data-types-types.ts +43 -0
  203. package/src/css-data-types/data-types-utils.ts +258 -0
  204. package/src/css-data-types/data-types.ts +435 -0
  205. package/src/css-data-types/index.ts +6 -0
  206. package/src/index.ts +4 -0
  207. package/src/shorthands/index.ts +7 -0
  208. package/src/shorthands/openers/background-position-shorthand.ts +180 -0
  209. package/src/shorthands/openers/background-shorthand.ts +161 -0
  210. package/src/shorthands/openers/border-image-shorthand.ts +35 -0
  211. package/src/shorthands/openers/border-radius-shorthand.ts +93 -0
  212. package/src/shorthands/openers/border-shorthand.ts +198 -0
  213. package/src/shorthands/openers/flex-flow-shorthand.ts +24 -0
  214. package/src/shorthands/openers/flex-shorthand.ts +79 -0
  215. package/src/shorthands/openers/font-shorthand.ts +85 -0
  216. package/src/shorthands/openers/gap-shorthand.ts +47 -0
  217. package/src/shorthands/openers/grid-axis-shorthand.ts +61 -0
  218. package/src/shorthands/openers/grid-gap-shorthand.ts +40 -0
  219. package/src/shorthands/openers/grid-shorthand.ts +260 -0
  220. package/src/shorthands/openers/grid-template-shorthand.ts +176 -0
  221. package/src/shorthands/openers/index.ts +21 -0
  222. package/src/shorthands/openers/list-style-shorthand.ts +33 -0
  223. package/src/shorthands/openers/margin-shorthand.ts +20 -0
  224. package/src/shorthands/openers/outline-shorthand.ts +27 -0
  225. package/src/shorthands/openers/overflow-shorthand.ts +40 -0
  226. package/src/shorthands/openers/padding-shorthand.ts +21 -0
  227. package/src/shorthands/openers/place-content-shorthand.ts +49 -0
  228. package/src/shorthands/openers/place-items-shorthand.ts +43 -0
  229. package/src/shorthands/openers/text-decoration-shorthand.ts +27 -0
  230. package/src/shorthands/shorthand-css-data.ts +210 -0
  231. package/src/shorthands/shorthand-mapper.ts +157 -0
  232. package/src/shorthands/shorthand-parser-errors.ts +47 -0
  233. package/src/shorthands/shorthand-parser-utils.ts +602 -0
  234. package/src/shorthands/shorthand-types.ts +107 -0
  235. package/src/shorthands/shorthands-ast-evaluation.ts +38 -0
  236. package/src/tokenizers/css-value-tokenizer.ts +220 -0
  237. package/src/tokenizers/index.ts +1 -0
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @dazl/shorthands-opener
2
+
3
+ A library used to open CSS shorthands.
@@ -0,0 +1,22 @@
1
+ import type { Dimension } from '../css-data-types/index.js';
2
+ export type BoxShadowMap = {
3
+ 'box-shadow'?: string;
4
+ inset: boolean;
5
+ 'offset-x': Dimension;
6
+ 'offset-y': Dimension;
7
+ 'blur-radius': Dimension;
8
+ 'spread-radius': Dimension;
9
+ color: string;
10
+ };
11
+ export type TextShadowMap = {
12
+ 'text-shadow'?: string;
13
+ 'offset-x': Dimension;
14
+ 'offset-y': Dimension;
15
+ 'blur-radius': Dimension;
16
+ color: string;
17
+ };
18
+ export type CompoundsTypeMap = {
19
+ 'box-shadow': BoxShadowMap;
20
+ 'text-shadow': TextShadowMap;
21
+ };
22
+ //# sourceMappingURL=compound-css-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-css-data.d.ts","sourceRoot":"","sources":["../../src/compounds/compound-css-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,MAAM,MAAM,YAAY,GAAG;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,SAAS,CAAC;IACtB,UAAU,EAAE,SAAS,CAAC;IACtB,aAAa,EAAE,SAAS,CAAC;IACzB,eAAe,EAAE,SAAS,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,SAAS,CAAC;IACtB,UAAU,EAAE,SAAS,CAAC;IACtB,aAAa,EAAE,SAAS,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;CAChC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=compound-css-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-css-data.js","sourceRoot":"","sources":["../../src/compounds/compound-css-data.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { CompoundParser } from './compound-types.js';
2
+ import type { CompoundsTypeMap } from './compound-css-data.js';
3
+ export declare const getCompoundParser: <V, T extends keyof CompoundsTypeMap>(prop: T) => CompoundParser<V, CompoundsTypeMap[T]>;
4
+ //# sourceMappingURL=compound-mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-mapper.d.ts","sourceRoot":"","sources":["../../src/compounds/compound-mapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAqB,MAAM,qBAAqB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAc/D,eAAO,MAAM,iBAAiB,GAAI,CAAC,EAAE,CAAC,SAAS,MAAM,gBAAgB,EACjE,MAAM,CAAC,KACR,cAAc,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAGvC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { parseBoxShadowCompound, parseTextShadowCompound } from './parsers/index.js';
2
+ const compoundParsersMap = {
3
+ 'box-shadow': parseBoxShadowCompound,
4
+ 'text-shadow': parseTextShadowCompound,
5
+ };
6
+ export const getCompoundParser = (prop) => {
7
+ const getParser = compoundParsersMap[prop];
8
+ return getParser();
9
+ };
10
+ //# sourceMappingURL=compound-mapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-mapper.js","sourceRoot":"","sources":["../../src/compounds/compound-mapper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAOrF,MAAM,kBAAkB,GAAuB;IAC3C,YAAY,EAAE,sBAAsB;IACpC,aAAa,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC7B,IAAO,EAC+B,EAAE;IACxC,MAAM,SAAS,GAAG,kBAAkB,CAAC,IAAI,CAA2C,CAAC;IACrF,OAAO,SAAS,EAAK,CAAC;AAC1B,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { CompoundParser, CompoundParserData } from './compound-types.js';
2
+ export declare const createCompoundParser: <V, M>({ prop, singleKeywordPart, parts, shorthandOpener }: CompoundParserData<V, M>) => CompoundParser<V, M>;
3
+ //# sourceMappingURL=compound-parser-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-parser-utils.d.ts","sourceRoot":"","sources":["../../src/compounds/compound-parser-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGR,cAAc,EAEd,kBAAkB,EACrB,MAAM,qBAAqB,CAAC;AAiB7B,eAAO,MAAM,oBAAoB,GAC5B,CAAC,EAAE,CAAC,EAAE,qDAAqD,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,KAAG,cAAc,CAAC,CAAC,EAAE,CAAC,CAsBzG,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { createShorthandOpener } from '../shorthands/index.js';
2
+ const setParsedCompoundValue = (parseMap, node, prop) => {
3
+ if (!Array.isArray(node)) {
4
+ node.parsedValue = parseMap[prop](node.value.text, prop);
5
+ return;
6
+ }
7
+ for (const innerNode of node) {
8
+ setParsedCompoundValue(parseMap, innerNode, prop);
9
+ }
10
+ };
11
+ export const createCompoundParser = ({ prop, singleKeywordPart, parts, shorthandOpener }) => (compound, api) => {
12
+ const parseMap = {};
13
+ if (singleKeywordPart) {
14
+ parseMap[singleKeywordPart.prop] = singleKeywordPart.parser;
15
+ }
16
+ for (const part of parts) {
17
+ parseMap[part.prop] = part.parser;
18
+ }
19
+ const openCompoundAsShorthand = createShorthandOpener({
20
+ prop,
21
+ singleKeywordPart,
22
+ parts: parts,
23
+ shorthandOpener,
24
+ });
25
+ const opened = openCompoundAsShorthand(compound, api);
26
+ const parsed = { ...opened };
27
+ const props = Object.keys(opened);
28
+ for (const prop of props) {
29
+ setParsedCompoundValue(parseMap, parsed[prop], prop);
30
+ }
31
+ return parsed;
32
+ };
33
+ //# sourceMappingURL=compound-parser-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-parser-utils.js","sourceRoot":"","sources":["../../src/compounds/compound-parser-utils.ts"],"names":[],"mappings":"AAOA,OAAO,EAAsB,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEnF,MAAM,sBAAsB,GAAG,CAC3B,QAAqB,EACrB,IAAwC,EACxC,IAAY,EACd,EAAE;IACA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QACvB,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1D,OAAO;IACX,CAAC;IACD,KAAK,MAAM,SAAS,IAAI,IAAI,EAAE,CAAC;QAC3B,sBAAsB,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAC7B,CAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,eAAe,EAA4B,EAAwB,EAAE,CAC9G,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE;IACd,MAAM,QAAQ,GAAgB,EAAE,CAAC;IACjC,IAAI,iBAAiB,EAAE,CAAC;QACpB,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAChE,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACvB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;IACtC,CAAC;IACD,MAAM,uBAAuB,GAAG,qBAAqB,CAAY;QAC7D,IAAI;QACJ,iBAAiB;QACjB,KAAK,EAAE,KAA2B;QAClC,eAAe;KAClB,CAAC,CAAC;IACH,MAAM,MAAM,GAAG,uBAAuB,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACtD,MAAM,MAAM,GAAG,EAAE,GAAG,MAAM,EAA0B,CAAC;IACrD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAmB,CAAC;IACpD,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACvB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAc,CAAC,CAAC;IACnE,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { CSSAstNode, ParseShorthandAPI, EvaluatedAst, FullShorthandOpener, BasicPart } from '../shorthands/index.js';
2
+ export interface ParsedCompoundAst<V, T> extends EvaluatedAst<V> {
3
+ parsedValue: T;
4
+ }
5
+ export type ParsedCompoundValue<V, T> = ParsedCompoundAst<V, T> | ParsedCompoundAst<V, T>[];
6
+ export type ParsedCompound<V, M> = {
7
+ [K in keyof M]: ParsedCompoundValue<V, M[K]>;
8
+ };
9
+ export type LayeredParsedCompound<V, M> = {
10
+ [K in keyof M]: ParsedCompoundAst<V, M[K]>[];
11
+ };
12
+ export type CompoundParser<V, M> = (compound: CSSAstNode<V>[], api: ParseShorthandAPI<V>) => ParsedCompound<V, M>;
13
+ export type CompoundValueParser<M> = (text: string, prop: string) => M[keyof M];
14
+ export type TypedCompoundValueParser<T> = CompoundValueParser<Record<string, T>>;
15
+ export type ParseMap<M> = Record<string, CompoundValueParser<M>>;
16
+ export interface CompoundPart<M> extends BasicPart {
17
+ parser: CompoundValueParser<M>;
18
+ }
19
+ export interface CompoundParserData<V, M, T extends string = string> {
20
+ prop: string;
21
+ singleKeywordPart?: CompoundPart<M>;
22
+ parts: CompoundPart<M>[];
23
+ shorthandOpener: FullShorthandOpener<V, T>;
24
+ }
25
+ export type GetCompoundParser<M> = <V>() => CompoundParser<V, M>;
26
+ //# sourceMappingURL=compound-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-types.d.ts","sourceRoot":"","sources":["../../src/compounds/compound-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,SAAS,EACZ,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;IAC5D,WAAW,EAAE,CAAC,CAAC;CAClB;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,EAAE,CAAC,IAAI,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AAE5F,MAAM,MAAM,cAAc,CAAC,CAAC,EAAE,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AACpF,MAAM,MAAM,qBAAqB,CAAC,CAAC,EAAE,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,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],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type { TypedCompoundValueParser } from './compound-types.js';
2
+ import { type KeywordsMap, type Dimension } from '../css-data-types/index.js';
3
+ export declare const identityCompoundValueParser: TypedCompoundValueParser<string>;
4
+ export declare const keywordsCompoundValueParser: (keywords: string | KeywordsMap) => TypedCompoundValueParser<boolean>;
5
+ export declare const dimensionCompoundValueParser: TypedCompoundValueParser<Dimension>;
6
+ //# sourceMappingURL=compound-value-parsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-value-parsers.d.ts","sourceRoot":"","sources":["../../src/compounds/compound-value-parsers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAmC,MAAM,4BAA4B,CAAC;AAE/G,eAAO,MAAM,2BAA2B,EAAE,wBAAwB,CAAC,MAAM,CAAkB,CAAC;AAE5F,eAAO,MAAM,2BAA2B,GACnC,UAAU,MAAM,GAAG,WAAW,KAAG,wBAAwB,CAAC,OAAO,CAEO,CAAC;AAE9E,eAAO,MAAM,4BAA4B,EAAE,wBAAwB,CAAC,SAAS,CAClC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { parseDimension, EMPTY_DIMENSION } from '../css-data-types/index.js';
2
+ export const identityCompoundValueParser = (text) => text;
3
+ export const keywordsCompoundValueParser = (keywords) => (text) => typeof keywords === 'string' ? text === keywords : keywords.has(text);
4
+ export const dimensionCompoundValueParser = (text) => parseDimension(text) ?? EMPTY_DIMENSION;
5
+ //# sourceMappingURL=compound-value-parsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compound-value-parsers.js","sourceRoot":"","sources":["../../src/compounds/compound-value-parsers.ts"],"names":[],"mappings":"AACA,OAAO,EAAoC,cAAc,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE/G,MAAM,CAAC,MAAM,2BAA2B,GAAqC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC;AAE5F,MAAM,CAAC,MAAM,2BAA2B,GACpC,CAAC,QAA8B,EAAqC,EAAE,CACtE,CAAC,IAAI,EAAE,EAAE,CACL,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,4BAA4B,GAAwC,CAAC,IAAI,EAAE,EAAE,CACtF,cAAc,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './compound-css-data.js';
2
+ export * from './compound-types.js';
3
+ export * from './compound-parser-utils.js';
4
+ export * from './compound-mapper.js';
5
+ export * from './parsers/index.js';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/compounds/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './compound-css-data.js';
2
+ export * from './compound-types.js';
3
+ export * from './compound-parser-utils.js';
4
+ export * from './compound-mapper.js';
5
+ export * from './parsers/index.js';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/compounds/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './shadow-compound.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/compounds/parsers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './shadow-compound.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/compounds/parsers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { BoxShadowMap, TextShadowMap } from '../compound-css-data.js';
2
+ import type { GetCompoundParser } from '../compound-types.js';
3
+ export declare const parseBoxShadowCompound: GetCompoundParser<BoxShadowMap>;
4
+ export declare const parseTextShadowCompound: GetCompoundParser<TextShadowMap>;
5
+ //# sourceMappingURL=shadow-compound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadow-compound.d.ts","sourceRoot":"","sources":["../../../src/compounds/parsers/shadow-compound.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAiB9D,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,YAAY,CAkB7D,CAAC;AAGP,eAAO,MAAM,uBAAuB,EAAE,iBAAiB,CAAC,aAAa,CAgB/D,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { lengthDataType, colorDataType, insetDataType, shadowSingleValueDataType, INSET_KEYWORD, } from '../../css-data-types/index.js';
2
+ import { unorderedListShorthandOpener, layersShorthandOpener } from '../../shorthands/index.js';
3
+ import { createCompoundParser } from '../compound-parser-utils.js';
4
+ import { identityCompoundValueParser, keywordsCompoundValueParser, dimensionCompoundValueParser, } from '../compound-value-parsers.js';
5
+ // box-shadow
6
+ export const parseBoxShadowCompound = () => createCompoundParser({
7
+ prop: 'box-shadow',
8
+ singleKeywordPart: {
9
+ prop: 'box-shadow',
10
+ dataType: shadowSingleValueDataType,
11
+ parser: identityCompoundValueParser,
12
+ },
13
+ parts: [
14
+ { prop: 'inset', dataType: insetDataType, parser: keywordsCompoundValueParser(INSET_KEYWORD) },
15
+ { prop: 'offset-x', dataType: lengthDataType, parser: dimensionCompoundValueParser, mandatory: true },
16
+ { prop: 'offset-y', dataType: lengthDataType, parser: dimensionCompoundValueParser, mandatory: true },
17
+ { prop: 'blur-radius', dataType: lengthDataType, parser: dimensionCompoundValueParser },
18
+ { prop: 'spread-radius', dataType: lengthDataType, parser: dimensionCompoundValueParser },
19
+ { prop: 'color', dataType: colorDataType, parser: identityCompoundValueParser },
20
+ ],
21
+ shorthandOpener: (astNodes, api, parts) => layersShorthandOpener('box-shadow', unorderedListShorthandOpener(parts), parts)(astNodes, api),
22
+ });
23
+ // text-shadow
24
+ export const parseTextShadowCompound = () => createCompoundParser({
25
+ prop: 'text-shadow',
26
+ singleKeywordPart: {
27
+ prop: 'text-shadow',
28
+ dataType: shadowSingleValueDataType,
29
+ parser: identityCompoundValueParser,
30
+ },
31
+ parts: [
32
+ { prop: 'offset-x', dataType: lengthDataType, parser: dimensionCompoundValueParser, mandatory: true },
33
+ { prop: 'offset-y', dataType: lengthDataType, parser: dimensionCompoundValueParser, mandatory: true },
34
+ { prop: 'blur-radius', dataType: lengthDataType, parser: dimensionCompoundValueParser },
35
+ { prop: 'color', dataType: colorDataType, parser: (text) => text },
36
+ ],
37
+ shorthandOpener: (astNodes, api, parts) => layersShorthandOpener('text-shadow', unorderedListShorthandOpener(parts), parts)(astNodes, api),
38
+ });
39
+ //# sourceMappingURL=shadow-compound.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadow-compound.js","sourceRoot":"","sources":["../../../src/compounds/parsers/shadow-compound.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,cAAc,EACd,aAAa,EACb,aAAa,EACb,yBAAyB,EACzB,aAAa,GAChB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,4B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AC,MAAM,uBAAuB,GAAqC,GAAM,EAAE,CAC7E,oBAAoB,CAAmB;IACnC,IAAI,EAAE,aAAa;IACnB,iBAAiB,EAAE;QACf,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,yBAAyB;QACnC,MAAM,EAAE,2BAA2B;KACtC;IACD,KAAK,EAAE;QACH,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,4BAA4B,EAAE,SAAS,EAAE,IAAI,EAAE;QACrG,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,4BAA4B,EAAE,SAAS,EAAE,IAAI,EAAE;QACrG,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,4BAA4B,EAAE;QACvF,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE;KACrE;IACD,eAAe,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,CACtC,qBAAqB,CAAC,aAAa,EAAE,4BAA4B,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC,QAAQ,EAAE,GAAG,CAAC;CACtG,CAAC,CAAC"}
@@ -0,0 +1,212 @@
1
+ export declare enum DataTypeType {
2
+ Unknown = "UNKNOWN",
3
+ Common = "COMMON",
4
+ Universal = "<universal>",
5
+ Number = "<number>",
6
+ Length = "<length>",
7
+ Percentage = "<percentage>",
8
+ LengthPercentage = "<length-percentage>",
9
+ Angle = "<angle>",
10
+ Width = "<width>",
11
+ CustomIdent = "<custom-ident>",
12
+ LineStyle = "<line-style>",
13
+ OutlineStyle = "<'outline-style'>",
14
+ LineWidth = "<line-width>",
15
+ Color = "<color>",
16
+ OutlineColor = "<'outline-color'>",
17
+ BorderImageSlice = "<'border-image-slice'>",
18
+ BorderImageOutset = "<'border-image-outset'>",
19
+ BorderImageRepeat = "<'border-image-repeat'>",
20
+ BorderImageWidth = "<'border-image-width'>",
21
+ Gradient = "<gradient>",
22
+ Image = "<image>",
23
+ ImageSource = "<image-source>",
24
+ BgPosition = "<bg-position>",
25
+ BgSize = "<bg-size>",
26
+ RepeatStyle = "<repeat-style>",
27
+ Attachment = "<attachment>",
28
+ Box = "<box>",
29
+ FontStyle = "<font-style>",
30
+ FontVariant = "<font-variant>",
31
+ FontWeight = "<font-weight>",
32
+ FontStretch = "<font-stretch>",
33
+ FontSize = "<font-size>",
34
+ LineHeight = "<line-height>",
35
+ FontFamily = "<font-family>",
36
+ Font = "<font>",
37
+ AlignContent = "<'align-content'>",
38
+ JustifyContent = "<'justify-content'>",
39
+ AlignItems = "<'align-items'>",
40
+ JustifyItems = "<'justify-items'>",
41
+ FlexGrow = "<flex-grow>",
42
+ FlexShrink = "<flex-shrink>",
43
+ FlexBasis = "<flex-basis>",
44
+ FlexDirection = "<flex-direction>",
45
+ FlexWrap = "<flex-wrap>",
46
+ Flex = "<'flex'>",
47
+ GridLine = "<grid-line>",
48
+ GridLineEnd = "<grid-line-end>",
49
+ LineNames = "<line-names>",
50
+ TrackList = "<track-list>",
51
+ AutoTrackList = "<auto-track-list>",
52
+ ExplicitTrackList = "<explicit-track-list>",
53
+ TrackListWithStrings = "<track-list-with-strings>",
54
+ GridTemplateAreas = "<grid-template-areas>",
55
+ GridTemplateRows = "<grid-template-rows>",
56
+ GridTemplateColumns = "<grid-template-columns>",
57
+ GridTemplate = "<grid-template>",
58
+ GridAutoFlow = "<grid-auto-flow>",
59
+ GridAutoRows = "<grid-auto-rows>",
60
+ GridAutoColumns = "<grid-auto-columns>",
61
+ Grid = "<grid>",
62
+ Overflow = "<overflow>",
63
+ TextDecorationLine = "<'text-decoration-line'>",
64
+ TextDecorationStyle = "<'text-decoration-style'>",
65
+ ListStyle = "<'list-style'>",
66
+ ListStylePosition = "<'list-style-position'>",
67
+ ListStyleType = "<'list-style-type'>",
68
+ Inset = "<'inset'>",
69
+ Shadow = "<shadow>"
70
+ }
71
+ export type KeywordsMap = Map<string, boolean>;
72
+ export declare const keywordsMap: (keywords: string[]) => KeywordsMap;
73
+ export interface DataTypeData {
74
+ initial?: string;
75
+ keywords?: string | KeywordsMap;
76
+ prefix?: DataTypeType;
77
+ }
78
+ export declare const DATA_TYPES_MAP: Map<DataTypeType, DataTypeData>;
79
+ export declare const DEFAULT_LAYER_SEPERATOR = ",";
80
+ export declare const INTERNAL_VALUE_SEPERATOR = "/";
81
+ export declare const AUTO_KEYWORD = "auto";
82
+ export declare const NONE_KEYWORD = "none";
83
+ export declare const NORMAL_KEYWORD = "normal";
84
+ export declare const INITIAL_UNIVERSAL = "initial";
85
+ export declare const UNIVERSAL_KEYWORDS: KeywordsMap;
86
+ export declare const getInitialValue: (dataType: DataTypeType) => string;
87
+ export declare const DEFAULT_DIMENSION = "0";
88
+ export declare const LENGTH_UNITS: string[];
89
+ export declare const LENGTH_UNITS_MAP: KeywordsMap;
90
+ export declare const BASIC_MATH_FUNCTIONS: KeywordsMap;
91
+ export declare const PERCENTAGE_UNIT = "%";
92
+ export declare const LENGTH_PERCENTAGE_UNITS: KeywordsMap;
93
+ export declare const ANGLE_UNITS: KeywordsMap;
94
+ export declare const FLEX_UNIT = "fr";
95
+ export declare const FLEX_NUMBER_RANGE_MIN = 0;
96
+ export declare const LINE_STYLE_KEYWORDS: KeywordsMap;
97
+ export declare const INITIAL_LINE_STYLE = "none";
98
+ export declare const LINE_WIDTH_KEYWORDS: KeywordsMap;
99
+ export declare const INITIAL_LINE_WIDTH = "medium";
100
+ export declare const COLOR_FUNCTIONS: KeywordsMap;
101
+ export declare const NAMED_COLOR_KEYWORDS: KeywordsMap;
102
+ export declare const CURRENT_COLOR_KEYWORD = "currentcolor";
103
+ export declare const TRANSPARENT_COLOR_KEYWORD = "transparent";
104
+ export declare const SYSTEM_COLOR_KEYWORDS: KeywordsMap;
105
+ export declare const INITIAL_COLOR = "currentcolor";
106
+ export declare const OUTLINE_COLOR_INVERT_KEYWORD = "invert";
107
+ export declare const INITIAL_BACKGROUND_COLOR = "transparent";
108
+ export declare const BORDER_IMAGE_SLICE_FILL_KEYWORD = "fill";
109
+ export declare const INITIAL_BORDER_IMAGE_SLICE = "100%";
110
+ export declare const INITIAL_BORDER_IMAGE_OUTSET = "0";
111
+ export declare const BORDER_IMAGE_REPEAT_MULTIPLE_KEYWORDS: KeywordsMap;
112
+ export declare const INITIAL_BORDER_IMAGE_REPEAT = "stretch";
113
+ export declare const INITIAL_BORDER_IMAGE_WIDTH = "1";
114
+ export declare const GRADIENT_FUNCTIONS: KeywordsMap;
115
+ export declare const IMAGE_FUNCTIONS: KeywordsMap;
116
+ export declare const IMAGE_SOURCE_NONE_KEYWORD = "none";
117
+ export declare const INITIAL_IMAGE_SOURCE = "none";
118
+ export declare const BG_POSITION_CENTER_KEYWORD = "center";
119
+ export declare const BG_POSITION_VERTICAL_KEYWORDS: string[];
120
+ export declare const BG_POSITION_VERTICAL_KEYWORDS_MAP: KeywordsMap;
121
+ export declare const BG_POSITION_HORIZONTAL_KEYWORDS: string[];
122
+ export declare const BG_POSITION_HORIZONTAL_KEYWORDS_MAP: KeywordsMap;
123
+ export declare const BG_POSITION_ALL_EDGES_KEYWORDS: KeywordsMap;
124
+ export declare const INITIAL_BG_POSITION = "0% 0%";
125
+ export declare const BG_SIZE_KEYWORDS: KeywordsMap;
126
+ export declare const INITIAL_BG_SIZE = "auto";
127
+ export declare const REPEAT_STYLE_SINGLE_KEYWORDS: KeywordsMap;
128
+ export declare const REPEAT_STYLE_MULTIPLE_KEYWORDS: KeywordsMap;
129
+ export declare const INITIAL_REPEAT_STYLE = "repeat";
130
+ export declare const ATTACHMENT_KEYWORDS: KeywordsMap;
131
+ export declare const INITIAL_ATTACHMENT = "scroll";
132
+ export declare const BOX_KEYWORDS: KeywordsMap;
133
+ export declare const INITIAL_BACKGROUND_ORIGIN = "padding-box";
134
+ export declare const INITIAL_BACKGROUND_CLIP = "border-box";
135
+ export declare const FONT_SINGLE_VALUE_KEYWORDS: KeywordsMap;
136
+ export declare const COMMON_FONT_PREFIX_NORMAL = "normal";
137
+ export declare const FONT_STYLE_KEYWORDS: KeywordsMap;
138
+ export declare const FONT_STYLE_OBLIQUE_KEYWORD = "oblique";
139
+ export declare const INITIAL_FONT_STYLE = "normal";
140
+ export declare const FONT_VARIANT_KEYWORDS: KeywordsMap;
141
+ export declare const INITIAL_FONT_VARIANT = "normal";
142
+ export declare const FONT_WEIGHT_KEYWORDS: KeywordsMap;
143
+ export declare const FONT_WEIGHT_NUMBER_RANGE_MIN = 1;
144
+ export declare const FONT_WEIGHT_NUMBER_RANGE_MAX = 1000;
145
+ export declare const INITIAL_FONT_WEIGHT = "normal";
146
+ export declare const FONT_STRETCH_KEYWORDS: KeywordsMap;
147
+ export declare const INITIAL_FONT_STRETCH = "normal";
148
+ export declare const FONT_SIZE_KEYWORDS: KeywordsMap;
149
+ export declare const INITIAL_FONT_SIZE = "medium";
150
+ export declare const LINE_HEIGHT_KEYWORD = "normal";
151
+ export declare const INITIAL_LINE_HEIGHT = "normal";
152
+ export declare const INITIAL_FONT_FAMILY = "";
153
+ export declare const CONTENT_DISTRIBUTION_KEYWORDS: KeywordsMap;
154
+ export declare const CONTENT_POSITION_KEYWORDS: KeywordsMap;
155
+ export declare const ALIGN_CONTENT_KEYWORDS: KeywordsMap;
156
+ export declare const INITIAL_ALIGN_CONTENT = "normal";
157
+ export declare const SELF_POSITION_KEYWORDS: KeywordsMap;
158
+ export declare const JUSTIFY_CONTENT_KEYWORDS: KeywordsMap;
159
+ export declare const INITIAL_JUSTIFY_CONTENT = "normal";
160
+ export declare const ALIGN_ITEMS_KEYWORDS: KeywordsMap;
161
+ export declare const INITIAL_ALIGN_ITEMS = "normal";
162
+ export declare const JUSTIFY_ITEMS_KEYWORDS: KeywordsMap;
163
+ export declare const INITIAL_JUSTIFY_ITEMS = "legacy";
164
+ export declare const FLEX_SINGLE_VALUE_KEYWORDS: KeywordsMap;
165
+ export declare const INITIAL_FLEX_GROW = "0";
166
+ export declare const AUTO_FLEX_GROW = "1";
167
+ export declare const INITIAL_FLEX_SHRINK = "1";
168
+ export declare const NONE_FLEX_SHRINK = "0";
169
+ export declare const FLEX_BASIS_KEYWORDS: KeywordsMap;
170
+ export declare const AUTO_FLEX_BASIS = "auto";
171
+ export declare const INITIAL_FLEX_BASIS = "0";
172
+ export declare const FLEX_DIRECTION_KEYWORDS: KeywordsMap;
173
+ export declare const INITIAL_FLEX_DIRECTION = "row";
174
+ export declare const FLEX_WRAP_KEYWORDS: KeywordsMap;
175
+ export declare const INITIAL_FLEX_WRAP = "nowrap";
176
+ export declare const GRID_LINE_SPAN_KEYWORD = "span";
177
+ export declare const GRID_LINE_AUTO_KEYWORD = "auto";
178
+ export declare const INITIAL_GRID_LINE = "auto";
179
+ export declare const BREADTH_KEYWORDS: KeywordsMap;
180
+ export declare const LINE_NAMES_EXCLUDE_KEYWORDS: KeywordsMap;
181
+ export declare const MINMAX_FUNCTION = "minmax";
182
+ export declare const REPEAT_FUNCTION = "repeat";
183
+ export declare const TRACK_SIZE_FUNCTIONS: KeywordsMap;
184
+ export declare const INITIAL_TRACK_SIZE = "auto";
185
+ export declare const AUTO_REPEAT_FIRST_ARGUMENT_KEYWORDS: KeywordsMap;
186
+ export declare const GRID_TEMPLATE_AREAS_NONE_KEYWORD = "none";
187
+ export declare const INITIAL_GRID_TEMPLATE_AREAS = "none";
188
+ export declare const GRID_TEMPLATE_AXIS_NONE_KEYWORD = "none";
189
+ export declare const INITIAL_GRID_TEMPLATE_AXIS = "none";
190
+ export declare const GRID_TEMPLATE_SINGLE_VALUE_KEYWORD = "none";
191
+ export declare const GRID_AUTO_FLOW_KEYWORD = "auto-flow";
192
+ export declare const GRID_AUTO_FLOW_ROW_KEYWORD = "row";
193
+ export declare const GRID_AUTO_FLOW_COLUMN_KEYWORD = "column";
194
+ export declare const GRID_AUTO_FLOW_DENSE_KEYWORD = "dense";
195
+ export declare const INITIAL_GRID_AUTO_FLOW = "row";
196
+ export declare const INITIAL_GRID_AUTO_AXIS = "auto";
197
+ export declare const GRID_SINGLE_VALUE_KEYWORD = "none";
198
+ export declare const OVERFLOW_KEYWORDS: KeywordsMap;
199
+ export declare const INITIAL_OVERFLOW = "visible";
200
+ export declare const TEXT_DECORATION_LINE_NONE_KEYWORD = "none";
201
+ export declare const TEXT_DECORATION_LINE_KEYWORDS: KeywordsMap;
202
+ export declare const INITIAL_TEXT_DECORATION_LINE = "none";
203
+ export declare const TEXT_DECORATION_STYLE_KEYWORDS: KeywordsMap;
204
+ export declare const INITIAL_TEXT_DECORATION_STYLE = "solid";
205
+ export declare const LIST_STYLE_SINGLE_VALUE_KEYWORD = "none";
206
+ export declare const LIST_STYLE_POSITION_KEYWORDS: KeywordsMap;
207
+ export declare const INITIAL_LIST_STYLE_POSITION = "outside";
208
+ export declare const LIST_STYLE_TYPE_KEYWORDS: KeywordsMap;
209
+ export declare const INITIAL_LIST_STYLE_TYPE = "disc";
210
+ export declare const INSET_KEYWORD = "inset";
211
+ export declare const SHADOW_SINGLE_VALUE_KEYWORDS: KeywordsMap;
212
+ //# sourceMappingURL=data-types-consts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-types-consts.d.ts","sourceRoot":"","sources":["../../src/css-data-types/data-types-consts.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACpB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,gBAAgB;IACzB,MAAM,aAAa;IACnB,MAAM,aAAa;IACnB,UAAU,iBAAiB;IAC3B,gBAAgB,wBAAwB;IACxC,KAAK,YAAY;IACjB,KAAK,YAAY;IACjB,WAAW,mBAAmB;IAC9B,SAAS,iBAAiB;IAC1B,YAAY,sBAAsB;IAClC,SAAS,iBAAiB;IAC1B,KAAK,YAAY;IACjB,YAAY,sBAAsB;IAClC,gBAAgB,2BAA2B;IAC3C,iBAAiB,4BAA4B;IAC7C,i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