import { describe, expect, it } from 'vitest';
import { tokens } from '../../layout/primitives/tokens.js';
import * as primitives from '../../layout/primitives/index.js';
describe('layout primitive tokens', () => {
    it('exposes the canonical spacing scale', () => {
        expect(tokens.space['0']).toBe(0);
        expect(tokens.space['1']).toBe(4);
        expect(tokens.space['4']).toBe(16);
        expect(tokens.space['8']).toBe(32);
    });
    it('exposes the canonical radius scale', () => {
        expect(tokens.radius.none).toBe(0);
        expect(tokens.radius.md).toBe(6);
        expect(tokens.radius.full).toBe(9999);
    });
    it('exposes the canonical breakpoint scale', () => {
        expect(tokens.breakpoint.sm).toBe(640);
        expect(tokens.breakpoint.md).toBe(768);
        expect(tokens.breakpoint.lg).toBe(1024);
    });
});
describe('layout primitives exports', () => {
    it('re-exports every public primitive', () => {
        expect(typeof primitives.AdminShell).toBe('function');
        expect(typeof primitives.PageContainer).toBe('function');
        expect(typeof primitives.Stack).toBe('function');
        expect(typeof primitives.Cluster).toBe('function');
        expect(typeof primitives.Grid).toBe('function');
        expect(typeof primitives.Split).toBe('function');
        expect(typeof primitives.Box).toBe('object');
        expect(typeof primitives.tokens).toBe('object');
    });
});
//# sourceMappingURL=primitives.test.js.map