@thesage/ui 0.0.9 → 0.0.11

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/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # Sage UI
2
+
3
+ **The Solopreneur's Development Stack.**
4
+
5
+ `@thesage/ui` is the core component library for the Sage ecosystem. It provides a comprehensive set of accessible, reusable, and composable UI components built on top of Radix UI and Tailwind CSS.
6
+
7
+ ## Features
8
+
9
+ - 🎨 **Systematic Design**: Built on a robust token system for consistent implementation.
10
+ - ♿ **Accessible**: rigorous adherence to WAI-ARIA standards (via Radix UI).
11
+ - 🌓 **Dark Mode**: First-class support for light and dark themes.
12
+ - 🧩 **Composable**: components are designed to be composed together to build complex interfaces.
13
+ - 🚀 **Performance**: Exported as tree-shakeable ESM modules.
14
+
15
+ ## Installation
16
+
17
+ ```bash
18
+ npm install @thesage/ui
19
+ # or
20
+ pnpm add @thesage/ui
21
+ # or
22
+ yarn add @thesage/ui
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ```tsx
28
+ import { Button } from '@thesage/ui';
29
+
30
+ export default function MyComponent() {
31
+ return (
32
+ <Button variant="primary" onClick={() => console.log('Clicked!')}>
33
+ Hello World
34
+ </Button>
35
+ );
36
+ }
37
+ ```
38
+
39
+ ## Documentation
40
+
41
+ For full documentation, component examples, and guides, visit **[thesage.dev](https://thesage.dev)**.
42
+
43
+ ## License
44
+
45
+ MIT © [Shalom Ormsby](https://github.com/shalomormsby)
@@ -39,7 +39,7 @@ declare const fontFamilies: {
39
39
  readonly mono: "Code blocks, technical content";
40
40
  };
41
41
  };
42
- readonly sage: {
42
+ readonly terra: {
43
43
  readonly heading: "Lora";
44
44
  readonly body: "Instrument Sans";
45
45
  readonly serif: "Lora";
@@ -91,7 +91,7 @@ declare const fontLoadingConfig: {
91
91
  readonly weights: readonly ["400", "500", "600", "700"];
92
92
  };
93
93
  };
94
- readonly sage: {
94
+ readonly terra: {
95
95
  readonly heading: {
96
96
  readonly family: "Lora";
97
97
  readonly weights: readonly ["400", "500", "600", "700"];
@@ -449,7 +449,7 @@ declare const typographySystem: {
449
449
  readonly mono: "Code blocks, technical content";
450
450
  };
451
451
  };
452
- readonly sage: {
452
+ readonly terra: {
453
453
  readonly heading: "Lora";
454
454
  readonly body: "Instrument Sans";
455
455
  readonly serif: "Lora";
@@ -39,7 +39,7 @@ declare const fontFamilies: {
39
39
  readonly mono: "Code blocks, technical content";
40
40
  };
41
41
  };
42
- readonly sage: {
42
+ readonly terra: {
43
43
  readonly heading: "Lora";
44
44
  readonly body: "Instrument Sans";
45
45
  readonly serif: "Lora";
@@ -91,7 +91,7 @@ declare const fontLoadingConfig: {
91
91
  readonly weights: readonly ["400", "500", "600", "700"];
92
92
  };
93
93
  };
94
- readonly sage: {
94
+ readonly terra: {
95
95
  readonly heading: {
96
96
  readonly family: "Lora";
97
97
  readonly weights: readonly ["400", "500", "600", "700"];
@@ -449,7 +449,7 @@ declare const typographySystem: {
449
449
  readonly mono: "Code blocks, technical content";
450
450
  };
451
451
  };
452
- readonly sage: {
452
+ readonly terra: {
453
453
  readonly heading: "Lora";
454
454
  readonly body: "Instrument Sans";
455
455
  readonly serif: "Lora";
@@ -1,4 +1,4 @@
1
- import { T as ThemeName, C as ColorMode } from './index-CsnncHSm.mjs';
1
+ import { T as ThemeName, C as ColorMode } from './index-L8R3gyuQ.mjs';
2
2
  import { F as FieldValidation, a as FormErrors } from './validation-Bj1ye-v_.mjs';
3
3
 
4
4
  interface ThemeHook {
@@ -1,4 +1,4 @@
1
- import { T as ThemeName, C as ColorMode } from './index-CsnncHSm.js';
1
+ import { T as ThemeName, C as ColorMode } from './index-L8R3gyuQ.js';
2
2
  import { F as FieldValidation, a as FormErrors } from './validation-Bj1ye-v_.js';
3
3
 
4
4
  interface ThemeHook {
package/dist/hooks.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- export { M as MotionPreference, T as ThemeHook, U as UseFormOptions, b as UseFormReturn, c as useForm, a as useMotionPreference, u as useTheme } from './hooks-C8PrmIXy.mjs';
2
- import './index-CsnncHSm.mjs';
1
+ export { M as MotionPreference, T as ThemeHook, U as UseFormOptions, b as UseFormReturn, c as useForm, a as useMotionPreference, u as useTheme } from './hooks-CobTQpCg.mjs';
2
+ import './index-L8R3gyuQ.mjs';
3
3
  import './validation-Bj1ye-v_.mjs';
package/dist/hooks.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { M as MotionPreference, T as ThemeHook, U as UseFormOptions, b as UseFormReturn, c as useForm, a as useMotionPreference, u as useTheme } from './hooks-Ct9RBhg-.js';
2
- import './index-CsnncHSm.js';
1
+ export { M as MotionPreference, T as ThemeHook, U as UseFormOptions, b as UseFormReturn, c as useForm, a as useMotionPreference, u as useTheme } from './hooks-DHPlUx3T.js';
2
+ import './index-L8R3gyuQ.js';
3
3
  import './validation-Bj1ye-v_.js';