@gryt/ui 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -5
- package/dist/GrytProvider.d.ts +6 -5
- package/dist/GrytProvider.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.d.ts +13 -6
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Alert/Alert.d.ts +6 -3
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +11 -3
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Badge/Badge.d.ts +7 -3
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +10 -5
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +10 -7
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +8 -3
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +9 -3
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Composer/Composer.d.ts +2 -0
- package/dist/components/Composer/Composer.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts +18 -7
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +6 -3
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +18 -3
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.d.ts +8 -5
- package/dist/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts +14 -6
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Progress/Progress.d.ts +13 -4
- package/dist/components/Progress/Progress.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts +11 -3
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +9 -6
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +8 -3
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +9 -3
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Surface/Surface.d.ts +3 -3
- package/dist/components/Surface/Surface.d.ts.map +1 -1
- package/dist/components/Switch/Switch.d.ts +8 -3
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +15 -6
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/TextField/TextField.d.ts +14 -3
- package/dist/components/TextField/TextField.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +10 -3
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/utils/styles.d.ts +13 -0
- package/dist/components/utils/styles.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -15
- package/dist/index.d.ts +18 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1148 -3492
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme/createGrytTheme.d.ts +13 -3
- package/dist/theme/createGrytTheme.d.ts.map +1 -1
- package/package.json +3 -7
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/theme/createGrytTheme.ts","../src/GrytProvider.tsx","../../../node_modules/clsx/dist/clsx.mjs","../../../node_modules/tailwind-merge/dist/bundle-mjs.mjs","../src/components/utils/cn.ts","../src/components/Button/Button.tsx","../src/components/IconButton/IconButton.tsx","../src/components/Surface/Surface.tsx","../src/components/MessageBubble/MessageBubble.tsx","../src/components/TextField/TextField.tsx","../src/components/Composer/Composer.tsx","../src/components/ConversationItem/ConversationItem.tsx","../src/components/Avatar/Avatar.tsx","../src/components/Badge/Badge.tsx","../src/components/Chip/Chip.tsx","../src/components/Checkbox/Checkbox.tsx","../src/components/Radio/Radio.tsx","../src/components/Switch/Switch.tsx","../src/components/Slider/Slider.tsx","../src/components/Select/Select.tsx","../src/components/Tooltip/Tooltip.tsx","../src/components/Divider/Divider.tsx","../src/components/Card/Card.tsx","../src/components/Alert/Alert.tsx","../src/components/Progress/Progress.tsx","../src/components/Skeleton/Skeleton.tsx","../src/components/Dialog/Dialog.tsx","../src/components/Drawer/Drawer.tsx","../src/components/Menu/Menu.tsx","../src/components/Tabs/Tabs.tsx","../src/components/Accordion/Accordion.tsx"],"sourcesContent":["import { createTheme } from \"@mui/material/styles\";\nimport type { ThemeOptions } from \"@mui/material/styles\";\n\nexport const grytTokens = {\n color: {\n bg: \"#111318\",\n surface: \"#1a1d24\",\n surfaceRaised: \"#1e2028\",\n border: \"#2b303d\",\n text: \"#e0e0e6\",\n muted: \"#888888\",\n accent: \"#968FF8\",\n accentLight: \"#b4afff\",\n secondary: \"#7dd3fc\",\n success: \"#4ade80\",\n danger: \"#f87171\",\n warning: \"#fbbf24\"\n },\n radius: {\n sm: 8,\n md: 12,\n lg: 20,\n xl: 28,\n full: 999\n }\n} as const;\n\nexport type GrytThemeOptions = ThemeOptions;\n\nexport function createGrytTheme(options: GrytThemeOptions = {}) {\n return createTheme({\n palette: {\n mode: \"dark\",\n primary: {\n main: grytTokens.color.accent,\n light: grytTokens.color.accentLight,\n dark: \"#7e77df\",\n contrastText: \"#141126\"\n },\n secondary: {\n main: grytTokens.color.secondary,\n contrastText: \"#07131c\"\n },\n success: {\n main: grytTokens.color.success\n },\n error: {\n main: grytTokens.color.danger\n },\n warning: {\n main: grytTokens.color.warning\n },\n background: {\n default: grytTokens.color.bg,\n paper: grytTokens.color.surface\n },\n text: {\n primary: grytTokens.color.text,\n secondary: grytTokens.color.muted\n },\n divider: grytTokens.color.border\n },\n typography: {\n fontFamily: \"Inter, ui-sans-serif, system-ui, sans-serif\",\n button: {\n textTransform: \"none\",\n fontWeight: 650\n }\n },\n shape: {\n borderRadius: grytTokens.radius.lg\n },\n components: {\n MuiButton: {\n defaultProps: {\n disableElevation: true\n },\n styleOverrides: {\n root: {\n borderRadius: grytTokens.radius.full,\n minHeight: 40,\n paddingInline: 20\n }\n }\n },\n MuiIconButton: {\n styleOverrides: {\n root: {\n borderRadius: grytTokens.radius.full\n }\n }\n },\n MuiPaper: {\n styleOverrides: {\n root: {\n backgroundImage: \"none\",\n borderRadius: grytTokens.radius.lg\n }\n }\n },\n MuiOutlinedInput: {\n styleOverrides: {\n root: {\n borderRadius: grytTokens.radius.xl\n }\n }\n }\n },\n ...options\n });\n}\n","import CssBaseline from \"@mui/material/CssBaseline\";\nimport { ThemeProvider } from \"@mui/material/styles\";\nimport type { Theme } from \"@mui/material/styles\";\nimport type { ReactNode } from \"react\";\nimport { createGrytTheme } from \"./theme/createGrytTheme\";\n\nexport interface GrytProviderProps {\n children: ReactNode;\n theme?: Theme;\n disableBaseline?: boolean;\n}\n\nconst defaultTheme = createGrytTheme();\n\nexport function GrytProvider({\n children,\n theme = defaultTheme,\n disableBaseline = false\n}: GrytProviderProps) {\n return (\n <ThemeProvider theme={theme}>\n {!disableBaseline ? <CssBaseline /> : null}\n {children}\n </ThemeProvider>\n );\n}\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","/**\n * Concatenates two arrays faster than the array spread operator.\n */\nconst concatArrays = (array1, array2) => {\n // Pre-allocate for better V8 optimization\n const combinedArray = new Array(array1.length + array2.length);\n for (let i = 0; i < array1.length; i++) {\n combinedArray[i] = array1[i];\n }\n for (let i = 0; i < array2.length; i++) {\n combinedArray[array1.length + i] = array2[i];\n }\n return combinedArray;\n};\n\n// Factory function ensures consistent object shapes\nconst createClassValidatorObject = (classGroupId, validator) => ({\n classGroupId,\n validator\n});\n// Factory ensures consistent ClassPartObject shape\nconst createClassPartObject = (nextPart = new Map(), validators = null, classGroupId) => ({\n nextPart,\n validators,\n classGroupId\n});\nconst CLASS_PART_SEPARATOR = '-';\nconst EMPTY_CONFLICTS = [];\n// I use two dots here because one dot is used as prefix for class groups in plugins\nconst ARBITRARY_PROPERTY_PREFIX = 'arbitrary..';\nconst createClassGroupUtils = config => {\n const classMap = createClassMap(config);\n const {\n conflictingClassGroups,\n conflictingClassGroupModifiers\n } = config;\n const getClassGroupId = className => {\n if (className.startsWith('[') && className.endsWith(']')) {\n return getGroupIdForArbitraryProperty(className);\n }\n const classParts = className.split(CLASS_PART_SEPARATOR);\n // Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and skip it.\n const startIndex = classParts[0] === '' && classParts.length > 1 ? 1 : 0;\n return getGroupRecursive(classParts, startIndex, classMap);\n };\n const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {\n if (hasPostfixModifier) {\n const modifierConflicts = conflictingClassGroupModifiers[classGroupId];\n const baseConflicts = conflictingClassGroups[classGroupId];\n if (modifierConflicts) {\n if (baseConflicts) {\n // Merge base conflicts with modifier conflicts\n return concatArrays(baseConflicts, modifierConflicts);\n }\n // Only modifier conflicts\n return modifierConflicts;\n }\n // Fall back to without postfix if no modifier conflicts\n return baseConflicts || EMPTY_CONFLICTS;\n }\n return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;\n };\n return {\n getClassGroupId,\n getConflictingClassGroupIds\n };\n};\nconst getGroupRecursive = (classParts, startIndex, classPartObject) => {\n const classPathsLength = classParts.length - startIndex;\n if (classPathsLength === 0) {\n return classPartObject.classGroupId;\n }\n const currentClassPart = classParts[startIndex];\n const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);\n if (nextClassPartObject) {\n const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);\n if (result) return result;\n }\n const validators = classPartObject.validators;\n if (validators === null) {\n return undefined;\n }\n // Build classRest string efficiently by joining from startIndex onwards\n const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);\n const validatorsLength = validators.length;\n for (let i = 0; i < validatorsLength; i++) {\n const validatorObj = validators[i];\n if (validatorObj.validator(classRest)) {\n return validatorObj.classGroupId;\n }\n }\n return undefined;\n};\n/**\n * Get the class group ID for an arbitrary property.\n *\n * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.\n */\nconst getGroupIdForArbitraryProperty = className => className.slice(1, -1).indexOf(':') === -1 ? undefined : (() => {\n const content = className.slice(1, -1);\n const colonIndex = content.indexOf(':');\n const property = content.slice(0, colonIndex);\n return property ? ARBITRARY_PROPERTY_PREFIX + property : undefined;\n})();\n/**\n * Exported for testing only\n */\nconst createClassMap = config => {\n const {\n theme,\n classGroups\n } = config;\n return processClassGroups(classGroups, theme);\n};\n// Split into separate functions to maintain monomorphic call sites\nconst processClassGroups = (classGroups, theme) => {\n const classMap = createClassPartObject();\n for (const classGroupId in classGroups) {\n const group = classGroups[classGroupId];\n processClassesRecursively(group, classMap, classGroupId, theme);\n }\n return classMap;\n};\nconst processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {\n const len = classGroup.length;\n for (let i = 0; i < len; i++) {\n const classDefinition = classGroup[i];\n processClassDefinition(classDefinition, classPartObject, classGroupId, theme);\n }\n};\n// Split into separate functions for each type to maintain monomorphic call sites\nconst processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n if (typeof classDefinition === 'string') {\n processStringDefinition(classDefinition, classPartObject, classGroupId);\n return;\n }\n if (typeof classDefinition === 'function') {\n processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);\n return;\n }\n processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);\n};\nconst processStringDefinition = (classDefinition, classPartObject, classGroupId) => {\n const classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);\n classPartObjectToEdit.classGroupId = classGroupId;\n};\nconst processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n if (isThemeGetter(classDefinition)) {\n processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);\n return;\n }\n if (classPartObject.validators === null) {\n classPartObject.validators = [];\n }\n classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));\n};\nconst processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {\n const entries = Object.entries(classDefinition);\n const len = entries.length;\n for (let i = 0; i < len; i++) {\n const [key, value] = entries[i];\n processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);\n }\n};\nconst getPart = (classPartObject, path) => {\n let current = classPartObject;\n const parts = path.split(CLASS_PART_SEPARATOR);\n const len = parts.length;\n for (let i = 0; i < len; i++) {\n const part = parts[i];\n let next = current.nextPart.get(part);\n if (!next) {\n next = createClassPartObject();\n current.nextPart.set(part, next);\n }\n current = next;\n }\n return current;\n};\n// Type guard maintains monomorphic check\nconst isThemeGetter = func => 'isThemeGetter' in func && func.isThemeGetter === true;\n\n// LRU cache implementation using plain objects for simplicity\nconst createLruCache = maxCacheSize => {\n if (maxCacheSize < 1) {\n return {\n get: () => undefined,\n set: () => {}\n };\n }\n let cacheSize = 0;\n let cache = Object.create(null);\n let previousCache = Object.create(null);\n const update = (key, value) => {\n cache[key] = value;\n cacheSize++;\n if (cacheSize > maxCacheSize) {\n cacheSize = 0;\n previousCache = cache;\n cache = Object.create(null);\n }\n };\n return {\n get(key) {\n let value = cache[key];\n if (value !== undefined) {\n return value;\n }\n if ((value = previousCache[key]) !== undefined) {\n update(key, value);\n return value;\n }\n },\n set(key, value) {\n if (key in cache) {\n cache[key] = value;\n } else {\n update(key, value);\n }\n }\n };\n};\nconst IMPORTANT_MODIFIER = '!';\nconst MODIFIER_SEPARATOR = ':';\nconst EMPTY_MODIFIERS = [];\n// Pre-allocated result object shape for consistency\nconst createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition,\n isExternal\n});\nconst createParseClassName = config => {\n const {\n prefix,\n experimentalParseClassName\n } = config;\n /**\n * Parse class name into parts.\n *\n * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js\n */\n let parseClassName = className => {\n // Use simple array with push for better performance\n const modifiers = [];\n let bracketDepth = 0;\n let parenDepth = 0;\n let modifierStart = 0;\n let postfixModifierPosition;\n const len = className.length;\n for (let index = 0; index < len; index++) {\n const currentCharacter = className[index];\n if (bracketDepth === 0 && parenDepth === 0) {\n if (currentCharacter === MODIFIER_SEPARATOR) {\n modifiers.push(className.slice(modifierStart, index));\n modifierStart = index + 1;\n continue;\n }\n if (currentCharacter === '/') {\n postfixModifierPosition = index;\n continue;\n }\n }\n if (currentCharacter === '[') bracketDepth++;else if (currentCharacter === ']') bracketDepth--;else if (currentCharacter === '(') parenDepth++;else if (currentCharacter === ')') parenDepth--;\n }\n const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);\n // Inline important modifier check\n let baseClassName = baseClassNameWithImportantModifier;\n let hasImportantModifier = false;\n if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(0, -1);\n hasImportantModifier = true;\n } else if (\n /**\n * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.\n * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864\n */\n baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {\n baseClassName = baseClassNameWithImportantModifier.slice(1);\n hasImportantModifier = true;\n }\n const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;\n return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);\n };\n if (prefix) {\n const fullPrefix = prefix + MODIFIER_SEPARATOR;\n const parseClassNameOriginal = parseClassName;\n parseClassName = className => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, undefined, true);\n }\n if (experimentalParseClassName) {\n const parseClassNameOriginal = parseClassName;\n parseClassName = className => experimentalParseClassName({\n className,\n parseClassName: parseClassNameOriginal\n });\n }\n return parseClassName;\n};\n\n/**\n * Sorts modifiers according to following schema:\n * - Predefined modifiers are sorted alphabetically\n * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it\n */\nconst createSortModifiers = config => {\n // Pre-compute weights for all known modifiers for O(1) comparison\n const modifierWeights = new Map();\n // Assign weights to sensitive modifiers (highest priority, but preserve order)\n config.orderSensitiveModifiers.forEach((mod, index) => {\n modifierWeights.set(mod, 1000000 + index); // High weights for sensitive mods\n });\n return modifiers => {\n const result = [];\n let currentSegment = [];\n // Process modifiers in one pass\n for (let i = 0; i < modifiers.length; i++) {\n const modifier = modifiers[i];\n // Check if modifier is sensitive (starts with '[' or in orderSensitiveModifiers)\n const isArbitrary = modifier[0] === '[';\n const isOrderSensitive = modifierWeights.has(modifier);\n if (isArbitrary || isOrderSensitive) {\n // Sort and flush current segment alphabetically\n if (currentSegment.length > 0) {\n currentSegment.sort();\n result.push(...currentSegment);\n currentSegment = [];\n }\n result.push(modifier);\n } else {\n // Regular modifier - add to current segment for batch sorting\n currentSegment.push(modifier);\n }\n }\n // Sort and add any remaining segment items\n if (currentSegment.length > 0) {\n currentSegment.sort();\n result.push(...currentSegment);\n }\n return result;\n };\n};\nconst createConfigUtils = config => ({\n cache: createLruCache(config.cacheSize),\n parseClassName: createParseClassName(config),\n sortModifiers: createSortModifiers(config),\n postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),\n ...createClassGroupUtils(config)\n});\nconst createPostfixLookupClassGroupIds = config => {\n const lookup = Object.create(null);\n const classGroupIds = config.postfixLookupClassGroups;\n if (classGroupIds) {\n for (let i = 0; i < classGroupIds.length; i++) {\n lookup[classGroupIds[i]] = true;\n }\n }\n return lookup;\n};\nconst SPLIT_CLASSES_REGEX = /\\s+/;\nconst mergeClassList = (classList, configUtils) => {\n const {\n parseClassName,\n getClassGroupId,\n getConflictingClassGroupIds,\n sortModifiers,\n postfixLookupClassGroupIds\n } = configUtils;\n /**\n * Set of classGroupIds in following format:\n * `{importantModifier}{variantModifiers}{classGroupId}`\n * @example 'float'\n * @example 'hover:focus:bg-color'\n * @example 'md:!pr'\n */\n const classGroupsInConflict = [];\n const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);\n let result = '';\n for (let index = classNames.length - 1; index >= 0; index -= 1) {\n const originalClassName = classNames[index];\n const {\n isExternal,\n modifiers,\n hasImportantModifier,\n baseClassName,\n maybePostfixModifierPosition\n } = parseClassName(originalClassName);\n if (isExternal) {\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n let hasPostfixModifier = !!maybePostfixModifierPosition;\n let classGroupId;\n if (hasPostfixModifier) {\n const baseClassNameWithoutPostfix = baseClassName.substring(0, maybePostfixModifierPosition);\n classGroupId = getClassGroupId(baseClassNameWithoutPostfix);\n const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : undefined;\n if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {\n classGroupId = classGroupIdWithPostfix;\n hasPostfixModifier = false;\n }\n } else {\n classGroupId = getClassGroupId(baseClassName);\n }\n if (!classGroupId) {\n if (!hasPostfixModifier) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n classGroupId = getClassGroupId(baseClassName);\n if (!classGroupId) {\n // Not a Tailwind class\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n continue;\n }\n hasPostfixModifier = false;\n }\n // Fast path: skip sorting for empty or single modifier\n const variantModifier = modifiers.length === 0 ? '' : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(':');\n const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;\n const classId = modifierId + classGroupId;\n if (classGroupsInConflict.indexOf(classId) > -1) {\n // Tailwind class omitted due to conflict\n continue;\n }\n classGroupsInConflict.push(classId);\n const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);\n for (let i = 0; i < conflictGroups.length; ++i) {\n const group = conflictGroups[i];\n classGroupsInConflict.push(modifierId + group);\n }\n // Tailwind class not in conflict\n result = originalClassName + (result.length > 0 ? ' ' + result : result);\n }\n return result;\n};\n\n/**\n * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.\n *\n * Specifically:\n * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js\n * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts\n *\n * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)\n */\nconst twJoin = (...classLists) => {\n let index = 0;\n let argument;\n let resolvedValue;\n let string = '';\n while (index < classLists.length) {\n if (argument = classLists[index++]) {\n if (resolvedValue = toValue(argument)) {\n string && (string += ' ');\n string += resolvedValue;\n }\n }\n }\n return string;\n};\nconst toValue = mix => {\n // Fast path for strings\n if (typeof mix === 'string') {\n return mix;\n }\n let resolvedValue;\n let string = '';\n for (let k = 0; k < mix.length; k++) {\n if (mix[k]) {\n if (resolvedValue = toValue(mix[k])) {\n string && (string += ' ');\n string += resolvedValue;\n }\n }\n }\n return string;\n};\nconst createTailwindMerge = (createConfigFirst, ...createConfigRest) => {\n let configUtils;\n let cacheGet;\n let cacheSet;\n let functionToCall;\n const initTailwindMerge = classList => {\n const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());\n configUtils = createConfigUtils(config);\n cacheGet = configUtils.cache.get;\n cacheSet = configUtils.cache.set;\n functionToCall = tailwindMerge;\n return tailwindMerge(classList);\n };\n const tailwindMerge = classList => {\n const cachedResult = cacheGet(classList);\n if (cachedResult) {\n return cachedResult;\n }\n const result = mergeClassList(classList, configUtils);\n cacheSet(classList, result);\n return result;\n };\n functionToCall = initTailwindMerge;\n return (...args) => functionToCall(twJoin(...args));\n};\nconst fallbackThemeArr = [];\nconst fromTheme = key => {\n const themeGetter = theme => theme[key] || fallbackThemeArr;\n themeGetter.isThemeGetter = true;\n return themeGetter;\n};\nconst arbitraryValueRegex = /^\\[(?:(\\w[\\w-]*):)?(.+)\\]$/i;\nconst arbitraryVariableRegex = /^\\((?:(\\w[\\w-]*):)?(.+)\\)$/i;\nconst fractionRegex = /^\\d+(?:\\.\\d+)?\\/\\d+(?:\\.\\d+)?$/;\nconst tshirtUnitRegex = /^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/;\nconst lengthUnitRegex = /\\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\\b(calc|min|max|clamp)\\(.+\\)|^0$/;\nconst colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\\(.+\\)$/;\n// Shadow always begins with x and y offset separated by underscore optionally prepended by inset\nconst shadowRegex = /^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/;\nconst imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/;\nconst isFraction = value => fractionRegex.test(value);\nconst isNumber = value => !!value && !Number.isNaN(Number(value));\nconst isInteger = value => !!value && Number.isInteger(Number(value));\nconst isPercent = value => value.endsWith('%') && isNumber(value.slice(0, -1));\nconst isTshirtSize = value => tshirtUnitRegex.test(value);\nconst isAny = () => true;\nconst isLengthOnly = value =>\n// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.\n// For example, `hsl(0 0% 0%)` would be classified as a length without this check.\n// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.\nlengthUnitRegex.test(value) && !colorFunctionRegex.test(value);\nconst isNever = () => false;\nconst isShadow = value => shadowRegex.test(value);\nconst isImage = value => imageRegex.test(value);\nconst isAnyNonArbitrary = value => !isArbitraryValue(value) && !isArbitraryVariable(value);\nconst isNamedContainerQuery = value => value.startsWith('@container') && (value[10] === '/' && value[11] !== undefined || value[11] === 's' && value[16] !== undefined && value.startsWith('-size/', 10) || value[11] === 'n' && value[18] !== undefined && value.startsWith('-normal/', 10));\nconst isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever);\nconst isArbitraryValue = value => arbitraryValueRegex.test(value);\nconst isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);\nconst isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);\nconst isArbitraryWeight = value => getIsArbitraryValue(value, isLabelWeight, isAny);\nconst isArbitraryFamilyName = value => getIsArbitraryValue(value, isLabelFamilyName, isNever);\nconst isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);\nconst isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);\nconst isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);\nconst isArbitraryVariable = value => arbitraryVariableRegex.test(value);\nconst isArbitraryVariableLength = value => getIsArbitraryVariable(value, isLabelLength);\nconst isArbitraryVariableFamilyName = value => getIsArbitraryVariable(value, isLabelFamilyName);\nconst isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLabelPosition);\nconst isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);\nconst isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);\nconst isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);\nconst isArbitraryVariableWeight = value => getIsArbitraryVariable(value, isLabelWeight, true);\n// Helpers\nconst getIsArbitraryValue = (value, testLabel, testValue) => {\n const result = arbitraryValueRegex.exec(value);\n if (result) {\n if (result[1]) {\n return testLabel(result[1]);\n }\n return testValue(result[2]);\n }\n return false;\n};\nconst getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {\n const result = arbitraryVariableRegex.exec(value);\n if (result) {\n if (result[1]) {\n return testLabel(result[1]);\n }\n return shouldMatchNoLabel;\n }\n return false;\n};\n// Labels\nconst isLabelPosition = label => label === 'position' || label === 'percentage';\nconst isLabelImage = label => label === 'image' || label === 'url';\nconst isLabelSize = label => label === 'length' || label === 'size' || label === 'bg-size';\nconst isLabelLength = label => label === 'length';\nconst isLabelNumber = label => label === 'number';\nconst isLabelFamilyName = label => label === 'family-name';\nconst isLabelWeight = label => label === 'number' || label === 'weight';\nconst isLabelShadow = label => label === 'shadow';\nconst validators = /*#__PURE__*/Object.defineProperty({\n __proto__: null,\n isAny,\n isAnyNonArbitrary,\n isArbitraryFamilyName,\n isArbitraryImage,\n isArbitraryLength,\n isArbitraryNumber,\n isArbitraryPosition,\n isArbitraryShadow,\n isArbitrarySize,\n isArbitraryValue,\n isArbitraryVariable,\n isArbitraryVariableFamilyName,\n isArbitraryVariableImage,\n isArbitraryVariableLength,\n isArbitraryVariablePosition,\n isArbitraryVariableShadow,\n isArbitraryVariableSize,\n isArbitraryVariableWeight,\n isArbitraryWeight,\n isFraction,\n isInteger,\n isNamedContainerQuery,\n isNumber,\n isPercent,\n isTshirtSize\n}, Symbol.toStringTag, {\n value: 'Module'\n});\nconst getDefaultConfig = () => {\n /**\n * Theme getters for theme variable namespaces\n * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces\n */\n /***/\n const themeColor = fromTheme('color');\n const themeFont = fromTheme('font');\n const themeText = fromTheme('text');\n const themeFontWeight = fromTheme('font-weight');\n const themeTracking = fromTheme('tracking');\n const themeLeading = fromTheme('leading');\n const themeBreakpoint = fromTheme('breakpoint');\n const themeContainer = fromTheme('container');\n const themeSpacing = fromTheme('spacing');\n const themeRadius = fromTheme('radius');\n const themeShadow = fromTheme('shadow');\n const themeInsetShadow = fromTheme('inset-shadow');\n const themeTextShadow = fromTheme('text-shadow');\n const themeDropShadow = fromTheme('drop-shadow');\n const themeBlur = fromTheme('blur');\n const themePerspective = fromTheme('perspective');\n const themeAspect = fromTheme('aspect');\n const themeEase = fromTheme('ease');\n const themeAnimate = fromTheme('animate');\n /**\n * Helpers to avoid repeating the same scales\n *\n * We use functions that create a new array every time they're called instead of static arrays.\n * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.\n */\n /***/\n const scaleBreak = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];\n const scalePosition = () => ['center', 'top', 'bottom', 'left', 'right', 'top-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-top', 'top-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-top', 'bottom-right',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'right-bottom', 'bottom-left',\n // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378\n 'left-bottom'];\n const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];\n const scaleOverflow = () => ['auto', 'hidden', 'clip', 'visible', 'scroll'];\n const scaleOverscroll = () => ['auto', 'contain', 'none'];\n const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];\n const scaleInset = () => [isFraction, 'full', 'auto', ...scaleUnambiguousSpacing()];\n const scaleGridTemplateColsRows = () => [isInteger, 'none', 'subgrid', isArbitraryVariable, isArbitraryValue];\n const scaleGridColRowStartAndEnd = () => ['auto', {\n span: ['full', isInteger, isArbitraryVariable, isArbitraryValue]\n }, isInteger, isArbitraryVariable, isArbitraryValue];\n const scaleGridColRowStartOrEnd = () => [isInteger, 'auto', isArbitraryVariable, isArbitraryValue];\n const scaleGridAutoColsRows = () => ['auto', 'min', 'max', 'fr', isArbitraryVariable, isArbitraryValue];\n const scaleAlignPrimaryAxis = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch', 'baseline', 'center-safe', 'end-safe'];\n const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];\n const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];\n const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleSizingInline = () => [isFraction, 'screen', 'full', 'dvw', 'lvw', 'svw', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleSizingBlock = () => [isFraction, 'screen', 'full', 'lh', 'dvh', 'lvh', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];\n const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];\n const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {\n position: [isArbitraryVariable, isArbitraryValue]\n }];\n const scaleBgRepeat = () => ['no-repeat', {\n repeat: ['', 'x', 'y', 'space', 'round']\n }];\n const scaleBgSize = () => ['auto', 'cover', 'contain', isArbitraryVariableSize, isArbitrarySize, {\n size: [isArbitraryVariable, isArbitraryValue]\n }];\n const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];\n const scaleRadius = () => [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', 'full', themeRadius, isArbitraryVariable, isArbitraryValue];\n const scaleBorderWidth = () => ['', isNumber, isArbitraryVariableLength, isArbitraryLength];\n const scaleLineStyle = () => ['solid', 'dashed', 'dotted', 'double'];\n const scaleBlendMode = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];\n const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];\n const scaleBlur = () => [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeBlur, isArbitraryVariable, isArbitraryValue];\n const scaleRotate = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleScale = () => ['none', isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];\n const scaleTranslate = () => [isFraction, 'full', ...scaleUnambiguousSpacing()];\n return {\n cacheSize: 500,\n theme: {\n animate: ['spin', 'ping', 'pulse', 'bounce'],\n aspect: ['video'],\n blur: [isTshirtSize],\n breakpoint: [isTshirtSize],\n color: [isAny],\n container: [isTshirtSize],\n 'drop-shadow': [isTshirtSize],\n ease: ['in', 'out', 'in-out'],\n font: [isAnyNonArbitrary],\n 'font-weight': ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black'],\n 'inset-shadow': [isTshirtSize],\n leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose'],\n perspective: ['dramatic', 'near', 'normal', 'midrange', 'distant', 'none'],\n radius: [isTshirtSize],\n shadow: [isTshirtSize],\n spacing: ['px', isNumber],\n text: [isTshirtSize],\n 'text-shadow': [isTshirtSize],\n tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest']\n },\n classGroups: {\n // --------------\n // --- Layout ---\n // --------------\n /**\n * Aspect Ratio\n * @see https://tailwindcss.com/docs/aspect-ratio\n */\n aspect: [{\n aspect: ['auto', 'square', isFraction, isArbitraryValue, isArbitraryVariable, themeAspect]\n }],\n /**\n * Container\n * @see https://tailwindcss.com/docs/container\n * @deprecated since Tailwind CSS v4.0.0\n */\n container: ['container'],\n /**\n * Container Type\n * @see https://tailwindcss.com/docs/responsive-design#container-queries\n */\n 'container-type': [{\n '@container': ['', 'normal', 'size', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Container Name\n * @see https://tailwindcss.com/docs/responsive-design#named-containers\n */\n 'container-named': [isNamedContainerQuery],\n /**\n * Columns\n * @see https://tailwindcss.com/docs/columns\n */\n columns: [{\n columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer]\n }],\n /**\n * Break After\n * @see https://tailwindcss.com/docs/break-after\n */\n 'break-after': [{\n 'break-after': scaleBreak()\n }],\n /**\n * Break Before\n * @see https://tailwindcss.com/docs/break-before\n */\n 'break-before': [{\n 'break-before': scaleBreak()\n }],\n /**\n * Break Inside\n * @see https://tailwindcss.com/docs/break-inside\n */\n 'break-inside': [{\n 'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']\n }],\n /**\n * Box Decoration Break\n * @see https://tailwindcss.com/docs/box-decoration-break\n */\n 'box-decoration': [{\n 'box-decoration': ['slice', 'clone']\n }],\n /**\n * Box Sizing\n * @see https://tailwindcss.com/docs/box-sizing\n */\n box: [{\n box: ['border', 'content']\n }],\n /**\n * Display\n * @see https://tailwindcss.com/docs/display\n */\n display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],\n /**\n * Screen Reader Only\n * @see https://tailwindcss.com/docs/display#screen-reader-only\n */\n sr: ['sr-only', 'not-sr-only'],\n /**\n * Floats\n * @see https://tailwindcss.com/docs/float\n */\n float: [{\n float: ['right', 'left', 'none', 'start', 'end']\n }],\n /**\n * Clear\n * @see https://tailwindcss.com/docs/clear\n */\n clear: [{\n clear: ['left', 'right', 'both', 'none', 'start', 'end']\n }],\n /**\n * Isolation\n * @see https://tailwindcss.com/docs/isolation\n */\n isolation: ['isolate', 'isolation-auto'],\n /**\n * Object Fit\n * @see https://tailwindcss.com/docs/object-fit\n */\n 'object-fit': [{\n object: ['contain', 'cover', 'fill', 'none', 'scale-down']\n }],\n /**\n * Object Position\n * @see https://tailwindcss.com/docs/object-position\n */\n 'object-position': [{\n object: scalePositionWithArbitrary()\n }],\n /**\n * Overflow\n * @see https://tailwindcss.com/docs/overflow\n */\n overflow: [{\n overflow: scaleOverflow()\n }],\n /**\n * Overflow X\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-x': [{\n 'overflow-x': scaleOverflow()\n }],\n /**\n * Overflow Y\n * @see https://tailwindcss.com/docs/overflow\n */\n 'overflow-y': [{\n 'overflow-y': scaleOverflow()\n }],\n /**\n * Overscroll Behavior\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n overscroll: [{\n overscroll: scaleOverscroll()\n }],\n /**\n * Overscroll Behavior X\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-x': [{\n 'overscroll-x': scaleOverscroll()\n }],\n /**\n * Overscroll Behavior Y\n * @see https://tailwindcss.com/docs/overscroll-behavior\n */\n 'overscroll-y': [{\n 'overscroll-y': scaleOverscroll()\n }],\n /**\n * Position\n * @see https://tailwindcss.com/docs/position\n */\n position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],\n /**\n * Inset\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n inset: [{\n inset: scaleInset()\n }],\n /**\n * Inset Inline\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-x': [{\n 'inset-x': scaleInset()\n }],\n /**\n * Inset Block\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-y': [{\n 'inset-y': scaleInset()\n }],\n /**\n * Inset Inline Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n * @todo class group will be renamed to `inset-s` in next major release\n */\n start: [{\n 'inset-s': scaleInset(),\n /**\n * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.\n * @see https://github.com/tailwindlabs/tailwindcss/pull/19613\n */\n start: scaleInset()\n }],\n /**\n * Inset Inline End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n * @todo class group will be renamed to `inset-e` in next major release\n */\n end: [{\n 'inset-e': scaleInset(),\n /**\n * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.\n * @see https://github.com/tailwindlabs/tailwindcss/pull/19613\n */\n end: scaleInset()\n }],\n /**\n * Inset Block Start\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-bs': [{\n 'inset-bs': scaleInset()\n }],\n /**\n * Inset Block End\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n 'inset-be': [{\n 'inset-be': scaleInset()\n }],\n /**\n * Top\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n top: [{\n top: scaleInset()\n }],\n /**\n * Right\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n right: [{\n right: scaleInset()\n }],\n /**\n * Bottom\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n bottom: [{\n bottom: scaleInset()\n }],\n /**\n * Left\n * @see https://tailwindcss.com/docs/top-right-bottom-left\n */\n left: [{\n left: scaleInset()\n }],\n /**\n * Visibility\n * @see https://tailwindcss.com/docs/visibility\n */\n visibility: ['visible', 'invisible', 'collapse'],\n /**\n * Z-Index\n * @see https://tailwindcss.com/docs/z-index\n */\n z: [{\n z: [isInteger, 'auto', isArbitraryVariable, isArbitraryValue]\n }],\n // ------------------------\n // --- Flexbox and Grid ---\n // ------------------------\n /**\n * Flex Basis\n * @see https://tailwindcss.com/docs/flex-basis\n */\n basis: [{\n basis: [isFraction, 'full', 'auto', themeContainer, ...scaleUnambiguousSpacing()]\n }],\n /**\n * Flex Direction\n * @see https://tailwindcss.com/docs/flex-direction\n */\n 'flex-direction': [{\n flex: ['row', 'row-reverse', 'col', 'col-reverse']\n }],\n /**\n * Flex Wrap\n * @see https://tailwindcss.com/docs/flex-wrap\n */\n 'flex-wrap': [{\n flex: ['nowrap', 'wrap', 'wrap-reverse']\n }],\n /**\n * Flex\n * @see https://tailwindcss.com/docs/flex\n */\n flex: [{\n flex: [isNumber, isFraction, 'auto', 'initial', 'none', isArbitraryValue]\n }],\n /**\n * Flex Grow\n * @see https://tailwindcss.com/docs/flex-grow\n */\n grow: [{\n grow: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Flex Shrink\n * @see https://tailwindcss.com/docs/flex-shrink\n */\n shrink: [{\n shrink: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Order\n * @see https://tailwindcss.com/docs/order\n */\n order: [{\n order: [isInteger, 'first', 'last', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Grid Template Columns\n * @see https://tailwindcss.com/docs/grid-template-columns\n */\n 'grid-cols': [{\n 'grid-cols': scaleGridTemplateColsRows()\n }],\n /**\n * Grid Column Start / End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start-end': [{\n col: scaleGridColRowStartAndEnd()\n }],\n /**\n * Grid Column Start\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-start': [{\n 'col-start': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Column End\n * @see https://tailwindcss.com/docs/grid-column\n */\n 'col-end': [{\n 'col-end': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Template Rows\n * @see https://tailwindcss.com/docs/grid-template-rows\n */\n 'grid-rows': [{\n 'grid-rows': scaleGridTemplateColsRows()\n }],\n /**\n * Grid Row Start / End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start-end': [{\n row: scaleGridColRowStartAndEnd()\n }],\n /**\n * Grid Row Start\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-start': [{\n 'row-start': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Row End\n * @see https://tailwindcss.com/docs/grid-row\n */\n 'row-end': [{\n 'row-end': scaleGridColRowStartOrEnd()\n }],\n /**\n * Grid Auto Flow\n * @see https://tailwindcss.com/docs/grid-auto-flow\n */\n 'grid-flow': [{\n 'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']\n }],\n /**\n * Grid Auto Columns\n * @see https://tailwindcss.com/docs/grid-auto-columns\n */\n 'auto-cols': [{\n 'auto-cols': scaleGridAutoColsRows()\n }],\n /**\n * Grid Auto Rows\n * @see https://tailwindcss.com/docs/grid-auto-rows\n */\n 'auto-rows': [{\n 'auto-rows': scaleGridAutoColsRows()\n }],\n /**\n * Gap\n * @see https://tailwindcss.com/docs/gap\n */\n gap: [{\n gap: scaleUnambiguousSpacing()\n }],\n /**\n * Gap X\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-x': [{\n 'gap-x': scaleUnambiguousSpacing()\n }],\n /**\n * Gap Y\n * @see https://tailwindcss.com/docs/gap\n */\n 'gap-y': [{\n 'gap-y': scaleUnambiguousSpacing()\n }],\n /**\n * Justify Content\n * @see https://tailwindcss.com/docs/justify-content\n */\n 'justify-content': [{\n justify: [...scaleAlignPrimaryAxis(), 'normal']\n }],\n /**\n * Justify Items\n * @see https://tailwindcss.com/docs/justify-items\n */\n 'justify-items': [{\n 'justify-items': [...scaleAlignSecondaryAxis(), 'normal']\n }],\n /**\n * Justify Self\n * @see https://tailwindcss.com/docs/justify-self\n */\n 'justify-self': [{\n 'justify-self': ['auto', ...scaleAlignSecondaryAxis()]\n }],\n /**\n * Align Content\n * @see https://tailwindcss.com/docs/align-content\n */\n 'align-content': [{\n content: ['normal', ...scaleAlignPrimaryAxis()]\n }],\n /**\n * Align Items\n * @see https://tailwindcss.com/docs/align-items\n */\n 'align-items': [{\n items: [...scaleAlignSecondaryAxis(), {\n baseline: ['', 'last']\n }]\n }],\n /**\n * Align Self\n * @see https://tailwindcss.com/docs/align-self\n */\n 'align-self': [{\n self: ['auto', ...scaleAlignSecondaryAxis(), {\n baseline: ['', 'last']\n }]\n }],\n /**\n * Place Content\n * @see https://tailwindcss.com/docs/place-content\n */\n 'place-content': [{\n 'place-content': scaleAlignPrimaryAxis()\n }],\n /**\n * Place Items\n * @see https://tailwindcss.com/docs/place-items\n */\n 'place-items': [{\n 'place-items': [...scaleAlignSecondaryAxis(), 'baseline']\n }],\n /**\n * Place Self\n * @see https://tailwindcss.com/docs/place-self\n */\n 'place-self': [{\n 'place-self': ['auto', ...scaleAlignSecondaryAxis()]\n }],\n // Spacing\n /**\n * Padding\n * @see https://tailwindcss.com/docs/padding\n */\n p: [{\n p: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline\n * @see https://tailwindcss.com/docs/padding\n */\n px: [{\n px: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block\n * @see https://tailwindcss.com/docs/padding\n */\n py: [{\n py: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline Start\n * @see https://tailwindcss.com/docs/padding\n */\n ps: [{\n ps: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Inline End\n * @see https://tailwindcss.com/docs/padding\n */\n pe: [{\n pe: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block Start\n * @see https://tailwindcss.com/docs/padding\n */\n pbs: [{\n pbs: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Block End\n * @see https://tailwindcss.com/docs/padding\n */\n pbe: [{\n pbe: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Top\n * @see https://tailwindcss.com/docs/padding\n */\n pt: [{\n pt: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Right\n * @see https://tailwindcss.com/docs/padding\n */\n pr: [{\n pr: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Bottom\n * @see https://tailwindcss.com/docs/padding\n */\n pb: [{\n pb: scaleUnambiguousSpacing()\n }],\n /**\n * Padding Left\n * @see https://tailwindcss.com/docs/padding\n */\n pl: [{\n pl: scaleUnambiguousSpacing()\n }],\n /**\n * Margin\n * @see https://tailwindcss.com/docs/margin\n */\n m: [{\n m: scaleMargin()\n }],\n /**\n * Margin Inline\n * @see https://tailwindcss.com/docs/margin\n */\n mx: [{\n mx: scaleMargin()\n }],\n /**\n * Margin Block\n * @see https://tailwindcss.com/docs/margin\n */\n my: [{\n my: scaleMargin()\n }],\n /**\n * Margin Inline Start\n * @see https://tailwindcss.com/docs/margin\n */\n ms: [{\n ms: scaleMargin()\n }],\n /**\n * Margin Inline End\n * @see https://tailwindcss.com/docs/margin\n */\n me: [{\n me: scaleMargin()\n }],\n /**\n * Margin Block Start\n * @see https://tailwindcss.com/docs/margin\n */\n mbs: [{\n mbs: scaleMargin()\n }],\n /**\n * Margin Block End\n * @see https://tailwindcss.com/docs/margin\n */\n mbe: [{\n mbe: scaleMargin()\n }],\n /**\n * Margin Top\n * @see https://tailwindcss.com/docs/margin\n */\n mt: [{\n mt: scaleMargin()\n }],\n /**\n * Margin Right\n * @see https://tailwindcss.com/docs/margin\n */\n mr: [{\n mr: scaleMargin()\n }],\n /**\n * Margin Bottom\n * @see https://tailwindcss.com/docs/margin\n */\n mb: [{\n mb: scaleMargin()\n }],\n /**\n * Margin Left\n * @see https://tailwindcss.com/docs/margin\n */\n ml: [{\n ml: scaleMargin()\n }],\n /**\n * Space Between X\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x': [{\n 'space-x': scaleUnambiguousSpacing()\n }],\n /**\n * Space Between X Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-x-reverse': ['space-x-reverse'],\n /**\n * Space Between Y\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y': [{\n 'space-y': scaleUnambiguousSpacing()\n }],\n /**\n * Space Between Y Reverse\n * @see https://tailwindcss.com/docs/margin#adding-space-between-children\n */\n 'space-y-reverse': ['space-y-reverse'],\n // --------------\n // --- Sizing ---\n // --------------\n /**\n * Size\n * @see https://tailwindcss.com/docs/width#setting-both-width-and-height\n */\n size: [{\n size: scaleSizing()\n }],\n /**\n * Inline Size\n * @see https://tailwindcss.com/docs/width\n */\n 'inline-size': [{\n inline: ['auto', ...scaleSizingInline()]\n }],\n /**\n * Min-Inline Size\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-inline-size': [{\n 'min-inline': ['auto', ...scaleSizingInline()]\n }],\n /**\n * Max-Inline Size\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-inline-size': [{\n 'max-inline': ['none', ...scaleSizingInline()]\n }],\n /**\n * Block Size\n * @see https://tailwindcss.com/docs/height\n */\n 'block-size': [{\n block: ['auto', ...scaleSizingBlock()]\n }],\n /**\n * Min-Block Size\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-block-size': [{\n 'min-block': ['auto', ...scaleSizingBlock()]\n }],\n /**\n * Max-Block Size\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-block-size': [{\n 'max-block': ['none', ...scaleSizingBlock()]\n }],\n /**\n * Width\n * @see https://tailwindcss.com/docs/width\n */\n w: [{\n w: [themeContainer, 'screen', ...scaleSizing()]\n }],\n /**\n * Min-Width\n * @see https://tailwindcss.com/docs/min-width\n */\n 'min-w': [{\n 'min-w': [themeContainer, 'screen', /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'none', ...scaleSizing()]\n }],\n /**\n * Max-Width\n * @see https://tailwindcss.com/docs/max-width\n */\n 'max-w': [{\n 'max-w': [themeContainer, 'screen', 'none', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n 'prose', /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n {\n screen: [themeBreakpoint]\n }, ...scaleSizing()]\n }],\n /**\n * Height\n * @see https://tailwindcss.com/docs/height\n */\n h: [{\n h: ['screen', 'lh', ...scaleSizing()]\n }],\n /**\n * Min-Height\n * @see https://tailwindcss.com/docs/min-height\n */\n 'min-h': [{\n 'min-h': ['screen', 'lh', 'none', ...scaleSizing()]\n }],\n /**\n * Max-Height\n * @see https://tailwindcss.com/docs/max-height\n */\n 'max-h': [{\n 'max-h': ['screen', 'lh', ...scaleSizing()]\n }],\n // ------------------\n // --- Typography ---\n // ------------------\n /**\n * Font Size\n * @see https://tailwindcss.com/docs/font-size\n */\n 'font-size': [{\n text: ['base', themeText, isArbitraryVariableLength, isArbitraryLength]\n }],\n /**\n * Font Smoothing\n * @see https://tailwindcss.com/docs/font-smoothing\n */\n 'font-smoothing': ['antialiased', 'subpixel-antialiased'],\n /**\n * Font Style\n * @see https://tailwindcss.com/docs/font-style\n */\n 'font-style': ['italic', 'not-italic'],\n /**\n * Font Weight\n * @see https://tailwindcss.com/docs/font-weight\n */\n 'font-weight': [{\n font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]\n }],\n /**\n * Font Stretch\n * @see https://tailwindcss.com/docs/font-stretch\n */\n 'font-stretch': [{\n 'font-stretch': ['ultra-condensed', 'extra-condensed', 'condensed', 'semi-condensed', 'normal', 'semi-expanded', 'expanded', 'extra-expanded', 'ultra-expanded', isPercent, isArbitraryValue]\n }],\n /**\n * Font Family\n * @see https://tailwindcss.com/docs/font-family\n */\n 'font-family': [{\n font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont]\n }],\n /**\n * Font Feature Settings\n * @see https://tailwindcss.com/docs/font-feature-settings\n */\n 'font-features': [{\n 'font-features': [isArbitraryValue]\n }],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-normal': ['normal-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-ordinal': ['ordinal'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-slashed-zero': ['slashed-zero'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-figure': ['lining-nums', 'oldstyle-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-spacing': ['proportional-nums', 'tabular-nums'],\n /**\n * Font Variant Numeric\n * @see https://tailwindcss.com/docs/font-variant-numeric\n */\n 'fvn-fraction': ['diagonal-fractions', 'stacked-fractions'],\n /**\n * Letter Spacing\n * @see https://tailwindcss.com/docs/letter-spacing\n */\n tracking: [{\n tracking: [themeTracking, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Line Clamp\n * @see https://tailwindcss.com/docs/line-clamp\n */\n 'line-clamp': [{\n 'line-clamp': [isNumber, 'none', isArbitraryVariable, isArbitraryNumber]\n }],\n /**\n * Line Height\n * @see https://tailwindcss.com/docs/line-height\n */\n leading: [{\n leading: [/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */\n themeLeading, ...scaleUnambiguousSpacing()]\n }],\n /**\n * List Style Image\n * @see https://tailwindcss.com/docs/list-style-image\n */\n 'list-image': [{\n 'list-image': ['none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * List Style Position\n * @see https://tailwindcss.com/docs/list-style-position\n */\n 'list-style-position': [{\n list: ['inside', 'outside']\n }],\n /**\n * List Style Type\n * @see https://tailwindcss.com/docs/list-style-type\n */\n 'list-style-type': [{\n list: ['disc', 'decimal', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Text Alignment\n * @see https://tailwindcss.com/docs/text-align\n */\n 'text-alignment': [{\n text: ['left', 'center', 'right', 'justify', 'start', 'end']\n }],\n /**\n * Placeholder Color\n * @deprecated since Tailwind CSS v3.0.0\n * @see https://v3.tailwindcss.com/docs/placeholder-color\n */\n 'placeholder-color': [{\n placeholder: scaleColor()\n }],\n /**\n * Text Color\n * @see https://tailwindcss.com/docs/text-color\n */\n 'text-color': [{\n text: scaleColor()\n }],\n /**\n * Text Decoration\n * @see https://tailwindcss.com/docs/text-decoration\n */\n 'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],\n /**\n * Text Decoration Style\n * @see https://tailwindcss.com/docs/text-decoration-style\n */\n 'text-decoration-style': [{\n decoration: [...scaleLineStyle(), 'wavy']\n }],\n /**\n * Text Decoration Thickness\n * @see https://tailwindcss.com/docs/text-decoration-thickness\n */\n 'text-decoration-thickness': [{\n decoration: [isNumber, 'from-font', 'auto', isArbitraryVariable, isArbitraryLength]\n }],\n /**\n * Text Decoration Color\n * @see https://tailwindcss.com/docs/text-decoration-color\n */\n 'text-decoration-color': [{\n decoration: scaleColor()\n }],\n /**\n * Text Underline Offset\n * @see https://tailwindcss.com/docs/text-underline-offset\n */\n 'underline-offset': [{\n 'underline-offset': [isNumber, 'auto', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Text Transform\n * @see https://tailwindcss.com/docs/text-transform\n */\n 'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],\n /**\n * Text Overflow\n * @see https://tailwindcss.com/docs/text-overflow\n */\n 'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],\n /**\n * Text Wrap\n * @see https://tailwindcss.com/docs/text-wrap\n */\n 'text-wrap': [{\n text: ['wrap', 'nowrap', 'balance', 'pretty']\n }],\n /**\n * Text Indent\n * @see https://tailwindcss.com/docs/text-indent\n */\n indent: [{\n indent: scaleUnambiguousSpacing()\n }],\n /**\n * Tab Size\n * @see https://tailwindcss.com/docs/tab-size\n */\n 'tab-size': [{\n tab: [isInteger, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Vertical Alignment\n * @see https://tailwindcss.com/docs/vertical-align\n */\n 'vertical-align': [{\n align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Whitespace\n * @see https://tailwindcss.com/docs/whitespace\n */\n whitespace: [{\n whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']\n }],\n /**\n * Word Break\n * @see https://tailwindcss.com/docs/word-break\n */\n break: [{\n break: ['normal', 'words', 'all', 'keep']\n }],\n /**\n * Overflow Wrap\n * @see https://tailwindcss.com/docs/overflow-wrap\n */\n wrap: [{\n wrap: ['break-word', 'anywhere', 'normal']\n }],\n /**\n * Hyphens\n * @see https://tailwindcss.com/docs/hyphens\n */\n hyphens: [{\n hyphens: ['none', 'manual', 'auto']\n }],\n /**\n * Content\n * @see https://tailwindcss.com/docs/content\n */\n content: [{\n content: ['none', isArbitraryVariable, isArbitraryValue]\n }],\n // -------------------\n // --- Backgrounds ---\n // -------------------\n /**\n * Background Attachment\n * @see https://tailwindcss.com/docs/background-attachment\n */\n 'bg-attachment': [{\n bg: ['fixed', 'local', 'scroll']\n }],\n /**\n * Background Clip\n * @see https://tailwindcss.com/docs/background-clip\n */\n 'bg-clip': [{\n 'bg-clip': ['border', 'padding', 'content', 'text']\n }],\n /**\n * Background Origin\n * @see https://tailwindcss.com/docs/background-origin\n */\n 'bg-origin': [{\n 'bg-origin': ['border', 'padding', 'content']\n }],\n /**\n * Background Position\n * @see https://tailwindcss.com/docs/background-position\n */\n 'bg-position': [{\n bg: scaleBgPosition()\n }],\n /**\n * Background Repeat\n * @see https://tailwindcss.com/docs/background-repeat\n */\n 'bg-repeat': [{\n bg: scaleBgRepeat()\n }],\n /**\n * Background Size\n * @see https://tailwindcss.com/docs/background-size\n */\n 'bg-size': [{\n bg: scaleBgSize()\n }],\n /**\n * Background Image\n * @see https://tailwindcss.com/docs/background-image\n */\n 'bg-image': [{\n bg: ['none', {\n linear: [{\n to: ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']\n }, isInteger, isArbitraryVariable, isArbitraryValue],\n radial: ['', isArbitraryVariable, isArbitraryValue],\n conic: [isInteger, isArbitraryVariable, isArbitraryValue]\n }, isArbitraryVariableImage, isArbitraryImage]\n }],\n /**\n * Background Color\n * @see https://tailwindcss.com/docs/background-color\n */\n 'bg-color': [{\n bg: scaleColor()\n }],\n /**\n * Gradient Color Stops From Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from-pos': [{\n from: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops Via Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via-pos': [{\n via: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops To Position\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to-pos': [{\n to: scaleGradientStopPosition()\n }],\n /**\n * Gradient Color Stops From\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-from': [{\n from: scaleColor()\n }],\n /**\n * Gradient Color Stops Via\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-via': [{\n via: scaleColor()\n }],\n /**\n * Gradient Color Stops To\n * @see https://tailwindcss.com/docs/gradient-color-stops\n */\n 'gradient-to': [{\n to: scaleColor()\n }],\n // ---------------\n // --- Borders ---\n // ---------------\n /**\n * Border Radius\n * @see https://tailwindcss.com/docs/border-radius\n */\n rounded: [{\n rounded: scaleRadius()\n }],\n /**\n * Border Radius Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-s': [{\n 'rounded-s': scaleRadius()\n }],\n /**\n * Border Radius End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-e': [{\n 'rounded-e': scaleRadius()\n }],\n /**\n * Border Radius Top\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-t': [{\n 'rounded-t': scaleRadius()\n }],\n /**\n * Border Radius Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-r': [{\n 'rounded-r': scaleRadius()\n }],\n /**\n * Border Radius Bottom\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-b': [{\n 'rounded-b': scaleRadius()\n }],\n /**\n * Border Radius Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-l': [{\n 'rounded-l': scaleRadius()\n }],\n /**\n * Border Radius Start Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ss': [{\n 'rounded-ss': scaleRadius()\n }],\n /**\n * Border Radius Start End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-se': [{\n 'rounded-se': scaleRadius()\n }],\n /**\n * Border Radius End End\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-ee': [{\n 'rounded-ee': scaleRadius()\n }],\n /**\n * Border Radius End Start\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-es': [{\n 'rounded-es': scaleRadius()\n }],\n /**\n * Border Radius Top Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tl': [{\n 'rounded-tl': scaleRadius()\n }],\n /**\n * Border Radius Top Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-tr': [{\n 'rounded-tr': scaleRadius()\n }],\n /**\n * Border Radius Bottom Right\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-br': [{\n 'rounded-br': scaleRadius()\n }],\n /**\n * Border Radius Bottom Left\n * @see https://tailwindcss.com/docs/border-radius\n */\n 'rounded-bl': [{\n 'rounded-bl': scaleRadius()\n }],\n /**\n * Border Width\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w': [{\n border: scaleBorderWidth()\n }],\n /**\n * Border Width Inline\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-x': [{\n 'border-x': scaleBorderWidth()\n }],\n /**\n * Border Width Block\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-y': [{\n 'border-y': scaleBorderWidth()\n }],\n /**\n * Border Width Inline Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-s': [{\n 'border-s': scaleBorderWidth()\n }],\n /**\n * Border Width Inline End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-e': [{\n 'border-e': scaleBorderWidth()\n }],\n /**\n * Border Width Block Start\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-bs': [{\n 'border-bs': scaleBorderWidth()\n }],\n /**\n * Border Width Block End\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-be': [{\n 'border-be': scaleBorderWidth()\n }],\n /**\n * Border Width Top\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-t': [{\n 'border-t': scaleBorderWidth()\n }],\n /**\n * Border Width Right\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-r': [{\n 'border-r': scaleBorderWidth()\n }],\n /**\n * Border Width Bottom\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-b': [{\n 'border-b': scaleBorderWidth()\n }],\n /**\n * Border Width Left\n * @see https://tailwindcss.com/docs/border-width\n */\n 'border-w-l': [{\n 'border-l': scaleBorderWidth()\n }],\n /**\n * Divide Width X\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x': [{\n 'divide-x': scaleBorderWidth()\n }],\n /**\n * Divide Width X Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-x-reverse': ['divide-x-reverse'],\n /**\n * Divide Width Y\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y': [{\n 'divide-y': scaleBorderWidth()\n }],\n /**\n * Divide Width Y Reverse\n * @see https://tailwindcss.com/docs/border-width#between-children\n */\n 'divide-y-reverse': ['divide-y-reverse'],\n /**\n * Border Style\n * @see https://tailwindcss.com/docs/border-style\n */\n 'border-style': [{\n border: [...scaleLineStyle(), 'hidden', 'none']\n }],\n /**\n * Divide Style\n * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style\n */\n 'divide-style': [{\n divide: [...scaleLineStyle(), 'hidden', 'none']\n }],\n /**\n * Border Color\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color': [{\n border: scaleColor()\n }],\n /**\n * Border Color Inline\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-x': [{\n 'border-x': scaleColor()\n }],\n /**\n * Border Color Block\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-y': [{\n 'border-y': scaleColor()\n }],\n /**\n * Border Color Inline Start\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-s': [{\n 'border-s': scaleColor()\n }],\n /**\n * Border Color Inline End\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-e': [{\n 'border-e': scaleColor()\n }],\n /**\n * Border Color Block Start\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-bs': [{\n 'border-bs': scaleColor()\n }],\n /**\n * Border Color Block End\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-be': [{\n 'border-be': scaleColor()\n }],\n /**\n * Border Color Top\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-t': [{\n 'border-t': scaleColor()\n }],\n /**\n * Border Color Right\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-r': [{\n 'border-r': scaleColor()\n }],\n /**\n * Border Color Bottom\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-b': [{\n 'border-b': scaleColor()\n }],\n /**\n * Border Color Left\n * @see https://tailwindcss.com/docs/border-color\n */\n 'border-color-l': [{\n 'border-l': scaleColor()\n }],\n /**\n * Divide Color\n * @see https://tailwindcss.com/docs/divide-color\n */\n 'divide-color': [{\n divide: scaleColor()\n }],\n /**\n * Outline Style\n * @see https://tailwindcss.com/docs/outline-style\n */\n 'outline-style': [{\n outline: [...scaleLineStyle(), 'none', 'hidden']\n }],\n /**\n * Outline Offset\n * @see https://tailwindcss.com/docs/outline-offset\n */\n 'outline-offset': [{\n 'outline-offset': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Outline Width\n * @see https://tailwindcss.com/docs/outline-width\n */\n 'outline-w': [{\n outline: ['', isNumber, isArbitraryVariableLength, isArbitraryLength]\n }],\n /**\n * Outline Color\n * @see https://tailwindcss.com/docs/outline-color\n */\n 'outline-color': [{\n outline: scaleColor()\n }],\n // ---------------\n // --- Effects ---\n // ---------------\n /**\n * Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow\n */\n shadow: [{\n shadow: [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color\n */\n 'shadow-color': [{\n shadow: scaleColor()\n }],\n /**\n * Inset Box Shadow\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow\n */\n 'inset-shadow': [{\n 'inset-shadow': ['none', themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Inset Box Shadow Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color\n */\n 'inset-shadow-color': [{\n 'inset-shadow': scaleColor()\n }],\n /**\n * Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring\n */\n 'ring-w': [{\n ring: scaleBorderWidth()\n }],\n /**\n * Ring Width Inset\n * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-w-inset': ['ring-inset'],\n /**\n * Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color\n */\n 'ring-color': [{\n ring: scaleColor()\n }],\n /**\n * Ring Offset Width\n * @see https://v3.tailwindcss.com/docs/ring-offset-width\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-w': [{\n 'ring-offset': [isNumber, isArbitraryLength]\n }],\n /**\n * Ring Offset Color\n * @see https://v3.tailwindcss.com/docs/ring-offset-color\n * @deprecated since Tailwind CSS v4.0.0\n * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158\n */\n 'ring-offset-color': [{\n 'ring-offset': scaleColor()\n }],\n /**\n * Inset Ring Width\n * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring\n */\n 'inset-ring-w': [{\n 'inset-ring': scaleBorderWidth()\n }],\n /**\n * Inset Ring Color\n * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color\n */\n 'inset-ring-color': [{\n 'inset-ring': scaleColor()\n }],\n /**\n * Text Shadow\n * @see https://tailwindcss.com/docs/text-shadow\n */\n 'text-shadow': [{\n 'text-shadow': ['none', themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Text Shadow Color\n * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color\n */\n 'text-shadow-color': [{\n 'text-shadow': scaleColor()\n }],\n /**\n * Opacity\n * @see https://tailwindcss.com/docs/opacity\n */\n opacity: [{\n opacity: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Mix Blend Mode\n * @see https://tailwindcss.com/docs/mix-blend-mode\n */\n 'mix-blend': [{\n 'mix-blend': [...scaleBlendMode(), 'plus-darker', 'plus-lighter']\n }],\n /**\n * Background Blend Mode\n * @see https://tailwindcss.com/docs/background-blend-mode\n */\n 'bg-blend': [{\n 'bg-blend': scaleBlendMode()\n }],\n /**\n * Mask Clip\n * @see https://tailwindcss.com/docs/mask-clip\n */\n 'mask-clip': [{\n 'mask-clip': ['border', 'padding', 'content', 'fill', 'stroke', 'view']\n }, 'mask-no-clip'],\n /**\n * Mask Composite\n * @see https://tailwindcss.com/docs/mask-composite\n */\n 'mask-composite': [{\n mask: ['add', 'subtract', 'intersect', 'exclude']\n }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image-linear-pos': [{\n 'mask-linear': [isNumber]\n }],\n 'mask-image-linear-from-pos': [{\n 'mask-linear-from': scaleMaskImagePosition()\n }],\n 'mask-image-linear-to-pos': [{\n 'mask-linear-to': scaleMaskImagePosition()\n }],\n 'mask-image-linear-from-color': [{\n 'mask-linear-from': scaleColor()\n }],\n 'mask-image-linear-to-color': [{\n 'mask-linear-to': scaleColor()\n }],\n 'mask-image-t-from-pos': [{\n 'mask-t-from': scaleMaskImagePosition()\n }],\n 'mask-image-t-to-pos': [{\n 'mask-t-to': scaleMaskImagePosition()\n }],\n 'mask-image-t-from-color': [{\n 'mask-t-from': scaleColor()\n }],\n 'mask-image-t-to-color': [{\n 'mask-t-to': scaleColor()\n }],\n 'mask-image-r-from-pos': [{\n 'mask-r-from': scaleMaskImagePosition()\n }],\n 'mask-image-r-to-pos': [{\n 'mask-r-to': scaleMaskImagePosition()\n }],\n 'mask-image-r-from-color': [{\n 'mask-r-from': scaleColor()\n }],\n 'mask-image-r-to-color': [{\n 'mask-r-to': scaleColor()\n }],\n 'mask-image-b-from-pos': [{\n 'mask-b-from': scaleMaskImagePosition()\n }],\n 'mask-image-b-to-pos': [{\n 'mask-b-to': scaleMaskImagePosition()\n }],\n 'mask-image-b-from-color': [{\n 'mask-b-from': scaleColor()\n }],\n 'mask-image-b-to-color': [{\n 'mask-b-to': scaleColor()\n }],\n 'mask-image-l-from-pos': [{\n 'mask-l-from': scaleMaskImagePosition()\n }],\n 'mask-image-l-to-pos': [{\n 'mask-l-to': scaleMaskImagePosition()\n }],\n 'mask-image-l-from-color': [{\n 'mask-l-from': scaleColor()\n }],\n 'mask-image-l-to-color': [{\n 'mask-l-to': scaleColor()\n }],\n 'mask-image-x-from-pos': [{\n 'mask-x-from': scaleMaskImagePosition()\n }],\n 'mask-image-x-to-pos': [{\n 'mask-x-to': scaleMaskImagePosition()\n }],\n 'mask-image-x-from-color': [{\n 'mask-x-from': scaleColor()\n }],\n 'mask-image-x-to-color': [{\n 'mask-x-to': scaleColor()\n }],\n 'mask-image-y-from-pos': [{\n 'mask-y-from': scaleMaskImagePosition()\n }],\n 'mask-image-y-to-pos': [{\n 'mask-y-to': scaleMaskImagePosition()\n }],\n 'mask-image-y-from-color': [{\n 'mask-y-from': scaleColor()\n }],\n 'mask-image-y-to-color': [{\n 'mask-y-to': scaleColor()\n }],\n 'mask-image-radial': [{\n 'mask-radial': [isArbitraryVariable, isArbitraryValue]\n }],\n 'mask-image-radial-from-pos': [{\n 'mask-radial-from': scaleMaskImagePosition()\n }],\n 'mask-image-radial-to-pos': [{\n 'mask-radial-to': scaleMaskImagePosition()\n }],\n 'mask-image-radial-from-color': [{\n 'mask-radial-from': scaleColor()\n }],\n 'mask-image-radial-to-color': [{\n 'mask-radial-to': scaleColor()\n }],\n 'mask-image-radial-shape': [{\n 'mask-radial': ['circle', 'ellipse']\n }],\n 'mask-image-radial-size': [{\n 'mask-radial': [{\n closest: ['side', 'corner'],\n farthest: ['side', 'corner']\n }]\n }],\n 'mask-image-radial-pos': [{\n 'mask-radial-at': scalePosition()\n }],\n 'mask-image-conic-pos': [{\n 'mask-conic': [isNumber]\n }],\n 'mask-image-conic-from-pos': [{\n 'mask-conic-from': scaleMaskImagePosition()\n }],\n 'mask-image-conic-to-pos': [{\n 'mask-conic-to': scaleMaskImagePosition()\n }],\n 'mask-image-conic-from-color': [{\n 'mask-conic-from': scaleColor()\n }],\n 'mask-image-conic-to-color': [{\n 'mask-conic-to': scaleColor()\n }],\n /**\n * Mask Mode\n * @see https://tailwindcss.com/docs/mask-mode\n */\n 'mask-mode': [{\n mask: ['alpha', 'luminance', 'match']\n }],\n /**\n * Mask Origin\n * @see https://tailwindcss.com/docs/mask-origin\n */\n 'mask-origin': [{\n 'mask-origin': ['border', 'padding', 'content', 'fill', 'stroke', 'view']\n }],\n /**\n * Mask Position\n * @see https://tailwindcss.com/docs/mask-position\n */\n 'mask-position': [{\n mask: scaleBgPosition()\n }],\n /**\n * Mask Repeat\n * @see https://tailwindcss.com/docs/mask-repeat\n */\n 'mask-repeat': [{\n mask: scaleBgRepeat()\n }],\n /**\n * Mask Size\n * @see https://tailwindcss.com/docs/mask-size\n */\n 'mask-size': [{\n mask: scaleBgSize()\n }],\n /**\n * Mask Type\n * @see https://tailwindcss.com/docs/mask-type\n */\n 'mask-type': [{\n 'mask-type': ['alpha', 'luminance']\n }],\n /**\n * Mask Image\n * @see https://tailwindcss.com/docs/mask-image\n */\n 'mask-image': [{\n mask: ['none', isArbitraryVariable, isArbitraryValue]\n }],\n // ---------------\n // --- Filters ---\n // ---------------\n /**\n * Filter\n * @see https://tailwindcss.com/docs/filter\n */\n filter: [{\n filter: [\n // Deprecated since Tailwind CSS v3.0.0\n '', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Blur\n * @see https://tailwindcss.com/docs/blur\n */\n blur: [{\n blur: scaleBlur()\n }],\n /**\n * Brightness\n * @see https://tailwindcss.com/docs/brightness\n */\n brightness: [{\n brightness: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Contrast\n * @see https://tailwindcss.com/docs/contrast\n */\n contrast: [{\n contrast: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Drop Shadow\n * @see https://tailwindcss.com/docs/drop-shadow\n */\n 'drop-shadow': [{\n 'drop-shadow': [\n // Deprecated since Tailwind CSS v4.0.0\n '', 'none', themeDropShadow, isArbitraryVariableShadow, isArbitraryShadow]\n }],\n /**\n * Drop Shadow Color\n * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color\n */\n 'drop-shadow-color': [{\n 'drop-shadow': scaleColor()\n }],\n /**\n * Grayscale\n * @see https://tailwindcss.com/docs/grayscale\n */\n grayscale: [{\n grayscale: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Hue Rotate\n * @see https://tailwindcss.com/docs/hue-rotate\n */\n 'hue-rotate': [{\n 'hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Invert\n * @see https://tailwindcss.com/docs/invert\n */\n invert: [{\n invert: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Saturate\n * @see https://tailwindcss.com/docs/saturate\n */\n saturate: [{\n saturate: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Sepia\n * @see https://tailwindcss.com/docs/sepia\n */\n sepia: [{\n sepia: ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Filter\n * @see https://tailwindcss.com/docs/backdrop-filter\n */\n 'backdrop-filter': [{\n 'backdrop-filter': [\n // Deprecated since Tailwind CSS v3.0.0\n '', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Blur\n * @see https://tailwindcss.com/docs/backdrop-blur\n */\n 'backdrop-blur': [{\n 'backdrop-blur': scaleBlur()\n }],\n /**\n * Backdrop Brightness\n * @see https://tailwindcss.com/docs/backdrop-brightness\n */\n 'backdrop-brightness': [{\n 'backdrop-brightness': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Contrast\n * @see https://tailwindcss.com/docs/backdrop-contrast\n */\n 'backdrop-contrast': [{\n 'backdrop-contrast': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Grayscale\n * @see https://tailwindcss.com/docs/backdrop-grayscale\n */\n 'backdrop-grayscale': [{\n 'backdrop-grayscale': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Hue Rotate\n * @see https://tailwindcss.com/docs/backdrop-hue-rotate\n */\n 'backdrop-hue-rotate': [{\n 'backdrop-hue-rotate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Invert\n * @see https://tailwindcss.com/docs/backdrop-invert\n */\n 'backdrop-invert': [{\n 'backdrop-invert': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Opacity\n * @see https://tailwindcss.com/docs/backdrop-opacity\n */\n 'backdrop-opacity': [{\n 'backdrop-opacity': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Saturate\n * @see https://tailwindcss.com/docs/backdrop-saturate\n */\n 'backdrop-saturate': [{\n 'backdrop-saturate': [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Backdrop Sepia\n * @see https://tailwindcss.com/docs/backdrop-sepia\n */\n 'backdrop-sepia': [{\n 'backdrop-sepia': ['', isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n // --------------\n // --- Tables ---\n // --------------\n /**\n * Border Collapse\n * @see https://tailwindcss.com/docs/border-collapse\n */\n 'border-collapse': [{\n border: ['collapse', 'separate']\n }],\n /**\n * Border Spacing\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing': [{\n 'border-spacing': scaleUnambiguousSpacing()\n }],\n /**\n * Border Spacing X\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-x': [{\n 'border-spacing-x': scaleUnambiguousSpacing()\n }],\n /**\n * Border Spacing Y\n * @see https://tailwindcss.com/docs/border-spacing\n */\n 'border-spacing-y': [{\n 'border-spacing-y': scaleUnambiguousSpacing()\n }],\n /**\n * Table Layout\n * @see https://tailwindcss.com/docs/table-layout\n */\n 'table-layout': [{\n table: ['auto', 'fixed']\n }],\n /**\n * Caption Side\n * @see https://tailwindcss.com/docs/caption-side\n */\n caption: [{\n caption: ['top', 'bottom']\n }],\n // ---------------------------------\n // --- Transitions and Animation ---\n // ---------------------------------\n /**\n * Transition Property\n * @see https://tailwindcss.com/docs/transition-property\n */\n transition: [{\n transition: ['', 'all', 'colors', 'opacity', 'shadow', 'transform', 'none', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Behavior\n * @see https://tailwindcss.com/docs/transition-behavior\n */\n 'transition-behavior': [{\n transition: ['normal', 'discrete']\n }],\n /**\n * Transition Duration\n * @see https://tailwindcss.com/docs/transition-duration\n */\n duration: [{\n duration: [isNumber, 'initial', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Timing Function\n * @see https://tailwindcss.com/docs/transition-timing-function\n */\n ease: [{\n ease: ['linear', 'initial', themeEase, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Transition Delay\n * @see https://tailwindcss.com/docs/transition-delay\n */\n delay: [{\n delay: [isNumber, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Animation\n * @see https://tailwindcss.com/docs/animation\n */\n animate: [{\n animate: ['none', themeAnimate, isArbitraryVariable, isArbitraryValue]\n }],\n // ------------------\n // --- Transforms ---\n // ------------------\n /**\n * Backface Visibility\n * @see https://tailwindcss.com/docs/backface-visibility\n */\n backface: [{\n backface: ['hidden', 'visible']\n }],\n /**\n * Perspective\n * @see https://tailwindcss.com/docs/perspective\n */\n perspective: [{\n perspective: [themePerspective, isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Perspective Origin\n * @see https://tailwindcss.com/docs/perspective-origin\n */\n 'perspective-origin': [{\n 'perspective-origin': scalePositionWithArbitrary()\n }],\n /**\n * Rotate\n * @see https://tailwindcss.com/docs/rotate\n */\n rotate: [{\n rotate: scaleRotate()\n }],\n /**\n * Rotate X\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-x': [{\n 'rotate-x': scaleRotate()\n }],\n /**\n * Rotate Y\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-y': [{\n 'rotate-y': scaleRotate()\n }],\n /**\n * Rotate Z\n * @see https://tailwindcss.com/docs/rotate\n */\n 'rotate-z': [{\n 'rotate-z': scaleRotate()\n }],\n /**\n * Scale\n * @see https://tailwindcss.com/docs/scale\n */\n scale: [{\n scale: scaleScale()\n }],\n /**\n * Scale X\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-x': [{\n 'scale-x': scaleScale()\n }],\n /**\n * Scale Y\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-y': [{\n 'scale-y': scaleScale()\n }],\n /**\n * Scale Z\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-z': [{\n 'scale-z': scaleScale()\n }],\n /**\n * Scale 3D\n * @see https://tailwindcss.com/docs/scale\n */\n 'scale-3d': ['scale-3d'],\n /**\n * Skew\n * @see https://tailwindcss.com/docs/skew\n */\n skew: [{\n skew: scaleSkew()\n }],\n /**\n * Skew X\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-x': [{\n 'skew-x': scaleSkew()\n }],\n /**\n * Skew Y\n * @see https://tailwindcss.com/docs/skew\n */\n 'skew-y': [{\n 'skew-y': scaleSkew()\n }],\n /**\n * Transform\n * @see https://tailwindcss.com/docs/transform\n */\n transform: [{\n transform: [isArbitraryVariable, isArbitraryValue, '', 'none', 'gpu', 'cpu']\n }],\n /**\n * Transform Origin\n * @see https://tailwindcss.com/docs/transform-origin\n */\n 'transform-origin': [{\n origin: scalePositionWithArbitrary()\n }],\n /**\n * Transform Style\n * @see https://tailwindcss.com/docs/transform-style\n */\n 'transform-style': [{\n transform: ['3d', 'flat']\n }],\n /**\n * Translate\n * @see https://tailwindcss.com/docs/translate\n */\n translate: [{\n translate: scaleTranslate()\n }],\n /**\n * Translate X\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-x': [{\n 'translate-x': scaleTranslate()\n }],\n /**\n * Translate Y\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-y': [{\n 'translate-y': scaleTranslate()\n }],\n /**\n * Translate Z\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-z': [{\n 'translate-z': scaleTranslate()\n }],\n /**\n * Translate None\n * @see https://tailwindcss.com/docs/translate\n */\n 'translate-none': ['translate-none'],\n /**\n * Zoom\n * @see https://tailwindcss.com/docs/zoom\n */\n zoom: [{\n zoom: [isInteger, isArbitraryVariable, isArbitraryValue]\n }],\n // ---------------------\n // --- Interactivity ---\n // ---------------------\n /**\n * Accent Color\n * @see https://tailwindcss.com/docs/accent-color\n */\n accent: [{\n accent: scaleColor()\n }],\n /**\n * Appearance\n * @see https://tailwindcss.com/docs/appearance\n */\n appearance: [{\n appearance: ['none', 'auto']\n }],\n /**\n * Caret Color\n * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities\n */\n 'caret-color': [{\n caret: scaleColor()\n }],\n /**\n * Color Scheme\n * @see https://tailwindcss.com/docs/color-scheme\n */\n 'color-scheme': [{\n scheme: ['normal', 'dark', 'light', 'light-dark', 'only-dark', 'only-light']\n }],\n /**\n * Cursor\n * @see https://tailwindcss.com/docs/cursor\n */\n cursor: [{\n cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryVariable, isArbitraryValue]\n }],\n /**\n * Field Sizing\n * @see https://tailwindcss.com/docs/field-sizing\n */\n 'field-sizing': [{\n 'field-sizing': ['fixed', 'content']\n }],\n /**\n * Pointer Events\n * @see https://tailwindcss.com/docs/pointer-events\n */\n 'pointer-events': [{\n 'pointer-events': ['auto', 'none']\n }],\n /**\n * Resize\n * @see https://tailwindcss.com/docs/resize\n */\n resize: [{\n resize: ['none', '', 'y', 'x']\n }],\n /**\n * Scroll Behavior\n * @see https://tailwindcss.com/docs/scroll-behavior\n */\n 'scroll-behavior': [{\n scroll: ['auto', 'smooth']\n }],\n /**\n * Scrollbar Thumb Color\n * @see https://tailwindcss.com/docs/scrollbar-color\n */\n 'scrollbar-thumb-color': [{\n 'scrollbar-thumb': scaleColor()\n }],\n /**\n * Scrollbar Track Color\n * @see https://tailwindcss.com/docs/scrollbar-color\n */\n 'scrollbar-track-color': [{\n 'scrollbar-track': scaleColor()\n }],\n /**\n * Scrollbar Gutter\n * @see https://tailwindcss.com/docs/scrollbar-gutter\n */\n 'scrollbar-gutter': [{\n 'scrollbar-gutter': ['auto', 'stable', 'both']\n }],\n /**\n * Scrollbar Width\n * @see https://tailwindcss.com/docs/scrollbar-width\n */\n 'scrollbar-w': [{\n scrollbar: ['auto', 'thin', 'none']\n }],\n /**\n * Scroll Margin\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-m': [{\n 'scroll-m': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mx': [{\n 'scroll-mx': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-my': [{\n 'scroll-my': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ms': [{\n 'scroll-ms': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Inline End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-me': [{\n 'scroll-me': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block Start\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mbs': [{\n 'scroll-mbs': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Block End\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mbe': [{\n 'scroll-mbe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Top\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mt': [{\n 'scroll-mt': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Right\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mr': [{\n 'scroll-mr': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Bottom\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-mb': [{\n 'scroll-mb': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Margin Left\n * @see https://tailwindcss.com/docs/scroll-margin\n */\n 'scroll-ml': [{\n 'scroll-ml': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-p': [{\n 'scroll-p': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-px': [{\n 'scroll-px': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-py': [{\n 'scroll-py': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-ps': [{\n 'scroll-ps': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Inline End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pe': [{\n 'scroll-pe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block Start\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pbs': [{\n 'scroll-pbs': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Block End\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pbe': [{\n 'scroll-pbe': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Top\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pt': [{\n 'scroll-pt': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Right\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pr': [{\n 'scroll-pr': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Bottom\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pb': [{\n 'scroll-pb': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Padding Left\n * @see https://tailwindcss.com/docs/scroll-padding\n */\n 'scroll-pl': [{\n 'scroll-pl': scaleUnambiguousSpacing()\n }],\n /**\n * Scroll Snap Align\n * @see https://tailwindcss.com/docs/scroll-snap-align\n */\n 'snap-align': [{\n snap: ['start', 'end', 'center', 'align-none']\n }],\n /**\n * Scroll Snap Stop\n * @see https://tailwindcss.com/docs/scroll-snap-stop\n */\n 'snap-stop': [{\n snap: ['normal', 'always']\n }],\n /**\n * Scroll Snap Type\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-type': [{\n snap: ['none', 'x', 'y', 'both']\n }],\n /**\n * Scroll Snap Type Strictness\n * @see https://tailwindcss.com/docs/scroll-snap-type\n */\n 'snap-strictness': [{\n snap: ['mandatory', 'proximity']\n }],\n /**\n * Touch Action\n * @see https://tailwindcss.com/docs/touch-action\n */\n touch: [{\n touch: ['auto', 'none', 'manipulation']\n }],\n /**\n * Touch Action X\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-x': [{\n 'touch-pan': ['x', 'left', 'right']\n }],\n /**\n * Touch Action Y\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-y': [{\n 'touch-pan': ['y', 'up', 'down']\n }],\n /**\n * Touch Action Pinch Zoom\n * @see https://tailwindcss.com/docs/touch-action\n */\n 'touch-pz': ['touch-pinch-zoom'],\n /**\n * User Select\n * @see https://tailwindcss.com/docs/user-select\n */\n select: [{\n select: ['none', 'text', 'all', 'auto']\n }],\n /**\n * Will Change\n * @see https://tailwindcss.com/docs/will-change\n */\n 'will-change': [{\n 'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryVariable, isArbitraryValue]\n }],\n // -----------\n // --- SVG ---\n // -----------\n /**\n * Fill\n * @see https://tailwindcss.com/docs/fill\n */\n fill: [{\n fill: ['none', ...scaleColor()]\n }],\n /**\n * Stroke Width\n * @see https://tailwindcss.com/docs/stroke-width\n */\n 'stroke-w': [{\n stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]\n }],\n /**\n * Stroke\n * @see https://tailwindcss.com/docs/stroke\n */\n stroke: [{\n stroke: ['none', ...scaleColor()]\n }],\n // ---------------------\n // --- Accessibility ---\n // ---------------------\n /**\n * Forced Color Adjust\n * @see https://tailwindcss.com/docs/forced-color-adjust\n */\n 'forced-color-adjust': [{\n 'forced-color-adjust': ['auto', 'none']\n }]\n },\n conflictingClassGroups: {\n 'container-named': ['container-type'],\n overflow: ['overflow-x', 'overflow-y'],\n overscroll: ['overscroll-x', 'overscroll-y'],\n inset: ['inset-x', 'inset-y', 'inset-bs', 'inset-be', 'start', 'end', 'top', 'right', 'bottom', 'left'],\n 'inset-x': ['right', 'left'],\n 'inset-y': ['top', 'bottom'],\n flex: ['basis', 'grow', 'shrink'],\n gap: ['gap-x', 'gap-y'],\n p: ['px', 'py', 'ps', 'pe', 'pbs', 'pbe', 'pt', 'pr', 'pb', 'pl'],\n px: ['pr', 'pl'],\n py: ['pt', 'pb'],\n m: ['mx', 'my', 'ms', 'me', 'mbs', 'mbe', 'mt', 'mr', 'mb', 'ml'],\n mx: ['mr', 'ml'],\n my: ['mt', 'mb'],\n size: ['w', 'h'],\n 'font-size': ['leading'],\n 'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],\n 'fvn-ordinal': ['fvn-normal'],\n 'fvn-slashed-zero': ['fvn-normal'],\n 'fvn-figure': ['fvn-normal'],\n 'fvn-spacing': ['fvn-normal'],\n 'fvn-fraction': ['fvn-normal'],\n 'line-clamp': ['display', 'overflow'],\n rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],\n 'rounded-s': ['rounded-ss', 'rounded-es'],\n 'rounded-e': ['rounded-se', 'rounded-ee'],\n 'rounded-t': ['rounded-tl', 'rounded-tr'],\n 'rounded-r': ['rounded-tr', 'rounded-br'],\n 'rounded-b': ['rounded-br', 'rounded-bl'],\n 'rounded-l': ['rounded-tl', 'rounded-bl'],\n 'border-spacing': ['border-spacing-x', 'border-spacing-y'],\n 'border-w': ['border-w-x', 'border-w-y', 'border-w-s', 'border-w-e', 'border-w-bs', 'border-w-be', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],\n 'border-w-x': ['border-w-r', 'border-w-l'],\n 'border-w-y': ['border-w-t', 'border-w-b'],\n 'border-color': ['border-color-x', 'border-color-y', 'border-color-s', 'border-color-e', 'border-color-bs', 'border-color-be', 'border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],\n 'border-color-x': ['border-color-r', 'border-color-l'],\n 'border-color-y': ['border-color-t', 'border-color-b'],\n translate: ['translate-x', 'translate-y', 'translate-none'],\n 'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],\n 'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mbs', 'scroll-mbe', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],\n 'scroll-mx': ['scroll-mr', 'scroll-ml'],\n 'scroll-my': ['scroll-mt', 'scroll-mb'],\n 'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pbs', 'scroll-pbe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],\n 'scroll-px': ['scroll-pr', 'scroll-pl'],\n 'scroll-py': ['scroll-pt', 'scroll-pb'],\n touch: ['touch-x', 'touch-y', 'touch-pz'],\n 'touch-x': ['touch'],\n 'touch-y': ['touch'],\n 'touch-pz': ['touch']\n },\n conflictingClassGroupModifiers: {\n 'font-size': ['leading']\n },\n postfixLookupClassGroups: ['container-type'],\n orderSensitiveModifiers: ['*', '**', 'after', 'backdrop', 'before', 'details-content', 'file', 'first-letter', 'first-line', 'marker', 'placeholder', 'selection']\n };\n};\n\n/**\n * @param baseConfig Config where other config will be merged into. This object will be mutated.\n * @param configExtension Partial config to merge into the `baseConfig`.\n */\nconst mergeConfigs = (baseConfig, {\n cacheSize,\n prefix,\n experimentalParseClassName,\n extend = {},\n override = {}\n}) => {\n overrideProperty(baseConfig, 'cacheSize', cacheSize);\n overrideProperty(baseConfig, 'prefix', prefix);\n overrideProperty(baseConfig, 'experimentalParseClassName', experimentalParseClassName);\n overrideConfigProperties(baseConfig.theme, override.theme);\n overrideConfigProperties(baseConfig.classGroups, override.classGroups);\n overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups);\n overrideConfigProperties(baseConfig.conflictingClassGroupModifiers, override.conflictingClassGroupModifiers);\n overrideProperty(baseConfig, 'postfixLookupClassGroups', override.postfixLookupClassGroups);\n overrideProperty(baseConfig, 'orderSensitiveModifiers', override.orderSensitiveModifiers);\n mergeConfigProperties(baseConfig.theme, extend.theme);\n mergeConfigProperties(baseConfig.classGroups, extend.classGroups);\n mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups);\n mergeConfigProperties(baseConfig.conflictingClassGroupModifiers, extend.conflictingClassGroupModifiers);\n mergeArrayProperties(baseConfig, extend, 'postfixLookupClassGroups');\n mergeArrayProperties(baseConfig, extend, 'orderSensitiveModifiers');\n return baseConfig;\n};\nconst overrideProperty = (baseObject, overrideKey, overrideValue) => {\n if (overrideValue !== undefined) {\n baseObject[overrideKey] = overrideValue;\n }\n};\nconst overrideConfigProperties = (baseObject, overrideObject) => {\n if (overrideObject) {\n for (const key in overrideObject) {\n overrideProperty(baseObject, key, overrideObject[key]);\n }\n }\n};\nconst mergeConfigProperties = (baseObject, mergeObject) => {\n if (mergeObject) {\n for (const key in mergeObject) {\n mergeArrayProperties(baseObject, mergeObject, key);\n }\n }\n};\nconst mergeArrayProperties = (baseObject, mergeObject, key) => {\n const mergeValue = mergeObject[key];\n if (mergeValue !== undefined) {\n baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue;\n }\n};\nconst extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);\nconst twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);\nexport { createTailwindMerge, extendTailwindMerge, fromTheme, getDefaultConfig, mergeConfigs, twJoin, twMerge, validators };\n//# sourceMappingURL=bundle-mjs.mjs.map\n","import { clsx } from \"clsx\";\nimport type { ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}","import MuiButton from \"@mui/material/Button\";\nimport type { ButtonProps as MuiButtonProps } from \"@mui/material/Button\";\nimport type { SxProps, Theme } from \"@mui/material/styles\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype ButtonSize = MuiButtonProps[\"size\"] | \"xsmall\";\n\nconst buttonToneStyles: Record<\n NonNullable<ButtonProps[\"tone\"]>,\n SxProps<Theme>\n> = {\n primary: {\n backgroundColor: \"var(--gryt-accent)\",\n color: \"#141126\",\n \"&:hover\": {\n backgroundColor: \"var(--gryt-accent-light)\"\n }\n },\n secondary: {\n backgroundColor: \"var(--gryt-secondary)\",\n color: \"#07131c\",\n \"&:hover\": {\n backgroundColor: \"#bae6fd\"\n }\n },\n neutral: {\n backgroundColor: \"var(--gryt-surface-raised)\",\n color: \"var(--gryt-text)\",\n \"&:hover\": {\n backgroundColor: \"#334155\"\n }\n },\n danger: {\n backgroundColor: \"var(--gryt-danger)\",\n color: \"#250b0b\",\n \"&:hover\": {\n backgroundColor: \"#fca5a5\"\n }\n },\n ghost: {\n backgroundColor: \"transparent\",\n color: \"var(--gryt-muted)\",\n \"&:hover\": {\n backgroundColor: \"rgb(255 255 255 / 0.08)\",\n color: \"var(--gryt-text)\"\n }\n }\n};\n\nexport interface ButtonProps extends Omit<MuiButtonProps, \"size\"> {\n tone?: \"primary\" | \"secondary\" | \"neutral\" | \"danger\" | \"ghost\";\n size?: ButtonSize;\n}\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n function Button(\n {\n className,\n size = \"medium\",\n sx,\n tone = \"primary\",\n variant = \"contained\",\n ...props\n },\n ref\n ) {\n const muiSize = size === \"xsmall\" ? \"small\" : size;\n\n return (\n <MuiButton\n ref={ref}\n size={muiSize}\n variant={variant}\n className={cn(\n \"gryt-button\",\n size === \"xsmall\" && \"min-h-8 px-3 text-xs\",\n className\n )}\n sx={[\n buttonToneStyles[tone],\n size === \"xsmall\" && {\n minHeight: 32,\n paddingInline: 12,\n fontSize: \"0.75rem\"\n },\n ...(Array.isArray(sx) ? sx : sx ? [sx] : [])\n ]}\n {...props}\n />\n );\n }\n);\n","import MuiIconButton from \"@mui/material/IconButton\";\nimport type { IconButtonProps as MuiIconButtonProps } from \"@mui/material/IconButton\";\nimport type { SxProps, Theme } from \"@mui/material/styles\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype IconButtonSize = MuiIconButtonProps[\"size\"] | \"xsmall\";\n\nconst iconButtonToneStyles: Record<\n NonNullable<IconButtonProps[\"tone\"]>,\n SxProps<Theme>\n> = {\n primary: {\n color: \"var(--gryt-accent)\",\n \"&:hover\": { backgroundColor: \"rgb(150 143 248 / 0.1)\" }\n },\n secondary: {\n color: \"var(--gryt-secondary)\",\n \"&:hover\": { backgroundColor: \"rgb(125 211 252 / 0.1)\" }\n },\n neutral: {\n color: \"var(--gryt-muted)\",\n \"&:hover\": {\n backgroundColor: \"rgb(255 255 255 / 0.08)\",\n color: \"var(--gryt-text)\"\n }\n },\n danger: {\n color: \"var(--gryt-danger)\",\n \"&:hover\": { backgroundColor: \"rgb(248 113 113 / 0.1)\" }\n },\n ghost: {\n color: \"var(--gryt-muted)\",\n \"&:hover\": {\n backgroundColor: \"rgb(255 255 255 / 0.08)\",\n color: \"var(--gryt-text)\"\n }\n }\n};\n\nexport interface IconButtonProps extends Omit<MuiIconButtonProps, \"size\"> {\n tone?: \"primary\" | \"secondary\" | \"neutral\" | \"danger\" | \"ghost\";\n size?: IconButtonSize;\n}\n\nexport const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(\n function IconButton(\n { className, size = \"medium\", sx, tone = \"neutral\", ...props },\n ref\n ) {\n const muiSize = size === \"xsmall\" ? \"small\" : size;\n\n return (\n <MuiIconButton\n ref={ref}\n size={muiSize}\n className={cn(\"gryt-icon-button\", className)}\n sx={[\n iconButtonToneStyles[tone],\n size === \"xsmall\" && {\n height: 32,\n width: 32,\n padding: 0.5\n },\n ...(Array.isArray(sx) ? sx : sx ? [sx] : [])\n ]}\n {...props}\n />\n );\n }\n);\n","import Paper from \"@mui/material/Paper\";\nimport type { PaperProps } from \"@mui/material/Paper\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface SurfaceProps extends PaperProps {\n elevated?: boolean;\n}\n\nexport const Surface = forwardRef<HTMLDivElement, SurfaceProps>(\n function Surface({ className, elevated = false, ...props }, ref) {\n return (\n <Paper\n ref={ref}\n className={cn(\n \"gryt-surface rounded-(--gryt-radius-lg)\",\n elevated && \"bg-gryt-surface-raised\",\n className\n )}\n {...props}\n />\n );\n }\n);\n","import { forwardRef } from \"react\";\nimport type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface MessageBubbleProps extends HTMLAttributes<HTMLDivElement> {\n children: ReactNode;\n from?: \"user\" | \"assistant\" | \"system\";\n}\n\nexport const MessageBubble = forwardRef<HTMLDivElement, MessageBubbleProps>(\n function MessageBubble(\n { children, className, from = \"assistant\", ...props },\n ref\n ) {\n return (\n <div\n ref={ref}\n className={cn(\n \"gryt-message-bubble\",\n from === \"user\" && \"ml-auto bg-gryt-accent text-[#141126]\",\n from === \"assistant\" &&\n \"mr-auto border border-gryt-border bg-gryt-surface text-gryt-text\",\n from === \"system\" &&\n \"mx-auto border border-dashed border-gryt-border bg-transparent text-gryt-muted\",\n className\n )}\n {...props}\n >\n {children}\n </div>\n );\n }\n);\n","import MuiTextField from \"@mui/material/TextField\";\nimport type { TextFieldProps as MuiTextFieldProps } from \"@mui/material/TextField\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type TextFieldProps = MuiTextFieldProps;\n\nexport const TextField = forwardRef<HTMLDivElement, TextFieldProps>(\n function TextField({ className, variant = \"outlined\", ...props }, ref) {\n return (\n <MuiTextField\n ref={ref}\n variant={variant}\n className={cn(\"gryt-text-field\", className)}\n {...props}\n />\n );\n }\n);\n","import TextareaAutosize from \"@mui/material/TextareaAutosize\";\nimport type {\n FormEvent,\n FormEventHandler,\n TextareaHTMLAttributes\n} from \"react\";\nimport { forwardRef } from \"react\";\nimport { Button } from \"../Button/Button\";\nimport { cn } from \"../utils/cn\";\n\nexport interface ComposerProps extends Omit<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n \"onSubmit\"\n> {\n onSubmit?: FormEventHandler<HTMLFormElement>;\n submitLabel?: string;\n disabled?: boolean;\n}\n\nexport const Composer = forwardRef<HTMLTextAreaElement, ComposerProps>(\n function Composer(\n {\n className,\n disabled = false,\n onSubmit,\n placeholder = \"Message Gryt\",\n submitLabel = \"Send\",\n ...props\n },\n ref\n ) {\n function handleSubmit(event: FormEvent<HTMLFormElement>) {\n if (!onSubmit) {\n event.preventDefault();\n return;\n }\n\n onSubmit(event);\n }\n\n return (\n <form className={cn(\"gryt-composer\", className)} onSubmit={handleSubmit}>\n <TextareaAutosize\n ref={ref}\n minRows={1}\n maxRows={8}\n disabled={disabled}\n placeholder={placeholder}\n className=\"gryt-composer-textarea disabled:cursor-not-allowed disabled:opacity-60\"\n {...props}\n />\n <Button type=\"submit\" disabled={disabled} size=\"small\">\n {submitLabel}\n </Button>\n </form>\n );\n }\n);\n","import Avatar from \"@mui/material/Avatar\";\nimport type { ButtonHTMLAttributes, ReactNode } from \"react\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface ConversationItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n title: string;\n subtitle?: string;\n active?: boolean;\n avatar?: ReactNode;\n}\n\nexport const ConversationItem = forwardRef<\n HTMLButtonElement,\n ConversationItemProps\n>(function ConversationItem(\n { active = false, avatar, className, subtitle, title, ...props },\n ref\n) {\n return (\n <button\n ref={ref}\n type=\"button\"\n className={cn(\n \"gryt-conversation-item\",\n active\n ? \"bg-gryt-accent text-[#141126]\"\n : \"text-gryt-text hover:bg-white/5\",\n className\n )}\n {...props}\n >\n {avatar ?? (\n <Avatar\n className={cn(\n \"h-9 w-9 text-sm\",\n active\n ? \"bg-[#141126] text-gryt-accent\"\n : \"bg-gryt-surface-raised text-gryt-text\"\n )}\n >\n {title.slice(0, 1).toUpperCase()}\n </Avatar>\n )}\n <span className=\"min-w-0 flex-1\">\n <span className=\"block truncate text-sm font-semibold\">{title}</span>\n {subtitle ? (\n <span\n className={cn(\n \"block truncate text-xs\",\n active ? \"text-[#302a63]\" : \"text-gryt-muted\"\n )}\n >\n {subtitle}\n </span>\n ) : null}\n </span>\n </button>\n );\n});\n","import MuiAvatar from \"@mui/material/Avatar\";\nimport type { AvatarProps as MuiAvatarProps } from \"@mui/material/Avatar\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type AvatarProps = MuiAvatarProps;\n\nexport const Avatar = forwardRef<HTMLDivElement, AvatarProps>(function Avatar(\n { className, ...props },\n ref\n) {\n return (\n <MuiAvatar ref={ref} className={cn(\"gryt-avatar\", className)} {...props} />\n );\n});\n","import MuiBadge from \"@mui/material/Badge\";\nimport type { BadgeProps as MuiBadgeProps } from \"@mui/material/Badge\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type BadgeProps = MuiBadgeProps;\n\nexport const Badge = forwardRef<HTMLSpanElement, BadgeProps>(function Badge(\n { className, ...props },\n ref\n) {\n return (\n <MuiBadge ref={ref} className={cn(\"gryt-badge\", className)} {...props} />\n );\n});\n","import MuiChip from \"@mui/material/Chip\";\nimport type { ChipProps as MuiChipProps } from \"@mui/material/Chip\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type ChipProps = MuiChipProps;\n\nexport const Chip = forwardRef<HTMLDivElement, ChipProps>(function Chip(\n { className, ...props },\n ref\n) {\n return (\n <MuiChip ref={ref} className={cn(\"gryt-chip\", className)} {...props} />\n );\n});\n","import MuiCheckbox from \"@mui/material/Checkbox\";\nimport type { CheckboxProps as MuiCheckboxProps } from \"@mui/material/Checkbox\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type CheckboxProps = MuiCheckboxProps;\n\nexport const Checkbox = forwardRef<HTMLButtonElement, CheckboxProps>(\n function Checkbox({ className, ...props }, ref) {\n return (\n <MuiCheckbox\n ref={ref}\n className={cn(\"gryt-checkbox\", className)}\n {...props}\n />\n );\n }\n);\n","import MuiRadio from \"@mui/material/Radio\";\nimport type { RadioProps as MuiRadioProps } from \"@mui/material/Radio\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type RadioProps = MuiRadioProps;\n\nexport const Radio = forwardRef<HTMLButtonElement, RadioProps>(function Radio(\n { className, ...props },\n ref\n) {\n return (\n <MuiRadio ref={ref} className={cn(\"gryt-radio\", className)} {...props} />\n );\n});\n","import MuiSwitch from \"@mui/material/Switch\";\nimport type { SwitchProps as MuiSwitchProps } from \"@mui/material/Switch\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type SwitchProps = MuiSwitchProps;\n\nexport const Switch = forwardRef<HTMLButtonElement, SwitchProps>(\n function Switch({ className, ...props }, ref) {\n return (\n <MuiSwitch\n ref={ref}\n className={cn(\"gryt-switch\", className)}\n {...props}\n />\n );\n }\n);\n","import MuiSlider from \"@mui/material/Slider\";\nimport type { SliderProps as MuiSliderProps } from \"@mui/material/Slider\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type SliderProps = MuiSliderProps;\n\nexport const Slider = forwardRef<HTMLSpanElement, SliderProps>(function Slider(\n { className, ...props },\n ref\n) {\n return (\n <MuiSlider ref={ref} className={cn(\"gryt-slider\", className)} {...props} />\n );\n});\n","import MenuItem from \"@mui/material/MenuItem\";\nimport type { ReactNode } from \"react\";\nimport { TextField } from \"../TextField/TextField\";\nimport type { TextFieldProps } from \"../TextField/TextField\";\n\nexport interface SelectOption {\n label: ReactNode;\n value: string | number;\n disabled?: boolean;\n}\n\nexport interface SelectProps extends Omit<TextFieldProps, \"select\"> {\n options?: SelectOption[];\n}\n\nexport function Select({ children, options, ...props }: SelectProps) {\n return (\n <TextField select {...props}>\n {options?.map((option) => (\n <MenuItem\n key={option.value}\n value={option.value}\n disabled={option.disabled}\n >\n {option.label}\n </MenuItem>\n ))}\n {children}\n </TextField>\n );\n}\n\nexport { MenuItem };\n","import MuiTooltip from \"@mui/material/Tooltip\";\nimport type { TooltipProps as MuiTooltipProps } from \"@mui/material/Tooltip\";\n\nexport type TooltipProps = MuiTooltipProps;\n\nexport function Tooltip(props: TooltipProps) {\n return <MuiTooltip arrow enterDelay={350} {...props} />;\n}\n","import MuiDivider from \"@mui/material/Divider\";\nimport type { DividerProps as MuiDividerProps } from \"@mui/material/Divider\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type DividerProps = MuiDividerProps;\n\nexport const Divider = forwardRef<HTMLHRElement, DividerProps>(function Divider(\n { className, ...props },\n ref\n) {\n return (\n <MuiDivider\n ref={ref}\n className={cn(\"gryt-divider\", className)}\n {...props}\n />\n );\n});\n","import MuiCard from \"@mui/material/Card\";\nimport MuiCardActions from \"@mui/material/CardActions\";\nimport MuiCardContent from \"@mui/material/CardContent\";\nimport MuiCardHeader from \"@mui/material/CardHeader\";\nimport type { CardProps as MuiCardProps } from \"@mui/material/Card\";\nimport type {\n CardActionsProps,\n CardContentProps,\n CardHeaderProps\n} from \"@mui/material\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type CardProps = MuiCardProps;\n\nexport const Card = forwardRef<HTMLDivElement, CardProps>(function Card(\n { className, ...props },\n ref\n) {\n return (\n <MuiCard ref={ref} className={cn(\"gryt-card\", className)} {...props} />\n );\n});\n\nexport function CardHeader({ className, ...props }: CardHeaderProps) {\n return (\n <MuiCardHeader className={cn(\"gryt-card-header\", className)} {...props} />\n );\n}\n\nexport function CardContent({ className, ...props }: CardContentProps) {\n return (\n <MuiCardContent className={cn(\"gryt-card-content\", className)} {...props} />\n );\n}\n\nexport function CardActions({ className, ...props }: CardActionsProps) {\n return (\n <MuiCardActions className={cn(\"gryt-card-actions\", className)} {...props} />\n );\n}\n","import MuiAlert from \"@mui/material/Alert\";\nimport type { AlertProps as MuiAlertProps } from \"@mui/material/Alert\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type AlertProps = MuiAlertProps;\n\nexport const Alert = forwardRef<HTMLDivElement, AlertProps>(function Alert(\n { className, variant = \"outlined\", ...props },\n ref\n) {\n return (\n <MuiAlert\n ref={ref}\n variant={variant}\n className={cn(\"gryt-alert\", className)}\n {...props}\n />\n );\n});\n","import CircularProgress from \"@mui/material/CircularProgress\";\nimport LinearProgress from \"@mui/material/LinearProgress\";\nimport type { CircularProgressProps } from \"@mui/material/CircularProgress\";\nimport type { LinearProgressProps } from \"@mui/material/LinearProgress\";\nimport { cn } from \"../utils/cn\";\n\nexport function Spinner({ className, ...props }: CircularProgressProps) {\n return (\n <CircularProgress className={cn(\"gryt-spinner\", className)} {...props} />\n );\n}\n\nexport function Progress({ className, ...props }: LinearProgressProps) {\n return (\n <LinearProgress className={cn(\"gryt-progress\", className)} {...props} />\n );\n}\n","import MuiSkeleton from \"@mui/material/Skeleton\";\nimport type { SkeletonProps as MuiSkeletonProps } from \"@mui/material/Skeleton\";\nimport { cn } from \"../utils/cn\";\n\nexport type SkeletonProps = MuiSkeletonProps;\n\nexport function Skeleton({ className, ...props }: SkeletonProps) {\n return <MuiSkeleton className={cn(\"gryt-skeleton\", className)} {...props} />;\n}\n","import MuiDialog from \"@mui/material/Dialog\";\nimport MuiDialogActions from \"@mui/material/DialogActions\";\nimport MuiDialogContent from \"@mui/material/DialogContent\";\nimport MuiDialogTitle from \"@mui/material/DialogTitle\";\nimport type { DialogProps as MuiDialogProps } from \"@mui/material/Dialog\";\nimport type {\n DialogActionsProps,\n DialogContentProps,\n DialogTitleProps\n} from \"@mui/material\";\nimport { cn } from \"../utils/cn\";\n\nexport type DialogProps = MuiDialogProps;\n\nexport function Dialog({ PaperProps, ...props }: DialogProps) {\n return (\n <MuiDialog\n PaperProps={{\n ...PaperProps,\n className: cn(\"gryt-dialog\", PaperProps?.className)\n }}\n {...props}\n />\n );\n}\n\nexport function DialogTitle({ className, ...props }: DialogTitleProps) {\n return (\n <MuiDialogTitle className={cn(\"gryt-dialog-title\", className)} {...props} />\n );\n}\n\nexport function DialogContent({ className, ...props }: DialogContentProps) {\n return (\n <MuiDialogContent\n className={cn(\"gryt-dialog-content\", className)}\n {...props}\n />\n );\n}\n\nexport function DialogActions({ className, ...props }: DialogActionsProps) {\n return (\n <MuiDialogActions\n className={cn(\"gryt-dialog-actions\", className)}\n {...props}\n />\n );\n}\n","import MuiDrawer from \"@mui/material/Drawer\";\nimport type { DrawerProps as MuiDrawerProps } from \"@mui/material/Drawer\";\nimport { cn } from \"../utils/cn\";\n\nexport type DrawerProps = MuiDrawerProps;\n\nexport function Drawer({ PaperProps, ...props }: DrawerProps) {\n return (\n <MuiDrawer\n PaperProps={{\n ...PaperProps,\n className: cn(\"gryt-drawer\", PaperProps?.className)\n }}\n {...props}\n />\n );\n}\n","import MuiMenu from \"@mui/material/Menu\";\nimport MuiMenuItem from \"@mui/material/MenuItem\";\nimport type { MenuProps as MuiMenuProps } from \"@mui/material/Menu\";\nimport type { MenuItemProps as MuiMenuItemProps } from \"@mui/material/MenuItem\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type MenuProps = MuiMenuProps;\nexport type MenuItemProps = MuiMenuItemProps;\n\nexport function Menu({ PaperProps, ...props }: MenuProps) {\n return (\n <MuiMenu\n PaperProps={{\n ...PaperProps,\n className: cn(\"gryt-menu\", PaperProps?.className)\n }}\n {...props}\n />\n );\n}\n\nexport const MenuItem = forwardRef<HTMLLIElement, MenuItemProps>(\n function MenuItem({ className, ...props }, ref) {\n return (\n <MuiMenuItem\n ref={ref}\n className={cn(\"gryt-menu-item\", className)}\n {...props}\n />\n );\n }\n);\n","import MuiTab from \"@mui/material/Tab\";\nimport MuiTabs from \"@mui/material/Tabs\";\nimport type { TabProps as MuiTabProps } from \"@mui/material/Tab\";\nimport type { TabsProps as MuiTabsProps } from \"@mui/material/Tabs\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type TabsProps = MuiTabsProps;\nexport type TabProps = MuiTabProps;\n\nexport const Tabs = forwardRef<HTMLDivElement, TabsProps>(function Tabs(\n { className, ...props },\n ref\n) {\n return (\n <MuiTabs ref={ref} className={cn(\"gryt-tabs\", className)} {...props} />\n );\n});\n\nexport const Tab = forwardRef<HTMLDivElement, TabProps>(function Tab(\n { className, ...props },\n ref\n) {\n return <MuiTab ref={ref} className={cn(\"gryt-tab\", className)} {...props} />;\n});\n","import MuiAccordion from \"@mui/material/Accordion\";\nimport MuiAccordionDetails from \"@mui/material/AccordionDetails\";\nimport MuiAccordionSummary from \"@mui/material/AccordionSummary\";\nimport type { AccordionProps as MuiAccordionProps } from \"@mui/material/Accordion\";\nimport type {\n AccordionDetailsProps,\n AccordionSummaryProps\n} from \"@mui/material\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type AccordionProps = MuiAccordionProps;\n\nexport const Accordion = forwardRef<HTMLDivElement, AccordionProps>(\n function Accordion(\n { className, disableGutters = true, elevation = 0, ...props },\n ref\n ) {\n return (\n <MuiAccordion\n ref={ref}\n disableGutters={disableGutters}\n elevation={elevation}\n className={cn(\"gryt-accordion\", className)}\n {...props}\n />\n );\n }\n);\n\nexport function AccordionSummary({\n className,\n ...props\n}: AccordionSummaryProps) {\n return (\n <MuiAccordionSummary\n className={cn(\"gryt-accordion-summary\", className)}\n {...props}\n />\n );\n}\n\nexport function AccordionDetails({\n className,\n ...props\n}: AccordionDetailsProps) {\n return (\n <MuiAccordionDetails\n className={cn(\"gryt-accordion-details\", className)}\n {...props}\n />\n );\n}\n"],"names":["grytTokens","createGrytTheme","options","createTheme","defaultTheme","GrytProvider","children","theme","disableBaseline","jsxs","ThemeProvider","jsx","CssBaseline","r","t","f","n","o","clsx","concatArrays","array1","array2","combinedArray","i","createClassValidatorObject","classGroupId","validator","createClassPartObject","nextPart","validators","CLASS_PART_SEPARATOR","EMPTY_CONFLICTS","ARBITRARY_PROPERTY_PREFIX","createClassGroupUtils","config","classMap","createClassMap","conflictingClassGroups","conflictingClassGroupModifiers","className","getGroupIdForArbitraryProperty","classParts","startIndex","getGroupRecursive","hasPostfixModifier","modifierConflicts","baseConflicts","classPartObject","currentClassPart","nextClassPartObject","result","classRest","validatorsLength","validatorObj","content","colonIndex","property","classGroups","processClassGroups","group","processClassesRecursively","classGroup","len","classDefinition","processClassDefinition","processStringDefinition","processFunctionDefinition","processObjectDefinition","classPartObjectToEdit","getPart","isThemeGetter","entries","key","value","path","current","parts","part","next","func","createLruCache","maxCacheSize","cacheSize","cache","previousCache","update","IMPORTANT_MODIFIER","MODIFIER_SEPARATOR","EMPTY_MODIFIERS","createResultObject","modifiers","hasImportantModifier","baseClassName","maybePostfixModifierPosition","isExternal","createParseClassName","prefix","experimentalParseClassName","parseClassName","bracketDepth","parenDepth","modifierStart","postfixModifierPosition","index","currentCharacter","baseClassNameWithImportantModifier","fullPrefix","parseClassNameOriginal","createSortModifiers","modifierWeights","mod","currentSegment","modifier","isArbitrary","isOrderSensitive","createConfigUtils","createPostfixLookupClassGroupIds","lookup","classGroupIds","SPLIT_CLASSES_REGEX","mergeClassList","classList","configUtils","getClassGroupId","getConflictingClassGroupIds","sortModifiers","postfixLookupClassGroupIds","classGroupsInConflict","classNames","originalClassName","baseClassNameWithoutPostfix","classGroupIdWithPostfix","variantModifier","modifierId","classId","conflictGroups","twJoin","classLists","argument","resolvedValue","string","toValue","mix","k","createTailwindMerge","createConfigFirst","createConfigRest","cacheGet","cacheSet","functionToCall","initTailwindMerge","previousConfig","createConfigCurrent","tailwindMerge","cachedResult","args","fallbackThemeArr","fromTheme","themeGetter","arbitraryValueRegex","arbitraryVariableRegex","fractionRegex","tshirtUnitRegex","lengthUnitRegex","colorFunctionRegex","shadowRegex","imageRegex","isFraction","isNumber","isInteger","isPercent","isTshirtSize","isAny","isLengthOnly","isNever","isShadow","isImage","isAnyNonArbitrary","isArbitraryValue","isArbitraryVariable","isNamedContainerQuery","isArbitrarySize","getIsArbitraryValue","isLabelSize","isArbitraryLength","isLabelLength","isArbitraryNumber","isLabelNumber","isArbitraryWeight","isLabelWeight","isArbitraryFamilyName","isLabelFamilyName","isArbitraryPosition","isLabelPosition","isArbitraryImage","isLabelImage","isArbitraryShadow","isLabelShadow","isArbitraryVariableLength","getIsArbitraryVariable","isArbitraryVariableFamilyName","isArbitraryVariablePosition","isArbitraryVariableSize","isArbitraryVariableImage","isArbitraryVariableShadow","isArbitraryVariableWeight","testLabel","testValue","shouldMatchNoLabel","label","getDefaultConfig","themeColor","themeFont","themeText","themeFontWeight","themeTracking","themeLeading","themeBreakpoint","themeContainer","themeSpacing","themeRadius","themeShadow","themeInsetShadow","themeTextShadow","themeDropShadow","themeBlur","themePerspective","themeAspect","themeEase","themeAnimate","scaleBreak","scalePosition","scalePositionWithArbitrary","scaleOverflow","scaleOverscroll","scaleUnambiguousSpacing","scaleInset","scaleGridTemplateColsRows","scaleGridColRowStartAndEnd","scaleGridColRowStartOrEnd","scaleGridAutoColsRows","scaleAlignPrimaryAxis","scaleAlignSecondaryAxis","scaleMargin","scaleSizing","scaleSizingInline","scaleSizingBlock","scaleColor","scaleBgPosition","scaleBgRepeat","scaleBgSize","scaleGradientStopPosition","scaleRadius","scaleBorderWidth","scaleLineStyle","scaleBlendMode","scaleMaskImagePosition","scaleBlur","scaleRotate","scaleScale","scaleSkew","scaleTranslate","twMerge","cn","inputs","buttonToneStyles","Button","forwardRef","size","sx","tone","variant","props","ref","MuiButton","iconButtonToneStyles","IconButton","MuiIconButton","Surface","elevated","Paper","MessageBubble","from","TextField","MuiTextField","Composer","disabled","onSubmit","placeholder","submitLabel","handleSubmit","event","TextareaAutosize","ConversationItem","active","avatar","subtitle","title","Avatar","MuiAvatar","Badge","MuiBadge","Chip","MuiChip","Checkbox","MuiCheckbox","Radio","MuiRadio","Switch","MuiSwitch","Slider","MuiSlider","Select","option","MenuItem","Tooltip","MuiTooltip","Divider","MuiDivider","Card","MuiCard","CardHeader","MuiCardHeader","CardContent","MuiCardContent","CardActions","MuiCardActions","Alert","MuiAlert","Spinner","CircularProgress","Progress","LinearProgress","Skeleton","MuiSkeleton","Dialog","PaperProps","MuiDialog","DialogTitle","MuiDialogTitle","DialogContent","MuiDialogContent","DialogActions","MuiDialogActions","Drawer","MuiDrawer","Menu","MuiMenu","MuiMenuItem","Tabs","MuiTabs","Tab","MuiTab","Accordion","disableGutters","elevation","MuiAccordion","AccordionSummary","MuiAccordionSummary","AccordionDetails","MuiAccordionDetails"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,MAAMA,IAAa;AAAA,EACxB,OAAO;AAAA,IACL,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,eAAe;AAAA,IACf,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,aAAa;AAAA,IACb,WAAW;AAAA,IACX,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,SAAS;AAAA,EAAA;AAAA,EAEX,QAAQ;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,MAAM;AAAA,EAAA;AAEV;AAIO,SAASC,GAAgBC,IAA4B,IAAI;AAC9D,SAAOC,GAAY;AAAA,IACjB,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,QACP,MAAMH,EAAW,MAAM;AAAA,QACvB,OAAOA,EAAW,MAAM;AAAA,QACxB,MAAM;AAAA,QACN,cAAc;AAAA,MAAA;AAAA,MAEhB,WAAW;AAAA,QACT,MAAMA,EAAW,MAAM;AAAA,QACvB,cAAc;AAAA,MAAA;AAAA,MAEhB,SAAS;AAAA,QACP,MAAMA,EAAW,MAAM;AAAA,MAAA;AAAA,MAEzB,OAAO;AAAA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BC,GACA;AACA,SACE,gBAAAtQ,EAACmV,MAAQ,KAAA7E,GAAU,WAAWV,EAAG,aAAahO,CAAS,GAAI,GAAGyO,GAAO;AAEzE,CAAC,GAEY+E,KAAMpF,EAAqC,SACtD,EAAE,WAAApO,GAAW,GAAGyO,EAAA,GAChBC,GACA;AACA,SAAO,gBAAAtQ,EAACqV,MAAO,KAAA/E,GAAU,WAAWV,EAAG,YAAYhO,CAAS,GAAI,GAAGyO,GAAO;AAC5E,CAAC,GCXYiF,KAAYtF;AAAA,EACvB,SACE,EAAE,WAAApO,GAAW,gBAAA2T,IAAiB,IAAM,WAAAC,IAAY,GAAG,GAAGnF,EAAA,GACtDC,GACA;AACA,WACE,gBAAAtQ;AAAA,MAACyV;AAAA,MAAA;AAAA,QACC,KAAAnF;AAAA,QACA,gBAAAiF;AAAA,QACA,WAAAC;AAAA,QACA,WAAW5F,EAAG,kBAAkBhO,CAAS;AAAA,QACxC,GAAGyO;AAAA,MAAA;AAAA,IAAA;AAAA,EAGV;AACF;AAEO,SAASqF,GAAiB;AAAA,EAC/B,WAAA9T;AAAA,EACA,GAAGyO;AACL,GAA0B;AACxB,SACE,gBAAArQ;AAAA,IAAC2V;AAAA,IAAA;AAAA,MACC,WAAW/F,EAAG,0BAA0BhO,CAAS;AAAA,MAChD,GAAGyO;AAAA,IAAA;AAAA,EAAA;AAGV;AAEO,SAASuF,GAAiB;AAAA,EAC/B,WAAAhU;AAAA,EACA,GAAGyO;AACL,GAA0B;AACxB,SACE,gBAAArQ;AAAA,IAAC6V;AAAA,IAAA;AAAA,MACC,WAAWjG,EAAG,0BAA0BhO,CAAS;AAAA,MAChD,GAAGyO;AAAA,IAAA;AAAA,EAAA;AAGV;","x_google_ignoreList":[2,3]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/theme/createGrytTheme.ts","../src/GrytProvider.tsx","../src/components/utils/cn.ts","../src/components/Button/Button.tsx","../src/components/utils/styles.ts","../src/components/IconButton/IconButton.tsx","../src/components/Surface/Surface.tsx","../src/components/MessageBubble/MessageBubble.tsx","../src/components/TextField/TextField.tsx","../src/components/Composer/Composer.tsx","../src/components/Avatar/Avatar.tsx","../src/components/ConversationItem/ConversationItem.tsx","../src/components/Badge/Badge.tsx","../src/components/Chip/Chip.tsx","../src/components/Checkbox/Checkbox.tsx","../src/components/Radio/Radio.tsx","../src/components/Switch/Switch.tsx","../src/components/Slider/Slider.tsx","../src/components/Select/Select.tsx","../src/components/Tooltip/Tooltip.tsx","../src/components/Divider/Divider.tsx","../src/components/Card/Card.tsx","../src/components/Alert/Alert.tsx","../src/components/Progress/Progress.tsx","../src/components/Skeleton/Skeleton.tsx","../src/components/Dialog/Dialog.tsx","../src/components/Drawer/Drawer.tsx","../src/components/Menu/Menu.tsx","../src/components/Tabs/Tabs.tsx","../src/components/Accordion/Accordion.tsx"],"sourcesContent":["import type { CSSProperties } from \"react\";\n\nexport const grytTokens = {\n color: {\n bg: \"#111318\",\n surface: \"#1a1d24\",\n surfaceRaised: \"#1e2028\",\n surfaceHover: \"#334155\",\n border: \"#2b303d\",\n text: \"#e0e0e6\",\n muted: \"#888888\",\n accent: \"#968FF8\",\n accentLight: \"#b4afff\",\n secondary: \"#7dd3fc\",\n secondaryLight: \"#bae6fd\",\n success: \"#4ade80\",\n danger: \"#f87171\",\n dangerLight: \"#fca5a5\",\n warning: \"#fbbf24\",\n onAccent: \"#141126\",\n onSecondary: \"#07131c\",\n onDanger: \"#250b0b\"\n },\n radius: {\n sm: 8,\n md: 12,\n lg: 20,\n xl: 28,\n full: 999\n }\n} as const;\n\nexport type GrytTokens = typeof grytTokens;\n\n// Widened off the `as const` token types on purpose. Partial<GrytTokens> would\n// inherit the literal types, so an override could only ever be re-assigned its\n// own current value.\nexport interface GrytThemeOptions {\n color?: Partial<Record<keyof GrytTokens[\"color\"], string>>;\n radius?: Partial<Record<keyof GrytTokens[\"radius\"], number>>;\n}\n\n// This used to return a MUI theme object. There is no theme object now — the\n// components read CSS custom properties, so a theme is the set of variables to\n// put on an element. Returning CSSProperties means it drops straight into a\n// style prop, and overriding one token does not require reproducing the rest.\nexport function createGrytTheme(options: GrytThemeOptions = {}): CSSProperties {\n const color = { ...grytTokens.color, ...options.color };\n const radius = { ...grytTokens.radius, ...options.radius };\n\n return {\n \"--gryt-bg\": color.bg,\n \"--gryt-surface\": color.surface,\n \"--gryt-surface-raised\": color.surfaceRaised,\n \"--gryt-surface-hover\": color.surfaceHover,\n \"--gryt-border\": color.border,\n \"--gryt-text\": color.text,\n \"--gryt-muted\": color.muted,\n \"--gryt-accent\": color.accent,\n \"--gryt-accent-light\": color.accentLight,\n \"--gryt-secondary\": color.secondary,\n \"--gryt-secondary-light\": color.secondaryLight,\n \"--gryt-success\": color.success,\n \"--gryt-danger\": color.danger,\n \"--gryt-danger-light\": color.dangerLight,\n \"--gryt-warning\": color.warning,\n \"--gryt-on-accent\": color.onAccent,\n \"--gryt-on-secondary\": color.onSecondary,\n \"--gryt-on-danger\": color.onDanger,\n\n // Tailwind's @theme emits --color-* names, and the utilities compile\n // against those. Both sets have to move together or an override would\n // change the raw var but not bg-gryt-accent.\n \"--color-gryt-bg\": color.bg,\n \"--color-gryt-surface\": color.surface,\n \"--color-gryt-surface-raised\": color.surfaceRaised,\n \"--color-gryt-surface-hover\": color.surfaceHover,\n \"--color-gryt-border\": color.border,\n \"--color-gryt-text\": color.text,\n \"--color-gryt-muted\": color.muted,\n \"--color-gryt-accent\": color.accent,\n \"--color-gryt-accent-light\": color.accentLight,\n \"--color-gryt-secondary\": color.secondary,\n \"--color-gryt-secondary-light\": color.secondaryLight,\n \"--color-gryt-success\": color.success,\n \"--color-gryt-danger\": color.danger,\n \"--color-gryt-danger-light\": color.dangerLight,\n \"--color-gryt-warning\": color.warning,\n \"--color-gryt-on-accent\": color.onAccent,\n \"--color-gryt-on-secondary\": color.onSecondary,\n \"--color-gryt-on-danger\": color.onDanger,\n\n \"--gryt-radius-sm\": `${radius.sm}px`,\n \"--gryt-radius-md\": `${radius.md}px`,\n \"--gryt-radius-lg\": `${radius.lg}px`,\n \"--gryt-radius-xl\": `${radius.xl}px`,\n \"--gryt-radius-full\": `${radius.full}px`\n } as CSSProperties;\n}\n","import { Tooltip } from \"@base-ui/react/tooltip\";\nimport type { CSSProperties, ReactNode } from \"react\";\nimport { createGrytTheme } from \"./theme/createGrytTheme\";\nimport type { GrytThemeOptions } from \"./theme/createGrytTheme\";\n\nexport interface GrytProviderProps {\n children: ReactNode;\n // Either the object from createGrytTheme, or the options to build one from.\n theme?: CSSProperties | GrytThemeOptions;\n className?: string;\n // Shared hover delay for every Tooltip below this provider, in milliseconds.\n tooltipDelay?: number;\n}\n\nfunction isCssVariables(value: object): value is CSSProperties {\n return Object.keys(value).some((key) => key.startsWith(\"--\"));\n}\n\n// There is no ThemeProvider and no CssBaseline any more. What a provider still\n// has to do is put the theme variables somewhere the components can read them,\n// and mount Base UI's tooltip provider so hover timing is shared between\n// triggers rather than restarting at every one.\nexport function GrytProvider({\n children,\n className,\n theme,\n tooltipDelay = 400\n}: GrytProviderProps) {\n const style =\n theme && isCssVariables(theme) ? theme : createGrytTheme(theme ?? {});\n\n return (\n <div className={className} style={style}>\n <Tooltip.Provider delay={tooltipDelay}>{children}</Tooltip.Provider>\n </div>\n );\n}\n","import { clsx } from \"clsx\";\nimport type { ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}","import { Button as BaseButton } from \"@base-ui/react/button\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\n\ntype ButtonTone = \"primary\" | \"secondary\" | \"neutral\" | \"danger\" | \"ghost\";\ntype ButtonSize = \"xsmall\" | \"small\" | \"medium\" | \"large\";\n\n// Base UI marks a disabled button with data-disabled rather than the native\n// attribute, because it stays focusable when disabled. Hover and press styles\n// hang off not-data-disabled so they don't fire on a dead button.\nconst toneStyles: Record<ButtonTone, string> = {\n primary:\n \"bg-gryt-accent text-gryt-on-accent hover:not-data-disabled:bg-gryt-accent-light\",\n secondary:\n \"bg-gryt-secondary text-gryt-on-secondary hover:not-data-disabled:bg-gryt-secondary-light\",\n neutral:\n \"bg-gryt-surface-raised text-gryt-text hover:not-data-disabled:bg-gryt-surface-hover\",\n danger:\n \"bg-gryt-danger text-gryt-on-danger hover:not-data-disabled:bg-gryt-danger-light\",\n ghost:\n \"bg-transparent text-gryt-muted hover:not-data-disabled:bg-white/8 hover:not-data-disabled:text-gryt-text\"\n};\n\nconst sizeStyles: Record<ButtonSize, string> = {\n xsmall: \"min-h-8 px-3 text-xs\",\n small: \"min-h-9 px-4 text-sm\",\n medium: \"min-h-10 px-5 text-sm\",\n large: \"min-h-12 px-6 text-base\"\n};\n\nexport interface ButtonProps\n extends Omit<ComponentPropsWithoutRef<typeof BaseButton>, \"className\"> {\n tone?: ButtonTone;\n size?: ButtonSize;\n className?: string;\n // Carried over from the MUI-based Button. Base UI has no equivalent, but\n // dropping them would break every existing call site for no gain — the flex\n // gap below already spaces them correctly.\n startIcon?: ReactNode;\n endIcon?: ReactNode;\n}\n\nexport const Button = forwardRef<HTMLButtonElement, ButtonProps>(\n function Button(\n {\n children,\n className,\n endIcon,\n size = \"medium\",\n startIcon,\n tone = \"primary\",\n ...props\n },\n ref\n ) {\n return (\n <BaseButton\n ref={ref}\n className={cn(\n \"gryt-button\",\n \"inline-flex items-center justify-center gap-2 border-0 shadow-none\",\n \"rounded-(--gryt-radius-full) font-semibold whitespace-nowrap select-none\",\n // scale, not transform: Tailwind v4's scale-* utilities set the\n // standalone `scale` property, so transitioning `transform` alone\n // leaves the hover grow snapping instantly.\n \"transition-[scale,background-color,color]\",\n \"duration-(--gryt-dur-spring) ease-spring\",\n\n // Press travels further than hover, so the button reads as being\n // pushed down rather than just acknowledging the cursor.\n \"motion-safe:hover:not-data-disabled:scale-[1.03]\",\n \"motion-safe:active:not-data-disabled:scale-[0.96]\",\n\n \"focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gryt-accent-light\",\n \"data-disabled:cursor-not-allowed data-disabled:opacity-50\",\n sizeStyles[size],\n toneStyles[tone],\n className\n )}\n {...props}\n >\n {startIcon}\n {children}\n {endIcon}\n </BaseButton>\n );\n }\n);\n","// Shared class fragments. These exist so that \"flat, Gryt palette\" is decided\n// once rather than 24 times, and so a change to the focus ring or the popup\n// surface lands everywhere at once.\n\nexport const focusRing =\n \"focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gryt-accent-light\";\n\n// Every floating surface: menu, select list, tooltip, dialog, drawer. Flat —\n// a border rather than a shadow.\nexport const popupSurface =\n \"rounded-(--gryt-radius-xl) border border-gryt-border bg-gryt-surface text-gryt-text\";\n\n// Base UI sets data-starting-style and data-ending-style for one frame either\n// side of open and close. The element carries the transition itself.\nexport const popupMotion = [\n // scale and translate are named explicitly because Tailwind v4 sets them as\n // standalone CSS properties rather than folding them into `transform`, so\n // transitioning `transform` would leave the popup snapping into place.\n \"transition-[opacity,scale,translate] duration-(--gryt-dur-spring) ease-spring motion-reduce:transition-none\",\n \"data-starting-style:scale-[0.98] data-starting-style:opacity-0\",\n \"data-ending-style:scale-[0.98] data-ending-style:opacity-0\"\n].join(\" \");\n\nexport const disabledState =\n \"data-disabled:cursor-not-allowed data-disabled:opacity-50\";\n\n// The tones shared by Checkbox, Radio, Switch and Slider. One union so a\n// component cannot invent its own sixth colour. Button and IconButton keep\n// their own lists, because \"ghost\" only makes sense on a button.\nexport type Tone =\n | \"primary\"\n | \"secondary\"\n | \"neutral\"\n | \"danger\"\n | \"success\"\n | \"warning\";\n\nexport const toneAccent: Record<Tone, string> = {\n primary: \"text-gryt-accent\",\n secondary: \"text-gryt-secondary\",\n neutral: \"text-gryt-muted\",\n danger: \"text-gryt-danger\",\n success: \"text-gryt-success\",\n warning: \"text-gryt-warning\"\n};\n\n// Filled backgrounds, for the checked state of a control.\nexport const toneFill: Record<Tone, string> = {\n primary: \"bg-gryt-accent text-gryt-on-accent\",\n secondary: \"bg-gryt-secondary text-gryt-on-secondary\",\n neutral: \"bg-gryt-surface-hover text-gryt-text\",\n danger: \"bg-gryt-danger text-gryt-on-danger\",\n success: \"bg-gryt-success text-gryt-on-accent\",\n warning: \"bg-gryt-warning text-gryt-on-accent\"\n};\n\nexport const toneBorder: Record<Tone, string> = {\n primary: \"border-gryt-accent\",\n secondary: \"border-gryt-secondary\",\n neutral: \"border-gryt-border\",\n danger: \"border-gryt-danger\",\n success: \"border-gryt-success\",\n warning: \"border-gryt-warning\"\n};\n\n// Written out in full rather than composed from toneFill at runtime. Tailwind\n// scans source text for class names, so a class built by interpolation exists\n// on the element and nowhere in the stylesheet.\nexport const toneCheckedFill: Record<Tone, string> = {\n primary: \"data-checked:bg-gryt-accent data-checked:text-gryt-on-accent\",\n secondary:\n \"data-checked:bg-gryt-secondary data-checked:text-gryt-on-secondary\",\n neutral: \"data-checked:bg-gryt-surface-hover data-checked:text-gryt-text\",\n danger: \"data-checked:bg-gryt-danger data-checked:text-gryt-on-danger\",\n success: \"data-checked:bg-gryt-success data-checked:text-gryt-on-accent\",\n warning: \"data-checked:bg-gryt-warning data-checked:text-gryt-on-accent\"\n};\n\n// Track fill for Switch, and bar fill for Slider.\nexport const toneBg: Record<Tone, string> = {\n primary: \"bg-gryt-accent\",\n secondary: \"bg-gryt-secondary\",\n neutral: \"bg-gryt-surface-hover\",\n danger: \"bg-gryt-danger\",\n success: \"bg-gryt-success\",\n warning: \"bg-gryt-warning\"\n};\n\nexport const toneCheckedBorder: Record<Tone, string> = {\n primary: \"data-checked:border-gryt-accent\",\n secondary: \"data-checked:border-gryt-secondary\",\n neutral: \"data-checked:border-gryt-muted\",\n danger: \"data-checked:border-gryt-danger\",\n success: \"data-checked:border-gryt-success\",\n warning: \"data-checked:border-gryt-warning\"\n};\n\nexport const toneCheckedBg: Record<Tone, string> = {\n primary: \"data-checked:bg-gryt-accent\",\n secondary: \"data-checked:bg-gryt-secondary\",\n neutral: \"data-checked:bg-gryt-surface-hover\",\n danger: \"data-checked:bg-gryt-danger\",\n success: \"data-checked:bg-gryt-success\",\n warning: \"data-checked:bg-gryt-warning\"\n};\n","import { Button as BaseButton } from \"@base-ui/react/button\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { disabledState, focusRing } from \"../utils/styles\";\n\ntype IconButtonTone = \"primary\" | \"secondary\" | \"neutral\" | \"danger\" | \"ghost\";\ntype IconButtonSize = \"xsmall\" | \"small\" | \"medium\" | \"large\";\n\n// The hover fills are the tone colour at low alpha, so an icon button reads as\n// a tinted target rather than a filled one.\nconst toneStyles: Record<IconButtonTone, string> = {\n primary: \"text-gryt-accent hover:not-data-disabled:bg-gryt-accent/10\",\n secondary:\n \"text-gryt-secondary hover:not-data-disabled:bg-gryt-secondary/10\",\n neutral:\n \"text-gryt-muted hover:not-data-disabled:bg-white/8 hover:not-data-disabled:text-gryt-text\",\n danger: \"text-gryt-danger hover:not-data-disabled:bg-gryt-danger/10\",\n ghost:\n \"text-gryt-muted hover:not-data-disabled:bg-white/8 hover:not-data-disabled:text-gryt-text\"\n};\n\nconst sizeStyles: Record<IconButtonSize, string> = {\n xsmall: \"h-8 w-8\",\n small: \"h-9 w-9\",\n medium: \"h-10 w-10\",\n large: \"h-12 w-12\"\n};\n\nexport interface IconButtonProps\n extends Omit<ComponentPropsWithoutRef<typeof BaseButton>, \"className\"> {\n tone?: IconButtonTone;\n size?: IconButtonSize;\n className?: string;\n}\n\nexport const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(\n function IconButton(\n { className, size = \"medium\", tone = \"neutral\", ...props },\n ref\n ) {\n return (\n <BaseButton\n ref={ref}\n className={cn(\n \"gryt-icon-button\",\n \"inline-flex shrink-0 items-center justify-center border-0 bg-transparent p-0\",\n \"rounded-(--gryt-radius-full) select-none\",\n // scale rather than transform — see the note in Button.\n \"transition-[scale,background-color,color] duration-(--gryt-dur-spring) ease-spring\",\n \"motion-safe:hover:not-data-disabled:scale-[1.06]\",\n \"motion-safe:active:not-data-disabled:scale-[0.94]\",\n focusRing,\n disabledState,\n sizeStyles[size],\n toneStyles[tone],\n className\n )}\n {...props}\n />\n );\n }\n);\n","import { forwardRef } from \"react\";\nimport type { HTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface SurfaceProps extends HTMLAttributes<HTMLDivElement> {\n elevated?: boolean;\n}\n\nexport const Surface = forwardRef<HTMLDivElement, SurfaceProps>(\n function Surface({ className, elevated = false, ...props }, ref) {\n return (\n <div\n ref={ref}\n className={cn(\n \"gryt-surface rounded-(--gryt-radius-lg) border border-gryt-border p-4 text-gryt-text\",\n elevated ? \"bg-gryt-surface-raised\" : \"bg-gryt-surface\",\n className\n )}\n {...props}\n />\n );\n }\n);\n","import { forwardRef } from \"react\";\nimport type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface MessageBubbleProps extends HTMLAttributes<HTMLDivElement> {\n children: ReactNode;\n from?: \"user\" | \"assistant\" | \"system\";\n}\n\nexport const MessageBubble = forwardRef<HTMLDivElement, MessageBubbleProps>(\n function MessageBubble(\n { children, className, from = \"assistant\", ...props },\n ref\n ) {\n return (\n <div\n ref={ref}\n className={cn(\n \"gryt-message-bubble\",\n from === \"user\" && \"ml-auto bg-gryt-accent text-gryt-on-accent\",\n from === \"assistant\" &&\n \"mr-auto border border-gryt-border bg-gryt-surface text-gryt-text\",\n from === \"system\" &&\n \"mx-auto border border-dashed border-gryt-border bg-transparent text-gryt-muted\",\n className\n )}\n {...props}\n >\n {children}\n </div>\n );\n }\n);\n","import { Field } from \"@base-ui/react/field\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type TextFieldSize = \"small\" | \"medium\";\n\nconst sizeStyles: Record<TextFieldSize, string> = {\n small: \"min-h-9 px-3 py-1.5 text-sm\",\n medium: \"min-h-11 px-4 py-2.5 text-sm\"\n};\n\nexport interface TextFieldProps\n extends Omit<\n ComponentPropsWithoutRef<typeof Field.Control>,\n \"className\" | \"size\"\n > {\n label?: ReactNode;\n helperText?: ReactNode;\n error?: boolean;\n size?: TextFieldSize;\n multiline?: boolean;\n minRows?: number;\n className?: string;\n fieldClassName?: string;\n}\n\nexport const TextField = forwardRef<HTMLInputElement, TextFieldProps>(\n function TextField(\n {\n className,\n error = false,\n fieldClassName,\n helperText,\n label,\n minRows = 3,\n multiline = false,\n size = \"medium\",\n ...props\n },\n ref\n ) {\n const control = (\n <Field.Control\n ref={ref}\n // Field.Control renders an input by default; render swaps the element\n // while keeping the field wiring, which is how label association and\n // aria-describedby survive the switch to a textarea.\n render={multiline ? <textarea rows={minRows} /> : undefined}\n className={cn(\n \"gryt-text-field-control w-full rounded-(--gryt-radius-xl) border bg-gryt-surface-raised\",\n \"text-gryt-text outline-none placeholder:text-gryt-muted\",\n \"transition-colors duration-150\",\n \"hover:border-gryt-accent-light focus:border-gryt-accent\",\n \"disabled:cursor-not-allowed disabled:opacity-60\",\n multiline && \"resize-y leading-6\",\n error ? \"border-gryt-danger\" : \"border-gryt-border\",\n sizeStyles[size],\n className\n )}\n {...props}\n />\n );\n\n return (\n <Field.Root\n className={cn(\n \"gryt-text-field flex w-full flex-col gap-1.5\",\n fieldClassName\n )}\n >\n {label ? (\n <Field.Label className=\"text-xs font-medium text-gryt-muted\">\n {label}\n </Field.Label>\n ) : null}\n {control}\n {helperText ? (\n <Field.Description\n className={cn(\n \"text-xs\",\n error ? \"text-gryt-danger\" : \"text-gryt-muted\"\n )}\n >\n {helperText}\n </Field.Description>\n ) : null}\n </Field.Root>\n );\n }\n);\n","import { PaperPlaneTilt } from \"@phosphor-icons/react\";\nimport { useCallback, useLayoutEffect, useRef } from \"react\";\nimport type {\n FormEvent,\n FormEventHandler,\n TextareaHTMLAttributes\n} from \"react\";\nimport { forwardRef } from \"react\";\nimport { Button } from \"../Button/Button\";\nimport { cn } from \"../utils/cn\";\n\nexport interface ComposerProps\n extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, \"onSubmit\"> {\n onSubmit?: FormEventHandler<HTMLFormElement>;\n submitLabel?: string;\n disabled?: boolean;\n minRows?: number;\n maxRows?: number;\n}\n\nexport const Composer = forwardRef<HTMLTextAreaElement, ComposerProps>(\n function Composer(\n {\n className,\n disabled = false,\n maxRows = 8,\n minRows = 1,\n onSubmit,\n placeholder = \"Message Gryt\",\n submitLabel = \"Send\",\n ...props\n },\n ref\n ) {\n const innerRef = useRef<HTMLTextAreaElement | null>(null);\n\n // Replaces MUI's TextareaAutosize. Reset to auto first, otherwise\n // scrollHeight only ever reports the current height and the box can grow\n // but never shrink.\n const resize = useCallback(() => {\n const node = innerRef.current;\n if (!node) {\n return;\n }\n\n const styles = window.getComputedStyle(node);\n const lineHeight = parseFloat(styles.lineHeight) || 24;\n const vertical =\n parseFloat(styles.paddingTop) + parseFloat(styles.paddingBottom);\n\n node.style.height = \"auto\";\n node.style.height = `${Math.min(\n Math.max(node.scrollHeight, lineHeight * minRows + vertical),\n lineHeight * maxRows + vertical\n )}px`;\n }, [maxRows, minRows]);\n\n useLayoutEffect(resize, [resize, props.value]);\n\n function handleSubmit(event: FormEvent<HTMLFormElement>) {\n if (!onSubmit) {\n event.preventDefault();\n return;\n }\n\n onSubmit(event);\n }\n\n return (\n <form className={cn(\"gryt-composer\", className)} onSubmit={handleSubmit}>\n <textarea\n ref={(node) => {\n innerRef.current = node;\n if (typeof ref === \"function\") {\n ref(node);\n } else if (ref) {\n ref.current = node;\n }\n }}\n rows={minRows}\n disabled={disabled}\n placeholder={placeholder}\n onInput={resize}\n className=\"gryt-composer-textarea disabled:cursor-not-allowed disabled:opacity-60\"\n {...props}\n />\n <Button\n type=\"submit\"\n disabled={disabled}\n size=\"small\"\n endIcon={<PaperPlaneTilt size={14} weight=\"fill\" />}\n >\n {submitLabel}\n </Button>\n </form>\n );\n }\n);\n","import { Avatar as BaseAvatar } from \"@base-ui/react/avatar\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type AvatarSize = \"small\" | \"medium\" | \"large\";\n\nconst sizeStyles: Record<AvatarSize, string> = {\n small: \"h-8 w-8 text-xs\",\n medium: \"h-10 w-10 text-sm\",\n large: \"h-12 w-12 text-base\"\n};\n\nexport interface AvatarProps\n extends Omit<ComponentPropsWithoutRef<typeof BaseAvatar.Root>, \"className\"> {\n src?: string;\n alt?: string;\n size?: AvatarSize;\n className?: string;\n // Shown while the image loads and if it fails. Falls back to children, which\n // is how the old MUI-based Avatar was called: <Avatar>G</Avatar>.\n fallback?: ReactNode;\n}\n\nexport const Avatar = forwardRef<HTMLSpanElement, AvatarProps>(function Avatar(\n { alt, children, className, fallback, size = \"medium\", src, ...props },\n ref\n) {\n return (\n <BaseAvatar.Root\n ref={ref}\n className={cn(\n \"gryt-avatar inline-flex shrink-0 items-center justify-center overflow-hidden align-middle select-none\",\n \"rounded-(--gryt-radius-full) bg-gryt-surface-raised font-medium text-gryt-text ring-1 ring-gryt-border\",\n sizeStyles[size],\n className\n )}\n {...props}\n >\n {src ? (\n <BaseAvatar.Image\n src={src}\n alt={alt}\n className=\"h-full w-full object-cover\"\n />\n ) : null}\n <BaseAvatar.Fallback className=\"flex h-full w-full items-center justify-center\">\n {fallback ?? children}\n </BaseAvatar.Fallback>\n </BaseAvatar.Root>\n );\n});\n","import { Avatar } from \"../Avatar/Avatar\";\nimport type { ButtonHTMLAttributes, ReactNode } from \"react\";\nimport { forwardRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface ConversationItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n title: string;\n subtitle?: string;\n active?: boolean;\n avatar?: ReactNode;\n}\n\nexport const ConversationItem = forwardRef<\n HTMLButtonElement,\n ConversationItemProps\n>(function ConversationItem(\n { active = false, avatar, className, subtitle, title, ...props },\n ref\n) {\n return (\n <button\n ref={ref}\n type=\"button\"\n className={cn(\n \"gryt-conversation-item\",\n active\n ? \"bg-gryt-accent text-gryt-on-accent\"\n : \"text-gryt-text hover:bg-white/5\",\n className\n )}\n {...props}\n >\n {avatar ?? (\n <Avatar\n size=\"small\"\n className={cn(\n active\n ? \"bg-gryt-on-accent text-gryt-accent ring-transparent\"\n : \"bg-gryt-surface-raised text-gryt-text\"\n )}\n >\n {title.slice(0, 1).toUpperCase()}\n </Avatar>\n )}\n <span className=\"min-w-0 flex-1\">\n <span className=\"block truncate text-sm font-semibold\">{title}</span>\n {subtitle ? (\n <span\n className={cn(\n \"block truncate text-xs\",\n active ? \"text-gryt-on-accent/70\" : \"text-gryt-muted\"\n )}\n >\n {subtitle}\n </span>\n ) : null}\n </span>\n </button>\n );\n});\n","import { forwardRef } from \"react\";\nimport type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {\n // Anchored to the top-right of children. A count, a dot, or anything else.\n badgeContent?: ReactNode;\n // Hide when the count is zero, matching how a notification badge is normally\n // wanted. Set false to keep a literal 0 on screen.\n showZero?: boolean;\n max?: number;\n}\n\nexport const Badge = forwardRef<HTMLSpanElement, BadgeProps>(function Badge(\n { badgeContent, children, className, max = 99, showZero = false, ...props },\n ref\n) {\n const numeric = typeof badgeContent === \"number\" ? badgeContent : null;\n const hidden = numeric !== null && numeric === 0 && !showZero;\n const display =\n numeric !== null && numeric > max ? `${max}+` : badgeContent;\n\n return (\n <span\n ref={ref}\n className={cn(\"gryt-badge relative inline-flex\", className)}\n {...props}\n >\n {children}\n {badgeContent !== undefined && !hidden ? (\n <span\n className={cn(\n \"gryt-badge-dot absolute -top-1 -right-1 z-10 inline-flex items-center justify-center\",\n \"min-w-5 rounded-(--gryt-radius-full) px-1.5 py-0.5\",\n \"bg-gryt-accent text-[0.65rem] leading-none font-semibold text-gryt-on-accent\",\n \"ring-2 ring-gryt-bg\"\n )}\n >\n {display}\n </span>\n ) : null}\n </span>\n );\n});\n","import { X } from \"@phosphor-icons/react\";\nimport { forwardRef } from \"react\";\nimport type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { focusRing } from \"../utils/styles\";\n\nexport type ChipTone =\n | \"neutral\"\n | \"primary\"\n | \"secondary\"\n | \"success\"\n | \"warning\"\n | \"danger\";\n\nconst toneStyles: Record<ChipTone, string> = {\n neutral: \"border-gryt-border bg-gryt-surface-raised text-gryt-text\",\n primary: \"border-gryt-accent/40 bg-gryt-accent/12 text-gryt-accent\",\n secondary:\n \"border-gryt-secondary/40 bg-gryt-secondary/12 text-gryt-secondary\",\n success: \"border-gryt-success/40 bg-gryt-success/12 text-gryt-success\",\n warning: \"border-gryt-warning/40 bg-gryt-warning/12 text-gryt-warning\",\n danger: \"border-gryt-danger/40 bg-gryt-danger/12 text-gryt-danger\"\n};\n\nexport interface ChipProps\n extends Omit<HTMLAttributes<HTMLSpanElement>, \"onDelete\"> {\n label?: ReactNode;\n tone?: ChipTone;\n icon?: ReactNode;\n onDelete?: () => void;\n}\n\nexport const Chip = forwardRef<HTMLSpanElement, ChipProps>(function Chip(\n { children, className, icon, label, onDelete, tone = \"neutral\", ...props },\n ref\n) {\n return (\n <span\n ref={ref}\n className={cn(\n \"gryt-chip inline-flex items-center gap-1.5 rounded-(--gryt-radius-full) border px-3 py-1 text-xs font-medium\",\n toneStyles[tone],\n className\n )}\n {...props}\n >\n {icon}\n {label ?? children}\n {onDelete ? (\n <button\n type=\"button\"\n aria-label=\"Remove\"\n onClick={onDelete}\n className={cn(\n \"-mr-1 inline-flex h-4 w-4 items-center justify-center rounded-(--gryt-radius-full)\",\n \"opacity-70 transition-opacity hover:opacity-100\",\n focusRing\n )}\n >\n <X size={10} weight=\"bold\" aria-hidden=\"true\" />\n </button>\n ) : null}\n </span>\n );\n});\n","import { Checkbox as BaseCheckbox } from \"@base-ui/react/checkbox\";\nimport { Check } from \"@phosphor-icons/react\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { disabledState, focusRing, toneCheckedFill } from \"../utils/styles\";\nimport type { Tone } from \"../utils/styles\";\n\nexport interface CheckboxProps\n extends Omit<\n ComponentPropsWithoutRef<typeof BaseCheckbox.Root>,\n \"className\"\n > {\n tone?: Tone;\n className?: string;\n}\n\nexport const Checkbox = forwardRef<HTMLButtonElement, CheckboxProps>(\n function Checkbox({ className, tone = \"primary\", ...props }, ref) {\n return (\n <BaseCheckbox.Root\n ref={ref}\n className={cn(\n \"gryt-checkbox flex h-5 w-5 shrink-0 items-center justify-center\",\n \"rounded-(--gryt-radius-sm) border border-gryt-border bg-gryt-surface-raised\",\n \"transition-[scale,background-color,border-color] duration-(--gryt-dur-spring) ease-spring\",\n \"data-checked:border-transparent\",\n // Same grow-and-press as the buttons, so a control reacts to the\n // cursor before it is clicked rather than only after.\n \"hover:not-data-disabled:border-gryt-accent-light\",\n \"motion-safe:hover:not-data-disabled:scale-[1.08]\",\n \"motion-safe:active:not-data-disabled:scale-[0.92]\",\n focusRing,\n disabledState,\n // Unchecked stays a neutral outline; the tone only paints once checked.\n toneCheckedFill[tone],\n className\n )}\n {...props}\n >\n {/* keepMounted is load-bearing: without it Base UI unmounts the\n indicator whenever the box is unchecked, so data-unchecked never\n applies to anything and there is no element to transition from —\n the tick just appears. Kept in the DOM, it can scale and fade in\n both directions. */}\n <BaseCheckbox.Indicator\n keepMounted\n className={cn(\n \"flex origin-center\",\n \"transition-[scale,opacity] duration-(--gryt-dur-spring) ease-spring\",\n // Scaling from 0 rather than from something near 1 is deliberate.\n // The spring's overshoot is a percentage of the travel, so a tick\n // going 0 -> 1 overshoots to 1.12 and visibly springs, while one\n // going 0.95 -> 1 overshoots by 0.006 and does nothing at all.\n \"data-unchecked:scale-0 data-unchecked:opacity-0\",\n \"motion-reduce:transition-none\"\n )}\n >\n <Check size={12} weight=\"bold\" />\n </BaseCheckbox.Indicator>\n </BaseCheckbox.Root>\n );\n }\n);\n","import { Radio as BaseRadio } from \"@base-ui/react/radio\";\nimport { RadioGroup as BaseRadioGroup } from \"@base-ui/react/radio-group\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport {\n disabledState,\n focusRing,\n toneBg,\n toneCheckedBorder\n} from \"../utils/styles\";\nimport type { Tone } from \"../utils/styles\";\n\nexport interface RadioProps\n extends Omit<ComponentPropsWithoutRef<typeof BaseRadio.Root>, \"className\"> {\n tone?: Tone;\n className?: string;\n}\n\nexport const Radio = forwardRef<HTMLButtonElement, RadioProps>(function Radio(\n { className, tone = \"primary\", ...props },\n ref\n) {\n return (\n <BaseRadio.Root\n ref={ref}\n className={cn(\n \"gryt-radio flex h-5 w-5 shrink-0 items-center justify-center\",\n \"rounded-(--gryt-radius-full) border border-gryt-border bg-gryt-surface-raised\",\n \"transition-[scale,background-color,border-color] duration-(--gryt-dur-spring) ease-spring\",\n \"hover:not-data-disabled:border-gryt-accent-light\",\n \"motion-safe:hover:not-data-disabled:scale-[1.08]\",\n \"motion-safe:active:not-data-disabled:scale-[0.92]\",\n focusRing,\n disabledState,\n // Border takes the tone when selected; the dot inside carries the fill.\n toneCheckedBorder[tone],\n className\n )}\n {...props}\n >\n {/* keepMounted so there is an element to transition — see Checkbox. */}\n <BaseRadio.Indicator\n keepMounted\n className={cn(\n \"h-2.5 w-2.5 origin-center rounded-(--gryt-radius-full)\",\n \"transition-[scale,opacity] duration-(--gryt-dur-spring) ease-spring\",\n // From 0, for the same reason as the Checkbox tick — see the note there.\n \"data-unchecked:scale-0 data-unchecked:opacity-0\",\n \"motion-reduce:transition-none\",\n toneBg[tone]\n )}\n />\n </BaseRadio.Root>\n );\n});\n\nexport type RadioGroupProps = ComponentPropsWithoutRef<typeof BaseRadioGroup>;\n\nexport const RadioGroup = forwardRef<HTMLDivElement, RadioGroupProps>(\n function RadioGroup({ className, ...props }, ref) {\n return (\n <BaseRadioGroup\n ref={ref}\n className={cn(\"gryt-radio-group flex flex-col gap-2\", className)}\n {...props}\n />\n );\n }\n);\n","import { Switch as BaseSwitch } from \"@base-ui/react/switch\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { disabledState, focusRing, toneCheckedBg } from \"../utils/styles\";\nimport type { Tone } from \"../utils/styles\";\n\nexport interface SwitchProps\n extends Omit<ComponentPropsWithoutRef<typeof BaseSwitch.Root>, \"className\"> {\n tone?: Tone;\n className?: string;\n}\n\nexport const Switch = forwardRef<HTMLButtonElement, SwitchProps>(\n function Switch({ className, tone = \"primary\", ...props }, ref) {\n return (\n <BaseSwitch.Root\n ref={ref}\n className={cn(\n \"gryt-switch relative inline-flex h-6 w-10 shrink-0 items-center\",\n \"rounded-(--gryt-radius-full) border border-gryt-border bg-gryt-surface-raised p-0.5\",\n \"transition-[scale,background-color,border-color] duration-(--gryt-dur-spring) ease-spring\",\n \"data-checked:border-transparent\",\n \"hover:not-data-disabled:border-gryt-accent-light\",\n \"motion-safe:hover:not-data-disabled:scale-[1.05]\",\n \"motion-safe:active:not-data-disabled:scale-[0.95]\",\n focusRing,\n disabledState,\n toneCheckedBg[tone],\n className\n )}\n {...props}\n >\n <BaseSwitch.Thumb\n className={cn(\n \"h-4.5 w-4.5 rounded-(--gryt-radius-full) bg-gryt-text\",\n \"transition-transform duration-(--gryt-dur-spring) ease-spring motion-reduce:transition-none\",\n \"data-checked:translate-x-4 data-checked:bg-gryt-bg\"\n )}\n />\n </BaseSwitch.Root>\n );\n }\n);\n","import { Slider as BaseSlider } from \"@base-ui/react/slider\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { focusRing, toneBg } from \"../utils/styles\";\nimport type { Tone } from \"../utils/styles\";\n\nexport interface SliderProps\n extends Omit<ComponentPropsWithoutRef<typeof BaseSlider.Root>, \"className\"> {\n tone?: Tone;\n className?: string;\n \"aria-label\"?: string;\n}\n\nexport function Slider({\n className,\n tone = \"primary\",\n \"aria-label\": ariaLabel,\n ...props\n}: SliderProps) {\n return (\n <BaseSlider.Root\n className={cn(\"gryt-slider w-full\", className)}\n {...props}\n >\n <BaseSlider.Control className=\"flex w-full touch-none items-center py-2 select-none\">\n <BaseSlider.Track className=\"h-1.5 w-full rounded-(--gryt-radius-full) bg-gryt-surface-raised select-none\">\n <BaseSlider.Indicator\n className={cn(\n \"h-full rounded-(--gryt-radius-full) select-none\",\n toneBg[tone]\n )}\n />\n <BaseSlider.Thumb\n aria-label={ariaLabel}\n className={cn(\n \"h-4 w-4 rounded-(--gryt-radius-full) bg-gryt-text select-none\",\n \"transition-transform duration-(--gryt-dur-spring) ease-spring motion-reduce:transition-none\",\n \"motion-safe:hover:scale-[1.12] motion-safe:active:scale-[0.94]\",\n focusRing\n )}\n />\n </BaseSlider.Track>\n </BaseSlider.Control>\n </BaseSlider.Root>\n );\n}\n","import { Select as BaseSelect } from \"@base-ui/react/select\";\nimport { CaretUpDown, Check } from \"@phosphor-icons/react\";\nimport type { ComponentPropsWithoutRef, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { focusRing, popupMotion, popupSurface } from \"../utils/styles\";\n\nexport interface SelectOption {\n label: ReactNode;\n value: string | number;\n disabled?: boolean;\n}\n\nexport type SelectSize = \"small\" | \"medium\";\n\nconst sizeStyles: Record<SelectSize, string> = {\n small: \"min-h-9 px-3 text-sm\",\n medium: \"min-h-11 px-4 text-sm\"\n};\n\nexport interface SelectProps\n extends Omit<\n ComponentPropsWithoutRef<typeof BaseSelect.Root>,\n \"children\" | \"items\"\n > {\n options?: SelectOption[];\n label?: ReactNode;\n placeholder?: string;\n size?: SelectSize;\n className?: string;\n}\n\nexport function Select({\n className,\n label,\n options = [],\n placeholder = \"Select\",\n size = \"medium\",\n ...props\n}: SelectProps) {\n return (\n <BaseSelect.Root items={options} {...props}>\n <div className={cn(\"gryt-select flex w-full flex-col gap-1.5\", className)}>\n {label ? (\n <BaseSelect.Label className=\"text-xs font-medium text-gryt-muted\">\n {label}\n </BaseSelect.Label>\n ) : null}\n <BaseSelect.Trigger\n className={cn(\n \"flex w-full items-center justify-between gap-2\",\n \"rounded-(--gryt-radius-xl) border border-gryt-border bg-gryt-surface-raised\",\n \"text-gryt-text select-none\",\n \"transition-colors duration-150 hover:border-gryt-accent-light\",\n \"data-disabled:cursor-not-allowed data-disabled:opacity-60\",\n focusRing,\n sizeStyles[size]\n )}\n >\n <BaseSelect.Value placeholder={placeholder} />\n <BaseSelect.Icon className=\"shrink-0 text-gryt-muted\">\n <CaretUpDown size={16} />\n </BaseSelect.Icon>\n </BaseSelect.Trigger>\n </div>\n\n <BaseSelect.Portal>\n <BaseSelect.Positioner sideOffset={6} className=\"outline-none\">\n <BaseSelect.Popup\n className={cn(\"min-w-(--anchor-width) p-1\", popupSurface, popupMotion)}\n >\n <BaseSelect.List>\n {options.map((option) => (\n <BaseSelect.Item\n key={String(option.value)}\n value={option.value}\n disabled={option.disabled}\n className={cn(\n \"flex cursor-default items-center justify-between gap-2\",\n \"rounded-(--gryt-radius-md) px-3 py-2 text-sm text-gryt-text\",\n \"outline-none select-none data-highlighted:bg-gryt-surface-raised\",\n \"data-disabled:cursor-not-allowed data-disabled:opacity-50\"\n )}\n >\n <BaseSelect.ItemText>{option.label}</BaseSelect.ItemText>\n <BaseSelect.ItemIndicator className=\"text-gryt-accent\">\n <Check size={14} weight=\"bold\" />\n </BaseSelect.ItemIndicator>\n </BaseSelect.Item>\n ))}\n </BaseSelect.List>\n </BaseSelect.Popup>\n </BaseSelect.Positioner>\n </BaseSelect.Portal>\n </BaseSelect.Root>\n );\n}\n","import { Tooltip as BaseTooltip } from \"@base-ui/react/tooltip\";\nimport type { ReactElement, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { popupMotion } from \"../utils/styles\";\n\nexport interface TooltipProps {\n // Kept as a single-child wrapper rather than exposing Base UI's five parts.\n // Both MUI and Radix Themes spell a tooltip this way, so client call sites\n // move across unchanged, and a tooltip has no useful middle ground to\n // compose anyway.\n title: ReactNode;\n children: ReactElement;\n side?: \"top\" | \"bottom\" | \"left\" | \"right\";\n sideOffset?: number;\n className?: string;\n}\n\n// Hover delay is not set here — it belongs to Tooltip.Provider, which shares\n// timing across every tooltip so moving between two triggers does not restart\n// the wait. GrytProvider renders one; see its tooltipDelay prop.\nexport function Tooltip({\n children,\n className,\n side = \"top\",\n sideOffset = 8,\n title\n}: TooltipProps) {\n return (\n <BaseTooltip.Root>\n <BaseTooltip.Trigger render={children} />\n <BaseTooltip.Portal>\n <BaseTooltip.Positioner side={side} sideOffset={sideOffset}>\n <BaseTooltip.Popup\n className={cn(\n \"gryt-tooltip rounded-(--gryt-radius-md) border border-gryt-border bg-gryt-surface-raised\",\n \"px-2.5 py-1.5 text-xs text-gryt-text\",\n popupMotion,\n className\n )}\n >\n {title}\n </BaseTooltip.Popup>\n </BaseTooltip.Positioner>\n </BaseTooltip.Portal>\n </BaseTooltip.Root>\n );\n}\n\n// Base UI shares hover timing across tooltips through this provider, so moving\n// between two triggers skips the delay the second time. GrytProvider renders\n// one already; this is exported for apps that do not use GrytProvider.\nexport const TooltipProvider = BaseTooltip.Provider;\n","import { Separator } from \"@base-ui/react/separator\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface DividerProps\n extends Omit<ComponentPropsWithoutRef<typeof Separator>, \"className\"> {\n className?: string;\n}\n\nexport const Divider = forwardRef<HTMLDivElement, DividerProps>(\n function Divider({ className, orientation = \"horizontal\", ...props }, ref) {\n return (\n <Separator\n ref={ref}\n orientation={orientation}\n className={cn(\n \"gryt-divider bg-gryt-border\",\n orientation === \"vertical\" ? \"h-full w-px\" : \"h-px w-full\",\n className\n )}\n {...props}\n />\n );\n }\n);\n","import { forwardRef } from \"react\";\nimport type { HTMLAttributes, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type CardProps = HTMLAttributes<HTMLDivElement>;\n\nexport const Card = forwardRef<HTMLDivElement, CardProps>(function Card(\n { className, ...props },\n ref\n) {\n return (\n <div\n ref={ref}\n className={cn(\n \"gryt-card rounded-(--gryt-radius-xl) border border-gryt-border bg-gryt-surface text-gryt-text\",\n className\n )}\n {...props}\n />\n );\n});\n\nexport interface CardHeaderProps\n extends Omit<HTMLAttributes<HTMLDivElement>, \"title\"> {\n title?: ReactNode;\n subheader?: ReactNode;\n}\n\nexport function CardHeader({\n children,\n className,\n subheader,\n title,\n ...props\n}: CardHeaderProps) {\n return (\n <div\n className={cn(\"gryt-card-header flex flex-col gap-1 p-4\", className)}\n {...props}\n >\n {title ? (\n <span className=\"text-base font-semibold text-gryt-text\">{title}</span>\n ) : null}\n {subheader ? (\n <span className=\"text-sm text-gryt-muted\">{subheader}</span>\n ) : null}\n {children}\n </div>\n );\n}\n\nexport function CardContent({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\n \"gryt-card-content px-4 pb-4 text-sm text-gryt-muted\",\n className\n )}\n {...props}\n />\n );\n}\n\nexport function CardActions({\n className,\n ...props\n}: HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n className={cn(\n \"gryt-card-actions flex items-center gap-2 px-4 pb-4\",\n className\n )}\n {...props}\n />\n );\n}\n","import { forwardRef } from \"react\";\nimport type { HTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type AlertSeverity = \"info\" | \"success\" | \"warning\" | \"error\";\n\n// Tinted background at low alpha with a matching border, rather than a solid\n// fill — an alert should read as a note on the surface, not a block on top of\n// it.\nconst severityStyles: Record<AlertSeverity, string> = {\n info: \"border-gryt-secondary/40 bg-gryt-secondary/10 text-gryt-secondary\",\n success: \"border-gryt-success/40 bg-gryt-success/10 text-gryt-success\",\n warning: \"border-gryt-warning/40 bg-gryt-warning/10 text-gryt-warning\",\n error: \"border-gryt-danger/40 bg-gryt-danger/10 text-gryt-danger\"\n};\n\nexport interface AlertProps extends HTMLAttributes<HTMLDivElement> {\n severity?: AlertSeverity;\n}\n\nexport const Alert = forwardRef<HTMLDivElement, AlertProps>(function Alert(\n { className, severity = \"info\", ...props },\n ref\n) {\n return (\n <div\n ref={ref}\n role=\"alert\"\n className={cn(\n \"gryt-alert rounded-(--gryt-radius-lg) border px-4 py-3 text-sm\",\n severityStyles[severity],\n className\n )}\n {...props}\n />\n );\n});\n","import { Progress as BaseProgress } from \"@base-ui/react/progress\";\nimport { CircleNotch } from \"@phosphor-icons/react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport interface ProgressProps\n extends Omit<\n ComponentPropsWithoutRef<typeof BaseProgress.Root>,\n \"className\" | \"value\"\n > {\n className?: string;\n // Optional, unlike Base UI's own prop: omitting it gives an indeterminate\n // bar, which is the common case when there is no measurable total.\n value?: number | null;\n}\n\nexport function Progress({ className, value = null, ...props }: ProgressProps) {\n return (\n <BaseProgress.Root\n // null is Base UI's indeterminate, so the default has to be null rather\n // than undefined — undefined is not assignable to its value prop.\n value={value}\n className={cn(\"gryt-progress w-full\", className)}\n {...props}\n >\n <BaseProgress.Track className=\"h-1.5 w-full overflow-hidden rounded-(--gryt-radius-full) bg-gryt-surface-raised\">\n <BaseProgress.Indicator className=\"h-full rounded-(--gryt-radius-full) bg-gryt-accent transition-[width] duration-(--gryt-dur-spring-soft) ease-spring motion-reduce:transition-none\" />\n </BaseProgress.Track>\n </BaseProgress.Root>\n );\n}\n\nexport interface SpinnerProps {\n size?: number;\n className?: string;\n \"aria-label\"?: string;\n}\n\n// Base UI has no spinner — an indeterminate circular indicator is animation\n// rather than behaviour. Phosphor's CircleNotch is the shape, and the spin is\n// a Tailwind utility.\nexport function Spinner({\n className,\n size = 24,\n \"aria-label\": ariaLabel = \"Loading\"\n}: SpinnerProps) {\n return (\n <CircleNotch\n role=\"status\"\n aria-label={ariaLabel}\n size={size}\n weight=\"bold\"\n className={cn(\n \"gryt-spinner text-gryt-accent motion-safe:animate-spin\",\n className\n )}\n />\n );\n}\n","import type { CSSProperties, HTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type SkeletonVariant = \"text\" | \"rounded\" | \"circular\" | \"rectangular\";\n\nconst variantStyles: Record<SkeletonVariant, string> = {\n text: \"h-4 rounded-(--gryt-radius-sm)\",\n rounded: \"rounded-(--gryt-radius-lg)\",\n circular: \"rounded-(--gryt-radius-full)\",\n rectangular: \"rounded-none\"\n};\n\nexport interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {\n variant?: SkeletonVariant;\n width?: number | string;\n height?: number | string;\n}\n\nexport function Skeleton({\n className,\n height,\n style,\n variant = \"text\",\n width,\n ...props\n}: SkeletonProps) {\n const sizing: CSSProperties = {\n width,\n height,\n ...style\n };\n\n return (\n <div\n aria-hidden=\"true\"\n className={cn(\n \"gryt-skeleton bg-gryt-surface-raised motion-safe:animate-pulse\",\n variantStyles[variant],\n className\n )}\n style={sizing}\n {...props}\n />\n );\n}\n","import { Dialog as BaseDialog } from \"@base-ui/react/dialog\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef, HTMLAttributes } from \"react\";\nimport { cn } from \"../utils/cn\";\n\n// Base UI drives enter and exit animation through data-starting-style and\n// data-ending-style, which it sets for one frame either side of the transition.\n// The element has to carry the transition itself; there is no JS timing.\nconst motion =\n \"transition-[opacity,scale,translate] duration-(--gryt-dur-spring) ease-spring motion-reduce:transition-none\";\n\nexport type DialogBackdropProps = ComponentPropsWithoutRef<\n typeof BaseDialog.Backdrop\n>;\n\nconst Backdrop = forwardRef<HTMLDivElement, DialogBackdropProps>(\n function DialogBackdrop({ className, ...props }, ref) {\n return (\n <BaseDialog.Backdrop\n ref={ref}\n className={cn(\n \"gryt-dialog-backdrop fixed inset-0 min-h-dvh bg-black/60\",\n \"backdrop-blur-(--gryt-backdrop-blur)\",\n motion,\n \"data-starting-style:opacity-0 data-ending-style:opacity-0\",\n className\n )}\n {...props}\n />\n );\n }\n);\n\nexport type DialogPopupProps = ComponentPropsWithoutRef<\n typeof BaseDialog.Popup\n>;\n\nconst Popup = forwardRef<HTMLDivElement, DialogPopupProps>(\n function DialogPopup({ className, ...props }, ref) {\n return (\n <BaseDialog.Popup\n ref={ref}\n className={cn(\n \"gryt-dialog fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2\",\n \"flex w-96 max-w-[calc(100vw-3rem)] flex-col gap-4\",\n \"rounded-(--gryt-radius-lg) border border-gryt-border bg-gryt-surface p-5 text-gryt-text\",\n motion,\n \"data-starting-style:scale-[0.98] data-starting-style:opacity-0\",\n \"data-ending-style:scale-[0.98] data-ending-style:opacity-0\",\n className\n )}\n {...props}\n />\n );\n }\n);\n\nexport type DialogTitleProps = ComponentPropsWithoutRef<\n typeof BaseDialog.Title\n>;\n\nconst Title = forwardRef<HTMLHeadingElement, DialogTitleProps>(\n function DialogTitle({ className, ...props }, ref) {\n return (\n <BaseDialog.Title\n ref={ref}\n className={cn(\n \"gryt-dialog-title text-base font-semibold text-gryt-text\",\n className\n )}\n {...props}\n />\n );\n }\n);\n\nexport type DialogDescriptionProps = ComponentPropsWithoutRef<\n typeof BaseDialog.Description\n>;\n\nconst Description = forwardRef<HTMLParagraphElement, DialogDescriptionProps>(\n function DialogDescription({ className, ...props }, ref) {\n return (\n <BaseDialog.Description\n ref={ref}\n className={cn(\n \"gryt-dialog-description text-sm text-gryt-muted\",\n className\n )}\n {...props}\n />\n );\n }\n);\n\nexport type DialogFooterProps = HTMLAttributes<HTMLDivElement>;\n\n// Replaces MUI's DialogActions. Base UI has no equivalent part, because it is\n// a plain row of buttons and nothing about it needs behaviour.\nconst Footer = forwardRef<HTMLDivElement, DialogFooterProps>(\n function DialogFooter({ className, ...props }, ref) {\n return (\n <div\n ref={ref}\n className={cn(\n \"gryt-dialog-footer flex justify-end gap-3\",\n className\n )}\n {...props}\n />\n );\n }\n);\n\nexport const Dialog = {\n Root: BaseDialog.Root,\n Trigger: BaseDialog.Trigger,\n Portal: BaseDialog.Portal,\n Close: BaseDialog.Close,\n Backdrop,\n Popup,\n Title,\n Description,\n Footer\n};\n","import { Dialog as BaseDialog } from \"@base-ui/react/dialog\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\n\nexport type DrawerSide = \"left\" | \"right\" | \"top\" | \"bottom\";\n\n// Base UI has no drawer part. A drawer is a dialog pinned to an edge, and it\n// wants the same focus trap, escape handling and scroll lock, so it is built\n// on Dialog rather than reinvented.\n// The panel is --gryt-drawer-bleed longer than it looks and hangs that much\n// off-screen, with matching padding so the content sits where it would have.\n// A spring settles onto its target from both directions; without the bleed,\n// the moment it sits a fraction short of flush you get a seam of backdrop down\n// the edge. Overrunning the edge means an undershoot reveals more drawer.\nconst sideStyles: Record<DrawerSide, string> = {\n left: \"inset-y-0 -left-(--gryt-drawer-bleed) h-full w-[calc(20rem+var(--gryt-drawer-bleed))] max-w-[calc(85vw+var(--gryt-drawer-bleed))] border-r py-5 pr-5 pl-[calc(1.25rem+var(--gryt-drawer-bleed))] data-starting-style:-translate-x-full data-ending-style:-translate-x-full\",\n right:\n \"inset-y-0 -right-(--gryt-drawer-bleed) h-full w-[calc(20rem+var(--gryt-drawer-bleed))] max-w-[calc(85vw+var(--gryt-drawer-bleed))] border-l py-5 pl-5 pr-[calc(1.25rem+var(--gryt-drawer-bleed))] data-starting-style:translate-x-full data-ending-style:translate-x-full\",\n top: \"inset-x-0 -top-(--gryt-drawer-bleed) h-auto max-h-[calc(85vh+var(--gryt-drawer-bleed))] w-full border-b px-5 pb-5 pt-[calc(1.25rem+var(--gryt-drawer-bleed))] data-starting-style:-translate-y-full data-ending-style:-translate-y-full\",\n bottom:\n \"inset-x-0 -bottom-(--gryt-drawer-bleed) h-auto max-h-[calc(85vh+var(--gryt-drawer-bleed))] w-full border-t px-5 pt-5 pb-[calc(1.25rem+var(--gryt-drawer-bleed))] data-starting-style:translate-y-full data-ending-style:translate-y-full\"\n};\n\nexport type DrawerPopupProps = ComponentPropsWithoutRef<\n typeof BaseDialog.Popup\n> & {\n side?: DrawerSide;\n};\n\nconst Popup = forwardRef<HTMLDivElement, DrawerPopupProps>(function DrawerPopup(\n { className, side = \"right\", ...props },\n ref\n) {\n return (\n <BaseDialog.Popup\n ref={ref}\n className={cn(\n \"gryt-drawer fixed z-50 flex flex-col gap-4 border-gryt-border bg-gryt-surface text-gryt-text\",\n \"transition-transform duration-(--gryt-dur-spring-soft) ease-spring motion-reduce:transition-none\",\n sideStyles[side],\n className\n )}\n {...props}\n />\n );\n});\n\nconst Backdrop = forwardRef<\n HTMLDivElement,\n ComponentPropsWithoutRef<typeof BaseDialog.Backdrop>\n>(function DrawerBackdrop({ className, ...props }, ref) {\n return (\n <BaseDialog.Backdrop\n ref={ref}\n className={cn(\n \"gryt-drawer-backdrop fixed inset-0 min-h-dvh bg-black/60\",\n \"backdrop-blur-(--gryt-backdrop-blur)\",\n \"transition-opacity duration-(--gryt-dur-spring-soft) ease-spring motion-reduce:transition-none\",\n \"data-starting-style:opacity-0 data-ending-style:opacity-0\",\n className\n )}\n {...props}\n />\n );\n});\n\nexport const Drawer = {\n Root: BaseDialog.Root,\n Trigger: BaseDialog.Trigger,\n Portal: BaseDialog.Portal,\n Close: BaseDialog.Close,\n Title: BaseDialog.Title,\n Description: BaseDialog.Description,\n Backdrop,\n Popup\n};\n","import { Menu as BaseMenu } from \"@base-ui/react/menu\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { popupMotion, popupSurface } from \"../utils/styles\";\n\nexport type MenuPopupProps = ComponentPropsWithoutRef<typeof BaseMenu.Popup>;\nexport type MenuItemProps = ComponentPropsWithoutRef<typeof BaseMenu.Item>;\nexport type MenuPositionerProps = ComponentPropsWithoutRef<\n typeof BaseMenu.Positioner\n>;\n\nconst Positioner = forwardRef<HTMLDivElement, MenuPositionerProps>(\n function MenuPositioner({ className, sideOffset = 8, ...props }, ref) {\n return (\n <BaseMenu.Positioner\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\"gryt-menu-positioner outline-none\", className)}\n {...props}\n />\n );\n }\n);\n\nconst Popup = forwardRef<HTMLDivElement, MenuPopupProps>(function MenuPopup(\n { className, ...props },\n ref\n) {\n return (\n <BaseMenu.Popup\n ref={ref}\n className={cn(\n \"gryt-menu min-w-44 p-1 outline-none\",\n popupSurface,\n popupMotion,\n className\n )}\n {...props}\n />\n );\n});\n\nconst Item = forwardRef<HTMLDivElement, MenuItemProps>(function MenuItem(\n { className, ...props },\n ref\n) {\n return (\n <BaseMenu.Item\n ref={ref}\n className={cn(\n \"gryt-menu-item flex cursor-default items-center gap-2 rounded-(--gryt-radius-md)\",\n \"px-3 py-2 text-sm text-gryt-text outline-none select-none\",\n // Base UI drives keyboard and pointer highlight through the same\n // attribute, so arrow keys and the mouse land on identical styling.\n \"data-highlighted:bg-gryt-surface-raised\",\n \"data-disabled:cursor-not-allowed data-disabled:opacity-50\",\n className\n )}\n {...props}\n />\n );\n});\n\nconst Separator = forwardRef<\n HTMLDivElement,\n ComponentPropsWithoutRef<typeof BaseMenu.Separator>\n>(function MenuSeparator({ className, ...props }, ref) {\n return (\n <BaseMenu.Separator\n ref={ref}\n className={cn(\"gryt-menu-separator my-1 h-px bg-gryt-border\", className)}\n {...props}\n />\n );\n});\n\nexport const Menu = {\n Root: BaseMenu.Root,\n Trigger: BaseMenu.Trigger,\n Portal: BaseMenu.Portal,\n Positioner,\n Popup,\n Item,\n Separator\n};\n","import { Tabs as BaseTabs } from \"@base-ui/react/tabs\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { focusRing } from \"../utils/styles\";\n\nexport type TabsProps = ComponentPropsWithoutRef<typeof BaseTabs.Root>;\nexport type TabsListProps = ComponentPropsWithoutRef<typeof BaseTabs.List>;\nexport type TabProps = ComponentPropsWithoutRef<typeof BaseTabs.Tab>;\nexport type TabsPanelProps = ComponentPropsWithoutRef<typeof BaseTabs.Panel>;\n\nconst Root = forwardRef<HTMLDivElement, TabsProps>(function TabsRoot(\n { className, ...props },\n ref\n) {\n return (\n <BaseTabs.Root\n ref={ref}\n className={cn(\"gryt-tabs\", className)}\n {...props}\n />\n );\n});\n\nconst List = forwardRef<HTMLDivElement, TabsListProps>(function TabsList(\n { className, ...props },\n ref\n) {\n return (\n <BaseTabs.List\n ref={ref}\n className={cn(\n \"gryt-tabs-list relative inline-flex items-center gap-1 rounded-(--gryt-radius-full) bg-gryt-surface-raised p-1\",\n className\n )}\n {...props}\n />\n );\n});\n\nconst Tab = forwardRef<HTMLButtonElement, TabProps>(function Tab(\n { className, ...props },\n ref\n) {\n return (\n <BaseTabs.Tab\n ref={ref}\n className={cn(\n \"gryt-tab inline-flex min-h-8 items-center justify-center whitespace-nowrap\",\n \"rounded-(--gryt-radius-full) border-0 bg-transparent px-4 py-1.5\",\n \"text-sm font-medium text-gryt-muted select-none\",\n \"relative z-10 transition-colors duration-150 hover:text-gryt-text\",\n // Base UI marks the selected tab with data-active, not data-selected.\n // The fill moved to Indicator so it can travel between tabs; the tab\n // itself only changes its text colour.\n \"data-active:text-gryt-on-accent\",\n focusRing,\n className\n )}\n {...props}\n />\n );\n});\n\nexport type TabsIndicatorProps = ComponentPropsWithoutRef<\n typeof BaseTabs.Indicator\n>;\n\n// Base UI measures the active tab and publishes --active-tab-left and\n// --active-tab-width, which is what lets the pill slide rather than jump.\n// renderBeforeHydration keeps it positioned on the first paint instead of\n// animating in from the left edge.\nconst Indicator = forwardRef<HTMLSpanElement, TabsIndicatorProps>(\n function TabsIndicator({ className, ...props }, ref) {\n return (\n <BaseTabs.Indicator\n ref={ref}\n renderBeforeHydration\n className={cn(\n \"gryt-tabs-indicator absolute top-1 left-0 z-0 h-[calc(100%-0.5rem)]\",\n \"w-(--active-tab-width) translate-x-(--active-tab-left)\",\n \"rounded-(--gryt-radius-full) bg-gryt-accent\",\n \"transition-[translate,width] duration-(--gryt-dur-spring) ease-spring\",\n \"motion-reduce:transition-none\",\n className\n )}\n {...props}\n />\n );\n }\n);\n\nconst Panel = forwardRef<HTMLDivElement, TabsPanelProps>(function TabsPanel(\n { className, ...props },\n ref\n) {\n return (\n <BaseTabs.Panel\n ref={ref}\n className={cn(\"gryt-tabs-panel pt-3 text-sm text-gryt-text\", className)}\n {...props}\n />\n );\n});\n\nexport const Tabs = Object.assign(Root, { List, Tab, Panel, Indicator });\nexport { Tab };\n","import { Accordion as BaseAccordion } from \"@base-ui/react/accordion\";\nimport { CaretDown } from \"@phosphor-icons/react\";\nimport { forwardRef } from \"react\";\nimport type { ComponentPropsWithoutRef, ReactNode } from \"react\";\nimport { cn } from \"../utils/cn\";\nimport { focusRing } from \"../utils/styles\";\n\nexport type AccordionProps = ComponentPropsWithoutRef<\n typeof BaseAccordion.Root\n>;\nexport type AccordionItemProps = ComponentPropsWithoutRef<\n typeof BaseAccordion.Item\n>;\nexport type AccordionPanelProps = ComponentPropsWithoutRef<\n typeof BaseAccordion.Panel\n>;\n\nconst Root = forwardRef<HTMLDivElement, AccordionProps>(function AccordionRoot(\n { className, ...props },\n ref\n) {\n return (\n <BaseAccordion.Root\n ref={ref}\n className={cn(\n \"gryt-accordion flex w-full flex-col gap-2 rounded-(--gryt-radius-xl) border border-gryt-border bg-gryt-surface p-2\",\n className\n )}\n {...props}\n />\n );\n});\n\nconst Item = forwardRef<HTMLDivElement, AccordionItemProps>(\n function AccordionItem({ className, ...props }, ref) {\n return (\n <BaseAccordion.Item\n ref={ref}\n className={cn(\"gryt-accordion-item\", className)}\n {...props}\n />\n );\n }\n);\n\nexport interface AccordionTriggerProps\n extends ComponentPropsWithoutRef<typeof BaseAccordion.Trigger> {\n // Defaults to a caret that rotates when the panel opens. Pass one to\n // override it, or null for no indicator at all.\n expandIcon?: ReactNode;\n}\n\nconst Trigger = forwardRef<HTMLButtonElement, AccordionTriggerProps>(\n function AccordionTrigger({ children, className, expandIcon, ...props }, ref) {\n return (\n <BaseAccordion.Header className=\"gryt-accordion-header m-0\">\n <BaseAccordion.Trigger\n ref={ref}\n className={cn(\n \"gryt-accordion-trigger flex w-full items-center justify-between gap-3\",\n \"rounded-(--gryt-radius-lg) border-0 bg-transparent px-3 py-2.5\",\n \"text-left text-sm font-medium text-gryt-text select-none\",\n \"transition-colors duration-150 hover:bg-gryt-surface-raised\",\n focusRing,\n className\n )}\n {...props}\n >\n {children}\n {expandIcon === undefined ? (\n <CaretDown\n size={16}\n // Base UI flags the open panel on the trigger, so the caret needs\n // no state of its own.\n className=\"shrink-0 transition-transform duration-(--gryt-dur-spring) ease-spring data-panel-open:rotate-180 motion-reduce:transition-none\"\n />\n ) : (\n expandIcon\n )}\n </BaseAccordion.Trigger>\n </BaseAccordion.Header>\n );\n }\n);\n\nconst Panel = forwardRef<HTMLDivElement, AccordionPanelProps>(\n function AccordionPanel({ children, className, ...props }, ref) {\n return (\n <BaseAccordion.Panel\n ref={ref}\n className={cn(\n \"gryt-accordion-panel overflow-hidden text-sm text-gryt-muted\",\n // Base UI measures the panel and exposes the height as a variable,\n // which is what makes a real open and close transition possible.\n \"h-[var(--accordion-panel-height)] transition-[height] duration-(--gryt-dur-spring-soft) ease-spring\",\n \"data-starting-style:h-0 data-ending-style:h-0\",\n \"motion-reduce:transition-none\",\n className\n )}\n {...props}\n >\n <div className=\"px-3 pt-1 pb-3\">{children}</div>\n </BaseAccordion.Panel>\n );\n }\n);\n\nexport const Accordion = Object.assign(Root, { Item, Trigger, Panel });\n"],"names":["grytTokens","createGrytTheme","options","color","radius","isCssVariables","value","key","GrytProvider","children","className","theme","tooltipDelay","style","jsx","Tooltip","cn","inputs","twMerge","clsx","toneStyles","sizeStyles","Button","forwardRef","endIcon","size","startIcon","tone","props","ref","jsxs","BaseButton","focusRing","popupSurface","popupMotion","disabledState","toneCheckedFill","toneBg","toneCheckedBorder","toneCheckedBg","IconButton","Surface","elevated","MessageBubble","from","TextField","error","fieldClassName","helperText","label","minRows","multiline","control","Field","Composer","disabled","maxRows","onSubmit","placeholder","submitLabel","innerRef","useRef","resize","useCallback","node","styles","lineHeight","vertical","useLayoutEffect","handleSubmit","event","PaperPlaneTilt","Avatar","alt","fallback","src","BaseAvatar","ConversationItem","active","avatar","subtitle","title","Badge","badgeContent","max","showZero","numeric","hidden","display","Chip","icon","onDelete","X","Checkbox","BaseCheckbox","Check","Radio","BaseRadio","RadioGroup","BaseRadioGroup","Switch","BaseSwitch","Slider","ariaLabel","BaseSlider","Select","BaseSelect","CaretUpDown","option","side","sideOffset","BaseTooltip","TooltipProvider","Divider","orientation","Separator","Card","CardHeader","subheader","CardContent","CardActions","severityStyles","Alert","severity","Progress","BaseProgress","Spinner","CircleNotch","variantStyles","Skeleton","height","variant","width","sizing","motion","Backdrop","BaseDialog","Popup","Title","Description","Footer","Dialog","sideStyles","Drawer","Positioner","BaseMenu","Item","Menu","Root","BaseTabs","List","Tab","Indicator","Panel","Tabs","BaseAccordion","Trigger","expandIcon","CaretDown","Accordion"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEO,MAAMA,IAAa;AAAA,EACxB,OAAO;AAAA,IACL,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,eAAe;AAAA,IACf,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,aAAa;AAAA,IACb,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,aAAa;AAAA,IACb,SAAS;AAAA,IACT,UAAU;AAAA,IACV,aAAa;AAAA,IACb,UAAU;AAAA,EAAA;AAAA,EAEZ,QAAQ;AAAA,IACN,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,MAAM;AAAA,EAA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