@bigbinary/neeto-atoms 1.0.1 → 1.0.3

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.
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const typographyVariants: (props?: ({
4
+ variant?: "caption" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "jumbo" | "body1" | "body2" | "body3" | "nano" | null | undefined;
5
+ weight?: "bold" | "light" | "black" | "normal" | "medium" | "thin" | "extralight" | "semibold" | "extrabold" | null | undefined;
6
+ color?: "inherit" | "default" | "destructive" | "muted" | "primary" | null | undefined;
7
+ lineClamp?: 1 | "none" | 2 | 3 | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ declare const Typography: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLParagraphElement> & React.HTMLAttributes<HTMLParagraphElement> & VariantProps<(props?: ({
10
+ variant?: "caption" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "jumbo" | "body1" | "body2" | "body3" | "nano" | null | undefined;
11
+ weight?: "bold" | "light" | "black" | "normal" | "medium" | "thin" | "extralight" | "semibold" | "extrabold" | null | undefined;
12
+ color?: "inherit" | "default" | "destructive" | "muted" | "primary" | null | undefined;
13
+ lineClamp?: 1 | "none" | 2 | 3 | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
15
+ asChild?: boolean;
16
+ }, "ref"> & React.RefAttributes<HTMLElement>>;
17
+ export { Typography, typographyVariants };
package/dist/theme.css ADDED
@@ -0,0 +1,132 @@
1
+ @custom-variant dark (&:is(.dark *));
2
+
3
+ @theme inline {
4
+ --radius-sm: calc(var(--radius) - 4px);
5
+ --radius-md: calc(var(--radius) - 2px);
6
+ --radius-lg: var(--radius);
7
+ --radius-xl: calc(var(--radius) + 4px);
8
+ --color-background: var(--background);
9
+ --color-foreground: var(--foreground);
10
+ --color-card: var(--card);
11
+ --color-card-foreground: var(--card-foreground);
12
+ --color-popover: var(--popover);
13
+ --color-popover-foreground: var(--popover-foreground);
14
+ --color-primary: var(--primary);
15
+ --color-primary-foreground: var(--primary-foreground);
16
+ --color-secondary: var(--secondary);
17
+ --color-secondary-foreground: var(--secondary-foreground);
18
+ --color-muted: var(--muted);
19
+ --color-muted-foreground: var(--muted-foreground);
20
+ --color-accent: var(--accent);
21
+ --color-accent-foreground: var(--accent-foreground);
22
+ --color-destructive: var(--destructive);
23
+ --color-destructive-foreground: var(--destructive-foreground);
24
+ --color-border: var(--border);
25
+ --color-input: var(--input);
26
+ --color-ring: var(--ring);
27
+ --color-chart-1: var(--chart-1);
28
+ --color-chart-2: var(--chart-2);
29
+ --color-chart-3: var(--chart-3);
30
+ --color-chart-4: var(--chart-4);
31
+ --color-chart-5: var(--chart-5);
32
+ --color-sidebar: var(--sidebar);
33
+ --color-sidebar-foreground: var(--sidebar-foreground);
34
+ --color-sidebar-primary: var(--sidebar-primary);
35
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
36
+ --color-sidebar-accent: var(--sidebar-accent);
37
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
38
+ --color-sidebar-border: var(--sidebar-border);
39
+ --color-sidebar-ring: var(--sidebar-ring);
40
+ --animate-accordion-down: accordion-down 0.2s ease-out;
41
+ --animate-accordion-up: accordion-up 0.2s ease-out;
42
+
43
+ @keyframes accordion-down {
44
+ from { height: 0; }
45
+ to { height: var(--radix-accordion-content-height); }
46
+ }
47
+
48
+ @keyframes accordion-up {
49
+ from { height: var(--radix-accordion-content-height); }
50
+ to { height: 0; }
51
+ }
52
+ }
53
+
54
+ :root {
55
+ --radius: 0.625rem;
56
+ --background: oklch(1 0 0);
57
+ --foreground: oklch(0.145 0 0);
58
+ --card: oklch(1 0 0);
59
+ --card-foreground: oklch(0.145 0 0);
60
+ --popover: oklch(1 0 0);
61
+ --popover-foreground: oklch(0.145 0 0);
62
+ --primary: oklch(0.205 0 0);
63
+ --primary-foreground: oklch(0.985 0 0);
64
+ --secondary: oklch(0.97 0 0);
65
+ --secondary-foreground: oklch(0.205 0 0);
66
+ --muted: oklch(0.97 0 0);
67
+ --muted-foreground: oklch(0.556 0 0);
68
+ --accent: oklch(0.97 0 0);
69
+ --accent-foreground: oklch(0.205 0 0);
70
+ --destructive: oklch(0.577 0.245 27.325);
71
+ --destructive-foreground: oklch(0.985 0 0);
72
+ --border: oklch(0.922 0 0);
73
+ --input: oklch(0.922 0 0);
74
+ --ring: oklch(0.708 0 0);
75
+ --chart-1: oklch(0.809 0.105 251.813);
76
+ --chart-2: oklch(0.623 0.214 259.815);
77
+ --chart-3: oklch(0.546 0.245 262.881);
78
+ --chart-4: oklch(0.488 0.243 264.376);
79
+ --chart-5: oklch(0.424 0.199 265.638);
80
+ --sidebar: oklch(0.985 0 0);
81
+ --sidebar-foreground: oklch(0.145 0 0);
82
+ --sidebar-primary: oklch(0.205 0 0);
83
+ --sidebar-primary-foreground: oklch(0.985 0 0);
84
+ --sidebar-accent: oklch(0.97 0 0);
85
+ --sidebar-accent-foreground: oklch(0.205 0 0);
86
+ --sidebar-border: oklch(0.922 0 0);
87
+ --sidebar-ring: oklch(0.708 0 0);
88
+ }
89
+
90
+ .dark {
91
+ --background: oklch(0.145 0 0);
92
+ --foreground: oklch(0.985 0 0);
93
+ --card: oklch(0.205 0 0);
94
+ --card-foreground: oklch(0.985 0 0);
95
+ --popover: oklch(0.205 0 0);
96
+ --popover-foreground: oklch(0.985 0 0);
97
+ --primary: oklch(0.922 0 0);
98
+ --primary-foreground: oklch(0.205 0 0);
99
+ --secondary: oklch(0.269 0 0);
100
+ --secondary-foreground: oklch(0.985 0 0);
101
+ --muted: oklch(0.269 0 0);
102
+ --muted-foreground: oklch(0.708 0 0);
103
+ --accent: oklch(0.269 0 0);
104
+ --accent-foreground: oklch(0.985 0 0);
105
+ --destructive: oklch(0.704 0.191 22.216);
106
+ --destructive-foreground: oklch(0.985 0 0);
107
+ --border: oklch(1 0 0 / 10%);
108
+ --input: oklch(1 0 0 / 15%);
109
+ --ring: oklch(0.556 0 0);
110
+ --chart-1: oklch(0.809 0.105 251.813);
111
+ --chart-2: oklch(0.623 0.214 259.815);
112
+ --chart-3: oklch(0.546 0.245 262.881);
113
+ --chart-4: oklch(0.488 0.243 264.376);
114
+ --chart-5: oklch(0.424 0.199 265.638);
115
+ --sidebar: oklch(0.205 0 0);
116
+ --sidebar-foreground: oklch(0.985 0 0);
117
+ --sidebar-primary: oklch(0.488 0.243 264.376);
118
+ --sidebar-primary-foreground: oklch(0.985 0 0);
119
+ --sidebar-accent: oklch(0.269 0 0);
120
+ --sidebar-accent-foreground: oklch(0.985 0 0);
121
+ --sidebar-border: oklch(1 0 0 / 10%);
122
+ --sidebar-ring: oklch(0.556 0 0);
123
+ }
124
+
125
+ @layer base {
126
+ * {
127
+ @apply border-border outline-ring/50;
128
+ }
129
+ body {
130
+ @apply bg-background text-foreground antialiased;
131
+ }
132
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-atoms",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "author": "BigBinary",
5
5
  "license": "MIT",
6
6
  "packageManager": "yarn@4.9.2",
@@ -17,7 +17,8 @@
17
17
  "import": "./dist/index.js",
18
18
  "require": "./dist/cjs/index.js"
19
19
  },
20
- "./dist/index.css": "./dist/index.css"
20
+ "./dist/index.css": "./dist/index.css",
21
+ "./dist/theme.css": "./dist/theme.css"
21
22
  },
22
23
  "sideEffects": [
23
24
  "**/*.css"