@minutemailer/kit 1.1.4 → 1.1.6

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,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { cn } from '../../utils/utils.js';
3
3
  function Input({ className, type, ...props }) {
4
- return (_jsx("input", { type: type, "data-slot": "input", className: cn('file:text-foreground placeholder:text-muted-foreground/70 selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-11 w-full min-w-0 rounded-md border bg-transparent px-4 py-2 text-base shadow-xs transition-all outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm hover:border-muted-foreground/30 hover:bg-muted/30', 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]', 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive', className), ...props }));
4
+ return (_jsx("input", { type: type, "data-slot": "input", className: cn('file:text-foreground placeholder:text-muted-foreground/70 selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-11 w-full min-w-0 rounded-md border bg-muted px-4 py-2 text-base shadow-xs transition-all outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm hover:border-muted-foreground/30 hover:bg-muted/30', 'focus-visible:border-secondary focus-visible:ring-secondary/50 focus-visible:ring-[3px]', 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive', className), ...props }));
5
5
  }
6
6
  export { Input };
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ComponentProps, ReactNode } from 'react';
2
2
  export declare function TypographyH1({ children, className, ...props }: {
3
3
  children?: ReactNode;
4
4
  className?: string;
@@ -24,3 +24,7 @@ export declare function TypographySmall({ children, className, }: {
24
24
  children: ReactNode;
25
25
  className?: string;
26
26
  }): import("react/jsx-runtime").JSX.Element;
27
+ export declare function TypographyLink({ children, className, ...props }: {
28
+ children: ReactNode;
29
+ className?: string;
30
+ } & ComponentProps<'a'>): import("react/jsx-runtime").JSX.Element;
@@ -18,3 +18,6 @@ export function TypographyP({ children, className = '', }) {
18
18
  export function TypographySmall({ children, className = '', }) {
19
19
  return (_jsx("small", { className: cn('text-sm leading-none font-medium', className), children: children }));
20
20
  }
21
+ export function TypographyLink({ children, className = '', ...props }) {
22
+ return (_jsx("a", { className: cn('text-link font-medium hover:underline underline-offset-3', className), ...props, children: children }));
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minutemailer/kit",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Minutemailer UI Kit",
5
5
  "license": "MIT",
6
6
  "author": "Minutemailer",
package/styles.css CHANGED
@@ -15,6 +15,7 @@
15
15
  --color-primary-foreground: var(--primary-foreground);
16
16
  --color-secondary: var(--secondary);
17
17
  --color-secondary-foreground: var(--secondary-foreground);
18
+ --color-link: var(--link);
18
19
  --color-muted: var(--muted);
19
20
  --color-muted-foreground: var(--muted-foreground);
20
21
  --color-accent: var(--accent);
@@ -49,9 +50,10 @@
49
50
  --popover-foreground: oklch(0.145 0 0);
50
51
  --primary: oklch(0.683 0.178 158.484);
51
52
  --primary-foreground: oklch(0.985 0 0);
52
- --secondary: oklch(0.97 0 0);
53
- --secondary-foreground: oklch(0.205 0 0);
54
- --muted: oklch(0.97 0 0);
53
+ --secondary: oklch(0.656 0.173 256.68);
54
+ --secondary-foreground: oklch(0.985 0 0);
55
+ --link: oklch(0.553 0.16 252.505);
56
+ --muted: oklch(0.972 0.001 197.139);
55
57
  --muted-foreground: oklch(0.556 0 0);
56
58
  --accent: oklch(0.97 0 0);
57
59
  --accent-foreground: oklch(0.205 0 0);