@oardi/css-utils 0.31.5 → 0.31.6

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.31.5",
3
+ "version": "0.31.6",
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",
@@ -2,6 +2,7 @@
2
2
  @use '../theme.scss';
3
3
 
4
4
  .chip-base {
5
+ --chip-label-font-size: 0.9rem;
5
6
  --chip-label-padding: 0 7px;
6
7
  --chip-border-radius: 16px;
7
8
  --chip-border-width: var(--border-width);
@@ -13,6 +14,7 @@
13
14
  background-color: transparent;
14
15
  border-color: transparent;
15
16
  color: var(--font-color);
17
+ font-size: var(--chip-label-font-size);
16
18
  transition: var(--transition-color);
17
19
  -webkit-tap-highlight-color: transparent;
18
20
  touch-action: manipulation; // ios fix
@@ -13,7 +13,7 @@
13
13
  padding: var(--list-item-padding);
14
14
  display: flex;
15
15
  align-items: start;
16
- flex-direction: column;
16
+ gap: var(--spacer-2);
17
17
 
18
18
  &.is-active,
19
19
  &.has-hover:hover {
@@ -23,6 +23,12 @@
23
23
  text-decoration: none;
24
24
  }
25
25
 
26
+ .list-item-text {
27
+ flex: 1;
28
+ display: flex;
29
+ flex-direction: column;
30
+ }
31
+
26
32
  a {
27
33
  color: inherit;
28
34
  }
@@ -84,5 +84,7 @@ a {
84
84
  }
85
85
 
86
86
  p {
87
- margin-bottom: 1rem;
87
+ --paragraph-margin: 0 0 0.5rem 0;
88
+
89
+ margin: var(--paragraph-margin);
88
90
  }
@@ -228,6 +228,10 @@ bg-light(top)?
228
228
  display: inline-block !important;
229
229
  }
230
230
 
231
+ .hidden {
232
+ visibility: hidden !important;
233
+ }
234
+
231
235
  @each $bp, $bp-value in map.get(theme.$theme, breakpoints) {
232
236
  @media (min-width: #{$bp-value}) {
233
237
  .d-#{$bp}-none {