{"version":3,"file":"tokens-B7tDeIf_.cjs","names":[],"sources":["../src/tokens/colors.ts","../src/tokens/typography.ts","../src/tokens/motion.ts","../src/tokens/index.ts"],"sourcesContent":["/**\r\n * Design token color definitions for @bquery/ui\r\n */\r\nexport const colors = {\r\n  // Brand - Primary (Blue)\r\n  primary50: '#eff6ff',\r\n  primary100: '#dbeafe',\r\n  primary200: '#bfdbfe',\r\n  primary300: '#93c5fd',\r\n  primary400: '#60a5fa',\r\n  primary500: '#3b82f6',\r\n  primary600: '#2563eb',\r\n  primary700: '#1d4ed8',\r\n  primary800: '#1e40af',\r\n  primary900: '#1e3a8a',\r\n\r\n  // Secondary (Slate)\r\n  secondary50: '#f8fafc',\r\n  secondary100: '#f1f5f9',\r\n  secondary200: '#e2e8f0',\r\n  secondary300: '#cbd5e1',\r\n  secondary400: '#94a3b8',\r\n  secondary500: '#64748b',\r\n  secondary600: '#475569',\r\n  secondary700: '#334155',\r\n  secondary800: '#1e293b',\r\n  secondary900: '#0f172a',\r\n\r\n  // Danger (Red)\r\n  danger50: '#fef2f2',\r\n  danger100: '#fee2e2',\r\n  danger200: '#fecaca',\r\n  danger300: '#fca5a5',\r\n  danger400: '#f87171',\r\n  danger500: '#ef4444',\r\n  danger600: '#dc2626',\r\n  danger700: '#b91c1c',\r\n  danger800: '#991b1b',\r\n  danger900: '#7f1d1d',\r\n\r\n  // Success (Green)\r\n  success50: '#f0fdf4',\r\n  success100: '#dcfce7',\r\n  success200: '#bbf7d0',\r\n  success300: '#86efac',\r\n  success400: '#4ade80',\r\n  success500: '#22c55e',\r\n  success600: '#16a34a',\r\n  success700: '#15803d',\r\n  success800: '#166534',\r\n  success900: '#14532d',\r\n\r\n  // Warning (Amber)\r\n  warning50: '#fffbeb',\r\n  warning100: '#fef3c7',\r\n  warning200: '#fde68a',\r\n  warning300: '#fcd34d',\r\n  warning400: '#fbbf24',\r\n  warning500: '#f59e0b',\r\n  warning600: '#d97706',\r\n  warning700: '#b45309',\r\n  warning800: '#92400e',\r\n  warning900: '#78350f',\r\n\r\n  // Info (Blue alias)\r\n  info50: '#eff6ff',\r\n  info100: '#dbeafe',\r\n  info200: '#bfdbfe',\r\n  info300: '#93c5fd',\r\n  info400: '#60a5fa',\r\n  info500: '#3b82f6',\r\n  info600: '#2563eb',\r\n  info700: '#1d4ed8',\r\n  info800: '#1e40af',\r\n  info900: '#1e3a8a',\r\n\r\n  // Neutral\r\n  white: '#ffffff',\r\n  black: '#000000',\r\n  transparent: 'transparent',\r\n} as const;\r\n\r\nexport type ColorToken = keyof typeof colors;\r\n","/**\r\n * Typography design tokens for @bquery/ui\r\n */\r\nexport const typography = {\r\n  // Font families\r\n  fontFamilySans: \"'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\",\r\n  fontFamilyMono: \"'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace\",\r\n  fontFamilySerif: \"Georgia, Cambria, 'Times New Roman', Times, serif\",\r\n\r\n  // Font sizes\r\n  fontSizeXs: '0.75rem',    // 12px\r\n  fontSizeSm: '0.875rem',   // 14px\r\n  fontSizeMd: '1rem',       // 16px\r\n  fontSizeLg: '1.125rem',   // 18px\r\n  fontSizeXl: '1.25rem',    // 20px\r\n  fontSize2xl: '1.5rem',    // 24px\r\n  fontSize3xl: '1.875rem',  // 30px\r\n  fontSize4xl: '2.25rem',   // 36px\r\n\r\n  // Font weights\r\n  fontWeightLight: '300',\r\n  fontWeightNormal: '400',\r\n  fontWeightMedium: '500',\r\n  fontWeightSemibold: '600',\r\n  fontWeightBold: '700',\r\n  fontWeightExtrabold: '800',\r\n\r\n  // Line heights\r\n  lineHeightNone: '1',\r\n  lineHeightTight: '1.25',\r\n  lineHeightSnug: '1.375',\r\n  lineHeightNormal: '1.5',\r\n  lineHeightRelaxed: '1.625',\r\n  lineHeightLoose: '2',\r\n\r\n  // Letter spacing\r\n  letterSpacingTighter: '-0.05em',\r\n  letterSpacingTight: '-0.025em',\r\n  letterSpacingNormal: '0em',\r\n  letterSpacingWide: '0.025em',\r\n  letterSpacingWider: '0.05em',\r\n  letterSpacingWidest: '0.1em',\r\n} as const;\r\n\r\nexport type TypographyToken = keyof typeof typography;\r\n","/**\r\n * Motion / animation design tokens for @bquery/ui\r\n */\r\nexport const motion = {\r\n  // Durations\r\n  durationInstant: '0ms',\r\n  durationFast: '150ms',\r\n  durationNormal: '200ms',\r\n  durationSlow: '300ms',\r\n  durationSlower: '500ms',\r\n\r\n  // Easing functions\r\n  easingLinear: 'linear',\r\n  easingStandard: 'cubic-bezier(0.4, 0, 0.2, 1)',\r\n  easingDecelerate: 'cubic-bezier(0, 0, 0.2, 1)',\r\n  easingAccelerate: 'cubic-bezier(0.4, 0, 1, 1)',\r\n  easingEmphasized: 'cubic-bezier(0.2, 0, 0, 1)',\r\n  easingSpring: 'cubic-bezier(0.34, 1.56, 0.64, 1)',\r\n} as const;\r\n\r\nexport type MotionToken = keyof typeof motion;\r\n","/**\r\n * Design tokens index - exports all token groups and the CSS custom properties string.\r\n */\r\nexport { colors } from './colors.js';\r\nexport type { ColorToken } from './colors.js';\r\n\r\nexport { typography } from './typography.js';\r\nexport type { TypographyToken } from './typography.js';\r\n\r\nexport { motion } from './motion.js';\r\nexport type { MotionToken } from './motion.js';\r\n\r\n/**\r\n * Returns the complete CSS custom property declaration block for all design tokens.\r\n * Embed this in a `:root` or `:host` block.\r\n */\r\nexport function getTokensCSS(): string {\r\n  return `\r\n  /* === Colors: Primary === */\r\n  --bq-color-primary-50: #eff6ff;\r\n  --bq-color-primary-100: #dbeafe;\r\n  --bq-color-primary-200: #bfdbfe;\r\n  --bq-color-primary-300: #93c5fd;\r\n  --bq-color-primary-400: #60a5fa;\r\n  --bq-color-primary-500: #3b82f6;\r\n  --bq-color-primary-600: #2563eb;\r\n  --bq-color-primary-700: #1d4ed8;\r\n  --bq-color-primary-800: #1e40af;\r\n  --bq-color-primary-900: #1e3a8a;\r\n\r\n  /* === Colors: Secondary === */\r\n  --bq-color-secondary-50: #f8fafc;\r\n  --bq-color-secondary-100: #f1f5f9;\r\n  --bq-color-secondary-200: #e2e8f0;\r\n  --bq-color-secondary-300: #cbd5e1;\r\n  --bq-color-secondary-400: #94a3b8;\r\n  --bq-color-secondary-500: #64748b;\r\n  --bq-color-secondary-600: #475569;\r\n  --bq-color-secondary-700: #334155;\r\n  --bq-color-secondary-800: #1e293b;\r\n  --bq-color-secondary-900: #0f172a;\r\n\r\n  /* === Colors: Danger === */\r\n  --bq-color-danger-50: #fef2f2;\r\n  --bq-color-danger-100: #fee2e2;\r\n  --bq-color-danger-200: #fecaca;\r\n  --bq-color-danger-300: #fca5a5;\r\n  --bq-color-danger-400: #f87171;\r\n  --bq-color-danger-500: #ef4444;\r\n  --bq-color-danger-600: #dc2626;\r\n  --bq-color-danger-700: #b91c1c;\r\n  --bq-color-danger-800: #991b1b;\r\n  --bq-color-danger-900: #7f1d1d;\r\n\r\n  /* === Colors: Success === */\r\n  --bq-color-success-50: #f0fdf4;\r\n  --bq-color-success-100: #dcfce7;\r\n  --bq-color-success-200: #bbf7d0;\r\n  --bq-color-success-300: #86efac;\r\n  --bq-color-success-400: #4ade80;\r\n  --bq-color-success-500: #22c55e;\r\n  --bq-color-success-600: #16a34a;\r\n  --bq-color-success-700: #15803d;\r\n  --bq-color-success-800: #166534;\r\n  --bq-color-success-900: #14532d;\r\n\r\n  /* === Colors: Warning === */\r\n  --bq-color-warning-50: #fffbeb;\r\n  --bq-color-warning-100: #fef3c7;\r\n  --bq-color-warning-200: #fde68a;\r\n  --bq-color-warning-300: #fcd34d;\r\n  --bq-color-warning-400: #fbbf24;\r\n  --bq-color-warning-500: #f59e0b;\r\n  --bq-color-warning-600: #d97706;\r\n  --bq-color-warning-700: #b45309;\r\n  --bq-color-warning-800: #92400e;\r\n  --bq-color-warning-900: #78350f;\r\n\r\n  /* === Colors: Info === */\r\n  --bq-color-info-50: #eff6ff;\r\n  --bq-color-info-100: #dbeafe;\r\n  --bq-color-info-200: #bfdbfe;\r\n  --bq-color-info-300: #93c5fd;\r\n  --bq-color-info-400: #60a5fa;\r\n  --bq-color-info-500: #3b82f6;\r\n  --bq-color-info-600: #2563eb;\r\n  --bq-color-info-700: #1d4ed8;\r\n  --bq-color-info-800: #1e40af;\r\n  --bq-color-info-900: #1e3a8a;\r\n\r\n  /* === Typography === */\r\n  --bq-font-family-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;\r\n  --bq-font-family-mono: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;\r\n  --bq-font-size-xs: 0.75rem;\r\n  --bq-font-size-sm: 0.875rem;\r\n  --bq-font-size-md: 1rem;\r\n  --bq-font-size-lg: 1.125rem;\r\n  --bq-font-size-xl: 1.25rem;\r\n  --bq-font-size-2xl: 1.5rem;\r\n  --bq-font-weight-normal: 400;\r\n  --bq-font-weight-medium: 500;\r\n  --bq-font-weight-semibold: 600;\r\n  --bq-font-weight-bold: 700;\r\n  --bq-line-height-tight: 1.25;\r\n  --bq-line-height-normal: 1.5;\r\n  --bq-line-height-relaxed: 1.625;\r\n\r\n  /* === Spacing === */\r\n  --bq-space-0: 0;\r\n  --bq-space-1: 0.25rem;\r\n  --bq-space-2: 0.5rem;\r\n  --bq-space-3: 0.75rem;\r\n  --bq-space-4: 1rem;\r\n  --bq-space-5: 1.25rem;\r\n  --bq-space-6: 1.5rem;\r\n  --bq-space-8: 2rem;\r\n  --bq-space-10: 2.5rem;\r\n  --bq-space-12: 3rem;\r\n  --bq-space-16: 4rem;\r\n\r\n  /* === Border Radius === */\r\n  --bq-radius-none: 0;\r\n  --bq-radius-sm: 0.25rem;\r\n  --bq-radius-md: 0.375rem;\r\n  --bq-radius-lg: 0.5rem;\r\n  --bq-radius-xl: 0.75rem;\r\n  --bq-radius-2xl: 1rem;\r\n  --bq-radius-full: 9999px;\r\n\r\n  /* === Shadows === */\r\n  --bq-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\r\n  --bq-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);\r\n  --bq-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\r\n  --bq-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);\r\n  --bq-shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);\r\n\r\n  /* === Motion === */\r\n  --bq-duration-fast: 150ms;\r\n  --bq-duration-normal: 200ms;\r\n  --bq-duration-slow: 300ms;\r\n  --bq-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);\r\n  --bq-easing-decelerate: cubic-bezier(0, 0, 0.2, 1);\r\n  --bq-easing-accelerate: cubic-bezier(0.4, 0, 1, 1);\r\n  --bq-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);\r\n\r\n  /* === Z-Index === */\r\n  --bq-z-base: 0;\r\n  --bq-z-raised: 10;\r\n  --bq-z-dropdown: 100;\r\n  --bq-z-sticky: 200;\r\n  --bq-z-overlay: 300;\r\n  --bq-z-modal: 400;\r\n  --bq-z-popover: 500;\r\n  --bq-z-toast: 600;\r\n  --bq-z-tooltip: 700;\r\n`.trim();\r\n}\r\n"],"mappings":";;;;AAGA,IAAa,SAAS;CAEpB,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CACZ,YAAY;CAGZ,aAAa;CACb,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CACd,cAAc;CAGd,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CAGX,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,YAAY;CAC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