@aurora-ds/components 0.5.2 → 0.6.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.
Files changed (28) hide show
  1. package/dist/cjs/components/index.d.ts +1 -2
  2. package/dist/cjs/components/inputs/button/Button.props.d.ts +3 -0
  3. package/dist/cjs/components/inputs/icon-button/IconButton.props.d.ts +3 -0
  4. package/dist/cjs/components/layout/card/Card.props.d.ts +6 -8
  5. package/dist/cjs/components/layout/grid/Grid.d.ts +14 -0
  6. package/dist/cjs/components/layout/grid/Grid.props.d.ts +47 -0
  7. package/dist/cjs/components/layout/grid/Grid.styles.d.ts +7 -0
  8. package/dist/cjs/components/layout/grid/index.d.ts +2 -0
  9. package/dist/cjs/components/layout/stack/Stack.props.d.ts +8 -9
  10. package/dist/cjs/index.js +76 -4
  11. package/dist/cjs/index.js.map +1 -1
  12. package/dist/cjs/interfaces/card.types.d.ts +3 -3
  13. package/dist/cjs/interfaces/index.d.ts +1 -2
  14. package/dist/esm/components/index.d.ts +1 -2
  15. package/dist/esm/components/inputs/button/Button.props.d.ts +3 -0
  16. package/dist/esm/components/inputs/icon-button/IconButton.props.d.ts +3 -0
  17. package/dist/esm/components/layout/card/Card.props.d.ts +6 -8
  18. package/dist/esm/components/layout/grid/Grid.d.ts +14 -0
  19. package/dist/esm/components/layout/grid/Grid.props.d.ts +47 -0
  20. package/dist/esm/components/layout/grid/Grid.styles.d.ts +7 -0
  21. package/dist/esm/components/layout/grid/index.d.ts +2 -0
  22. package/dist/esm/components/layout/stack/Stack.props.d.ts +8 -9
  23. package/dist/esm/index.js +76 -5
  24. package/dist/esm/index.js.map +1 -1
  25. package/dist/esm/interfaces/card.types.d.ts +3 -3
  26. package/dist/esm/interfaces/index.d.ts +1 -2
  27. package/dist/index.d.ts +56 -20
  28. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/components/data-display/icon/Icon.styles.ts","../../src/components/data-display/icon/Icon.tsx","../../src/utils/ui/components/chip/getChipColorStyles.utils.ts","../../src/utils/ui/components/chip/getChipSizeStyles.utils.ts","../../src/components/data-display/chip/Chip.styles.ts","../../src/utils/ui/components/text/getTextVariantStyles.utils.ts","../../src/utils/ui/components/text/getTruncateTextStyles.utils.ts","../../src/components/layout/text/Text.styles.ts","../../src/utils/ui/components/text/parseTextWithBold.utils.ts","../../src/components/layout/text/Text.tsx","../../src/utils/ui/components/chip/getChipContentSize.utils.ts","../../src/components/data-display/chip/Chip.tsx","../../src/constants/globalConstants.ts","../../src/utils/ui/components/button/getButtonVariantStyles.utils.ts","../../src/components/inputs/button/Button.styles.ts","../../src/components/inputs/button/Button.tsx","../../src/components/inputs/icon-button/IconButton.styles.ts","../../src/components/inputs/icon-button/IconButton.tsx","../../src/components/layout/stack/Stack.styles.ts","../../src/components/layout/stack/Stack.tsx","../../src/components/layout/card/Card.styles.ts","../../src/components/layout/card/Card.tsx","../../src/components/layout/accordion/Accordion.styles.ts","../../src/resources/icons/ChevronDownIcon.tsx","../../src/components/layout/accordion/Accordion.tsx","../../src/components/navigation/drawer-item/DrawerItem.styles.ts","../../src/components/navigation/drawer-item/DrawerItem.tsx"],"sourcesContent":["import { Theme, createStyles } from '@aurora-ds/theme'\r\n\r\nexport const ICON_STYLES = createStyles((theme) => ({\r\n root: (\r\n size?: keyof Theme['fontSize'],\r\n color?: keyof Theme['colors'],\r\n backgroundColor?: keyof Theme['colors'],\r\n padding?: keyof Theme['spacing'],\r\n borderRadius?: keyof Theme['radius']\r\n ) => ({\r\n boxSizing: 'content-box',\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n overflow: 'hidden',\r\n transition: 'color 150ms ease-in-out',\r\n flexShrink: 0,\r\n lineHeight: 0,\r\n height: theme.fontSize[size ?? 'md'],\r\n width: theme.fontSize[size ?? 'md'],\r\n minWidth: theme.fontSize[size ?? 'md'],\r\n minHeight: theme.fontSize[size ?? 'md'],\r\n color: color ? theme.colors[color] : 'inherit',\r\n backgroundColor: backgroundColor ? theme.colors[backgroundColor] : undefined,\r\n padding: padding ? theme.spacing[padding] : 0,\r\n borderRadius: theme.radius[borderRadius ?? 'md'],\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { IconProps } from '@components/data-display/icon/Icon.props.ts'\r\nimport { ICON_STYLES } from '@components/data-display/icon/Icon.styles.ts'\r\n\r\n/**\r\n * Icon component - Wrapper for SVG icons with theme-aware styling\r\n *\r\n * **Features:**\r\n * - Theme-aware sizing via font sizes\r\n * - Color and fill support from theme\r\n * - Optional background with padding and border radius\r\n * - Transition animation on color changes\r\n *\r\n * **Usage:**\r\n * ```tsx\r\n * import { SomeIcon } from 'some-icon-library'\r\n *\r\n * <Icon size=\"md\" color=\"primary\">\r\n * <SomeIcon />\r\n * </Icon>\r\n * ```\r\n *\r\n * **With background:**\r\n * ```tsx\r\n * <Icon\r\n * size=\"lg\"\r\n * color=\"onPrimary\"\r\n * backgroundColor=\"primary\"\r\n * padding=\"sm\"\r\n * borderRadius=\"full\"\r\n * >\r\n * <SomeIcon />\r\n * </Icon>\r\n * ```\r\n */\r\nconst Icon: FC<IconProps> = ({\r\n children,\r\n size,\r\n color,\r\n backgroundColor,\r\n padding,\r\n borderRadius,\r\n}) => {\r\n return (\r\n <div className={ICON_STYLES.root(size, color, backgroundColor, padding, borderRadius)}>\r\n {children}\r\n </div>\r\n )\r\n}\r\n\r\nIcon.displayName = 'Icon'\r\n\r\nexport default Icon\r\n","import { Theme } from '@aurora-ds/theme'\n\nimport { ChipStyleParams } from '@components/data-display/chip/Chip.props'\n\nexport const getChipColorStyles = (\n theme: Theme,\n color: ChipStyleParams['color'],\n variant: ChipStyleParams['variant'],\n disabled: ChipStyleParams['disabled']\n) => {\n if (disabled) {\n return {\n filled: {\n backgroundColor: theme.colors.disabled,\n color: theme.colors.disabledText,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: 'transparent',\n color: theme.colors.disabledText,\n borderColor: theme.colors.disabled,\n },\n }[variant]\n }\n\n const colorMap = {\n default: {\n filled: {\n backgroundColor: theme.colors.surfaceHover,\n color: theme.colors.text,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: 'transparent',\n color: theme.colors.text,\n borderColor: theme.colors.border,\n },\n },\n primary: {\n filled: {\n backgroundColor: theme.colors.primary,\n color: theme.colors.onPrimary,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: 'transparent',\n color: theme.colors.primary,\n borderColor: theme.colors.primary,\n },\n },\n success: {\n filled: {\n backgroundColor: theme.colors.successSubtle,\n color: theme.colors.success,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: theme.colors.successSubtle,\n color: theme.colors.success,\n borderColor: theme.colors.success,\n },\n },\n warning: {\n filled: {\n backgroundColor: theme.colors.warningSubtle,\n color: theme.colors.warning,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: theme.colors.warningSubtle,\n color: theme.colors.warning,\n borderColor: theme.colors.warning,\n },\n },\n error: {\n filled: {\n backgroundColor: theme.colors.errorSubtle,\n color: theme.colors.error,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: theme.colors.errorSubtle,\n color: theme.colors.error,\n borderColor: theme.colors.error,\n },\n },\n info: {\n filled: {\n backgroundColor: theme.colors.infoSubtle,\n color: theme.colors.info,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: theme.colors.infoSubtle,\n color: theme.colors.info,\n borderColor: theme.colors.info,\n },\n },\n }\n return colorMap[color][variant]\n}\n","import { Theme } from '@aurora-ds/theme'\r\n\r\nimport { ChipStyleParams } from '@components/data-display/chip/Chip.props'\r\n\r\n/**\r\n * Get chip size styles based on the theme, size and icon-only state\r\n * @param theme - Theme object\r\n * @param size - Chip size\r\n * @param isIconOnly - Whether the chip has only an icon (no label)\r\n */\r\nexport const getChipSizeStyles = (\r\n theme: Theme,\r\n size: ChipStyleParams['size'],\r\n isIconOnly: ChipStyleParams['isIconOnly']\r\n) => {\r\n const sizeMap = {\r\n '2xs': {\r\n iconOnly: { padding: theme.spacing.xs, fontSize: theme.fontSize['2xs'] },\r\n withLabel: { padding: `${theme.spacing.xs} ${theme.spacing.sm}`, fontSize: theme.fontSize['2xs'] },\r\n },\r\n xs: {\r\n iconOnly: { padding: theme.spacing.xs, fontSize: theme.fontSize.xs },\r\n withLabel: { padding: `${theme.spacing.xs} ${theme.spacing.sm}`, fontSize: theme.fontSize.xs },\r\n },\r\n sm: {\r\n iconOnly: { padding: theme.spacing.xs, fontSize: theme.fontSize.sm },\r\n withLabel: { padding: `${theme.spacing.xs} ${theme.spacing.sm}`, fontSize: theme.fontSize.sm },\r\n },\r\n md: {\r\n iconOnly: { padding: theme.spacing.sm, fontSize: theme.fontSize.md },\r\n withLabel: { padding: `${theme.spacing.sm} ${theme.spacing.md}`, fontSize: theme.fontSize.sm },\r\n },\r\n lg: {\r\n iconOnly: { padding: theme.spacing.md, fontSize: theme.fontSize.lg },\r\n withLabel: { padding: `${theme.spacing.sm} ${theme.spacing.lg}`, fontSize: theme.fontSize.md },\r\n },\r\n }\r\n\r\n return isIconOnly ? sizeMap[size].iconOnly : sizeMap[size].withLabel\r\n}\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { ChipStyleParams } from '@components/data-display/chip/Chip.props'\r\nimport { getChipColorStyles } from '@utils/ui/components/chip/getChipColorStyles.utils'\r\nimport { getChipSizeStyles } from '@utils/ui/components/chip/getChipSizeStyles.utils'\r\n\r\nexport const CHIP_STYLES = createStyles((theme) => ({\r\n root: ({ variant, color, size, isIconOnly, disabled, gap, radius }: ChipStyleParams) => {\r\n const colorStyles = getChipColorStyles(theme, color, variant, disabled)\r\n const sizeStyles = getChipSizeStyles(theme, size, isIconOnly)\r\n\r\n return {\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n gap: gap ? theme.spacing[gap] : theme.spacing.sm,\r\n borderRadius: radius ? theme.radius[radius] : theme.radius.md,\r\n border: variant === 'outlined' ? '1px solid' : 'none',\r\n aspectRatio: isIconOnly ? 1 : undefined,\r\n height: 'fit-content',\r\n width: 'fit-content',\r\n fontFamily: 'inherit',\r\n fontWeight: theme.fontWeight.medium,\r\n whiteSpace: 'nowrap',\r\n boxSizing: 'border-box',\r\n ...sizeStyles,\r\n ...colorStyles,\r\n }\r\n },\r\n}))\r\n","import { Theme } from '@aurora-ds/theme'\r\n\r\nimport { TextVariants, TextVariantStyle } from '@interfaces/text.types'\r\n\r\n/**\r\n * Get text variant styles based on the theme\r\n * @param theme\r\n */\r\nexport const getTextVariantStyles = (theme: Theme): Record<TextVariants, TextVariantStyle> => ({\r\n h1: {\r\n tag: 'h1',\r\n fontSize: theme.fontSize.xl,\r\n fontWeight: theme.fontWeight.bold,\r\n lineHeight: theme.lineHeight.tight,\r\n },\r\n h2: {\r\n tag: 'h2',\r\n fontSize: theme.fontSize.lg,\r\n fontWeight: theme.fontWeight.bold,\r\n lineHeight: theme.lineHeight.tight,\r\n },\r\n h3: {\r\n tag: 'h3',\r\n fontSize: theme.fontSize.md,\r\n fontWeight: theme.fontWeight.semibold,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n h4: {\r\n tag: 'h4',\r\n fontSize: theme.fontSize.md,\r\n fontWeight: theme.fontWeight.semibold,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n h5: {\r\n tag: 'h5',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.medium,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n h6: {\r\n tag: 'h6',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.medium,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n p: {\r\n tag: 'p',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.regular,\r\n lineHeight: theme.lineHeight.relaxed,\r\n },\r\n span: {\r\n tag: 'span',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.regular,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n label: {\r\n tag: 'label',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.medium,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n})\r\n","export const getTruncateTextStyles = (maxLines: number) => (\r\n maxLines === 1\r\n ? {\r\n whiteSpace: 'nowrap' as const,\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }\r\n : {\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n display: '-webkit-box',\r\n WebkitLineClamp: maxLines,\r\n WebkitBoxOrient: 'vertical' as const,\r\n lineClamp: maxLines,\r\n }\r\n)\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { TextStyleParams } from '@components/layout/text/Text.props.ts'\r\nimport { getTextVariantStyles } from '@utils/ui/components/text/getTextVariantStyles.utils.ts'\r\nimport { getTruncateTextStyles } from '@utils/ui/components/text/getTruncateTextStyles.utils.ts'\r\n\r\nexport const TEXT_STYLES = createStyles((theme) => {\r\n const variantStyles = getTextVariantStyles(theme)\r\n\r\n return {\r\n root: ({\r\n variant = 'span',\r\n color,\r\n fontSize,\r\n fontFamily,\r\n maxLines,\r\n underline\r\n }: TextStyleParams) => ({\r\n margin: 0,\r\n fontSize: fontSize ? theme.fontSize[fontSize] : variantStyles[variant].fontSize,\r\n fontWeight: variantStyles[variant].fontWeight,\r\n lineHeight: variantStyles[variant].lineHeight,\r\n color: color ? theme.colors[color] : 'inherit',\r\n cursor: 'inherit',\r\n ...(fontFamily && { fontFamily }),\r\n ...(underline && {\r\n textDecoration: 'underline',\r\n textUnderlineOffset: '3px',\r\n }),\r\n ...(maxLines && getTruncateTextStyles(maxLines)),\r\n }),\r\n }\r\n})\r\n","import { createElement, Fragment, ReactNode } from 'react'\r\n\r\n/**\r\n * Parses text content and converts **bold** syntax to <strong> elements\r\n * @param children - The content to parse (string or ReactNode)\r\n * @returns Parsed content with bold text wrapped in <strong> elements\r\n */\r\nexport const parseTextWithBold = (children: ReactNode): ReactNode => {\r\n if (typeof children !== 'string' || !children.includes('**')) {\r\n return children\r\n }\r\n\r\n const boldPattern = /\\*\\*(.+?)\\*\\*/g\r\n const parts: ReactNode[] = []\r\n let lastIndex = 0\r\n let match: RegExpExecArray | null\r\n\r\n while ((match = boldPattern.exec(children)) !== null) {\r\n if (match.index > lastIndex) {\r\n parts.push(children.slice(lastIndex, match.index))\r\n }\r\n\r\n parts.push(\r\n createElement('strong', { key: match.index }, match[1])\r\n )\r\n\r\n lastIndex = match.index + match[0].length\r\n }\r\n\r\n if (parts.length === 0) {\r\n return children\r\n }\r\n\r\n if (lastIndex < children.length) {\r\n parts.push(children.slice(lastIndex))\r\n }\r\n\r\n return createElement(Fragment, null, ...parts)\r\n}\r\n","import { useTheme } from '@aurora-ds/theme'\r\nimport { createElement, FC, useMemo } from 'react'\r\n\r\nimport { TextProps } from '@components/layout/text/Text.props.ts'\r\nimport { TEXT_STYLES } from '@components/layout/text/Text.styles.ts'\r\nimport { getTextVariantStyles } from '@utils/ui/components/text/getTextVariantStyles.utils.ts'\r\nimport { parseTextWithBold } from '@utils/ui/components/text/parseTextWithBold.utils.ts'\r\n\r\n/**\r\n * Text component - Renders semantic HTML elements based on variant\r\n *\r\n * **Variants:**\r\n * - `h1-h6`: Heading elements with appropriate styling\r\n * - `p`: Paragraph element with relaxed line height\r\n * - `span`: Inline text element (default)\r\n * - `label`: Label element with medium font weight\r\n *\r\n * **Features:**\r\n * - Automatic HTML tag selection based on variant\r\n * - Theme-aware colors\r\n * - Text truncation with `maxLines`\r\n * - Underline support\r\n * - Bold text with **double asterisks** syntax\r\n */\r\nconst Text: FC<TextProps> = ({\r\n children,\r\n variant = 'span',\r\n color,\r\n fontSize,\r\n fontFamily,\r\n maxLines,\r\n underline,\r\n}) => {\r\n const theme = useTheme()\r\n const variantStyles = useMemo(() => getTextVariantStyles(theme), [theme])\r\n const tag = variantStyles[variant].tag\r\n const parsedChildren = useMemo(() => parseTextWithBold(children), [children])\r\n\r\n return createElement(\r\n tag,\r\n { className: TEXT_STYLES.root({ variant, color, fontSize, fontFamily, maxLines, underline }) },\r\n parsedChildren\r\n )\r\n}\r\n\r\nText.displayName = 'Text'\r\n\r\nexport default Text\r\n","import { BaseFontSize } from '@aurora-ds/theme'\n\nimport { ChipStyleParams } from '@components/data-display/chip/Chip.props'\n\n/**\n * Get chip content size based on the chip size\n * @param size\n * @constructor\n */\nexport const getChipContentSize = (\n size: ChipStyleParams['size'],\n): keyof BaseFontSize => {\n const sizeMap = {\n '2xs': '2xs',\n xs: 'xs',\n sm: 'sm',\n md: 'sm',\n lg: 'md',\n }\n\n return sizeMap[size] as keyof BaseFontSize\n}\n","import { FC } from 'react'\n\nimport { ChipProps } from '@components/data-display/chip/Chip.props'\nimport { CHIP_STYLES } from '@components/data-display/chip/Chip.styles'\nimport { Icon } from '@components/data-display/icon'\nimport Text from '@components/layout/text/Text.tsx'\nimport { getChipContentSize } from '@utils/ui/components/chip/getChipContentSize.utils.ts'\n\n/**\n * Chip component\n *\n * A compact element for displaying information, tags, or actions.\n *\n * **Variants:**\n * - `filled`: Solid background (default)\n * - `outlined`: Border only\n *\n * **Colors:**\n * - `default`, `primary`, `success`, `warning`, `error`, `info`\n */\nconst Chip: FC<ChipProps> = ({\n label,\n icon,\n variant = 'filled',\n color = 'default',\n size = 'md',\n gap,\n radius,\n disabled = false,\n}) => {\n const isIconOnly = Boolean(icon) && !label\n\n return (\n <span\n className={CHIP_STYLES.root({\n variant,\n color,\n size,\n isIconOnly,\n disabled,\n gap,\n radius,\n })}\n >\n {icon && (\n <Icon\n size={getChipContentSize(size)}\n >\n {icon}\n </Icon>\n )}\n {label && (\n <Text\n variant={'label'}\n fontSize={getChipContentSize(size)}\n >\n {label}\n </Text>\n )}\n </span>\n )\n}\n\nChip.displayName = 'Chip'\n\nexport default Chip\n","export const BUTTON_SIZE = 36\r\nexport const DRAWER_ITEM_HEIGHT = 32\r\n","import { colors, Theme } from '@aurora-ds/theme'\r\n\r\nimport { ButtonVariants, ButtonVariantStyle } from '@interfaces/button.types'\r\n\r\n/**\r\n * Get button variant styles based on the theme\r\n * @param theme\r\n */\r\nexport const getButtonVariantStyles = (theme: Theme): Record<ButtonVariants, ButtonVariantStyle> => {\r\n // Shared base styles\r\n const transparentBase = {\r\n backgroundColor: colors.transparent,\r\n color: theme.colors.primary,\r\n }\r\n\r\n const surfaceStates = {\r\n hover: { backgroundColor: theme.colors.surfaceHover },\r\n pressed: { backgroundColor: theme.colors.surfaceActive },\r\n }\r\n\r\n const baseDisabled = {\r\n color: theme.colors.disabledText,\r\n cursor: 'not-allowed',\r\n }\r\n\r\n return {\r\n contained: {\r\n default: {\r\n backgroundColor: theme.colors.primary,\r\n color: theme.colors.onPrimary,\r\n border: 'none',\r\n },\r\n hover: { backgroundColor: theme.colors.primaryHover },\r\n pressed: { backgroundColor: theme.colors.primaryActive },\r\n disabled: { ...baseDisabled, backgroundColor: theme.colors.disabled },\r\n textColor: 'onPrimary',\r\n },\r\n outlined: {\r\n default: {\r\n ...transparentBase,\r\n border: `1px solid ${theme.colors.primary}`,\r\n },\r\n ...surfaceStates,\r\n disabled: { ...baseDisabled, backgroundColor: 'transparent', borderColor: theme.colors.disabled },\r\n textColor: 'primary',\r\n },\r\n text: {\r\n default: { ...transparentBase, border: 'none' },\r\n ...surfaceStates,\r\n disabled: { ...baseDisabled, backgroundColor: 'transparent' },\r\n textColor: 'primary',\r\n },\r\n }\r\n}\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { ButtonStyleParams } from '@components/inputs/button/Button.props.ts'\r\nimport { BUTTON_SIZE } from '@constants/globalConstants.ts'\r\nimport { getButtonVariantStyles } from '@utils/ui/components/button/getButtonVariantStyles.utils.ts'\r\n\r\n/**\r\n * Button styles using createStyles from @aurora-ds/theme\r\n *\r\n * Override via className with createStyles:\r\n * ```tsx\r\n * const myStyles = createStyles((theme) => ({\r\n * custom: {\r\n * backgroundColor: theme.colors.accent,\r\n * ':hover': { backgroundColor: theme.colors.accentHover }\r\n * }\r\n * }))\r\n * <Button className={myStyles.custom} label=\"Custom\" />\r\n * ```\r\n */\r\nexport const BUTTON_STYLES = createStyles((theme) => {\r\n const variantStyles = getButtonVariantStyles(theme)\r\n\r\n return {\r\n root: ({\r\n variant = 'contained',\r\n active = false\r\n }: ButtonStyleParams) => ({\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n boxSizing: 'border-box',\r\n gap: theme.spacing.sm,\r\n padding: `${theme.spacing.sm} ${theme.spacing.md}`,\r\n borderRadius: theme.radius.md,\r\n cursor: 'pointer',\r\n transition: `background-color ${theme.transition.fast}, color ${theme.transition.fast}`,\r\n minHeight: BUTTON_SIZE,\r\n maxHeight: BUTTON_SIZE,\r\n fontFamily: 'inherit',\r\n ...variantStyles[variant].default,\r\n ...(active && variantStyles[variant].pressed),\r\n ':hover': variantStyles[variant].hover,\r\n ':active': variantStyles[variant].pressed,\r\n ':disabled': variantStyles[variant].disabled,\r\n }),\r\n }\r\n})\r\n","import { useTheme } from '@aurora-ds/theme'\r\nimport { FC } from 'react'\r\n\r\nimport { Icon } from '@components/data-display/icon'\r\nimport { ButtonProps } from '@components/inputs/button/Button.props.ts'\r\nimport { BUTTON_STYLES } from '@components/inputs/button/Button.styles.ts'\r\nimport { Text } from '@components/layout/text'\r\nimport { getButtonVariantStyles } from '@utils/ui/components/button/getButtonVariantStyles.utils.ts'\r\n\r\n/**\r\n * Button component\r\n *\r\n * **Variants:**\r\n * - `contained`: Solid background button (default)\r\n * - `outlined`: Border only button\r\n * - `text`: Text only button without background\r\n */\r\nconst Button: FC<ButtonProps> = ({\r\n label,\r\n startIcon,\r\n endIcon,\r\n variant = 'contained',\r\n active = false,\r\n onClick,\r\n disabled,\r\n type = 'button',\r\n}) => {\r\n const theme = useTheme()\r\n const variantStyles = getButtonVariantStyles(theme)\r\n const textColor = disabled ? 'disabledText' : variantStyles[variant].textColor\r\n\r\n return (\r\n <button\r\n onClick={onClick}\r\n disabled={disabled}\r\n type={type}\r\n className={BUTTON_STYLES.root({ variant, active })}\r\n >\r\n {startIcon && (\r\n <Icon color={textColor}>\r\n {startIcon}\r\n </Icon>\r\n )}\r\n <Text\r\n variant={'label'}\r\n color={textColor}\r\n >\r\n {label}\r\n </Text>\r\n {endIcon && (\r\n <Icon color={textColor}>\r\n {endIcon}\r\n </Icon>\r\n )}\r\n </button>\r\n )\r\n}\r\n\r\nButton.displayName = 'Button'\r\n\r\nexport default Button\r\n","import { createStyles } from '@aurora-ds/theme'\n\nimport { IconButtonStyleParams } from '@components/inputs/icon-button/IconButton.props.ts'\nimport { BUTTON_SIZE } from '@constants/globalConstants.ts'\nimport { getButtonVariantStyles } from '@utils/ui/components/button/getButtonVariantStyles.utils.ts'\n\nexport const ICON_BUTTON_STYLES = createStyles((theme) => {\n const variantStyles = getButtonVariantStyles(theme)\n\n return {\n root: ({\n variant = 'contained',\n active = false\n }: IconButtonStyleParams) => ({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n boxSizing: 'border-box',\n gap: theme.spacing.sm,\n padding: `${theme.spacing.sm} ${theme.spacing.md}`,\n borderRadius: theme.radius.md,\n cursor: 'pointer',\n transition: `background-color ${theme.transition.fast}, color ${theme.transition.fast}`,\n minHeight: BUTTON_SIZE,\n maxHeight: BUTTON_SIZE,\n minWidth: BUTTON_SIZE,\n maxWidth: BUTTON_SIZE,\n fontFamily: 'inherit',\n ...variantStyles[variant].default,\n ...(active && variantStyles[variant].pressed),\n ':hover': variantStyles[variant].hover,\n ':active': variantStyles[variant].pressed,\n ':disabled': variantStyles[variant].disabled,\n }),\n }\n})\n","import { useTheme } from '@aurora-ds/theme'\nimport { FC } from 'react'\n\nimport Icon from '@components/data-display/icon/Icon.tsx'\nimport { IconButtonProps } from '@components/inputs/icon-button/IconButton.props.ts'\nimport { ICON_BUTTON_STYLES } from '@components/inputs/icon-button/IconButton.styles.ts'\nimport { getButtonVariantStyles } from '@utils/ui/components/button/getButtonVariantStyles.utils.ts'\n\nconst IconButton: FC<IconButtonProps> = ({\n icon,\n variant = 'contained',\n active = false,\n type = 'button',\n onClick,\n disabled\n}) => {\n const theme = useTheme()\n const variantStyles = getButtonVariantStyles(theme)\n const textColor = disabled ? 'disabledText' : variantStyles[variant].textColor\n\n return (\n <button\n onClick={onClick}\n disabled={disabled}\n type={type}\n className={ICON_BUTTON_STYLES.root({ variant, active })}\n >\n <Icon\n color={textColor}\n >\n {icon}\n </Icon>\n </button>\n )\n}\n\nIconButton.displayName = 'IconButton'\n\nexport default IconButton\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { StackStyleParams } from '@components/layout/stack/Stack.props.ts'\r\n\r\n/**\r\n * Stack styles using createStyles from @aurora-ds/theme\r\n */\r\nexport const STACK_STYLES = createStyles((theme) => ({\r\n root: ({\r\n direction,\r\n gap,\r\n width,\r\n height,\r\n align,\r\n justify,\r\n wrap,\r\n padding,\r\n }: StackStyleParams) => ({\r\n display: 'flex',\r\n flexDirection: direction,\r\n gap: gap ? theme.spacing[gap] : undefined,\r\n width,\r\n height,\r\n alignItems: align,\r\n justifyContent: justify,\r\n flexWrap: wrap,\r\n padding: padding ? theme.spacing[padding] : undefined,\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { StackProps } from '@components/layout/stack/Stack.props.ts'\r\nimport { STACK_STYLES } from '@components/layout/stack/Stack.styles.ts'\r\n\r\n/**\r\n * Stack component\r\n *\r\n * A flexbox container for laying out children in a row or column.\r\n *\r\n * **Direction:**\r\n * - `row`: Horizontal layout (default)\r\n * - `column`: Vertical layout\r\n */\r\nconst Stack: FC<StackProps> = ({\r\n children,\r\n direction = 'row',\r\n gap = 'sm',\r\n width,\r\n height,\r\n align = 'center',\r\n justify,\r\n wrap,\r\n padding,\r\n}) => {\r\n return (\r\n <div\r\n className={STACK_STYLES.root({\r\n direction,\r\n gap,\r\n width,\r\n height,\r\n align,\r\n justify,\r\n wrap,\r\n padding,\r\n })}\r\n >\r\n {children}\r\n </div>\r\n )\r\n}\r\n\r\nStack.displayName = 'Stack'\r\n\r\nexport default Stack\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { CardStyleParams } from '@components/layout/card/Card.props.ts'\r\n\r\n/**\r\n * Card styles using createStyles from @aurora-ds/theme\r\n */\r\nexport const CARD_STYLES = createStyles((theme) => ({\r\n root: ({\r\n direction,\r\n padding,\r\n width,\r\n height,\r\n gap,\r\n radius,\r\n shadow,\r\n align,\r\n justify,\r\n backgroundColor,\r\n borderColor\r\n }: CardStyleParams) => ({\r\n display: 'flex',\r\n flexDirection: direction,\r\n padding: padding ? theme.spacing[padding] : undefined,\r\n width,\r\n height,\r\n gap: gap ? theme.spacing[gap] : undefined,\r\n borderRadius: theme.radius[radius],\r\n boxShadow: theme.shadows[shadow],\r\n backgroundColor: theme.colors[backgroundColor],\r\n border: borderColor ? `1px solid ${theme.colors[borderColor]}` : 'none',\r\n alignItems: align,\r\n justifyContent: justify,\r\n boxSizing: 'border-box',\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { CardProps } from '@components/layout/card/Card.props.ts'\r\nimport { CARD_STYLES } from '@components/layout/card/Card.styles.ts'\r\n\r\n/**\r\n * Card component\r\n *\r\n * A container component with a background, border radius, and optional shadow.\r\n * Uses a Stack layout internally for organizing children.\r\n *\r\n * **Direction:**\r\n * - `column`: Vertical layout (default)\r\n * - `row`: Horizontal layout\r\n */\r\nconst Card: FC<CardProps> = ({\r\n children,\r\n direction = 'column',\r\n padding = 'md',\r\n width,\r\n height,\r\n gap,\r\n radius = 'md',\r\n shadow = 'sm',\r\n align,\r\n justify,\r\n backgroundColor = 'background',\r\n borderColor\r\n}) => {\r\n return (\r\n <div\r\n className={CARD_STYLES.root({\r\n direction,\r\n padding,\r\n width,\r\n height,\r\n gap,\r\n radius,\r\n shadow,\r\n align,\r\n justify,\r\n backgroundColor,\r\n borderColor\r\n })}\r\n >\r\n {children}\r\n </div>\r\n )\r\n}\r\n\r\nCard.displayName = 'Card'\r\n\r\nexport default Card\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport {\r\n AccordionContentStyleParams,\r\n AccordionHeaderStyleParams,\r\n AccordionIconStyleParams,\r\n AccordionStyleParams\r\n} from '@components/layout/accordion/Accordion.props.ts'\r\n\r\nexport const ACCORDION_STYLES = createStyles((theme) => {\r\n return {\r\n root: ({ disabled, width }: AccordionStyleParams) => ({\r\n width: width ?? '100%',\r\n overflow: 'hidden',\r\n opacity: disabled ? 0.8 : 1,\r\n borderRadius: theme.radius.md,\r\n }),\r\n header: ({ disabled, backgroundColor }: AccordionHeaderStyleParams) => ({\r\n display: 'flex',\r\n alignItems: 'center',\r\n width: '100%',\r\n padding: `${theme.spacing.sm} ${theme.spacing.md}`,\r\n border: 'none',\r\n backgroundColor: backgroundColor ? theme.colors[backgroundColor] :'transparent',\r\n cursor: disabled ? 'not-allowed' : 'pointer',\r\n transition: `background-color ${theme.transition.fast}`,\r\n gap: theme.spacing.sm,\r\n borderRadius: theme.radius.md,\r\n ':hover': {\r\n backgroundColor: disabled ? 'transparent' : theme.colors.surfaceHover,\r\n },\r\n }),\r\n expandIcon: ({ expanded }: AccordionIconStyleParams) => ({\r\n transition: `transform ${theme.transition.fast}`,\r\n transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)',\r\n }),\r\n content: ({ expanded }: AccordionContentStyleParams) => ({\r\n display: expanded ? 'block' : 'none',\r\n padding: `0 ${theme.spacing.md} ${theme.spacing.md}`,\r\n }),\r\n }\r\n})\r\n","export const ChevronDownIcon = () => {\r\n return (\r\n <svg\r\n xmlns={'http://www.w3.org/2000/svg'}\r\n width={'100%'}\r\n height={'100%'}\r\n viewBox={'0 0 24 24'}\r\n fill={'none'}\r\n stroke={'currentColor'}\r\n stroke-width={'2'}\r\n stroke-linecap={'round'}\r\n stroke-linejoin={'round'}\r\n className={'lucide lucide-chevron-down-icon lucide-chevron-down'}\r\n >\r\n <path d={'m6 9 6 6 6-6'}/>\r\n </svg>\r\n\r\n )\r\n}\r\n","import { FC, useState } from 'react'\r\n\r\nimport { Icon } from '@components/data-display/icon'\r\nimport { AccordionProps } from '@components/layout/accordion/Accordion.props.ts'\r\nimport { ACCORDION_STYLES } from '@components/layout/accordion/Accordion.styles.ts'\r\nimport { Stack } from '@components/layout/stack'\r\nimport { Text } from '@components/layout/text'\r\nimport { ChevronDownIcon } from '@resources/Icons.ts'\r\n\r\n/**\r\n * Accordion component\r\n *\r\n * A collapsible container that can show/hide content.\r\n * Supports controlled and uncontrolled modes.\r\n */\r\nconst Accordion: FC<AccordionProps> = ({\r\n title,\r\n children,\r\n expanded,\r\n defaultExpanded = false,\r\n onChange,\r\n disabled = false,\r\n icon,\r\n backgroundColor,\r\n width\r\n}) => {\r\n const [internalExpanded, setInternalExpanded] = useState(defaultExpanded)\r\n\r\n // Use controlled value if provided, otherwise use internal state\r\n const isExpanded = expanded !== undefined ? expanded : internalExpanded\r\n\r\n const handleToggle = () => {\r\n if (disabled) {return}\r\n\r\n const newExpanded = !isExpanded\r\n\r\n // Update internal state for uncontrolled mode\r\n if (expanded === undefined) {\r\n setInternalExpanded(newExpanded)\r\n }\r\n\r\n // Call onChange callback\r\n onChange?.(newExpanded)\r\n }\r\n\r\n return (\r\n <div\r\n className={ACCORDION_STYLES.root({ disabled, width })}\r\n >\r\n <button\r\n type={'button'}\r\n className={ACCORDION_STYLES.header({ disabled, backgroundColor })}\r\n onClick={handleToggle}\r\n disabled={disabled}\r\n aria-expanded={isExpanded}\r\n >\r\n <Stack\r\n direction={'row'}\r\n align={'center'}\r\n gap={'sm'}\r\n width={'100%'}\r\n >\r\n {icon && (\r\n <Icon color={disabled ? 'disabledText' : 'text'}>\r\n {icon}\r\n </Icon>\r\n )}\r\n <Text\r\n variant={'label'}\r\n color={disabled ? 'disabledText' : 'text'}\r\n >\r\n {title}\r\n </Text>\r\n </Stack>\r\n <div\r\n className={ACCORDION_STYLES.expandIcon({ expanded: isExpanded })}\r\n >\r\n <Icon color={disabled ? 'disabledText' : 'text'}>\r\n <ChevronDownIcon />\r\n </Icon>\r\n </div>\r\n </button>\r\n <div\r\n className={ACCORDION_STYLES.content({ expanded: isExpanded })}\r\n role={'region'}\r\n aria-hidden={!isExpanded}\r\n >\r\n {children}\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nAccordion.displayName = 'Accordion'\r\n\r\nexport default Accordion\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { DrawerItemStyleParams } from '@components/navigation/drawer-item/DrawerItem.props'\r\nimport { DRAWER_ITEM_HEIGHT } from '@constants/globalConstants.ts'\r\n\r\n/**\r\n * DrawerItem styles using createStyles from @aurora-ds/theme\r\n */\r\nexport const DRAWER_ITEM_STYLES = createStyles((theme) => ({\r\n root: ({ selected = false }: DrawerItemStyleParams) => ({\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n justifyContent: 'space-between',\r\n boxSizing: 'border-box',\r\n gap: theme.spacing.sm,\r\n padding: `${theme.spacing.xs} ${theme.spacing.sm}`,\r\n borderRadius: theme.radius.md,\r\n cursor: 'pointer',\r\n transition: `background-color ${theme.transition.fast}, color ${theme.transition.fast}`,\r\n fontFamily: 'inherit',\r\n width: '100%',\r\n minHeight: DRAWER_ITEM_HEIGHT,\r\n maxHeight: DRAWER_ITEM_HEIGHT,\r\n backgroundColor: selected ? theme.colors.primary : 'transparent',\r\n color: selected ? theme.colors.onPrimary : theme.colors.textSecondary,\r\n border: 'none',\r\n ':hover': {\r\n backgroundColor: selected ? theme.colors.primaryHover : theme.colors.surfaceHover,\r\n color: selected ? theme.colors.onPrimary : theme.colors.text,\r\n },\r\n ':active': {\r\n backgroundColor: selected ? theme.colors.primaryActive : theme.colors.surfaceActive,\r\n },\r\n ':disabled': {\r\n color: theme.colors.disabledText,\r\n backgroundColor: selected ? theme.colors.disabled : 'transparent',\r\n cursor: 'not-allowed',\r\n },\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { Chip } from '@components/data-display/chip'\r\nimport { Icon } from '@components/data-display/icon'\r\nimport { Stack } from '@components/layout/stack'\r\nimport { Text } from '@components/layout/text'\r\nimport { DrawerItemProps } from '@components/navigation/drawer-item/DrawerItem.props'\r\nimport { DRAWER_ITEM_STYLES } from '@components/navigation/drawer-item/DrawerItem.styles'\r\n\r\n/**\r\n * DrawerItem component\r\n *\r\n * A navigation item for use in drawers/sidebars.\r\n * Similar to a text button with selected state support.\r\n */\r\nconst DrawerItem: FC<DrawerItemProps> = ({\r\n label,\r\n startIcon,\r\n endIcon,\r\n selected = false,\r\n onClick,\r\n disabled,\r\n chip\r\n}) => {\r\n return (\r\n <button\r\n onClick={onClick}\r\n disabled={disabled}\r\n type={'button'}\r\n className={DRAWER_ITEM_STYLES.root({ selected })}\r\n >\r\n <Stack>\r\n {startIcon && (\r\n <Icon>\r\n {startIcon}\r\n </Icon>\r\n )}\r\n <Text\r\n variant={'label'}\r\n maxLines={1}\r\n >\r\n {label}\r\n </Text>\r\n {endIcon && (\r\n <Icon>\r\n {endIcon}\r\n </Icon>\r\n )}\r\n </Stack>\r\n {chip && !selected && (\r\n <Chip\r\n {...chip}\r\n size={'2xs'}\r\n color={chip.color ?? 'info'}\r\n disabled={disabled}\r\n />\r\n )}\r\n </button>\r\n )\r\n}\r\n\r\nDrawerItem.displayName = 'DrawerItem'\r\n\r\nexport default DrawerItem\r\n"],"names":["createStyles","_jsx","createElement","Fragment","theme","useTheme","useMemo","_jsxs","colors","useState"],"mappings":";;;;;;AAEO,MAAM,WAAW,GAAGA,kBAAY,CAAC,CAAC,KAAK,MAAM;AAChD,IAAA,IAAI,EAAE,CACF,IAA8B,EAC9B,KAA6B,EAC7B,eAAuC,EACvC,OAAgC,EAChC,YAAoC,MAClC;AACF,QAAA,SAAS,EAAE,aAAa;AACxB,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,UAAU,EAAE,QAAQ;AACpB,QAAA,cAAc,EAAE,QAAQ;AACxB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QA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eAAe,EAAE,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,GAAG,aAAa;AACjE,YAAA,MAAM,EAAE,aAAa;AACxB,SAAA;KACJ,CAAC;AACL,CAAA,CAAC,CAAC;;AC9BH;;;;;AAKG;AACH,MAAM,UAAU,GAAwB,CAAC,EACrC,KAAK,EACL,SAAS,EACT,OAAO,EACP,QAAQ,GAAG,KAAK,EAChB,OAAO,EACP,QAAQ,EACR,IAAI,EACP,KAAI;IACD,QACIO,4BACI,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,QAAQ,EACd,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAA,QAAA,EAAA,CAEhDA,gBAAC,KAAK,EAAA,EAAA,QAAA,EAAA,CACD,SAAS,KACNN,eAAC,IAAI,EAAA,EAAA,QAAA,EACA,SAAS,EAAA,CACP,CACV,EACDA,cAAA,CAAC,IAAI,IACD,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,CAAC,EAAA,QAAA,EAEV,KAAK,EAAA,CACH,EACN,OAAO,KACJA,eAAC,IAAI,EAAA,EAAA,QAAA,EACA,OAAO,EAAA,CACL,CACV,IACG,EACP,IAAI,IAAI,CAAC,QAAQ,KACdA,cAAA,CAAC,IAAI,EAAA,EAAA,GACG,IAAI,EACR,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,MAAM,EAC3B,QAAQ,EAAE,QAAQ,EAAA,CACpB,CACL,CAAA,EAAA,CACI;AAEjB;AAEA,UAAU,CAAC,WAAW,GAAG,YAAY;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/components/data-display/icon/Icon.styles.ts","../../src/components/data-display/icon/Icon.tsx","../../src/utils/ui/components/chip/getChipColorStyles.utils.ts","../../src/utils/ui/components/chip/getChipSizeStyles.utils.ts","../../src/components/data-display/chip/Chip.styles.ts","../../src/utils/ui/components/text/getTextVariantStyles.utils.ts","../../src/utils/ui/components/text/getTruncateTextStyles.utils.ts","../../src/components/layout/text/Text.styles.ts","../../src/utils/ui/components/text/parseTextWithBold.utils.ts","../../src/components/layout/text/Text.tsx","../../src/utils/ui/components/chip/getChipContentSize.utils.ts","../../src/components/data-display/chip/Chip.tsx","../../src/constants/globalConstants.ts","../../src/utils/ui/components/button/getButtonVariantStyles.utils.ts","../../src/components/inputs/button/Button.styles.ts","../../src/components/inputs/button/Button.tsx","../../src/components/inputs/icon-button/IconButton.styles.ts","../../src/components/inputs/icon-button/IconButton.tsx","../../src/components/layout/stack/Stack.styles.ts","../../src/components/layout/stack/Stack.tsx","../../src/components/layout/card/Card.styles.ts","../../src/components/layout/card/Card.tsx","../../src/components/layout/grid/Grid.styles.ts","../../src/components/layout/grid/Grid.tsx","../../src/components/layout/accordion/Accordion.styles.ts","../../src/resources/icons/ChevronDownIcon.tsx","../../src/components/layout/accordion/Accordion.tsx","../../src/components/navigation/drawer-item/DrawerItem.styles.ts","../../src/components/navigation/drawer-item/DrawerItem.tsx"],"sourcesContent":["import { Theme, createStyles } from '@aurora-ds/theme'\r\n\r\nexport const ICON_STYLES = createStyles((theme) => ({\r\n root: (\r\n size?: keyof Theme['fontSize'],\r\n color?: keyof Theme['colors'],\r\n backgroundColor?: keyof Theme['colors'],\r\n padding?: keyof Theme['spacing'],\r\n borderRadius?: keyof Theme['radius']\r\n ) => ({\r\n boxSizing: 'content-box',\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n overflow: 'hidden',\r\n transition: 'color 150ms ease-in-out',\r\n flexShrink: 0,\r\n lineHeight: 0,\r\n height: theme.fontSize[size ?? 'md'],\r\n width: theme.fontSize[size ?? 'md'],\r\n minWidth: theme.fontSize[size ?? 'md'],\r\n minHeight: theme.fontSize[size ?? 'md'],\r\n color: color ? theme.colors[color] : 'inherit',\r\n backgroundColor: backgroundColor ? theme.colors[backgroundColor] : undefined,\r\n padding: padding ? theme.spacing[padding] : 0,\r\n borderRadius: theme.radius[borderRadius ?? 'md'],\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { IconProps } from '@components/data-display/icon/Icon.props.ts'\r\nimport { ICON_STYLES } from '@components/data-display/icon/Icon.styles.ts'\r\n\r\n/**\r\n * Icon component - Wrapper for SVG icons with theme-aware styling\r\n *\r\n * **Features:**\r\n * - Theme-aware sizing via font sizes\r\n * - Color and fill support from theme\r\n * - Optional background with padding and border radius\r\n * - Transition animation on color changes\r\n *\r\n * **Usage:**\r\n * ```tsx\r\n * import { SomeIcon } from 'some-icon-library'\r\n *\r\n * <Icon size=\"md\" color=\"primary\">\r\n * <SomeIcon />\r\n * </Icon>\r\n * ```\r\n *\r\n * **With background:**\r\n * ```tsx\r\n * <Icon\r\n * size=\"lg\"\r\n * color=\"onPrimary\"\r\n * backgroundColor=\"primary\"\r\n * padding=\"sm\"\r\n * borderRadius=\"full\"\r\n * >\r\n * <SomeIcon />\r\n * </Icon>\r\n * ```\r\n */\r\nconst Icon: FC<IconProps> = ({\r\n children,\r\n size,\r\n color,\r\n backgroundColor,\r\n padding,\r\n borderRadius,\r\n}) => {\r\n return (\r\n <div className={ICON_STYLES.root(size, color, backgroundColor, padding, borderRadius)}>\r\n {children}\r\n </div>\r\n )\r\n}\r\n\r\nIcon.displayName = 'Icon'\r\n\r\nexport default Icon\r\n","import { Theme } from '@aurora-ds/theme'\n\nimport { ChipStyleParams } from '@components/data-display/chip/Chip.props'\n\nexport const getChipColorStyles = (\n theme: Theme,\n color: ChipStyleParams['color'],\n variant: ChipStyleParams['variant'],\n disabled: ChipStyleParams['disabled']\n) => {\n if (disabled) {\n return {\n filled: {\n backgroundColor: theme.colors.disabled,\n color: theme.colors.disabledText,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: 'transparent',\n color: theme.colors.disabledText,\n borderColor: theme.colors.disabled,\n },\n }[variant]\n }\n\n const colorMap = {\n default: {\n filled: {\n backgroundColor: theme.colors.surfaceHover,\n color: theme.colors.text,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: 'transparent',\n color: theme.colors.text,\n borderColor: theme.colors.border,\n },\n },\n primary: {\n filled: {\n backgroundColor: theme.colors.primary,\n color: theme.colors.onPrimary,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: 'transparent',\n color: theme.colors.primary,\n borderColor: theme.colors.primary,\n },\n },\n success: {\n filled: {\n backgroundColor: theme.colors.successSubtle,\n color: theme.colors.success,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: theme.colors.successSubtle,\n color: theme.colors.success,\n borderColor: theme.colors.success,\n },\n },\n warning: {\n filled: {\n backgroundColor: theme.colors.warningSubtle,\n color: theme.colors.warning,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: theme.colors.warningSubtle,\n color: theme.colors.warning,\n borderColor: theme.colors.warning,\n },\n },\n error: {\n filled: {\n backgroundColor: theme.colors.errorSubtle,\n color: theme.colors.error,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: theme.colors.errorSubtle,\n color: theme.colors.error,\n borderColor: theme.colors.error,\n },\n },\n info: {\n filled: {\n backgroundColor: theme.colors.infoSubtle,\n color: theme.colors.info,\n borderColor: 'transparent',\n },\n outlined: {\n backgroundColor: theme.colors.infoSubtle,\n color: theme.colors.info,\n borderColor: theme.colors.info,\n },\n },\n }\n return colorMap[color][variant]\n}\n","import { Theme } from '@aurora-ds/theme'\r\n\r\nimport { ChipStyleParams } from '@components/data-display/chip/Chip.props'\r\n\r\n/**\r\n * Get chip size styles based on the theme, size and icon-only state\r\n * @param theme - Theme object\r\n * @param size - Chip size\r\n * @param isIconOnly - Whether the chip has only an icon (no label)\r\n */\r\nexport const getChipSizeStyles = (\r\n theme: Theme,\r\n size: ChipStyleParams['size'],\r\n isIconOnly: ChipStyleParams['isIconOnly']\r\n) => {\r\n const sizeMap = {\r\n '2xs': {\r\n iconOnly: { padding: theme.spacing.xs, fontSize: theme.fontSize['2xs'] },\r\n withLabel: { padding: `${theme.spacing.xs} ${theme.spacing.sm}`, fontSize: theme.fontSize['2xs'] },\r\n },\r\n xs: {\r\n iconOnly: { padding: theme.spacing.xs, fontSize: theme.fontSize.xs },\r\n withLabel: { padding: `${theme.spacing.xs} ${theme.spacing.sm}`, fontSize: theme.fontSize.xs },\r\n },\r\n sm: {\r\n iconOnly: { padding: theme.spacing.xs, fontSize: theme.fontSize.sm },\r\n withLabel: { padding: `${theme.spacing.xs} ${theme.spacing.sm}`, fontSize: theme.fontSize.sm },\r\n },\r\n md: {\r\n iconOnly: { padding: theme.spacing.sm, fontSize: theme.fontSize.md },\r\n withLabel: { padding: `${theme.spacing.sm} ${theme.spacing.md}`, fontSize: theme.fontSize.sm },\r\n },\r\n lg: {\r\n iconOnly: { padding: theme.spacing.md, fontSize: theme.fontSize.lg },\r\n withLabel: { padding: `${theme.spacing.sm} ${theme.spacing.lg}`, fontSize: theme.fontSize.md },\r\n },\r\n }\r\n\r\n return isIconOnly ? sizeMap[size].iconOnly : sizeMap[size].withLabel\r\n}\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { ChipStyleParams } from '@components/data-display/chip/Chip.props'\r\nimport { getChipColorStyles } from '@utils/ui/components/chip/getChipColorStyles.utils'\r\nimport { getChipSizeStyles } from '@utils/ui/components/chip/getChipSizeStyles.utils'\r\n\r\nexport const CHIP_STYLES = createStyles((theme) => ({\r\n root: ({ variant, color, size, isIconOnly, disabled, gap, radius }: ChipStyleParams) => {\r\n const colorStyles = getChipColorStyles(theme, color, variant, disabled)\r\n const sizeStyles = getChipSizeStyles(theme, size, isIconOnly)\r\n\r\n return {\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n gap: gap ? theme.spacing[gap] : theme.spacing.sm,\r\n borderRadius: radius ? theme.radius[radius] : theme.radius.md,\r\n border: variant === 'outlined' ? '1px solid' : 'none',\r\n aspectRatio: isIconOnly ? 1 : undefined,\r\n height: 'fit-content',\r\n width: 'fit-content',\r\n fontFamily: 'inherit',\r\n fontWeight: theme.fontWeight.medium,\r\n whiteSpace: 'nowrap',\r\n boxSizing: 'border-box',\r\n ...sizeStyles,\r\n ...colorStyles,\r\n }\r\n },\r\n}))\r\n","import { Theme } from '@aurora-ds/theme'\r\n\r\nimport { TextVariants, TextVariantStyle } from '@interfaces/text.types'\r\n\r\n/**\r\n * Get text variant styles based on the theme\r\n * @param theme\r\n */\r\nexport const getTextVariantStyles = (theme: Theme): Record<TextVariants, TextVariantStyle> => ({\r\n h1: {\r\n tag: 'h1',\r\n fontSize: theme.fontSize.xl,\r\n fontWeight: theme.fontWeight.bold,\r\n lineHeight: theme.lineHeight.tight,\r\n },\r\n h2: {\r\n tag: 'h2',\r\n fontSize: theme.fontSize.lg,\r\n fontWeight: theme.fontWeight.bold,\r\n lineHeight: theme.lineHeight.tight,\r\n },\r\n h3: {\r\n tag: 'h3',\r\n fontSize: theme.fontSize.md,\r\n fontWeight: theme.fontWeight.semibold,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n h4: {\r\n tag: 'h4',\r\n fontSize: theme.fontSize.md,\r\n fontWeight: theme.fontWeight.semibold,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n h5: {\r\n tag: 'h5',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.medium,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n h6: {\r\n tag: 'h6',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.medium,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n p: {\r\n tag: 'p',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.regular,\r\n lineHeight: theme.lineHeight.relaxed,\r\n },\r\n span: {\r\n tag: 'span',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.regular,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n label: {\r\n tag: 'label',\r\n fontSize: theme.fontSize.sm,\r\n fontWeight: theme.fontWeight.medium,\r\n lineHeight: theme.lineHeight.normal,\r\n },\r\n})\r\n","export const getTruncateTextStyles = (maxLines: number) => (\r\n maxLines === 1\r\n ? {\r\n whiteSpace: 'nowrap' as const,\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n }\r\n : {\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n display: '-webkit-box',\r\n WebkitLineClamp: maxLines,\r\n WebkitBoxOrient: 'vertical' as const,\r\n lineClamp: maxLines,\r\n }\r\n)\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { TextStyleParams } from '@components/layout/text/Text.props.ts'\r\nimport { getTextVariantStyles } from '@utils/ui/components/text/getTextVariantStyles.utils.ts'\r\nimport { getTruncateTextStyles } from '@utils/ui/components/text/getTruncateTextStyles.utils.ts'\r\n\r\nexport const TEXT_STYLES = createStyles((theme) => {\r\n const variantStyles = getTextVariantStyles(theme)\r\n\r\n return {\r\n root: ({\r\n variant = 'span',\r\n color,\r\n fontSize,\r\n fontFamily,\r\n maxLines,\r\n underline\r\n }: TextStyleParams) => ({\r\n margin: 0,\r\n fontSize: fontSize ? theme.fontSize[fontSize] : variantStyles[variant].fontSize,\r\n fontWeight: variantStyles[variant].fontWeight,\r\n lineHeight: variantStyles[variant].lineHeight,\r\n color: color ? theme.colors[color] : 'inherit',\r\n cursor: 'inherit',\r\n ...(fontFamily && { fontFamily }),\r\n ...(underline && {\r\n textDecoration: 'underline',\r\n textUnderlineOffset: '3px',\r\n }),\r\n ...(maxLines && getTruncateTextStyles(maxLines)),\r\n }),\r\n }\r\n})\r\n","import { createElement, Fragment, ReactNode } from 'react'\r\n\r\n/**\r\n * Parses text content and converts **bold** syntax to <strong> elements\r\n * @param children - The content to parse (string or ReactNode)\r\n * @returns Parsed content with bold text wrapped in <strong> elements\r\n */\r\nexport const parseTextWithBold = (children: ReactNode): ReactNode => {\r\n if (typeof children !== 'string' || !children.includes('**')) {\r\n return children\r\n }\r\n\r\n const boldPattern = /\\*\\*(.+?)\\*\\*/g\r\n const parts: ReactNode[] = []\r\n let lastIndex = 0\r\n let match: RegExpExecArray | null\r\n\r\n while ((match = boldPattern.exec(children)) !== null) {\r\n if (match.index > lastIndex) {\r\n parts.push(children.slice(lastIndex, match.index))\r\n }\r\n\r\n parts.push(\r\n createElement('strong', { key: match.index }, match[1])\r\n )\r\n\r\n lastIndex = match.index + match[0].length\r\n }\r\n\r\n if (parts.length === 0) {\r\n return children\r\n }\r\n\r\n if (lastIndex < children.length) {\r\n parts.push(children.slice(lastIndex))\r\n }\r\n\r\n return createElement(Fragment, null, ...parts)\r\n}\r\n","import { useTheme } from '@aurora-ds/theme'\r\nimport { createElement, FC, useMemo } from 'react'\r\n\r\nimport { TextProps } from '@components/layout/text/Text.props.ts'\r\nimport { TEXT_STYLES } from '@components/layout/text/Text.styles.ts'\r\nimport { getTextVariantStyles } from '@utils/ui/components/text/getTextVariantStyles.utils.ts'\r\nimport { parseTextWithBold } from '@utils/ui/components/text/parseTextWithBold.utils.ts'\r\n\r\n/**\r\n * Text component - Renders semantic HTML elements based on variant\r\n *\r\n * **Variants:**\r\n * - `h1-h6`: Heading elements with appropriate styling\r\n * - `p`: Paragraph element with relaxed line height\r\n * - `span`: Inline text element (default)\r\n * - `label`: Label element with medium font weight\r\n *\r\n * **Features:**\r\n * - Automatic HTML tag selection based on variant\r\n * - Theme-aware colors\r\n * - Text truncation with `maxLines`\r\n * - Underline support\r\n * - Bold text with **double asterisks** syntax\r\n */\r\nconst Text: FC<TextProps> = ({\r\n children,\r\n variant = 'span',\r\n color,\r\n fontSize,\r\n fontFamily,\r\n maxLines,\r\n underline,\r\n}) => {\r\n const theme = useTheme()\r\n const variantStyles = useMemo(() => getTextVariantStyles(theme), [theme])\r\n const tag = variantStyles[variant].tag\r\n const parsedChildren = useMemo(() => parseTextWithBold(children), [children])\r\n\r\n return createElement(\r\n tag,\r\n { className: TEXT_STYLES.root({ variant, color, fontSize, fontFamily, maxLines, underline }) },\r\n parsedChildren\r\n )\r\n}\r\n\r\nText.displayName = 'Text'\r\n\r\nexport default Text\r\n","import { BaseFontSize } from '@aurora-ds/theme'\n\nimport { ChipStyleParams } from '@components/data-display/chip/Chip.props'\n\n/**\n * Get chip content size based on the chip size\n * @param size\n * @constructor\n */\nexport const getChipContentSize = (\n size: ChipStyleParams['size'],\n): keyof BaseFontSize => {\n const sizeMap = {\n '2xs': '2xs',\n xs: 'xs',\n sm: 'sm',\n md: 'sm',\n lg: 'md',\n }\n\n return sizeMap[size] as keyof BaseFontSize\n}\n","import { FC } from 'react'\n\nimport { ChipProps } from '@components/data-display/chip/Chip.props'\nimport { CHIP_STYLES } from '@components/data-display/chip/Chip.styles'\nimport { Icon } from '@components/data-display/icon'\nimport Text from '@components/layout/text/Text.tsx'\nimport { getChipContentSize } from '@utils/ui/components/chip/getChipContentSize.utils.ts'\n\n/**\n * Chip component\n *\n * A compact element for displaying information, tags, or actions.\n *\n * **Variants:**\n * - `filled`: Solid background (default)\n * - `outlined`: Border only\n *\n * **Colors:**\n * - `default`, `primary`, `success`, `warning`, `error`, `info`\n */\nconst Chip: FC<ChipProps> = ({\n label,\n icon,\n variant = 'filled',\n color = 'default',\n size = 'md',\n gap,\n radius,\n disabled = false,\n}) => {\n const isIconOnly = Boolean(icon) && !label\n\n return (\n <span\n className={CHIP_STYLES.root({\n variant,\n color,\n size,\n isIconOnly,\n disabled,\n gap,\n radius,\n })}\n >\n {icon && (\n <Icon\n size={getChipContentSize(size)}\n >\n {icon}\n </Icon>\n )}\n {label && (\n <Text\n variant={'label'}\n fontSize={getChipContentSize(size)}\n >\n {label}\n </Text>\n )}\n </span>\n )\n}\n\nChip.displayName = 'Chip'\n\nexport default Chip\n","export const BUTTON_SIZE = 36\r\nexport const DRAWER_ITEM_HEIGHT = 32\r\n","import { colors, Theme } from '@aurora-ds/theme'\r\n\r\nimport { ButtonVariants, ButtonVariantStyle } from '@interfaces/button.types'\r\n\r\n/**\r\n * Get button variant styles based on the theme\r\n * @param theme\r\n */\r\nexport const getButtonVariantStyles = (theme: Theme): Record<ButtonVariants, ButtonVariantStyle> => {\r\n // Shared base styles\r\n const transparentBase = {\r\n backgroundColor: colors.transparent,\r\n color: theme.colors.primary,\r\n }\r\n\r\n const surfaceStates = {\r\n hover: { backgroundColor: theme.colors.surfaceHover },\r\n pressed: { backgroundColor: theme.colors.surfaceActive },\r\n }\r\n\r\n const baseDisabled = {\r\n color: theme.colors.disabledText,\r\n cursor: 'not-allowed',\r\n }\r\n\r\n return {\r\n contained: {\r\n default: {\r\n backgroundColor: theme.colors.primary,\r\n color: theme.colors.onPrimary,\r\n border: 'none',\r\n },\r\n hover: { backgroundColor: theme.colors.primaryHover },\r\n pressed: { backgroundColor: theme.colors.primaryActive },\r\n disabled: { ...baseDisabled, backgroundColor: theme.colors.disabled },\r\n textColor: 'onPrimary',\r\n },\r\n outlined: {\r\n default: {\r\n ...transparentBase,\r\n border: `1px solid ${theme.colors.primary}`,\r\n },\r\n ...surfaceStates,\r\n disabled: { ...baseDisabled, backgroundColor: 'transparent', borderColor: theme.colors.disabled },\r\n textColor: 'primary',\r\n },\r\n text: {\r\n default: { ...transparentBase, border: 'none' },\r\n ...surfaceStates,\r\n disabled: { ...baseDisabled, backgroundColor: 'transparent' },\r\n textColor: 'primary',\r\n },\r\n }\r\n}\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { ButtonStyleParams } from '@components/inputs/button/Button.props.ts'\r\nimport { BUTTON_SIZE } from '@constants/globalConstants.ts'\r\nimport { getButtonVariantStyles } from '@utils/ui/components/button/getButtonVariantStyles.utils.ts'\r\n\r\n/**\r\n * Button styles using createStyles from @aurora-ds/theme\r\n *\r\n * Override via className with createStyles:\r\n * ```tsx\r\n * const myStyles = createStyles((theme) => ({\r\n * custom: {\r\n * backgroundColor: theme.colors.accent,\r\n * ':hover': { backgroundColor: theme.colors.accentHover }\r\n * }\r\n * }))\r\n * <Button className={myStyles.custom} label=\"Custom\" />\r\n * ```\r\n */\r\nexport const BUTTON_STYLES = createStyles((theme) => {\r\n const variantStyles = getButtonVariantStyles(theme)\r\n\r\n return {\r\n root: ({\r\n variant = 'contained',\r\n active = false\r\n }: ButtonStyleParams) => ({\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n boxSizing: 'border-box',\r\n gap: theme.spacing.sm,\r\n padding: `${theme.spacing.sm} ${theme.spacing.md}`,\r\n borderRadius: theme.radius.md,\r\n cursor: 'pointer',\r\n transition: `background-color ${theme.transition.fast}, color ${theme.transition.fast}`,\r\n minHeight: BUTTON_SIZE,\r\n maxHeight: BUTTON_SIZE,\r\n fontFamily: 'inherit',\r\n ...variantStyles[variant].default,\r\n ...(active && variantStyles[variant].pressed),\r\n ':hover': variantStyles[variant].hover,\r\n ':active': variantStyles[variant].pressed,\r\n ':disabled': variantStyles[variant].disabled,\r\n }),\r\n }\r\n})\r\n","import { useTheme } from '@aurora-ds/theme'\r\nimport { FC } from 'react'\r\n\r\nimport { Icon } from '@components/data-display/icon'\r\nimport { ButtonProps } from '@components/inputs/button/Button.props.ts'\r\nimport { BUTTON_STYLES } from '@components/inputs/button/Button.styles.ts'\r\nimport { Text } from '@components/layout/text'\r\nimport { getButtonVariantStyles } from '@utils/ui/components/button/getButtonVariantStyles.utils.ts'\r\n\r\n/**\r\n * Button component\r\n *\r\n * **Variants:**\r\n * - `contained`: Solid background button (default)\r\n * - `outlined`: Border only button\r\n * - `text`: Text only button without background\r\n */\r\nconst Button: FC<ButtonProps> = ({\r\n label,\r\n startIcon,\r\n endIcon,\r\n variant = 'contained',\r\n active = false,\r\n onClick,\r\n disabled,\r\n type = 'button',\r\n textColor: customTextColor,\r\n}) => {\r\n const theme = useTheme()\r\n const variantStyles = getButtonVariantStyles(theme)\r\n const textColor = disabled ? 'disabledText' : (customTextColor ?? variantStyles[variant].textColor)\r\n\r\n return (\r\n <button\r\n onClick={onClick}\r\n disabled={disabled}\r\n type={type}\r\n className={BUTTON_STYLES.root({ variant, active })}\r\n >\r\n {startIcon && (\r\n <Icon color={textColor}>\r\n {startIcon}\r\n </Icon>\r\n )}\r\n <Text\r\n variant={'label'}\r\n color={textColor}\r\n >\r\n {label}\r\n </Text>\r\n {endIcon && (\r\n <Icon color={textColor}>\r\n {endIcon}\r\n </Icon>\r\n )}\r\n </button>\r\n )\r\n}\r\n\r\nButton.displayName = 'Button'\r\n\r\nexport default Button\r\n","import { createStyles } from '@aurora-ds/theme'\n\nimport { IconButtonStyleParams } from '@components/inputs/icon-button/IconButton.props.ts'\nimport { BUTTON_SIZE } from '@constants/globalConstants.ts'\nimport { getButtonVariantStyles } from '@utils/ui/components/button/getButtonVariantStyles.utils.ts'\n\nexport const ICON_BUTTON_STYLES = createStyles((theme) => {\n const variantStyles = getButtonVariantStyles(theme)\n\n return {\n root: ({\n variant = 'contained',\n active = false\n }: IconButtonStyleParams) => ({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n boxSizing: 'border-box',\n gap: theme.spacing.sm,\n padding: `${theme.spacing.sm} ${theme.spacing.md}`,\n borderRadius: theme.radius.md,\n cursor: 'pointer',\n transition: `background-color ${theme.transition.fast}, color ${theme.transition.fast}`,\n minHeight: BUTTON_SIZE,\n maxHeight: BUTTON_SIZE,\n minWidth: BUTTON_SIZE,\n maxWidth: BUTTON_SIZE,\n fontFamily: 'inherit',\n ...variantStyles[variant].default,\n ...(active && variantStyles[variant].pressed),\n ':hover': variantStyles[variant].hover,\n ':active': variantStyles[variant].pressed,\n ':disabled': variantStyles[variant].disabled,\n }),\n }\n})\n","import { useTheme } from '@aurora-ds/theme'\nimport { FC } from 'react'\n\nimport Icon from '@components/data-display/icon/Icon.tsx'\nimport { IconButtonProps } from '@components/inputs/icon-button/IconButton.props.ts'\nimport { ICON_BUTTON_STYLES } from '@components/inputs/icon-button/IconButton.styles.ts'\nimport { getButtonVariantStyles } from '@utils/ui/components/button/getButtonVariantStyles.utils.ts'\n\nconst IconButton: FC<IconButtonProps> = ({\n icon,\n variant = 'contained',\n active = false,\n type = 'button',\n onClick,\n disabled,\n textColor: customTextColor,\n}) => {\n const theme = useTheme()\n const variantStyles = getButtonVariantStyles(theme)\n const textColor = disabled ? 'disabledText' : (customTextColor ?? variantStyles[variant].textColor)\n\n return (\n <button\n onClick={onClick}\n disabled={disabled}\n type={type}\n className={ICON_BUTTON_STYLES.root({ variant, active })}\n >\n <Icon\n color={textColor}\n >\n {icon}\n </Icon>\n </button>\n )\n}\n\nIconButton.displayName = 'IconButton'\n\nexport default IconButton\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { StackStyleParams } from '@components/layout/stack/Stack.props.ts'\r\n\r\n/**\r\n * Stack styles using createStyles from @aurora-ds/theme\r\n */\r\nexport const STACK_STYLES = createStyles((theme) => ({\r\n root: ({\r\n direction,\r\n gap,\r\n width,\r\n height,\r\n align,\r\n justify,\r\n wrap,\r\n padding,\r\n }: StackStyleParams) => ({\r\n display: 'flex',\r\n flexDirection: direction,\r\n gap: gap ? theme.spacing[gap] : undefined,\r\n width,\r\n height,\r\n alignItems: align,\r\n justifyContent: justify,\r\n flexWrap: wrap,\r\n padding: padding ? theme.spacing[padding] : undefined,\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { StackProps } from '@components/layout/stack/Stack.props.ts'\r\nimport { STACK_STYLES } from '@components/layout/stack/Stack.styles.ts'\r\n\r\n/**\r\n * Stack component\r\n *\r\n * A flexbox container for laying out children in a row or column.\r\n *\r\n * **Direction:**\r\n * - `row`: Horizontal layout (default)\r\n * - `column`: Vertical layout\r\n */\r\nconst Stack: FC<StackProps> = ({\r\n children,\r\n direction = 'row',\r\n gap = 'sm',\r\n width,\r\n height,\r\n align = 'center',\r\n justify,\r\n wrap,\r\n padding,\r\n}) => {\r\n return (\r\n <div\r\n className={STACK_STYLES.root({\r\n direction,\r\n gap,\r\n width,\r\n height,\r\n align,\r\n justify,\r\n wrap,\r\n padding,\r\n })}\r\n >\r\n {children}\r\n </div>\r\n )\r\n}\r\n\r\nStack.displayName = 'Stack'\r\n\r\nexport default Stack\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { CardStyleParams } from '@components/layout/card/Card.props.ts'\r\n\r\n/**\r\n * Card styles using createStyles from @aurora-ds/theme\r\n */\r\nexport const CARD_STYLES = createStyles((theme) => ({\r\n root: ({\r\n direction,\r\n padding,\r\n width,\r\n height,\r\n gap,\r\n radius,\r\n shadow,\r\n align,\r\n justify,\r\n backgroundColor,\r\n borderColor\r\n }: CardStyleParams) => ({\r\n display: 'flex',\r\n flexDirection: direction,\r\n padding: padding ? theme.spacing[padding] : undefined,\r\n width,\r\n height,\r\n gap: gap ? theme.spacing[gap] : undefined,\r\n borderRadius: theme.radius[radius],\r\n boxShadow: theme.shadows[shadow],\r\n backgroundColor: theme.colors[backgroundColor],\r\n border: borderColor ? `1px solid ${theme.colors[borderColor]}` : 'none',\r\n alignItems: align,\r\n justifyContent: justify,\r\n boxSizing: 'border-box',\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { CardProps } from '@components/layout/card/Card.props.ts'\r\nimport { CARD_STYLES } from '@components/layout/card/Card.styles.ts'\r\n\r\n/**\r\n * Card component\r\n *\r\n * A container component with a background, border radius, and optional shadow.\r\n * Uses a Stack layout internally for organizing children.\r\n *\r\n * **Direction:**\r\n * - `column`: Vertical layout (default)\r\n * - `row`: Horizontal layout\r\n */\r\nconst Card: FC<CardProps> = ({\r\n children,\r\n direction = 'column',\r\n padding = 'md',\r\n width,\r\n height,\r\n gap,\r\n radius = 'md',\r\n shadow = 'sm',\r\n align,\r\n justify,\r\n backgroundColor = 'background',\r\n borderColor\r\n}) => {\r\n return (\r\n <div\r\n className={CARD_STYLES.root({\r\n direction,\r\n padding,\r\n width,\r\n height,\r\n gap,\r\n radius,\r\n shadow,\r\n align,\r\n justify,\r\n backgroundColor,\r\n borderColor\r\n })}\r\n >\r\n {children}\r\n </div>\r\n )\r\n}\r\n\r\nCard.displayName = 'Card'\r\n\r\nexport default Card\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { GridStyleParams } from '@components/layout/grid/Grid.props.ts'\r\n\r\n/**\r\n * Generates the grid-template-columns value based on columns and minChildWidth props\r\n */\r\nconst getGridTemplateColumns = (columns?: number | string, minChildWidth?: string | number): string | undefined => {\r\n if (minChildWidth) {\r\n return `repeat(auto-fill, minmax(${typeof minChildWidth === 'number' ? `${minChildWidth}px` : minChildWidth}, 1fr))`\r\n }\r\n if (typeof columns === 'number') {\r\n return `repeat(${columns}, 1fr)`\r\n }\r\n return columns\r\n}\r\n\r\n/**\r\n * Generates the grid-template-rows value based on rows prop\r\n */\r\nconst getGridTemplateRows = (rows?: number | string): string | undefined => {\r\n if (typeof rows === 'number') {\r\n return `repeat(${rows}, 1fr)`\r\n }\r\n return rows\r\n}\r\n\r\n/**\r\n * Grid styles using createStyles from @aurora-ds/theme\r\n */\r\nexport const GRID_STYLES = createStyles((theme) => ({\r\n root: ({\r\n columns,\r\n rows,\r\n gap,\r\n columnGap,\r\n rowGap,\r\n width,\r\n height,\r\n alignItems,\r\n justifyItems,\r\n alignContent,\r\n justifyContent,\r\n padding,\r\n minChildWidth,\r\n }: GridStyleParams) => ({\r\n display: 'grid',\r\n gridTemplateColumns: getGridTemplateColumns(columns, minChildWidth),\r\n gridTemplateRows: getGridTemplateRows(rows),\r\n gap: gap ? theme.spacing[gap] : undefined,\r\n columnGap: columnGap ? theme.spacing[columnGap] : undefined,\r\n rowGap: rowGap ? theme.spacing[rowGap] : undefined,\r\n width,\r\n height,\r\n alignItems,\r\n justifyItems,\r\n alignContent,\r\n justifyContent,\r\n padding: padding ? theme.spacing[padding] : undefined,\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { GridProps } from '@components/layout/grid/Grid.props.ts'\r\nimport { GRID_STYLES } from '@components/layout/grid/Grid.styles.ts'\r\n\r\n/**\r\n * Grid component\r\n *\r\n * A CSS Grid container for laying out children in a two-dimensional grid.\r\n *\r\n * **Usage:**\r\n * - Use `columns` to define the number of columns or a custom grid-template-columns value\r\n * - Use `rows` to define the number of rows or a custom grid-template-rows value\r\n * - Use `minChildWidth` for responsive auto-fill grids\r\n */\r\nconst Grid: FC<GridProps> = ({\r\n children,\r\n columns = 1,\r\n rows,\r\n gap = 'sm',\r\n columnGap,\r\n rowGap,\r\n width,\r\n height,\r\n alignItems,\r\n justifyItems,\r\n alignContent,\r\n justifyContent,\r\n padding,\r\n minChildWidth,\r\n}) => {\r\n return (\r\n <div\r\n className={GRID_STYLES.root({\r\n columns,\r\n rows,\r\n gap,\r\n columnGap,\r\n rowGap,\r\n width,\r\n height,\r\n alignItems,\r\n justifyItems,\r\n alignContent,\r\n justifyContent,\r\n padding,\r\n minChildWidth,\r\n })}\r\n >\r\n {children}\r\n </div>\r\n )\r\n}\r\n\r\nGrid.displayName = 'Grid'\r\n\r\nexport default Grid\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport {\r\n AccordionContentStyleParams,\r\n AccordionHeaderStyleParams,\r\n AccordionIconStyleParams,\r\n AccordionStyleParams\r\n} from '@components/layout/accordion/Accordion.props.ts'\r\n\r\nexport const ACCORDION_STYLES = createStyles((theme) => {\r\n return {\r\n root: ({ disabled, width }: AccordionStyleParams) => ({\r\n width: width ?? '100%',\r\n overflow: 'hidden',\r\n opacity: disabled ? 0.8 : 1,\r\n borderRadius: theme.radius.md,\r\n }),\r\n header: ({ disabled, backgroundColor }: AccordionHeaderStyleParams) => ({\r\n display: 'flex',\r\n alignItems: 'center',\r\n width: '100%',\r\n padding: `${theme.spacing.sm} ${theme.spacing.md}`,\r\n border: 'none',\r\n backgroundColor: backgroundColor ? theme.colors[backgroundColor] :'transparent',\r\n cursor: disabled ? 'not-allowed' : 'pointer',\r\n transition: `background-color ${theme.transition.fast}`,\r\n gap: theme.spacing.sm,\r\n borderRadius: theme.radius.md,\r\n ':hover': {\r\n backgroundColor: disabled ? 'transparent' : theme.colors.surfaceHover,\r\n },\r\n }),\r\n expandIcon: ({ expanded }: AccordionIconStyleParams) => ({\r\n transition: `transform ${theme.transition.fast}`,\r\n transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)',\r\n }),\r\n content: ({ expanded }: AccordionContentStyleParams) => ({\r\n display: expanded ? 'block' : 'none',\r\n padding: `0 ${theme.spacing.md} ${theme.spacing.md}`,\r\n }),\r\n }\r\n})\r\n","export const ChevronDownIcon = () => {\r\n return (\r\n <svg\r\n xmlns={'http://www.w3.org/2000/svg'}\r\n width={'100%'}\r\n height={'100%'}\r\n viewBox={'0 0 24 24'}\r\n fill={'none'}\r\n stroke={'currentColor'}\r\n stroke-width={'2'}\r\n stroke-linecap={'round'}\r\n stroke-linejoin={'round'}\r\n className={'lucide lucide-chevron-down-icon lucide-chevron-down'}\r\n >\r\n <path d={'m6 9 6 6 6-6'}/>\r\n </svg>\r\n\r\n )\r\n}\r\n","import { FC, useState } from 'react'\r\n\r\nimport { Icon } from '@components/data-display/icon'\r\nimport { AccordionProps } from '@components/layout/accordion/Accordion.props.ts'\r\nimport { ACCORDION_STYLES } from '@components/layout/accordion/Accordion.styles.ts'\r\nimport { Stack } from '@components/layout/stack'\r\nimport { Text } from '@components/layout/text'\r\nimport { ChevronDownIcon } from '@resources/Icons.ts'\r\n\r\n/**\r\n * Accordion component\r\n *\r\n * A collapsible container that can show/hide content.\r\n * Supports controlled and uncontrolled modes.\r\n */\r\nconst Accordion: FC<AccordionProps> = ({\r\n title,\r\n children,\r\n expanded,\r\n defaultExpanded = false,\r\n onChange,\r\n disabled = false,\r\n icon,\r\n backgroundColor,\r\n width\r\n}) => {\r\n const [internalExpanded, setInternalExpanded] = useState(defaultExpanded)\r\n\r\n // Use controlled value if provided, otherwise use internal state\r\n const isExpanded = expanded !== undefined ? expanded : internalExpanded\r\n\r\n const handleToggle = () => {\r\n if (disabled) {return}\r\n\r\n const newExpanded = !isExpanded\r\n\r\n // Update internal state for uncontrolled mode\r\n if (expanded === undefined) {\r\n setInternalExpanded(newExpanded)\r\n }\r\n\r\n // Call onChange callback\r\n onChange?.(newExpanded)\r\n }\r\n\r\n return (\r\n <div\r\n className={ACCORDION_STYLES.root({ disabled, width })}\r\n >\r\n <button\r\n type={'button'}\r\n className={ACCORDION_STYLES.header({ disabled, backgroundColor })}\r\n onClick={handleToggle}\r\n disabled={disabled}\r\n aria-expanded={isExpanded}\r\n >\r\n <Stack\r\n direction={'row'}\r\n align={'center'}\r\n gap={'sm'}\r\n width={'100%'}\r\n >\r\n {icon && (\r\n <Icon color={disabled ? 'disabledText' : 'text'}>\r\n {icon}\r\n </Icon>\r\n )}\r\n <Text\r\n variant={'label'}\r\n color={disabled ? 'disabledText' : 'text'}\r\n >\r\n {title}\r\n </Text>\r\n </Stack>\r\n <div\r\n className={ACCORDION_STYLES.expandIcon({ expanded: isExpanded })}\r\n >\r\n <Icon color={disabled ? 'disabledText' : 'text'}>\r\n <ChevronDownIcon />\r\n </Icon>\r\n </div>\r\n </button>\r\n <div\r\n className={ACCORDION_STYLES.content({ expanded: isExpanded })}\r\n role={'region'}\r\n aria-hidden={!isExpanded}\r\n >\r\n {children}\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nAccordion.displayName = 'Accordion'\r\n\r\nexport default Accordion\r\n","import { createStyles } from '@aurora-ds/theme'\r\n\r\nimport { DrawerItemStyleParams } from '@components/navigation/drawer-item/DrawerItem.props'\r\nimport { DRAWER_ITEM_HEIGHT } from '@constants/globalConstants.ts'\r\n\r\n/**\r\n * DrawerItem styles using createStyles from @aurora-ds/theme\r\n */\r\nexport const DRAWER_ITEM_STYLES = createStyles((theme) => ({\r\n root: ({ selected = false }: DrawerItemStyleParams) => ({\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n justifyContent: 'space-between',\r\n boxSizing: 'border-box',\r\n gap: theme.spacing.sm,\r\n padding: `${theme.spacing.xs} ${theme.spacing.sm}`,\r\n borderRadius: theme.radius.md,\r\n cursor: 'pointer',\r\n transition: `background-color ${theme.transition.fast}, color ${theme.transition.fast}`,\r\n fontFamily: 'inherit',\r\n width: '100%',\r\n minHeight: DRAWER_ITEM_HEIGHT,\r\n maxHeight: DRAWER_ITEM_HEIGHT,\r\n backgroundColor: selected ? theme.colors.primary : 'transparent',\r\n color: selected ? theme.colors.onPrimary : theme.colors.textSecondary,\r\n border: 'none',\r\n ':hover': {\r\n backgroundColor: selected ? theme.colors.primaryHover : theme.colors.surfaceHover,\r\n color: selected ? theme.colors.onPrimary : theme.colors.text,\r\n },\r\n ':active': {\r\n backgroundColor: selected ? theme.colors.primaryActive : theme.colors.surfaceActive,\r\n },\r\n ':disabled': {\r\n color: theme.colors.disabledText,\r\n backgroundColor: selected ? theme.colors.disabled : 'transparent',\r\n cursor: 'not-allowed',\r\n },\r\n }),\r\n}))\r\n","import { FC } from 'react'\r\n\r\nimport { Chip } from '@components/data-display/chip'\r\nimport { Icon } from '@components/data-display/icon'\r\nimport { Stack } from '@components/layout/stack'\r\nimport { Text } from '@components/layout/text'\r\nimport { DrawerItemProps } from '@components/navigation/drawer-item/DrawerItem.props'\r\nimport { DRAWER_ITEM_STYLES } from '@components/navigation/drawer-item/DrawerItem.styles'\r\n\r\n/**\r\n * DrawerItem component\r\n *\r\n * A navigation item for use in drawers/sidebars.\r\n * Similar to a text button with selected state support.\r\n */\r\nconst DrawerItem: FC<DrawerItemProps> = ({\r\n label,\r\n startIcon,\r\n endIcon,\r\n selected = false,\r\n onClick,\r\n disabled,\r\n chip\r\n}) => {\r\n return (\r\n <button\r\n onClick={onClick}\r\n disabled={disabled}\r\n type={'button'}\r\n className={DRAWER_ITEM_STYLES.root({ selected })}\r\n >\r\n <Stack>\r\n {startIcon && (\r\n <Icon>\r\n {startIcon}\r\n </Icon>\r\n )}\r\n <Text\r\n variant={'label'}\r\n maxLines={1}\r\n >\r\n {label}\r\n </Text>\r\n {endIcon && (\r\n <Icon>\r\n {endIcon}\r\n </Icon>\r\n )}\r\n </Stack>\r\n {chip && !selected && (\r\n <Chip\r\n {...chip}\r\n size={'2xs'}\r\n color={chip.color ?? 'info'}\r\n disabled={disabled}\r\n />\r\n )}\r\n </button>\r\n )\r\n}\r\n\r\nDrawerItem.displayName = 'DrawerItem'\r\n\r\nexport default DrawerItem\r\n"],"names":["createStyles","_jsx","createElement","Fragment","theme","useTheme","useMemo","_jsxs","colors","useState"],"mappings":";;;;;;AAEO,MAAM,WAAW,GAAGA,kBAAY,CAAC,CAAC,KAAK,MAAM;AAChD,IAAA,IAAI,EAAE,CACF,IAA8B,EAC9B,KAA6B,EAC7B,eAAuC,EACvC,OAAgC,EAChC,YAAoC,MAClC;AACF,QAAA,SAAS,EAAE,aAAa;AACxB,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,UAAU,EAAE,QAAQ;AACpB,QAAA,cAAc,EAAE,QAAQ;AACxB,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,UAAU,EAAE,yBAAyB;AACrC,QAAA,UAAU,EAAE,CAAC;AACb,QAAA,UAAU,EAAE,CAAC;QACb,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,CAAC;QACpC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,CAAC;QACnC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,CAAC;QACtC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,IAAI,CAAC;AACvC,QAAA,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,SAAS;AAC9C,QAAA,eAAe,EAAE,eAAe,GAAG,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,SAAS;AAC5E,QAAA,OAAO,EAAE,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC;QAC7C,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,YAAY,IAAI,IAAI,CAAC;KACnD,CAAC;AACL,CAAA,CA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C,aAAa;AACtF,SAAA;AACD,QAAA,WAAW,EAAE;AACT,YAAA,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,YAAY;AAChC,YAAA,eAAe,EAAE,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,GAAG,aAAa;AACjE,YAAA,MAAM,EAAE,aAAa;AACxB,SAAA;KACJ,CAAC;AACL,CAAA,CAAC,CAAC;;AC9BH;;;;;AAKG;AACH,MAAM,UAAU,GAAwB,CAAC,EACrC,KAAK,EACL,SAAS,EACT,OAAO,EACP,QAAQ,GAAG,KAAK,EAChB,OAAO,EACP,QAAQ,EACR,IAAI,EACP,KAAI;IACD,QACIO,4BACI,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,QAAQ,EACd,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAA,QAAA,EAAA,CAEhDA,gBAAC,KAAK,EAAA,EAAA,QAAA,EAAA,CACD,SAAS,KACNN,eAAC,IAAI,EAAA,EAAA,QAAA,EACA,SAAS,EAAA,CACP,CACV,EACDA,cAAA,CAAC,IAAI,IACD,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,CAAC,EAAA,QAAA,EAEV,KAAK,EAAA,CACH,EACN,OAAO,KACJA,eAAC,IAAI,EAAA,EAAA,QAAA,EACA,OAAO,EAAA,CACL,CACV,IACG,EACP,IAAI,IAAI,CAAC,QAAQ,KACdA,cAAA,CAAC,IAAI,EAAA,EAAA,GACG,IAAI,EACR,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,MAAM,EAC3B,QAAQ,EAAE,QAAQ,EAAA,CACpB,CACL,CAAA,EAAA,CACI;AAEjB;AAEA,UAAU,CAAC,WAAW,GAAG,YAAY;;;;;;;;;;;;;"}
@@ -1,3 +1,3 @@
1
- import { StackDirection } from '@interfaces/stack.types';
2
- /** Card direction - reuses StackDirection */
3
- export type CardDirection = StackDirection;
1
+ import { CSSProperties } from 'react';
2
+ /** Card direction */
3
+ export type CardDirection = CSSProperties['flexDirection'];
@@ -1,4 +1,3 @@
1
1
  export * from '@interfaces/button.types';
2
2
  export * from '@interfaces/text.types';
3
- export * from '@interfaces/stack.types';
4
- export * from '@interfaces/card.types';
3
+ export * from '@interfaces/chip.types';
@@ -5,10 +5,9 @@ export * from '@components/inputs/button';
5
5
  export * from '@components/inputs/icon-button';
6
6
  export * from '@components/layout/stack';
7
7
  export * from '@components/layout/card';
8
+ export * from '@components/layout/grid';
8
9
  export * from '@components/layout/accordion';
9
10
  export * from '@components/navigation/drawer-item';
10
11
  export type { ButtonVariants, ButtonVariantStyle } from '@interfaces/button.types';
11
12
  export type { TextVariants, TextVariantStyle } from '@interfaces/text.types';
12
- export type { StackDirection, StackAlign, StackJustify, StackWrap } from '@interfaces/stack.types';
13
- export type { CardDirection } from '@interfaces/card.types';
14
13
  export type { ChipVariant, ChipColor, ChipSize } from '@interfaces/chip.types';
@@ -1,3 +1,4 @@
1
+ import { Theme } from '@aurora-ds/theme';
1
2
  import { ReactNode } from 'react';
2
3
  import { ButtonVariants } from '@interfaces/button.types.ts';
3
4
  export type ButtonProps = {
@@ -17,6 +18,8 @@ export type ButtonProps = {
17
18
  active?: boolean;
18
19
  /** Disabled state */
19
20
  disabled?: boolean;
21
+ /** Custom text color (overrides variant color) */
22
+ textColor?: keyof Theme['colors'];
20
23
  };
21
24
  export type ButtonStyleParams = {
22
25
  variant?: ButtonVariants;
@@ -1,3 +1,4 @@
1
+ import { Theme } from '@aurora-ds/theme';
1
2
  import { ReactNode } from 'react';
2
3
  import { ButtonVariants } from '@/interfaces';
3
4
  export type IconButtonProps = {
@@ -13,6 +14,8 @@ export type IconButtonProps = {
13
14
  active?: boolean;
14
15
  /** Disabled state */
15
16
  disabled?: boolean;
17
+ /** Custom text/icon color (overrides variant color) */
18
+ textColor?: keyof Theme['colors'];
16
19
  };
17
20
  export type IconButtonStyleParams = {
18
21
  variant?: ButtonVariants;
@@ -1,12 +1,10 @@
1
1
  import { Theme } from '@aurora-ds/theme';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
- import { CardDirection } from '@interfaces/card.types.ts';
4
- import { StackAlign, StackJustify } from '@interfaces/stack.types.ts';
5
3
  export type CardProps = {
6
4
  /** Card children elements */
7
5
  children: ReactNode;
8
6
  /** Flex direction of the card content */
9
- direction?: CardDirection;
7
+ direction?: CSSProperties['flexDirection'];
10
8
  /** Padding inside the card (theme spacing key) */
11
9
  padding?: keyof Theme['spacing'];
12
10
  /** Width of the card */
@@ -20,24 +18,24 @@ export type CardProps = {
20
18
  /** Shadow depth of the card */
21
19
  shadow?: keyof Theme['shadows'];
22
20
  /** Alignment of items on the cross axis */
23
- align?: StackAlign;
21
+ align?: CSSProperties['alignItems'];
24
22
  /** Justification of items on the main axis */
25
- justify?: StackJustify;
23
+ justify?: CSSProperties['justifyContent'];
26
24
  /** Background color of the card */
27
25
  backgroundColor?: keyof Theme['colors'];
28
26
  /** Border color of the card */
29
27
  borderColor?: keyof Theme['colors'];
30
28
  };
31
29
  export type CardStyleParams = {
32
- direction: CardDirection;
30
+ direction: CSSProperties['flexDirection'];
33
31
  padding?: keyof Theme['spacing'];
34
32
  width?: CSSProperties['width'];
35
33
  height?: CSSProperties['height'];
36
34
  gap?: keyof Theme['spacing'];
37
35
  radius: keyof Theme['radius'];
38
36
  shadow: keyof Theme['shadows'];
39
- align?: StackAlign;
40
- justify?: StackJustify;
37
+ align?: CSSProperties['alignItems'];
38
+ justify?: CSSProperties['justifyContent'];
41
39
  backgroundColor: keyof Theme['colors'];
42
40
  borderColor?: keyof Theme['colors'];
43
41
  };
@@ -0,0 +1,14 @@
1
+ import { FC } from 'react';
2
+ import { GridProps } from '@components/layout/grid/Grid.props.ts';
3
+ /**
4
+ * Grid component
5
+ *
6
+ * A CSS Grid container for laying out children in a two-dimensional grid.
7
+ *
8
+ * **Usage:**
9
+ * - Use `columns` to define the number of columns or a custom grid-template-columns value
10
+ * - Use `rows` to define the number of rows or a custom grid-template-rows value
11
+ * - Use `minChildWidth` for responsive auto-fill grids
12
+ */
13
+ declare const Grid: FC<GridProps>;
14
+ export default Grid;
@@ -0,0 +1,47 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { CSSProperties, ReactNode } from 'react';
3
+ export type GridProps = {
4
+ /** Grid children elements */
5
+ children: ReactNode;
6
+ /** Number of columns (number or CSS grid-template-columns value) */
7
+ columns?: number | string;
8
+ /** Number of rows (number or CSS grid-template-rows value) */
9
+ rows?: number | string;
10
+ /** Gap between items (theme spacing key) */
11
+ gap?: keyof Theme['spacing'];
12
+ /** Gap between columns (theme spacing key) */
13
+ columnGap?: keyof Theme['spacing'];
14
+ /** Gap between rows (theme spacing key) */
15
+ rowGap?: keyof Theme['spacing'];
16
+ /** Width of the grid container */
17
+ width?: CSSProperties['width'];
18
+ /** Height of the grid container */
19
+ height?: CSSProperties['height'];
20
+ /** Alignment of items within their grid area (cross axis) */
21
+ alignItems?: CSSProperties['alignItems'];
22
+ /** Justification of items within their grid area (main axis) */
23
+ justifyItems?: CSSProperties['justifyItems'];
24
+ /** Alignment of the entire grid within its container (cross axis) */
25
+ alignContent?: CSSProperties['alignContent'];
26
+ /** Justification of the entire grid within its container (main axis) */
27
+ justifyContent?: CSSProperties['justifyContent'];
28
+ /** Padding inside the grid */
29
+ padding?: keyof Theme['spacing'];
30
+ /** Minimum width for auto-fill/auto-fit columns */
31
+ minChildWidth?: CSSProperties['width'];
32
+ };
33
+ export type GridStyleParams = {
34
+ columns?: number | string;
35
+ rows?: number | string;
36
+ gap?: keyof Theme['spacing'];
37
+ columnGap?: keyof Theme['spacing'];
38
+ rowGap?: keyof Theme['spacing'];
39
+ width?: CSSProperties['width'];
40
+ height?: CSSProperties['height'];
41
+ alignItems?: CSSProperties['alignItems'];
42
+ justifyItems?: CSSProperties['justifyItems'];
43
+ alignContent?: CSSProperties['alignContent'];
44
+ justifyContent?: CSSProperties['justifyContent'];
45
+ padding?: keyof Theme['spacing'];
46
+ minChildWidth?: CSSProperties['width'];
47
+ };
@@ -0,0 +1,7 @@
1
+ import { GridStyleParams } from '@components/layout/grid/Grid.props.ts';
2
+ /**
3
+ * Grid styles using createStyles from @aurora-ds/theme
4
+ */
5
+ export declare const GRID_STYLES: {
6
+ root: (args_0: GridStyleParams) => string;
7
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Grid } from '@components/layout/grid/Grid.tsx';
2
+ export type { GridProps } from '@components/layout/grid/Grid.props.ts';
@@ -1,11 +1,10 @@
1
1
  import { Theme } from '@aurora-ds/theme';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
- import { StackAlign, StackDirection, StackJustify, StackWrap } from '@interfaces/stack.types.ts';
4
3
  export type StackProps = {
5
4
  /** Stack children elements */
6
5
  children: ReactNode;
7
6
  /** Flex direction of the stack */
8
- direction?: StackDirection;
7
+ direction?: CSSProperties['flexDirection'];
9
8
  /** Gap between children (theme spacing or CSS value) */
10
9
  gap?: keyof Theme['spacing'];
11
10
  /** Width of the stack container */
@@ -13,21 +12,21 @@ export type StackProps = {
13
12
  /** Height of the stack container */
14
13
  height?: CSSProperties['height'];
15
14
  /** Alignment of items on the cross axis */
16
- align?: StackAlign;
15
+ align?: CSSProperties['alignItems'];
17
16
  /** Justification of items on the main axis */
18
- justify?: StackJustify;
17
+ justify?: CSSProperties['justifyContent'];
19
18
  /** Whether items should wrap */
20
- wrap?: StackWrap;
19
+ wrap?: CSSProperties['flexWrap'];
21
20
  /** Padding inside the stack */
22
21
  padding?: keyof Theme['spacing'];
23
22
  };
24
23
  export type StackStyleParams = {
25
- direction: StackDirection;
24
+ direction: CSSProperties['flexDirection'];
26
25
  gap?: keyof Theme['spacing'];
27
26
  width?: CSSProperties['width'];
28
27
  height?: CSSProperties['height'];
29
- align?: StackAlign;
30
- justify?: StackJustify;
31
- wrap?: StackWrap;
28
+ align?: CSSProperties['alignItems'];
29
+ justify?: CSSProperties['justifyContent'];
30
+ wrap?: CSSProperties['flexWrap'];
32
31
  padding?: keyof Theme['spacing'];
33
32
  };