@nubitio/ui 0.8.1 → 0.9.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.
Files changed (2) hide show
  1. package/dist/style.css +21 -1
  2. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -1970,7 +1970,7 @@ html[data-density=compact] .nb-context-menu__item {
1970
1970
  border: none;
1971
1971
  border-radius: 0;
1972
1972
  border-right: 1px solid var(--border-subtle, var(--border-color));
1973
- background: transparent;
1973
+ background: color-mix(in srgb, var(--surface-1) 60%, transparent);
1974
1974
  padding: var(--space-4, 1rem) var(--space-4, 1.1rem);
1975
1975
  }
1976
1976
  .nb-kpi-metric-row--strip .nb-kpi-metric-card:last-child {
@@ -2082,6 +2082,23 @@ html[data-density=compact] .nb-context-menu__item {
2082
2082
  gap: 0.5rem;
2083
2083
  padding: 0.45rem 0.7rem;
2084
2084
  }
2085
+ @media (max-width: 480px) {
2086
+ .nb-kpi-metric-row--compact.nb-kpi-metric-row--strip {
2087
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2088
+ }
2089
+ }
2090
+ @media (max-width: 480px) {
2091
+ .nb-kpi-metric-row--compact.nb-kpi-metric-row--strip .nb-kpi-metric-card {
2092
+ border-right: 1px solid var(--border-subtle, var(--border-color));
2093
+ border-bottom: none;
2094
+ }
2095
+ .nb-kpi-metric-row--compact.nb-kpi-metric-row--strip .nb-kpi-metric-card:nth-child(2n) {
2096
+ border-right: none;
2097
+ }
2098
+ .nb-kpi-metric-row--compact.nb-kpi-metric-row--strip .nb-kpi-metric-card:nth-child(-n+2) {
2099
+ border-bottom: 1px solid var(--border-subtle, var(--border-color));
2100
+ }
2101
+ }
2085
2102
  .nb-kpi-metric-row--compact .nb-kpi-metric-card__icon {
2086
2103
  width: 1.65rem;
2087
2104
  height: 1.65rem;
@@ -2197,6 +2214,7 @@ html[data-density=compact] .nb-context-menu__item {
2197
2214
 
2198
2215
  .nb-filter-panel__search {
2199
2216
  flex: 1;
2217
+ min-width: 140px;
2200
2218
  max-width: 220px;
2201
2219
  }
2202
2220
 
@@ -2205,6 +2223,8 @@ html[data-density=compact] .nb-context-menu__item {
2205
2223
  margin: 0 -0.25rem;
2206
2224
  padding: 0.15rem 0.25rem 0.25rem;
2207
2225
  scrollbar-width: thin;
2226
+ -webkit-mask-image: linear-gradient(to right, black calc(100% - 20px), transparent 100%);
2227
+ mask-image: linear-gradient(to right, black calc(100% - 20px), transparent 100%);
2208
2228
  }
2209
2229
  .nb-filter-panel__scroll::-webkit-scrollbar {
2210
2230
  height: 4px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/ui",
3
- "version": "0.8.1",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "description": "Visual primitives and theme system for the Nubit admin stack (dialogs, cards, toolbar, light/dark theme).",
6
6
  "license": "MIT",