@rdsaude/pulso-react-components
Version:
Biblioteca de componentes React do Pulso Design System da RD Saúde oferece componentes consistentes e de alto desempenho, alinhados com os padrões da RDSaúde. Ideal para desenvolver aplicações modernas e acessíveis.
1 lines • 20.3 kB
Source Map (JSON)
{"version":3,"sources":["../../../src/components/typography/index.ts","../../../src/components/typography/namespace.ts","../../../src/components/typography/typography-big-number.tsx","../../../src/utils/cn.ts","../../../src/hooks/use-enhanced-children.ts","../../../src/utils/inject-props-to-children.ts","../../../src/utils/tv.ts","../../../src/components/typography/typography.styles.ts","../../../src/components/typography/typography-title.tsx","../../../src/components/typography/typography-subtitle.tsx","../../../src/components/typography/typography-body.tsx","../../../src/components/typography/typography-caption.tsx"],"sourcesContent":["/**\n * Exporta o namespace Typography e todos os tipos relacionados.\n *\n * @example\n * ```tsx\n * import { Typography } from '~/components/typography'\n *\n * // Uso dos componentes\n * <Typography.BigNumber variant=\"large-bold\">123</Typography.BigNumber>\n * <Typography.Title variant=\"large-bold\">Título</Typography.Title>\n * <Typography.Body variant=\"default-bold\">Texto</Typography.Body>\n * ```\n */\nexport * as Typography from './namespace'\nexport type {\n BigNumberProps,\n TitleProps,\n SubtitleProps,\n BodyProps,\n CaptionProps,\n} from './typography.type'\n","/**\n * Namespace que exporta todos os componentes de tipografia.\n * Segue o padrão ArkJS para composição de componentes.\n */\nexport { TypographyBigNumber as BigNumber } from './typography-big-number'\nexport { TypographyTitle as Title } from './typography-title'\nexport { TypographySubtitle as Subtitle } from './typography-subtitle'\nexport { TypographyBody as Body } from './typography-body'\nexport { TypographyCaption as Caption } from './typography-caption'\n","import * as React from 'react'\nimport { ark } from '@ark-ui/react/factory'\nimport { cn } from '~/utils/cn'\nimport { useEnhancedChildren } from '~/hooks/use-enhanced-children'\nimport { bigNumber } from './typography.styles'\nimport type { BigNumberProps } from './typography.type'\n\n/**\n * Componente BigNumber para renderizar números grandes.\n *\n * @example\n * ```tsx\n * <TypographyBigNumber variant=\"large-bold\">123</TypographyBigNumber>\n *\n * // Com asChild para máxima flexibilidade\n * <TypographyBigNumber variant=\"large-bold\" asChild>\n * <h1>123</h1>\n * </TypographyBigNumber>\n * ```\n */\nexport function TypographyBigNumber({\n variant,\n asChild,\n className,\n children,\n ...props\n}: BigNumberProps) {\n const enhancedChildren = useEnhancedChildren(children, {\n targets: [],\n props: {},\n asChild,\n })\n\n return (\n <ark.h1 {...props} className={cn(bigNumber({ variant }), className)}>\n {enhancedChildren}\n </ark.h1>\n )\n}\n\nTypographyBigNumber.displayName = 'TypographyBigNumber'\n","import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport const cn = (...input: ClassValue[]) => twMerge(clsx(...input))\n","import * as React from 'react'\n\nimport { injectPropsToChildren } from '~/utils/inject-props-to-children'\n\nexport function useEnhancedChildren<T extends object>(\n children: React.ReactNode,\n {\n targets,\n props,\n asChild,\n }: {\n targets: string[]\n props: T\n asChild?: boolean\n }\n) {\n const keyPrefix = React.useId()\n\n return injectPropsToChildren(children, {\n targets,\n props,\n asChild,\n keyPrefix,\n })\n}\n","import * as React from 'react'\n\ntype InjectPropsToChildrenOptions<T = unknown> = {\n /**\n * List of component displayNames to match.\n * Props will only be injected into components matching these names.\n */\n targets: string[]\n\n /**\n * Props to inject into the matched components.\n */\n props: Partial<T>\n\n /**\n * Optional key prefix for cloned elements.\n */\n keyPrefix?: string\n\n /**\n * Whether to return only the first child (e.g. for Slot-like behavior).\n */\n asChild?: boolean\n}\n\n/**\n * Recursively injects props into React children whose displayName matches a list of target names.\n *\n * This is useful for compound component patterns where parent-level props need to reach\n * specific nested children without direct prop drilling.\n *\n * @param children - The children tree to traverse.\n * @param options - Match configuration and props to inject.\n * @returns The cloned React nodes with props injected into matching components.\n */\nexport function injectPropsToChildren<T = unknown>(\n children: React.ReactNode,\n options: InjectPropsToChildrenOptions<T>\n): React.ReactNode {\n const { targets, props, keyPrefix = 'inject', asChild } = options\n\n const cloned = React.Children.map(children, (child, index) => {\n if (!React.isValidElement(child)) return child\n\n const displayName = (child.type as React.ComponentType)?.displayName ?? ''\n const shouldInject = targets.includes(displayName)\n\n const childProps = child.props as {\n children?: React.ReactNode\n asChild?: boolean\n }\n\n return React.cloneElement(\n child,\n {\n ...(shouldInject ? props : {}),\n key: `${keyPrefix}-${index.toString()}`,\n },\n injectPropsToChildren(childProps?.children, {\n targets,\n props,\n keyPrefix,\n asChild: childProps?.asChild,\n })\n )\n })\n\n return asChild ? cloned?.[0] : cloned\n}\n","import { type VariantProps, createTV } from 'tailwind-variants'\n\nexport const tv = createTV({\n twMerge: false,\n twMergeConfig: {\n extend: {\n classGroups: {\n 'font-size': [\n {\n text: ['threepulse', 'threeandhalfpulse'],\n },\n ],\n 'border-width': [\n {\n border: ['quarterpulse', 'halfpulse'],\n },\n ],\n '--tw-ring-inset': [\n {\n ring: ['none', 'quarterpulse', 'halfpulse'],\n },\n ],\n },\n },\n },\n})\n\nexport type { VariantProps }\n","import { tv, type VariantProps } from '~/utils/tv'\n\n/**\n * Estilos para o componente BigNumber.\n * Renderiza números grandes com diferentes tamanhos.\n */\nexport const bigNumber = tv({\n base: 'font-bold font-sans leading-tiny tracking-normal no-underline',\n variants: {\n variant: {\n 'large-bold': 'text-[length:var(--font-size-twelvepulse)]',\n 'default-bold': 'text-[length:var(--font-size-tenpulse)]',\n 'small-bold': 'text-[length:var(--font-size-eightpulse)]',\n },\n },\n defaultVariants: {\n variant: 'large-bold',\n },\n})\n\n/**\n * Estilos para o componente Title.\n * Renderiza títulos com diferentes tamanhos.\n */\nexport const title = tv({\n base: 'font-bold font-sans leading-tiny tracking-normal no-underline',\n variants: {\n variant: {\n 'large-bold': 'text-[length:var(--font-size-sevenpulse)]',\n 'default-bold': 'text-[length:var(--font-size-ninepulse)]',\n 'small-bold': 'text-[length:var(--font-size-fivepulse)]',\n },\n },\n defaultVariants: {\n variant: 'default-bold',\n },\n})\n\n/**\n * Estilos para o componente Subtitle.\n * Renderiza subtítulos com diferentes estilos.\n */\nexport const subtitle = tv({\n base: 'font-sans text-[length:var(--font-size-fourpulse)] tracking-normal no-underline',\n variants: {\n variant: {\n 'default-bold': null,\n 'underline-bold': null,\n 'default-semibold': null,\n 'underline-semibold': null,\n 'default-regular': 'font-regular',\n },\n },\n compoundVariants: [\n {\n variant: ['default-bold', 'underline-bold'],\n class: 'font-bold',\n },\n {\n variant: ['default-semibold', 'underline-semibold'],\n class: 'font-semibold',\n },\n {\n variant: ['underline-bold', 'underline-semibold'],\n class: 'underline',\n },\n ],\n defaultVariants: {\n variant: 'default-bold',\n },\n})\n\n/**\n * Estilos para o componente Body.\n * Renderiza texto do corpo com diferentes estilos.\n */\nexport const body = tv({\n base: 'font-sans text-[length:var(--font-size-threeandhalfpulse)] tracking-normal no-underline',\n variants: {\n variant: {\n 'default-bold': null,\n 'underline-bold': null,\n 'default-semibold': null,\n 'underline-semibold': null,\n 'default-regular': 'font-normal',\n },\n },\n compoundVariants: [\n {\n variant: ['default-bold', 'underline-bold'],\n class: 'font-bold',\n },\n {\n variant: ['default-semibold', 'underline-semibold'],\n class: 'font-semibold',\n },\n {\n variant: ['underline-bold', 'underline-semibold'],\n class: 'underline',\n },\n ],\n defaultVariants: {\n variant: 'default-bold',\n },\n})\n\n/**\n * Estilos para o componente Caption.\n * Renderiza legendas e textos pequenos com diferentes estilos.\n */\nexport const caption = tv({\n base: 'inline font-sans text-[length:var(--font-size-threepulse)] tracking-normal no-underline',\n variants: {\n variant: {\n 'default-bold': null,\n 'underline-bold': null,\n 'default-semibold': null,\n 'underline-semibold': null,\n 'default-regular': 'font-normal',\n },\n },\n compoundVariants: [\n {\n variant: ['default-bold', 'underline-bold'],\n class: 'font-bold',\n },\n {\n variant: ['default-semibold', 'underline-semibold'],\n class: 'font-semibold',\n },\n {\n variant: ['underline-bold', 'underline-semibold'],\n class: 'underline',\n },\n ],\n defaultVariants: {\n variant: 'default-bold',\n },\n})\n\n/**\n * Tipo que combina todas as variantes de tipografia.\n */\nexport type TypographyVariants = VariantProps<typeof bigNumber> &\n VariantProps<typeof title> &\n VariantProps<typeof subtitle> &\n VariantProps<typeof body> &\n VariantProps<typeof caption>\n","import * as React from 'react'\nimport { ark } from '@ark-ui/react/factory'\nimport { cn } from '~/utils/cn'\nimport { useEnhancedChildren } from '~/hooks/use-enhanced-children'\nimport { title } from './typography.styles'\nimport type { TitleProps } from './typography.type'\n\n/**\n * Componente Title para renderizar títulos.\n *\n * @example\n * ```tsx\n * <TypographyTitle variant=\"h1\">Título principal</TypographyTitle>\n *\n * // Com asChild para máxima flexibilidade\n * <TypographyTitle variant=\"h1\" asChild>\n * <h1>Título principal</h1>\n * </TypographyTitle>\n * ```\n */\nexport function TypographyTitle({\n variant,\n asChild,\n className,\n children,\n ...props\n}: TitleProps) {\n const enhancedChildren = useEnhancedChildren(children, {\n targets: [],\n props: {},\n asChild,\n })\n\n return (\n <ark.h2 {...props} className={cn(title({ variant }), className)}>\n {enhancedChildren}\n </ark.h2>\n )\n}\n\nTypographyTitle.displayName = 'TypographyTitle'\n","import * as React from 'react'\nimport { ark } from '@ark-ui/react/factory'\nimport { cn } from '~/utils/cn'\nimport { useEnhancedChildren } from '~/hooks/use-enhanced-children'\nimport { subtitle } from './typography.styles'\nimport type { SubtitleProps } from './typography.type'\n\n/**\n * Componente Subtitle para renderizar subtítulos.\n *\n * @example\n * ```tsx\n * <TypographySubtitle variant=\"h3\">Subtítulo</TypographySubtitle>\n *\n * // Com asChild para máxima flexibilidade\n * <TypographySubtitle variant=\"h3\" asChild>\n * <h3>Subtítulo</h3>\n * </TypographySubtitle>\n * ```\n */\nexport function TypographySubtitle({\n variant,\n asChild,\n className,\n children,\n ...props\n}: SubtitleProps) {\n const enhancedChildren = useEnhancedChildren(children, {\n targets: [],\n props: {},\n asChild,\n })\n\n return (\n <ark.h3 {...props} className={cn(subtitle({ variant }), className)}>\n {enhancedChildren}\n </ark.h3>\n )\n}\n\nTypographySubtitle.displayName = 'TypographySubtitle'\n","import * as React from 'react'\nimport { ark } from '@ark-ui/react/factory'\nimport { cn } from '~/utils/cn'\nimport { useEnhancedChildren } from '~/hooks/use-enhanced-children'\nimport { body } from './typography.styles'\nimport type { BodyProps } from './typography.type'\n\n/**\n * Componente Body para renderizar texto do corpo.\n *\n * @example\n * ```tsx\n * <TypographyBody variant=\"default-bold\">Texto do corpo</TypographyBody>\n *\n * // Com asChild para máxima flexibilidade\n * <TypographyBody variant=\"default-bold\" asChild>\n * <p>Texto do corpo</p>\n * </TypographyBody>\n * ```\n */\nexport function TypographyBody({\n variant,\n asChild,\n className,\n children,\n ...props\n}: BodyProps) {\n const enhancedChildren = useEnhancedChildren(children, {\n targets: [],\n props: {},\n asChild,\n })\n\n return (\n <ark.p {...props} className={cn(body({ variant }), className)}>\n {enhancedChildren}\n </ark.p>\n )\n}\n\nTypographyBody.displayName = 'TypographyBody'\n","import * as React from 'react'\nimport { ark } from '@ark-ui/react/factory'\nimport { cn } from '~/utils/cn'\nimport { useEnhancedChildren } from '~/hooks/use-enhanced-children'\nimport { caption } from './typography.styles'\nimport type { CaptionProps } from './typography.type'\n\n/**\n * Componente Caption para renderizar legendas e textos pequenos.\n *\n * @example\n * ```tsx\n * <TypographyCaption variant=\"small\">Legenda pequena</TypographyCaption>\n *\n * // Com asChild para máxima flexibilidade\n * <TypographyCaption variant=\"small\" asChild>\n * <span>Legenda pequena</span>\n * </TypographyCaption>\n * ```\n */\nexport function TypographyCaption({\n variant,\n asChild,\n className,\n children,\n ...props\n}: CaptionProps) {\n const enhancedChildren = useEnhancedChildren(children, {\n targets: [],\n props: {},\n asChild,\n })\n\n return (\n <ark.span {...props} className={cn(caption({ variant }), className)}>\n {enhancedChildren}\n </ark.span>\n )\n}\n\nTypographyCaption.displayName = 'TypographyCaption'\n"],"mappings":"gkCAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,gBAAAE,IAAA,eAAAC,GAAAH,ICAA,IAAAI,EAAA,GAAAC,EAAAD,EAAA,eAAAE,EAAA,SAAAC,EAAA,YAAAC,EAAA,aAAAC,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,CACF,CAAC,EAED,SACE,OAAC,MAAI,KAAJO,EAAAC,EAAA,GAAaL,GAAb,CAAoB,UAAWM,EAAGC,EAAQ,CAAE,QAAAX,CAAQ,CAAC,EAAGE,CAAS,EAC/D,SAAAI,GACH,CAEJ,CAEAT,EAAkB,YAAc","names":["typography_exports","__export","namespace_exports","__toCommonJS","namespace_exports","__export","TypographyBigNumber","TypographyBody","TypographyCaption","TypographySubtitle","TypographyTitle","import_factory","import_clsx","import_tailwind_merge","cn","input","React","React","injectPropsToChildren","children","options","targets","props","keyPrefix","asChild","cloned","child","index","_a","_b","displayName","shouldInject","childProps","__spreadProps","__spreadValues","useEnhancedChildren","children","targets","props","asChild","keyPrefix","injectPropsToChildren","import_tailwind_variants","tv","bigNumber","tv","title","subtitle","body","caption","import_jsx_runtime","TypographyBigNumber","_a","_b","variant","asChild","className","children","props","__objRest","enhancedChildren","useEnhancedChildren","__spreadProps","__spreadValues","cn","bigNumber","import_factory","import_jsx_runtime","TypographyTitle","_a","_b","variant","asChild","className","children","props","__objRest","enhancedChildren","useEnhancedChildren","__spreadProps","__spreadValues","cn","title","import_factory","import_jsx_runtime","TypographySubtitle","_a","_b","variant","asChild","className","children","props","__objRest","enhancedChildren","useEnhancedChildren","__spreadProps","__spreadValues","cn","subtitle","import_factory","import_jsx_runtime","TypographyBody","_a","_b","variant","asChild","className","children","props","__objRest","enhancedChildren","useEnhancedChildren","__spreadProps","__spreadValues","cn","body","import_factory","import_jsx_runtime","TypographyCaption","_a","_b","variant","asChild","className","children","props","__objRest","enhancedChildren","useEnhancedChildren","__spreadProps","__spreadValues","cn","caption"]}