@oardi/css-utils 0.105.0 → 0.106.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oardi/css-utils",
3
- "version": "0.105.0",
3
+ "version": "0.106.0",
4
4
  "author": "Ardian Shala",
5
5
  "homepage": "https://css-utils.oardi.com",
6
6
  "description": "Powerful set of semantic css classes with support for breakpoints, directions and spacings",
package/readme.md CHANGED
@@ -68,6 +68,8 @@ Responsive utilities are mobile-first. Classes without a breakpoint apply at eve
68
68
  </div>
69
69
  ```
70
70
 
71
+ Display utilities intentionally override the grid container at their active breakpoint. For example, `class="grid d-lg-block"` uses the grid below `lg` and switches to block layout from `lg` upward.
72
+
71
73
  ## Browser support
72
74
 
73
75
  The minimum supported versions for the compiled library CSS are:
package/scss/display.scss CHANGED
@@ -11,7 +11,7 @@ $-display-values: (
11
11
  inline-flex: inline-flex,
12
12
  );
13
13
 
14
- @layer utilities {
14
+ @layer utilities.display {
15
15
  @each $name, $value in $-display-values {
16
16
  .d-#{$name} {
17
17
  display: $value;
package/scss/grid.scss CHANGED
@@ -1,6 +1,6 @@
1
1
  @use './layers.scss';
2
2
 
3
- @layer utilities {
3
+ @layer utilities.grid {
4
4
  .grid {
5
5
  --grid-gap: var(--spacer-3);
6
6
 
package/scss/layers.scss CHANGED
@@ -1 +1,2 @@
1
1
  @layer reset, base, components, utilities;
2
+ @layer utilities.grid, utilities.display;