@rootnative/core 0.0.0-alpha.22 → 0.0.0-alpha.24

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,4 +1,4 @@
1
- import { T as Theme } from '../types-NiRbh4dM.mjs';
1
+ import { T as Theme } from '../types-CEs6uwKu.mjs';
2
2
 
3
3
  /**
4
4
  * MD3 scheme variant. Each is a spec-defined recipe for deriving the palette
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as Theme, a as TopAppBarTokens, B as BaseTheme, M as Motion, S as Shape } from './types-NiRbh4dM.mjs';
2
- export { C as Colors, E as Elevation, b as ElevationLevel, F as FontWeight, c as MaterialTheme, d as MotionSpring, e as ShadowOffset, f as Spacing, g as StateLayer, h as Typography, i as TypographyToken } from './types-NiRbh4dM.mjs';
1
+ import { T as Theme, a as TopAppBarTokens, B as BaseTheme, M as Motion, S as Shape } from './types-CEs6uwKu.mjs';
2
+ export { C as Colors, E as Elevation, b as ElevationLevel, F as FontWeight, c as MaterialTheme, d as MotionSpring, e as ShadowOffset, f as Spacing, g as StateLayer, h as Typography, i as TypographyToken } from './types-CEs6uwKu.mjs';
3
3
  import { TransitionConfig, NamedTransitions } from '@rootnative/inertia';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import * as React from 'react';
@@ -136,7 +136,7 @@ interface TypographyToken {
136
136
  lineHeight: number;
137
137
  letterSpacing: number;
138
138
  }
139
- /** Corner radius tokens from none (0) to full (9999 for pill shapes). */
139
+ /** Corner radius tokens from none (0) to full (999 for pill shapes). */
140
140
  interface Shape {
141
141
  /** Global multiplier for corner radii. `0` = sharp, `1` = default MD3, `2` = double rounding. Does not affect `cornerNone` or `cornerFull`. */
142
142
  roundness: number;
package/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # @rootnative/core — Theme System for React Native
2
2
 
3
- > Version: 0.0.0-alpha.22
3
+ > Version: 0.0.0-alpha.24
4
4
  > Peer deps: react >=19.2.3 <20.0.0, react-native >=0.83.0 <0.87.0, @rootnative/inertia >=0.0.17 <0.1.0 (required — every animation runs on it)
5
5
  > createMaterialTheme needs no extra install — its color engine (@material/material-color-utilities) is bundled behind the create-theme subpath
6
6
 
@@ -146,7 +146,7 @@ const myTheme = defineTheme<MyTheme>({
146
146
  heading: { fontFamily: 'Inter', fontSize: 24, fontWeight: '700', lineHeight: 32, letterSpacing: 0 },
147
147
  body: { fontFamily: 'Inter', fontSize: 16, fontWeight: '400', lineHeight: 24, letterSpacing: 0.5 },
148
148
  },
149
- shape: { roundness: 1, cornerNone: 0, cornerExtraSmall: 4, cornerSmall: 8, cornerMedium: 12, cornerLarge: 16, cornerExtraLarge: 28, cornerFull: 9999 },
149
+ shape: { roundness: 1, cornerNone: 0, cornerExtraSmall: 4, cornerSmall: 8, cornerMedium: 12, cornerLarge: 16, cornerExtraLarge: 28, cornerFull: 999 },
150
150
  spacing: { xs: 4, sm: 8, md: 16, lg: 24, xl: 32 },
151
151
  stateLayer: { pressedOpacity: 0.1, focusedOpacity: 0.1, hoveredOpacity: 0.08, draggedOpacity: 0.16, disabledOpacity: 0.38, disabledContainerOpacity: 0.12 },
152
152
  elevation: { ... },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rootnative/core",
3
- "version": "0.0.0-alpha.22",
3
+ "version": "0.0.0-alpha.24",
4
4
  "description": "Design-system agnostic theme engine for RootNative UI — a React Native component library. Ships with Material Design 3 out of the box.",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -61,7 +61,7 @@
61
61
  "@material/material-color-utilities": "^0.4.0",
62
62
  "@react-native/babel-preset": "^0.86.3",
63
63
  "@react-native/jest-preset": "^0.86.3",
64
- "@rootnative/inertia": "0.0.17",
64
+ "@rootnative/inertia": "0.0.18",
65
65
  "@testing-library/react-native": "^13.3.3",
66
66
  "@types/jest": "^29.5.14",
67
67
  "@types/react": "^19.0.0",