@alishenriques/design-system 0.3.0 → 0.4.0

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
@@ -35,6 +35,7 @@ yarn dev # build em watch
35
35
  - `LoadingButton` — botão com estado de carregamento embutido (`isLoading`, `loadingText`)
36
36
  - `Panel` — superfície elevada com borda, com fundo em grade de pontos opcional
37
37
  - `PipelineBadges` — chips estilo pipeline de CI
38
+ - `Quote` — citação em destaque estilo terminal (`#`/marcador customizável, cursor piscando opcional)
38
39
  - `StatGrid` — grade de estatísticas
39
40
  - `TagList` — lista de tags
40
41
  - `TerminalPrompt` — linha de prompt de terminal com cursor piscando
@@ -0,0 +1,16 @@
1
+ import { BlockquoteHTMLAttributes, ReactNode } from 'react';
2
+ export type QuoteProps = {
3
+ children: ReactNode;
4
+ /** Small comment-style marker before the text. Default: "#". */
5
+ marker?: string;
6
+ /** Shows a blinking block cursor after the text. Default: true. */
7
+ cursor?: boolean;
8
+ } & Omit<BlockquoteHTMLAttributes<HTMLQuoteElement>, "children">;
9
+ /**
10
+ * A terminal-styled pull-quote: an accent left border, a comment-style marker
11
+ * ("#" by default) and, optionally, a blinking cursor after the text — the
12
+ * same cursor treatment used elsewhere for this "console" aesthetic. For
13
+ * calling out a key sentence from a longer piece of copy (a bio, an article)
14
+ * as its own visual beat, semantically a `<blockquote>`.
15
+ */
16
+ export declare function Quote({ children, marker, cursor, className, ...props }: QuoteProps): import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { Quote } from './Quote';
2
+ export type { QuoteProps } from './Quote';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alishenriques/design-system",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Isolated design system for Alis portfolio and future products",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",