aliascss 1.2.2 → 1.2.4

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 (44) hide show
  1. package/README.md +6 -4
  2. package/aliascss.config.js +5 -12
  3. package/dist/aliascss.js +1 -1
  4. package/lib/css-properties-all.js +122 -38
  5. package/lib/custom-css-compilers.d.ts +1 -0
  6. package/lib/custom-css-compilers.js +50 -23
  7. package/lib/node/compileFile.js +1 -1
  8. package/lib/prebuild.d.ts +356 -43
  9. package/lib/prebuild.js +398 -54
  10. package/lib/prefix/responsive.js +23 -1
  11. package/lib/returnStatement.js +9 -0
  12. package/lib/static/customStaticClassNames.js +41 -33
  13. package/package.json +1 -1
  14. package/ui-dev/app/index.bk +0 -45
  15. package/ui-dev/app/index.html +0 -41
  16. package/ui-dev/app/index.html.css +0 -313
  17. package/ui-dev/app/index.html.module.css +0 -272
  18. package/ui-dev/button.html +0 -87
  19. package/ui-dev/button.html.css +0 -358
  20. package/ui-dev/button.html.module.css +0 -272
  21. package/ui-dev/card-section-row-container-box-bk.html +0 -154
  22. package/ui-dev/card-section-row-container-box-bk.html.css +0 -321
  23. package/ui-dev/card-section-row-container-box-bk.html.module.css +0 -272
  24. package/ui-dev/card-section-row-container-box.html +0 -150
  25. package/ui-dev/card-section-row-container-box.html.css +0 -346
  26. package/ui-dev/card-section-row-container-box.html.module.css +0 -272
  27. package/ui-dev/index-preview-one.html +0 -72
  28. package/ui-dev/index-preview-one.html.css +0 -293
  29. package/ui-dev/index-preview-one.html.module.css +0 -272
  30. package/ui-dev/index-test.html +0 -79
  31. package/ui-dev/index-test.html.css +0 -300
  32. package/ui-dev/index-test.html.module.css +0 -272
  33. package/ui-dev/index.html +0 -191
  34. package/ui-dev/index.html.css +0 -445
  35. package/ui-dev/index.html.module.css +0 -272
  36. package/ui-dev/nav-red.html +0 -121
  37. package/ui-dev/nav-red.html.css +0 -366
  38. package/ui-dev/nav-red.html.module.css +0 -272
  39. package/ui-dev/navbar-demo.html +0 -121
  40. package/ui-dev/navbar-demo.html.css +0 -368
  41. package/ui-dev/navbar-demo.html.module.css +0 -272
  42. package/ui-dev/tooltip.html +0 -113
  43. package/ui-dev/tooltip.html.css +0 -307
  44. package/ui-dev/tooltip.html.module.css +0 -272
package/README.md CHANGED
@@ -442,6 +442,8 @@ Alpha can be represent by either decimal or percentage value, 'd' should be used
442
442
  |`color--var--name`|`c--var--name`|`color: var(--name)`|
443
443
  |`color--name`|`c--name`|`color: var(--name)`|
444
444
  |`width--side-bar-width`|`w--side-bar-width`| `width: var(--side-bar-width)`||
445
+ |`--side-bar-width:200px`|`--side-bar-width:200px`| `--side-bar-width:200px`|`Defining css variables`|
446
+ |`width--side-bar-width:400px`|`w--side-bar-width:400px`| `width: var(--side-bar-width,400px)`| `with default value`|
445
447
 
446
448
 
447
449
  # NPM Guide
@@ -615,17 +617,17 @@ Now you can do,
615
617
  @package.json
616
618
 
617
619
  ```JSON
618
- ....
620
+
619
621
  "scripts": {
620
- ...
622
+
621
623
  "aliascss-build": "aliascss --config'",
622
624
  "aliascss-watch": "aliascss --config --watch"
623
625
  }
624
- ...
626
+
625
627
 
626
628
  ```
627
629
 
628
- Visit for more..[https:aliascss.com](Offical Documentation site)
630
+ Visit for more..[https:aliascss.com](www.aliascss.com) Offical Documentation site
629
631
 
630
632
 
631
633
 
@@ -117,20 +117,13 @@ const config={
117
117
  }
118
118
  },
119
119
  prebuild:{
120
- 'colorize-dark':'background:#0f0f0f;color:#e3e3e3',
121
- 'x-clip-menu':'clip-path: polygon(0% 10%,100% 10%,100% 20%,0% 20%,0% 45%,100% 45%,100% 55%,0% 55%,0% 80%,100% 80%,100% 90%,0% 90%);',
122
- 'x-clip-message':'clip-path: polygon(0% 0%,100% 0%,100% 80%,60% 80%,50% 100%,40% 80%,0% 80%);',
123
- 'x-clip-star':'clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);',
124
- 'x-clip-close': 'clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%)',
125
- 'x-clip-plus': 'clip-path: polygon(40% 0%,60% 0%,60% 40%,100% 40%,100% 60%,60% 60%,60% 100%,40% 100%,40% 60%,0% 60%,0% 40%,40% 40%);',
126
- 'colorize-light':'background:#e3e3e3;color:rgba(0,0,0,0.8)',
127
- 'flex-center':'display:flex;align-items:center;justify-content:center',
128
- 'absolute-center':'position:absolute;top:0;right:0;left:0;bottom:0:margin:auto',
129
- 'sr-only':'position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0',
120
+ //'colorize-dark':'background:#0f0f0f;color:#e3e3e3',
121
+ //'x-clip-menu':'clip-path: polygon(0% 10%,100% 10%,100% 20%,0% 20%,0% 45%,100% 45%,100% 55%,0% 55%,0% 80%,100% 80%,100% 90%,0% 90%);',
122
+
130
123
  },
131
124
  group:{
132
- ...prebuild,
133
- 'x-card':"w-256px h-120px [class~=shadow]-bxs-0px-12px-24px-rgba-43-43-67-0d16 bgc-fff b-1px-s-gray-lightest br-16px --hover-bgc-primary-lightest --hover-b-1px-s-primary-hover --active[b-1px-s-primary,bgc-primary-light]",
125
+ //...prebuild,
126
+ //'x-card':"w-256px h-120px [class~=shadow]-bxs-0px-12px-24px-rgba-43-43-67-0d16 bgc-fff b-1px-s-gray-lightest br-16px --hover-bgc-primary-lightest --hover-b-1px-s-primary-hover --active[b-1px-s-primary,bgc-primary-light]",
134
127
  'x-responsive':'xs-w-100p sm-w-540px md-w-720px lg-w-960px xl-w-1140px xxl-w-1320px',
135
128
  'x-responsive-sm':'xs-w-100p sm-w-540px md-w-720px lg-w-960px xl-w-1140px xxl-w-1320px',
136
129
  'x-responsive-md':'xs-w-100p sm-w-100p md-w-720px lg-w-960px xl-w-1140px xxl-w-1320px',