stoop 0.0.18 → 0.0.20

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 CHANGED
@@ -17,7 +17,7 @@ bun add stoop
17
17
  Import the global styles in your app:
18
18
 
19
19
  ```tsx
20
- import "stoop/globalStyles";
20
+ import "stoop/styles";
21
21
  ```
22
22
 
23
23
  ### Using Components
@@ -1,4 +1,4 @@
1
1
  import { type ButtonHTMLAttributes, type JSX } from "react";
2
2
  type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;
3
- export declare function Button({ ...props }: ButtonProps): JSX.Element;
3
+ export declare function Button({ className, ...props }: ButtonProps): JSX.Element;
4
4
  export {};
package/dist/index.css ADDED
@@ -0,0 +1 @@
1
+ :root{--color-text:#000;--color-background:#fff;--color-border:#0000001a;--color-primary:#000;--color-muted:#666;--space-smallest:.25rem;--space-smaller:.5rem;--space-small:.75rem;--space-medium:1rem;--space-large:1.5rem;--space-larger:2rem;--space-largest:10rem;--radius-small:.25rem;--radius-large:.5rem;--radius-round:9999px;--shadow-default:0 0 0 1px #0000001a;--breakpoint-phone:800px;--breakpoint-tablet:1024px;--breakpoint-desktop:1440px}@media (prefers-color-scheme:dark){:root{--color-text:#fff;--color-background:#000;--color-border:#ffffff1a;--color-primary:#fff;--color-muted:#999}}*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;background-color:var(--color-background);color:var(--color-text);font-size:62.5%}body{margin:0;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:1.6rem;line-height:1.5}.button_5RnP0A{background-color:var(--color-primary);color:var(--color-background);padding:var(--space-small)var(--space-medium);border-radius:var(--radius-small);cursor:pointer;border:none;transition:opacity .2s;font-size:1.6rem}.button_5RnP0A:hover{opacity:.9}.button_5RnP0A:active{opacity:.8}
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
+ import "./styles/globals.css";
1
2
  export { Button } from "./components/Button/Button";