@bbki.ng/ui 0.1.11 → 0.1.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @bbki.ng/ui
2
2
 
3
+ ## 0.1.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 22ba590: fix grid layout
8
+
3
9
  ## 0.1.11
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/ui",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Design system component library for bbki.ng",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -53,14 +53,14 @@ export const Grid: React.FC<GridProps> = ({
53
53
  <div
54
54
  className={twMerge(
55
55
  'grid w-full h-full',
56
- 'grid-cols-1 md:grid-cols-3',
56
+ 'grid-cols-1 xl:grid-cols-3',
57
57
  gapMap[gap],
58
58
  className
59
59
  )}
60
60
  >
61
- {leftAside && <div className="hidden lg:block h-full overflow-auto">{leftAside}</div>}
61
+ {leftAside && <div className="hidden xl:block h-full overflow-auto">{leftAside}</div>}
62
62
  <div className="h-full overflow-auto px-4">{children}</div>
63
- {rightAside && <div className="hidden lg:block h-full overflow-auto">{rightAside}</div>}
63
+ {rightAside && <div className="hidden xl:block h-full overflow-auto">{rightAside}</div>}
64
64
  </div>
65
65
  );
66
66
  }
package/src/styles.css CHANGED
@@ -78,6 +78,10 @@
78
78
  color: var(--color-foreground);
79
79
  font-family: var(--font-sans);
80
80
  }
81
+
82
+ *::selection {
83
+ background-color: var(--color-muted);
84
+ }
81
85
  }
82
86
 
83
87
  /* Custom animations */