aliascss 1.2.1 → 1.2.3

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 (39) hide show
  1. package/aliascss.config.js +5 -12
  2. package/dist/aliascss.js +1 -1
  3. package/lib/config.d.ts +2 -0
  4. package/lib/config.js +20 -0
  5. package/lib/css-properties-all.js +231 -147
  6. package/lib/custom-css-compilers.d.ts +1 -0
  7. package/lib/custom-css-compilers.js +135 -24
  8. package/lib/prebuild.d.ts +348 -43
  9. package/lib/prebuild.js +308 -53
  10. package/lib/prefix/responsive.js +23 -1
  11. package/lib/returnStatement.js +9 -0
  12. package/lib/static/customStaticClassNames.js +46 -38
  13. package/package.json +1 -1
  14. package/ui-dev/app/index.html +35 -25
  15. package/ui-dev/app/index.html.css +69 -254
  16. package/ui-dev/app/index.html.module.css +0 -217
  17. package/ui-dev/button.html +6 -6
  18. package/ui-dev/button.html.css +55 -217
  19. package/ui-dev/button.html.module.css +0 -217
  20. package/ui-dev/card-section-row-container-box-bk.html.css +5 -217
  21. package/ui-dev/card-section-row-container-box-bk.html.module.css +0 -217
  22. package/ui-dev/card-section-row-container-box.html.css +45 -217
  23. package/ui-dev/card-section-row-container-box.html.module.css +0 -217
  24. package/ui-dev/examples/screen.html +66 -0
  25. package/ui-dev/examples/screen.html.css +167 -0
  26. package/ui-dev/examples/screen.html.module.css +55 -0
  27. package/ui-dev/index-preview-one.html.css +68 -217
  28. package/ui-dev/index-preview-one.html.module.css +0 -217
  29. package/ui-dev/index-test.html.css +89 -183
  30. package/ui-dev/index-test.html.module.css +0 -217
  31. package/ui-dev/index.html +1 -3
  32. package/ui-dev/index.html.css +0 -218
  33. package/ui-dev/index.html.module.css +0 -217
  34. package/ui-dev/nav-red.html.css +0 -217
  35. package/ui-dev/nav-red.html.module.css +0 -217
  36. package/ui-dev/navbar-demo.html.css +0 -217
  37. package/ui-dev/navbar-demo.html.module.css +0 -217
  38. package/ui-dev/tooltip.html.css +0 -217
  39. package/ui-dev/tooltip.html.module.css +0 -217
package/lib/config.d.ts CHANGED
@@ -14,6 +14,8 @@ declare const config: {
14
14
  matchCSSModuleFunction: RegExp;
15
15
  globalValues: string[];
16
16
  styles: string[];
17
+ remUnits: string[];
18
+ remUnitsNegative: string[];
17
19
  widths: string[];
18
20
  modes: string[];
19
21
  };
package/lib/config.js CHANGED
@@ -16,6 +16,26 @@ const config = {
16
16
  globalValues: ['initial:ini', 'inherit:in', 'unset:un', 'revert:re', 'revert-layer:rl'],
17
17
  styles: ['dotted:d', 'dashed:da', 'solid:s', 'double:db', 'groove:g', 'ridge:ri', 'inset:i', 'outset:o', 'none:n', 'hidden:h'],
18
18
  widths: ['medium:m', 'thin:t', 'thick:th:t2'],
19
+ remUnits: [`${1 / 4}rem:1`,
20
+ `${2 / 4}rem:2`,
21
+ `${3 / 4}rem:3`,
22
+ `${4 / 4}rem:4`,
23
+ `${5 / 4}rem:5`,
24
+ `${6 / 4}rem:6`,
25
+ `${7 / 4}rem:7`,
26
+ `${8 / 4}rem:8`,
27
+ `${9 / 4}rem:9`,
28
+ `${10 / 4}rem:10`],
29
+ remUnitsNegative: [`-${1 / 4}rem:-1`,
30
+ `-${2 / 4}rem:-2`,
31
+ `-${3 / 4}rem:-3`,
32
+ `-${4 / 4}rem:-4`,
33
+ `-${5 / 4}rem:-5`,
34
+ `-${6 / 4}rem:-6`,
35
+ `-${7 / 4}rem:-7`,
36
+ `-${8 / 4}rem:-8`,
37
+ `-${9 / 4}rem:-9`,
38
+ `-${10 / 4}rem:-10`],
19
39
  modes: ['normal:nl', 'multiply:m', 'screen:s', 'overlay:o', 'darken:d', 'lighten:l', 'color-dodge:cd', 'color-burn:cb', 'hard-light:hl',
20
40
  'soft-light:sl', 'difference:di:d2', 'exclusion:e', 'hue:h', 'saturation:sa:s2', 'color:c', 'luminosity:lu:l2'],
21
41
  };