@cosxai/ui 0.2.8 → 0.2.10

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": "@cosxai/ui",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "COSX design system — React 19 component primitives shared across product-meta and other consumers",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -4,6 +4,19 @@
4
4
  this file being loaded, but consumers should import it to get
5
5
  the cross-fade theme transitions and reduced-motion handling. */
6
6
 
7
+ /* Inheritance-friendly box-sizing — modern reset best practice.
8
+ Without it, `min-height: 100vh` + padding silently extends the
9
+ element BEYOND the viewport (default `content-box` makes padding
10
+ stack ON TOP of the declared min-height), introducing a sneaky
11
+ scroll on any consumer page that combines those two properties.
12
+ Every modern reset (Eric Meyer 2014, Tailwind preflight,
13
+ Bootstrap, modern-normalize) ships this — @cosxai/ui matches. */
14
+ *,
15
+ *::before,
16
+ *::after {
17
+ box-sizing: border-box;
18
+ }
19
+
7
20
  html,
8
21
  body {
9
22
  background: var(--ck-bg-canvas);
@@ -33,6 +33,7 @@
33
33
  color: var(--ck-text-primary);
34
34
  cursor: pointer;
35
35
  white-space: nowrap;
36
+ text-decoration: none;
36
37
  transition: background var(--ck-dur-fast) var(--ck-ease), border-color var(--ck-dur-fast) var(--ck-ease);
37
38
  }
38
39