@nikkory/vibe-engine 4.0.3 → 4.0.5
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/package.json +11 -1
- package/PUBLISH-GUIDE.md +0 -250
- package/PUBLISH-SUCCESS.md +0 -370
- package/tests/16-factor-integration.test.d.ts +0 -14
- package/tests/16-factor-visual.test.d.ts +0 -14
- package/tests/5-level-integration.test.d.ts +0 -14
- package/tests/CodeUtils.test.d.ts +0 -7
- package/tests/DesignSystems.test.d.ts +0 -7
- package/tests/GenerateComponentValidator.test.d.ts +0 -7
- package/tests/Logger.test.d.ts +0 -7
- package/tests/StringUtils.test.d.ts +0 -7
- package/tests/StyleGenerator.test.d.ts +0 -13
- package/tests/Tiers.test.d.ts +0 -7
- package/tests/TokenRegistry.test.d.ts +0 -14
- package/tests/TokenStyleResolver.test.d.ts +0 -13
- package/tests/ValidationUtils.test.d.ts +0 -7
- package/tests/_pending_fix/Accordion.test.d.ts +0 -13
- package/tests/_pending_fix/Alert.test.d.ts +0 -13
- package/tests/_pending_fix/AlertDialog.test.d.ts +0 -13
- package/tests/_pending_fix/AspectRatio.test.d.ts +0 -13
- package/tests/_pending_fix/Autocomplete.test.d.ts +0 -13
- package/tests/_pending_fix/Avatar.test.d.ts +0 -13
- package/tests/_pending_fix/Badge.test.d.ts +0 -13
- package/tests/_pending_fix/Banner.test.d.ts +0 -13
- package/tests/_pending_fix/Box.test.d.ts +0 -13
- package/tests/_pending_fix/Breadcrumb.test.d.ts +0 -13
- package/tests/_pending_fix/Callout.test.d.ts +0 -13
- package/tests/_pending_fix/Card.test.d.ts +0 -13
- package/tests/_pending_fix/Center.test.d.ts +0 -13
- package/tests/_pending_fix/Checkbox.test.d.ts +0 -13
- package/tests/_pending_fix/Chip.test.d.ts +0 -13
- package/tests/_pending_fix/ColorPicker.test.d.ts +0 -13
- package/tests/_pending_fix/Combobox.test.d.ts +0 -13
- package/tests/_pending_fix/CommandPalette.test.d.ts +0 -13
- package/tests/_pending_fix/ConfirmationModal.test.d.ts +0 -13
- package/tests/_pending_fix/Container.test.d.ts +0 -13
- package/tests/_pending_fix/DataTable.test.d.ts +0 -13
- package/tests/_pending_fix/DatePicker.test.d.ts +0 -13
- package/tests/_pending_fix/DateRangePicker.test.d.ts +0 -13
- package/tests/_pending_fix/DateTimePicker.test.d.ts +0 -13
- package/tests/_pending_fix/Divider.test.d.ts +0 -13
- package/tests/_pending_fix/Drawer.test.d.ts +0 -13
- package/tests/_pending_fix/Dropdown.test.d.ts +0 -13
- package/tests/_pending_fix/EmptyState.test.d.ts +0 -13
- package/tests/_pending_fix/ErrorState.test.d.ts +0 -13
- package/tests/_pending_fix/FileDropzone.test.d.ts +0 -13
- package/tests/_pending_fix/FileUpload.test.d.ts +0 -13
- package/tests/_pending_fix/Flex.test.d.ts +0 -13
- package/tests/_pending_fix/Grid.test.d.ts +0 -13
- package/tests/_pending_fix/GridItem.test.d.ts +0 -13
- package/tests/_pending_fix/HStack.test.d.ts +0 -13
- package/tests/_pending_fix/Input.test.d.ts +0 -13
- package/tests/_pending_fix/InputCurrency.test.d.ts +0 -13
- package/tests/_pending_fix/InputGroup.test.d.ts +0 -13
- package/tests/_pending_fix/InputOTP.test.d.ts +0 -13
- package/tests/_pending_fix/InputPassword.test.d.ts +0 -13
- package/tests/_pending_fix/InputPhone.test.d.ts +0 -13
- package/tests/_pending_fix/InputSearch.test.d.ts +0 -13
- package/tests/_pending_fix/Link.test.d.ts +0 -13
- package/tests/_pending_fix/List.test.d.ts +0 -13
- package/tests/_pending_fix/LoadingOverlay.test.d.ts +0 -13
- package/tests/_pending_fix/Menu.test.d.ts +0 -13
- package/tests/_pending_fix/Modal.test.d.ts +0 -13
- package/tests/_pending_fix/MultiSelect.test.d.ts +0 -13
- package/tests/_pending_fix/NavGroup.test.d.ts +0 -13
- package/tests/_pending_fix/NavItem.test.d.ts +0 -13
- package/tests/_pending_fix/NavLink.test.d.ts +0 -13
- package/tests/_pending_fix/Navbar.test.d.ts +0 -13
- package/tests/_pending_fix/Notification.test.d.ts +0 -13
- package/tests/_pending_fix/NotificationBadge.test.d.ts +0 -13
- package/tests/_pending_fix/NumberInput.test.d.ts +0 -13
- package/tests/_pending_fix/Pagination.test.d.ts +0 -13
- package/tests/_pending_fix/Popover.test.d.ts +0 -13
- package/tests/_pending_fix/Progress.test.d.ts +0 -13
- package/tests/_pending_fix/ProgressCircle.test.d.ts +0 -13
- package/tests/_pending_fix/ProgressSteps.test.d.ts +0 -13
- package/tests/_pending_fix/Radio.test.d.ts +0 -13
- package/tests/_pending_fix/RangeSlider.test.d.ts +0 -13
- package/tests/_pending_fix/ResizablePanel.test.d.ts +0 -13
- package/tests/_pending_fix/ResultState.test.d.ts +0 -13
- package/tests/_pending_fix/ScrollArea.test.d.ts +0 -13
- package/tests/_pending_fix/Select.test.d.ts +0 -14
- package/tests/_pending_fix/Sheet.test.d.ts +0 -13
- package/tests/_pending_fix/Sidebar.test.d.ts +0 -13
- package/tests/_pending_fix/SimpleGrid.test.d.ts +0 -13
- package/tests/_pending_fix/Skeleton.test.d.ts +0 -13
- package/tests/_pending_fix/Slider.test.d.ts +0 -13
- package/tests/_pending_fix/Spacer.test.d.ts +0 -13
- package/tests/_pending_fix/Spinner.test.d.ts +0 -13
- package/tests/_pending_fix/Stack.test.d.ts +0 -13
- package/tests/_pending_fix/Stat.test.d.ts +0 -13
- package/tests/_pending_fix/Stepper.test.d.ts +0 -14
- package/tests/_pending_fix/Switch.test.d.ts +0 -13
- package/tests/_pending_fix/Table.test.d.ts +0 -13
- package/tests/_pending_fix/Tabs.test.d.ts +0 -13
- package/tests/_pending_fix/Textarea.test.d.ts +0 -13
- package/tests/_pending_fix/Timeline.test.d.ts +0 -13
- package/tests/_pending_fix/Toast.test.d.ts +0 -14
- package/tests/_pending_fix/Tooltip.test.d.ts +0 -14
- package/tests/_pending_fix/VStack.test.d.ts +0 -13
- package/tests/alert.test.d.ts +0 -13
- package/tests/badge.test.d.ts +0 -13
- package/tests/benchmarks/factor-resolution.bench.d.ts +0 -41
- package/tests/button.test.d.ts +0 -16
- package/tests/card.test.d.ts +0 -19
- package/tests/checkbox.test.d.ts +0 -13
- package/tests/component-16-factor-types.test.d.ts +0 -13
- package/tests/component-5level-integration.test.d.ts +0 -14
- package/tests/component-registry-ui.test.d.ts +0 -13
- package/tests/e2e/16-factor-visual.test.d.ts +0 -14
- package/tests/edge-cases.test.d.ts +0 -14
- package/tests/factor-17-24-integration.test.d.ts +0 -14
- package/tests/factor-17-24-performance.test.d.ts +0 -14
- package/tests/factor-validators.test.d.ts +0 -13
- package/tests/factors-1-6.test.d.ts +0 -13
- package/tests/factors-12-16.test.d.ts +0 -13
- package/tests/factors-17-24.test.d.ts +0 -21
- package/tests/factors-all.test.d.ts +0 -13
- package/tests/factors-registry.test.d.ts +0 -11
- package/tests/factors.test.d.ts +0 -13
- package/tests/granularity-types.test.d.ts +0 -18
- package/tests/groups.test.d.ts +0 -14
- package/tests/input.test.d.ts +0 -16
- package/tests/intents.test.d.ts +0 -14
- package/tests/memory-leak.test.d.ts +0 -14
- package/tests/modal.test.d.ts +0 -19
- package/tests/presets.test.d.ts +0 -14
- package/tests/radio.test.d.ts +0 -13
- package/tests/resolution-intents.test.d.ts +0 -13
- package/tests/resolution-presets.test.d.ts +0 -13
- package/tests/resolveProps.test.d.ts +0 -14
- package/tests/section-integration.test.d.ts +0 -16
- package/tests/section-types.test.d.ts +0 -11
- package/tests/setup.d.ts +0 -13
- package/tests/shorthands.test.d.ts +0 -14
- package/tests/switch.test.d.ts +0 -13
- package/tests/tabs.test.d.ts +0 -13
- package/tests/tiers-registry.test.d.ts +0 -11
- package/tests/useComponentStyles.test.d.ts +0 -11
- package/tests/useFactors.test.d.ts +0 -13
- package/tests/validators-invalid-input.test.d.ts +0 -13
- package/tsup.config.d.ts +0 -11
- package/vitest.config.d.ts +0 -3
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 16-Factor Resolution Performance Benchmark
|
|
3
|
-
*
|
|
4
|
-
* Measures the performance overhead of factor resolution in generateStyles().
|
|
5
|
-
* Run with: pnpm --filter @nikkory/vibe-core test:bench
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module benchmarks/factor-resolution
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
/**
|
|
15
|
-
* Expected Performance Baselines (on M1 MacBook Pro):
|
|
16
|
-
*
|
|
17
|
-
* generateStyles():
|
|
18
|
-
* - minimal config: ~0.05ms (50μs)
|
|
19
|
-
* - basic config: ~0.08ms (80μs)
|
|
20
|
-
* - Factor 1-6: ~0.12ms (120μs)
|
|
21
|
-
* - Factor 7-11: ~0.15ms (150μs)
|
|
22
|
-
* - Factor 12-16: ~0.18ms (180μs)
|
|
23
|
-
* - full 16-Factor: ~0.25ms (250μs)
|
|
24
|
-
*
|
|
25
|
-
* Individual functions:
|
|
26
|
-
* - applyFactors1to6: ~0.02ms (20μs)
|
|
27
|
-
* - applyFactors: ~0.03ms (30μs)
|
|
28
|
-
* - applyFactors12to16: ~0.04ms (40μs)
|
|
29
|
-
* - applyAllFactors: ~0.08ms (80μs)
|
|
30
|
-
*
|
|
31
|
-
* Scaling:
|
|
32
|
-
* - 10 components: ~2.5ms
|
|
33
|
-
* - 50 components: ~12.5ms
|
|
34
|
-
* - 100 components: ~25ms
|
|
35
|
-
*
|
|
36
|
-
* Performance Budget:
|
|
37
|
-
* - Single component: < 1ms
|
|
38
|
-
* - Initial page load (50 components): < 50ms
|
|
39
|
-
* - Full render (100 components): < 100ms
|
|
40
|
-
*/
|
|
41
|
-
//# sourceMappingURL=factor-resolution.bench.d.ts.map
|
package/tests/button.test.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Button Component Tests
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive tests for Button component across all tiers:
|
|
5
|
-
* - ButtonBasic: Basic tier without ref forwarding
|
|
6
|
-
* - Button (Standard): Standard tier with forwardRef
|
|
7
|
-
* - ButtonEnterprise: Enterprise tier with memo + analytics
|
|
8
|
-
*
|
|
9
|
-
* @packageDocumentation
|
|
10
|
-
* @module __tests__/button
|
|
11
|
-
* @since 2.0.0
|
|
12
|
-
*
|
|
13
|
-
* Powered by Nikkory
|
|
14
|
-
*/
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=button.test.d.ts.map
|
package/tests/card.test.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Card Component Tests
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive tests for Card component across all tiers:
|
|
5
|
-
* - CardBasic: Basic tier without ref forwarding
|
|
6
|
-
* - Card (Standard): Standard tier with forwardRef
|
|
7
|
-
* - CardEnterprise: Enterprise tier with memo + analytics
|
|
8
|
-
*
|
|
9
|
-
* Also tests sub-components:
|
|
10
|
-
* - Card.Header, Card.Body, Card.Footer, Card.Image
|
|
11
|
-
*
|
|
12
|
-
* @packageDocumentation
|
|
13
|
-
* @module __tests__/card
|
|
14
|
-
* @since 2.0.0
|
|
15
|
-
*
|
|
16
|
-
* Powered by Nikkory
|
|
17
|
-
*/
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=card.test.d.ts.map
|
package/tests/checkbox.test.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checkbox Component Tests
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive tests for Checkbox component across all tiers.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module __tests__/checkbox
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=checkbox.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Component 16-Factor Types Integration Tests
|
|
3
|
-
*
|
|
4
|
-
* Tests to verify all Dev B components (1-32) have proper 16-Factor props.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module __tests__/component-16-factor-types
|
|
8
|
-
* @since 2.1.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=component-16-factor-types.test.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Component Template 5-Level Props Integration Tests
|
|
3
|
-
*
|
|
4
|
-
* Tests that all component templates properly integrate with Complete5LevelProps.
|
|
5
|
-
* Verifies type compatibility and prop resolution across all 169 components.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/templates/component-5level-integration
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=component-5level-integration.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Component Registry UI Helpers Tests
|
|
3
|
-
*
|
|
4
|
-
* Tests for the new UI display helper functions in component-registry.ts.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module tests/presets/component-registry-ui
|
|
8
|
-
* @since 2.1.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=component-registry-ui.test.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 16-Factor Visual E2E Tests
|
|
3
|
-
*
|
|
4
|
-
* End-to-end tests for visual verification of 16-Factor system.
|
|
5
|
-
* These tests verify that factor props correctly apply visual styles.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module __tests__/e2e/16-factor-visual
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=16-factor-visual.test.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resolution Edge Cases Tests - 5-Level Abstraction System
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive edge case tests for resolution engine.
|
|
5
|
-
* Tests boundary conditions, error handling, and unusual inputs.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/resolution/edge-cases
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=edge-cases.test.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Factor 17-24 Integration Tests
|
|
3
|
-
*
|
|
4
|
-
* Integration tests for Factor 17-24 with generateStyles and StyleGenerator.
|
|
5
|
-
* Tests the complete flow from props to generated CSS classes.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/generator/factor-17-24-integration
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=factor-17-24-integration.test.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Factor 17-24 Performance Tests
|
|
3
|
-
*
|
|
4
|
-
* Performance regression tests for the Factor 17-24 system.
|
|
5
|
-
* Ensures memoization and caching work correctly and provide performance benefits.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/generator/factor-17-24-performance
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=factor-17-24-performance.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Factor Validators Tests
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for 16-Factor validation system.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module tests/generator/factor-validators
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=factor-validators.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 16-Factor Variant System - Factors 1-6 Unit Tests
|
|
3
|
-
*
|
|
4
|
-
* Tests for Factor 1-6: Color, Size, Variant, Shape, Position, IconPosition
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module tests/factors-1-6
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=factors-1-6.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Factors 12-16 Tests
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for Factor 12-16 utilities (Orientation, Density, Loading, Responsive, Theme).
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module tests/generator/factors-12-16
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=factors-12-16.test.d.ts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Factors 17-24 Tests
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for Factor 17-24 utilities:
|
|
5
|
-
* - Factor 17: Spacing
|
|
6
|
-
* - Factor 18: Typography
|
|
7
|
-
* - Factor 19: Border
|
|
8
|
-
* - Factor 20: Opacity
|
|
9
|
-
* - Factor 21: Overflow
|
|
10
|
-
* - Factor 22: Cursor
|
|
11
|
-
* - Factor 23: Z-Index
|
|
12
|
-
* - Factor 24: Transition
|
|
13
|
-
*
|
|
14
|
-
* @packageDocumentation
|
|
15
|
-
* @module tests/generator/factors-17-24
|
|
16
|
-
* @since 2.1.0
|
|
17
|
-
*
|
|
18
|
-
* Powered by Nikkory
|
|
19
|
-
*/
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=factors-17-24.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Complete 16-Factor System Tests
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for Complete16FactorConfig and factor application utilities.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module tests/generator/factors-all
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=factors-all.test.d.ts.map
|
package/tests/factors.test.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 16-Factor System Tests (Factors 7-11)
|
|
3
|
-
*
|
|
4
|
-
* Tests for State, Animation, Elevation, A11y, and Alignment factors.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module __tests__/factors
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=factors.test.d.ts.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Granularity Types Feature Tests
|
|
3
|
-
*
|
|
4
|
-
* Tests for the Unified Granularity Architecture:
|
|
5
|
-
* - GranularityConfig<G> generic interface
|
|
6
|
-
* - GranularityTemplate<G> generic interface
|
|
7
|
-
* - GranularitySlotConfig<G> and positions
|
|
8
|
-
* - GranularityFactorDefinition with level/cascadeDown
|
|
9
|
-
* - Level-specific type aliases
|
|
10
|
-
*
|
|
11
|
-
* @packageDocumentation
|
|
12
|
-
* @module tests/granularity-types
|
|
13
|
-
* @since 4.0.0
|
|
14
|
-
*
|
|
15
|
-
* Powered by Nikkory
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=granularity-types.test.d.ts.map
|
package/tests/groups.test.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Groups Unit Tests - 5-Level Abstraction System
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for Factor24 group expansion functions.
|
|
5
|
-
* Tests visual, motion, layout, and experience groups.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/resolution/groups
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=groups.test.d.ts.map
|
package/tests/input.test.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Input Component Tests
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive tests for Input component across all tiers:
|
|
5
|
-
* - InputBasic: Basic tier without ref forwarding
|
|
6
|
-
* - Input (Standard): Standard tier with forwardRef
|
|
7
|
-
* - InputEnterprise: Enterprise tier with memo + analytics
|
|
8
|
-
*
|
|
9
|
-
* @packageDocumentation
|
|
10
|
-
* @module __tests__/input
|
|
11
|
-
* @since 2.0.0
|
|
12
|
-
*
|
|
13
|
-
* Powered by Nikkory
|
|
14
|
-
*/
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=input.test.d.ts.map
|
package/tests/intents.test.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Intents Unit Tests - 5-Level Abstraction System
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for intent registry and semantic intents.
|
|
5
|
-
* Tests button intents and mood modifiers.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/resolution/intents
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=intents.test.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Memory Leak Tests for Resolution Engine
|
|
3
|
-
*
|
|
4
|
-
* Tests to ensure the resolution engine doesn't leak memory
|
|
5
|
-
* during intensive operations.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/resolution/memory-leak
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=memory-leak.test.d.ts.map
|
package/tests/modal.test.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Modal Component Tests
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive tests for Modal component across all tiers:
|
|
5
|
-
* - ModalBasic: Basic tier without ref forwarding
|
|
6
|
-
* - Modal (Standard): Standard tier with forwardRef
|
|
7
|
-
* - ModalEnterprise: Enterprise tier with memo + analytics
|
|
8
|
-
*
|
|
9
|
-
* Also tests sub-components:
|
|
10
|
-
* - Modal.Header, Modal.Body, Modal.Footer
|
|
11
|
-
*
|
|
12
|
-
* @packageDocumentation
|
|
13
|
-
* @module __tests__/modal
|
|
14
|
-
* @since 2.0.0
|
|
15
|
-
*
|
|
16
|
-
* Powered by Nikkory
|
|
17
|
-
*/
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=modal.test.d.ts.map
|
package/tests/presets.test.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Presets Unit Tests - 5-Level Abstraction System
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for preset registry and component presets.
|
|
5
|
-
* Tests button, card, and input presets with their configurations.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/resolution/presets
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=presets.test.d.ts.map
|
package/tests/radio.test.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Radio Component Tests
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive tests for Radio and RadioGroup components across all tiers.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module __tests__/radio
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=radio.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resolution Intents Tests - Phase 2
|
|
3
|
-
*
|
|
4
|
-
* Tests for card-intents.ts, input-intents.ts, feedback-intents.ts, and intent-registry.ts.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module __tests__/resolution-intents
|
|
8
|
-
* @since 2.1.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=resolution-intents.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resolution Presets Tests - Phase 2
|
|
3
|
-
*
|
|
4
|
-
* Tests for nav-presets.ts, overlay-presets.ts, and preset-registry.ts.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module __tests__/resolution-presets
|
|
8
|
-
* @since 2.1.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=resolution-presets.test.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* resolveProps Unit Tests - 5-Level Abstraction System
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for the main resolution engine.
|
|
5
|
-
* Tests level detection, validation, and priority resolution.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/resolution/resolveProps
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=resolveProps.test.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Section Registry Integration Tests
|
|
3
|
-
*
|
|
4
|
-
* @remarks
|
|
5
|
-
* Tests all features from SECTION-REGISTRY-OPTIMIZATION-PLAN.md Phase 7
|
|
6
|
-
*
|
|
7
|
-
* F7.1 - Factory pattern (50 sections)
|
|
8
|
-
* F7.2 - toSectionConfig function
|
|
9
|
-
* F7.3 - User overrides
|
|
10
|
-
* F7.4 - Orchestration
|
|
11
|
-
* F7.5 - Factor propagation
|
|
12
|
-
*
|
|
13
|
-
* Powered by Nikkory
|
|
14
|
-
*/
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=section-integration.test.d.ts.map
|
package/tests/setup.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Test Setup for Vitest
|
|
3
|
-
*
|
|
4
|
-
* Configures testing-library and global test utilities.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module tests/setup
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
import '@testing-library/jest-dom';
|
|
13
|
-
//# sourceMappingURL=setup.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shorthands Unit Tests - 5-Level Abstraction System
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for shorthand expansion functions.
|
|
5
|
-
* Tests look, feel, surface, and spacing mappings.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
* @module tests/resolution/shorthands
|
|
9
|
-
* @since 2.1.0
|
|
10
|
-
*
|
|
11
|
-
* Powered by Nikkory
|
|
12
|
-
*/
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=shorthands.test.d.ts.map
|
package/tests/switch.test.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Switch Component Tests
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive tests for Switch component across all tiers.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module __tests__/switch
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=switch.test.d.ts.map
|
package/tests/tabs.test.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tabs Component Tests
|
|
3
|
-
*
|
|
4
|
-
* Comprehensive tests for Tabs component across all tiers.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module __tests__/tabs
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=tabs.test.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useComponentStyles Hook Tests
|
|
3
|
-
*
|
|
4
|
-
* Tests for React hooks that provide access to the style generation system.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module tests/useComponentStyles
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*/
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=useComponentStyles.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useFactors Hook Tests
|
|
3
|
-
*
|
|
4
|
-
* Unit tests for the 16-Factor React hooks.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module tests/hooks/useFactors
|
|
8
|
-
* @since 2.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=useFactors.test.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Validators Invalid Input Handling Tests
|
|
3
|
-
*
|
|
4
|
-
* Tests comprehensive invalid input handling for all validators.
|
|
5
|
-
*
|
|
6
|
-
* @packageDocumentation
|
|
7
|
-
* @module validators/invalid-input.test
|
|
8
|
-
* @since 4.0.0
|
|
9
|
-
*
|
|
10
|
-
* Powered by Nikkory
|
|
11
|
-
*/
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=validators-invalid-input.test.d.ts.map
|
package/tsup.config.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* tsup Configuration for @nikkory/vibe-engine
|
|
3
|
-
*
|
|
4
|
-
* Framework-agnostic code generation engine.
|
|
5
|
-
* Builds ESM and CJS with TypeScript declarations.
|
|
6
|
-
*
|
|
7
|
-
* Powered by Nikkory
|
|
8
|
-
*/
|
|
9
|
-
declare const _default: import("tsup").Options | import("tsup").Options[] | ((overrideOptions: import("tsup").Options) => import("tsup").Options | import("tsup").Options[] | Promise<import("tsup").Options | import("tsup").Options[]>);
|
|
10
|
-
export default _default;
|
|
11
|
-
//# sourceMappingURL=tsup.config.d.ts.map
|
package/vitest.config.d.ts
DELETED