Rocky_Mountain_Vending/.pnpm-store/v10/files/e3/2c1e66052b2ab00dc3ee7dafda48b1e2661f2dde39b2a3cf7168cf0c9ce8378cc91e710e944055559bb8e94adab4dc0857923b7aa19c91daf8d98b2ae0c59c
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

37 lines
1.1 KiB
Text

import { UI, DayFlag, SelectionState, Animation } from "../UI.js";
import type { ClassNames } from "../types/index.js";
/**
* Returns the default class names for the UI elements.
*
* This function generates a mapping of default class names for various UI
* elements, day flags, selection states, and animations.
*
* @returns An object containing the default class names.
* @group Utilities
*/
export function getDefaultClassNames(): ClassNames {
const classNames: Partial<Required<ClassNames>> = {};
for (const key in UI) {
classNames[UI[key as keyof typeof UI]] =
`rdp-${UI[key as keyof typeof UI]}`;
}
for (const key in DayFlag) {
classNames[DayFlag[key as keyof typeof DayFlag]] =
`rdp-${DayFlag[key as keyof typeof DayFlag]}`;
}
for (const key in SelectionState) {
classNames[SelectionState[key as keyof typeof SelectionState]] =
`rdp-${SelectionState[key as keyof typeof SelectionState]}`;
}
for (const key in Animation) {
classNames[Animation[key as keyof typeof Animation]] =
`rdp-${Animation[key as keyof typeof Animation]}`;
}
return classNames as Required<ClassNames>;
}