@enigmatry/scss-foundation 1.2.49 → 1.2.50

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.
package/README.md CHANGED
@@ -14,11 +14,12 @@ Utilities are nothing more than just sass mixins that won't be included in your
14
14
 
15
15
  ## What's included
16
16
 
17
- - [Flexible Grid System](../docs/grid.md)
18
- - [Encapsulated logic regarding Breakpoints / Media queries](../docs/breakpoints.md)
19
- - [(Flex) Alignment utilities](../docs/alignment.md)
20
- - [Absolute Positioning utilities](../docs/absolute-positioning.md)
21
- - [Text Modification utilities](../docs/text-modification.md)
17
+ - [Flexible Grid System](../scss-foundation/docs/grid.md)
18
+ - [Encapsulated logic regarding Breakpoints / Media queries](../scss-foundation/docs/breakpoints.md)
19
+ - [(Flex) Alignment utilities](../scss-foundation/docs/alignment.md)
20
+ - [Absolute Positioning utilities](../scss-foundation/docs/absolute-positioning.md)
21
+ - [Fixed Positioning utilities](../scss-foundation/docs/fixed-positioning.md)
22
+ - [Text Modification utilities](../scss-foundation/docs/text-modification.md)
22
23
 
23
24
  ## License
24
25
 
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1684755847893" clover="3.2.0">
3
- <project timestamp="1684755847893" name="All files">
2
+ <coverage generated="1684818620508" clover="3.2.0">
3
+ <project timestamp="1684818620508" name="All files">
4
4
  <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0" elements="0" coveredelements="0" complexity="0" loc="0" ncloc="0" packages="0" files="0" classes="0"/>
5
5
  </project>
6
6
  </coverage>
@@ -86,7 +86,7 @@
86
86
  <div class='footer quiet pad2 space-top1 center small'>
87
87
  Code coverage generated by
88
88
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
89
- at 2023-05-22T11:44:07.890Z
89
+ at 2023-05-23T05:10:20.505Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -1 +1 @@
1
- .first-letter-capitalized{display:inline-block}.first-letter-capitalized::first-letter{text-transform:capitalize}.capitalized{text-transform:uppercase}/*# sourceMappingURL=scss-foundation.css.map */
1
+ .first-letter-capitalized{display:inline-block}.first-letter-capitalized::first-letter{text-transform:capitalize}.capitalized{text-transform:uppercase}.clickable{cursor:pointer}.draggable{cursor:grab}.forbidden{cursor:not-allowed}.hidden{display:none}.no-resize{resize:none}/*# sourceMappingURL=scss-foundation.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../src/partials/core/fonts/_text-control.scss"],"names":[],"mappings":"AAAA,0BACC,qBAEA,wCACC,0BAIF,aACC","file":"scss-foundation.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../src/partials/core/fonts/_text-control.scss","../src/partials/core/states/_cursors.scss","../src/partials/core/states/_visibility.scss","../src/partials/core/states/_resize.scss"],"names":[],"mappings":"AAAA,0BACC,qBAEA,wCACC,0BAIF,aACC,yBCTD,WACC,eAGD,WACC,YAGD,WACC,mBCTD,QACC,aCDD,WACC","file":"scss-foundation.css"}
@@ -0,0 +1,26 @@
1
+ # Fixed positioning methods
2
+
3
+ Alignment utilities for fixed positioning of content.
4
+
5
+ ## Fixed
6
+
7
+ @use scss-foundation/src/position/fixed;
8
+
9
+ - Replaces the several most common lines in fixed positioning with just one liner.
10
+ ```
11
+ @include fixed.position($top, $right, $bottom, $left);
12
+ ```
13
+ All arguments are optional and default to 0. Sets following properties:
14
+ ```
15
+ position: fixed;
16
+ top: $top;
17
+ right: $right;
18
+ bottom: $bottom;
19
+ left: $left;
20
+ ```
21
+
22
+ - Replaces the several most common lines in fixed positioning for unset values with just one liner.
23
+ ```
24
+ @include fixed.position-unset($top, $right, $bottom, $left);
25
+ ```
26
+ All arguments are optional and default to unset. Sets the same properties as in previous method.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enigmatry/scss-foundation",
3
- "version": "1.2.49",
3
+ "version": "1.2.50",
4
4
  "author": "Enigmatry",
5
5
  "description": "Collection of SCSS utilities useful for the most of projects.",
6
6
  "homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/projects/scss-foundation#readme",
@@ -1 +1,2 @@
1
- @use 'fonts';
1
+ @use 'fonts';
2
+ @use 'states';
@@ -0,0 +1,11 @@
1
+ .clickable {
2
+ cursor: pointer;
3
+ }
4
+
5
+ .draggable {
6
+ cursor: grab;
7
+ }
8
+
9
+ .forbidden {
10
+ cursor: not-allowed;
11
+ }
@@ -0,0 +1,3 @@
1
+ @use 'cursors';
2
+ @use 'visibility';
3
+ @use 'resize';
@@ -0,0 +1,3 @@
1
+ .no-resize {
2
+ resize: none;
3
+ }
@@ -0,0 +1,3 @@
1
+ .hidden {
2
+ display: none;
3
+ }