@oardi/css-utils 0.131.0 → 0.131.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@oardi/css-utils",
3
- "version": "0.131.0",
3
+ "version": "0.131.1",
4
4
  "breakpoints": { "sm": "576px", "md": "768px", "lg": "992px", "xl": "1200px", "xxl": "1400px" },
5
5
  "lifecycle": {
6
6
  "deprecated": [
@@ -3,7 +3,7 @@
3
3
  > Generated automatically. Do not edit manually.
4
4
 
5
5
  - Package: `@oardi/css-utils`
6
- - Version: `0.131.0`
6
+ - Version: `0.131.1`
7
7
  - Source: public SCSS entry point and utility configuration
8
8
 
9
9
  ## Usage guidance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oardi/css-utils",
3
- "version": "0.131.0",
3
+ "version": "0.131.1",
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",
@@ -1,4 +1,5 @@
1
1
  @use '../layers.scss';
2
+ @use '../mixins/action-surface' as action-surface;
2
3
 
3
4
  @layer components {
4
5
  .card {
@@ -35,6 +36,14 @@
35
36
  color: inherit;
36
37
  text-decoration: none;
37
38
 
39
+ &:is(a, button) {
40
+ @include action-surface.native-action-surface;
41
+
42
+ display: block;
43
+ background-color: var(--card-bg-color);
44
+ border: var(--card-border-width) solid var(--card-border-color);
45
+ }
46
+
38
47
  &:hover {
39
48
  --bg-opacity-backdrop: var(--card-bg-hover-color);
40
49
 
@@ -1,4 +1,5 @@
1
1
  @use '../layers.scss';
2
+ @use '../mixins/action-surface' as action-surface;
2
3
 
3
4
  @layer components {
4
5
  .list {
@@ -49,6 +50,12 @@
49
50
  cursor: pointer;
50
51
  text-decoration: none;
51
52
 
53
+ &:is(a, button) {
54
+ @include action-surface.native-action-surface;
55
+
56
+ padding: var(--list-item-padding-y) var(--list-item-padding-x);
57
+ }
58
+
52
59
  &:hover {
53
60
  color: var(--list-item-hover-color);
54
61
  }
@@ -0,0 +1,10 @@
1
+ @mixin native-action-surface {
2
+ -webkit-appearance: none;
3
+ appearance: none;
4
+ border: 0;
5
+ font: inherit;
6
+ line-height: inherit;
7
+ margin: 0;
8
+ padding: 0;
9
+ text-align: inherit;
10
+ }
@@ -345,7 +345,7 @@ $-background-opacity-selectors: ();
345
345
  top: 0;
346
346
  right: 0;
347
347
  left: 0;
348
- z-index: 1030;
348
+ z-index: var(--z-index-header);
349
349
  }
350
350
 
351
351
  .overflow-y-scroll {