Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { BoxProps, ElementProps, Factory, StylesApiProps } from '@mantine/core';
import { DateStringValue } from '../../types';
import { DecadeLevelSettings, DecadeLevelStylesNames } from '../DecadeLevel';
import { LevelsGroupStylesNames } from '../LevelsGroup';
export type DecadeLevelGroupStylesNames = LevelsGroupStylesNames | DecadeLevelStylesNames;
export interface DecadeLevelGroupProps extends BoxProps, Omit<StylesApiProps<DecadeLevelGroupFactory>, 'classNames' | 'styles'>, Omit<DecadeLevelSettings, 'withPrevious' | 'withNext' | '__onControlKeyDown' | '__getControlRef'>, ElementProps<'div'> {
classNames?: Partial<Record<string, string>>;
styles?: Partial<Record<string, React.CSSProperties>>;
__staticSelector?: string;
/** Number of columns to display next to each other */
numberOfColumns?: number;
/** Displayed decade */
decade: DateStringValue;
/** Function that returns level control `aria-label` based on year date */
levelControlAriaLabel?: ((decade: DateStringValue) => string) | string;
}
export type DecadeLevelGroupFactory = Factory<{
props: DecadeLevelGroupProps;
ref: HTMLDivElement;
stylesNames: DecadeLevelGroupStylesNames;
}>;
export declare const DecadeLevelGroup: import("@mantine/core").MantineComponent<{
props: DecadeLevelGroupProps;
ref: HTMLDivElement;
stylesNames: DecadeLevelGroupStylesNames;
}>;

View File

@@ -0,0 +1,2 @@
export { DecadeLevelGroup } from './DecadeLevelGroup';
export type { DecadeLevelGroupFactory, DecadeLevelGroupProps, DecadeLevelGroupStylesNames, } from './DecadeLevelGroup';