@rakeyshgidwani/roger-ui-bank-theme-stan-design 0.2.18 → 0.2.22
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/CHANGELOG.md +1 -1
- package/dist/components/ui/accessibility-demo.d.ts +1 -1
- package/dist/components/ui/accessibility-demo.d.ts.map +1 -1
- package/dist/components/ui/accessibility-demo.esm.js +11 -10
- package/dist/components/ui/accessibility-demo.js +11 -10
- package/dist/components/ui/advanced-component-architecture-demo.d.ts +1 -1
- package/dist/components/ui/advanced-component-architecture-demo.d.ts.map +1 -1
- package/dist/components/ui/advanced-component-architecture-demo.esm.js +8 -8
- package/dist/components/ui/advanced-component-architecture-demo.js +8 -8
- package/dist/components/ui/advanced-transition-system-demo.d.ts +1 -1
- package/dist/components/ui/advanced-transition-system-demo.d.ts.map +1 -1
- package/dist/components/ui/advanced-transition-system-demo.esm.js +3 -3
- package/dist/components/ui/advanced-transition-system-demo.js +3 -3
- package/dist/components/ui/advanced-transition-system.d.ts +1 -1
- package/dist/components/ui/advanced-transition-system.d.ts.map +1 -1
- package/dist/components/ui/advanced-transition-system.esm.js +3 -2
- package/dist/components/ui/advanced-transition-system.js +3 -2
- package/dist/components/ui/animation/animated-container.d.ts +1 -1
- package/dist/components/ui/animation/animated-container.d.ts.map +1 -1
- package/dist/components/ui/animation/animated-container.esm.js +1 -1
- package/dist/components/ui/animation/animated-container.js +1 -1
- package/dist/components/ui/animation/staggered-container.d.ts +2 -2
- package/dist/components/ui/animation/staggered-container.d.ts.map +1 -1
- package/dist/components/ui/animation/staggered-container.esm.js +1 -1
- package/dist/components/ui/animation/staggered-container.js +1 -1
- package/dist/components/ui/animation-demo.d.ts +1 -1
- package/dist/components/ui/animation-demo.d.ts.map +1 -1
- package/dist/components/ui/animation-demo.esm.js +3 -3
- package/dist/components/ui/animation-demo.js +3 -3
- package/dist/components/ui/battery-conscious-animation-demo.d.ts +1 -1
- package/dist/components/ui/battery-conscious-animation-demo.d.ts.map +1 -1
- package/dist/components/ui/battery-conscious-animation-demo.esm.js +5 -5
- package/dist/components/ui/battery-conscious-animation-demo.js +5 -5
- package/dist/components/ui/border-radius-shadow-demo.d.ts +1 -1
- package/dist/components/ui/border-radius-shadow-demo.d.ts.map +1 -1
- package/dist/components/ui/border-radius-shadow-demo.esm.js +3 -2
- package/dist/components/ui/border-radius-shadow-demo.js +3 -2
- package/dist/components/ui/color-preview.d.ts +2 -2
- package/dist/components/ui/color-preview.d.ts.map +1 -1
- package/dist/components/ui/color-preview.esm.js +4 -3
- package/dist/components/ui/color-preview.js +4 -3
- package/dist/components/ui/data-display/chart.d.ts +2 -2
- package/dist/components/ui/data-display/chart.d.ts.map +1 -1
- package/dist/components/ui/data-display/chart.esm.js +2 -1
- package/dist/components/ui/data-display/chart.js +2 -1
- package/dist/components/ui/data-display/data-grid-simple.d.ts +2 -2
- package/dist/components/ui/data-display/data-grid-simple.d.ts.map +1 -1
- package/dist/components/ui/data-display/data-grid-simple.esm.js +1 -0
- package/dist/components/ui/data-display/data-grid-simple.js +1 -0
- package/dist/components/ui/data-display/data-grid.d.ts +2 -2
- package/dist/components/ui/data-display/data-grid.d.ts.map +1 -1
- package/dist/components/ui/data-display/data-grid.esm.js +3 -1
- package/dist/components/ui/data-display/data-grid.js +3 -1
- package/dist/components/ui/data-display/list.d.ts +2 -2
- package/dist/components/ui/data-display/list.d.ts.map +1 -1
- package/dist/components/ui/data-display/list.esm.js +1 -0
- package/dist/components/ui/data-display/list.js +1 -0
- package/dist/components/ui/data-display/table.d.ts +2 -2
- package/dist/components/ui/data-display/table.d.ts.map +1 -1
- package/dist/components/ui/data-display/table.esm.js +1 -0
- package/dist/components/ui/data-display/table.js +1 -0
- package/dist/components/ui/data-display/timeline.d.ts +2 -2
- package/dist/components/ui/data-display/timeline.d.ts.map +1 -1
- package/dist/components/ui/data-display/timeline.esm.js +1 -0
- package/dist/components/ui/data-display/timeline.js +1 -0
- package/dist/components/ui/data-display/tree.d.ts +2 -2
- package/dist/components/ui/data-display/tree.d.ts.map +1 -1
- package/dist/components/ui/data-display/tree.esm.js +4 -2
- package/dist/components/ui/data-display/tree.js +4 -2
- package/dist/components/ui/data-display/types.d.ts +1 -1
- package/dist/components/ui/data-display/types.d.ts.map +1 -1
- package/dist/components/ui/data-display/types.esm.js +1 -0
- package/dist/components/ui/data-display/types.js +1 -0
- package/dist/components/ui/enterprise-mobile-experience-demo.d.ts +1 -1
- package/dist/components/ui/enterprise-mobile-experience-demo.d.ts.map +1 -1
- package/dist/components/ui/enterprise-mobile-experience-demo.esm.js +3 -3
- package/dist/components/ui/enterprise-mobile-experience-demo.js +3 -3
- package/dist/components/ui/enterprise-mobile-experience.d.ts +1 -1
- package/dist/components/ui/enterprise-mobile-experience.d.ts.map +1 -1
- package/dist/components/ui/feedback/alert.d.ts +2 -2
- package/dist/components/ui/feedback/alert.d.ts.map +1 -1
- package/dist/components/ui/feedback/alert.esm.js +1 -0
- package/dist/components/ui/feedback/alert.js +1 -0
- package/dist/components/ui/feedback/progress.d.ts +2 -2
- package/dist/components/ui/feedback/progress.d.ts.map +1 -1
- package/dist/components/ui/feedback/progress.esm.js +2 -1
- package/dist/components/ui/feedback/progress.js +2 -1
- package/dist/components/ui/feedback/skeleton.d.ts +2 -2
- package/dist/components/ui/feedback/skeleton.d.ts.map +1 -1
- package/dist/components/ui/feedback/skeleton.esm.js +1 -0
- package/dist/components/ui/feedback/skeleton.js +1 -0
- package/dist/components/ui/feedback/toast.d.ts +2 -2
- package/dist/components/ui/feedback/toast.d.ts.map +1 -1
- package/dist/components/ui/feedback/toast.esm.js +1 -0
- package/dist/components/ui/feedback/toast.js +1 -0
- package/dist/components/ui/feedback/types.d.ts +1 -1
- package/dist/components/ui/feedback/types.d.ts.map +1 -1
- package/dist/components/ui/feedback/types.esm.js +1 -0
- package/dist/components/ui/feedback/types.js +1 -0
- package/dist/components/ui/font-preview.d.ts +2 -2
- package/dist/components/ui/font-preview.d.ts.map +1 -1
- package/dist/components/ui/font-preview.esm.js +3 -2
- package/dist/components/ui/font-preview.js +3 -2
- package/dist/components/ui/form-demo.d.ts +1 -1
- package/dist/components/ui/form-demo.d.ts.map +1 -1
- package/dist/components/ui/form-demo.esm.js +5 -5
- package/dist/components/ui/form-demo.js +5 -5
- package/dist/components/ui/hardware-acceleration-demo.d.ts +1 -1
- package/dist/components/ui/hardware-acceleration-demo.d.ts.map +1 -1
- package/dist/components/ui/hardware-acceleration-demo.esm.js +5 -5
- package/dist/components/ui/hardware-acceleration-demo.js +5 -5
- package/dist/components/ui/layout-demo.d.ts +1 -1
- package/dist/components/ui/layout-demo.d.ts.map +1 -1
- package/dist/components/ui/layout-demo.esm.js +7 -7
- package/dist/components/ui/layout-demo.js +7 -7
- package/dist/components/ui/layouts/adaptive-layout.d.ts +2 -1
- package/dist/components/ui/layouts/adaptive-layout.d.ts.map +1 -1
- package/dist/components/ui/layouts/adaptive-layout.esm.js +5 -5
- package/dist/components/ui/layouts/adaptive-layout.js +5 -5
- package/dist/components/ui/layouts/desktop-layout.d.ts +2 -1
- package/dist/components/ui/layouts/desktop-layout.d.ts.map +1 -1
- package/dist/components/ui/layouts/desktop-layout.esm.js +3 -3
- package/dist/components/ui/layouts/desktop-layout.js +3 -3
- package/dist/components/ui/layouts/mobile-layout.d.ts +2 -1
- package/dist/components/ui/layouts/mobile-layout.d.ts.map +1 -1
- package/dist/components/ui/layouts/mobile-layout.esm.js +2 -2
- package/dist/components/ui/layouts/mobile-layout.js +2 -2
- package/dist/components/ui/layouts/tablet-layout.d.ts +2 -1
- package/dist/components/ui/layouts/tablet-layout.d.ts.map +1 -1
- package/dist/components/ui/layouts/tablet-layout.esm.js +3 -3
- package/dist/components/ui/layouts/tablet-layout.js +3 -3
- package/dist/components/ui/mobile-form-validation.d.ts +3 -3
- package/dist/components/ui/mobile-form-validation.d.ts.map +1 -1
- package/dist/components/ui/mobile-form-validation.esm.js +12 -11
- package/dist/components/ui/mobile-form-validation.js +12 -11
- package/dist/components/ui/mobile-input-demo.d.ts +1 -1
- package/dist/components/ui/mobile-input-demo.d.ts.map +1 -1
- package/dist/components/ui/mobile-input-demo.esm.js +3 -2
- package/dist/components/ui/mobile-input-demo.js +3 -2
- package/dist/components/ui/mobile-input.esm.js +1 -1
- package/dist/components/ui/mobile-input.js +1 -1
- package/dist/components/ui/mobile-skeleton-loading-demo.d.ts +1 -1
- package/dist/components/ui/mobile-skeleton-loading-demo.d.ts.map +1 -1
- package/dist/components/ui/mobile-skeleton-loading-demo.esm.js +8 -8
- package/dist/components/ui/mobile-skeleton-loading-demo.js +8 -8
- package/dist/components/ui/navigation/breadcrumb.d.ts +1 -1
- package/dist/components/ui/navigation/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/navigation/menu.d.ts +1 -1
- package/dist/components/ui/navigation/menu.d.ts.map +1 -1
- package/dist/components/ui/navigation/navigation-demo.esm.js +6 -6
- package/dist/components/ui/navigation/navigation-demo.js +6 -6
- package/dist/components/ui/navigation/pagination.d.ts +1 -1
- package/dist/components/ui/navigation/pagination.d.ts.map +1 -1
- package/dist/components/ui/navigation/sidebar.d.ts +1 -1
- package/dist/components/ui/navigation/sidebar.d.ts.map +1 -1
- package/dist/components/ui/navigation/stepper.d.ts +1 -1
- package/dist/components/ui/navigation/stepper.d.ts.map +1 -1
- package/dist/components/ui/navigation/tabs.d.ts +1 -1
- package/dist/components/ui/navigation/tabs.d.ts.map +1 -1
- package/dist/components/ui/overlay/backdrop.d.ts +1 -1
- package/dist/components/ui/overlay/backdrop.d.ts.map +1 -1
- package/dist/components/ui/overlay/backdrop.esm.js +1 -0
- package/dist/components/ui/overlay/backdrop.js +1 -0
- package/dist/components/ui/overlay/focus-manager.d.ts +1 -1
- package/dist/components/ui/overlay/focus-manager.d.ts.map +1 -1
- package/dist/components/ui/overlay/focus-manager.esm.js +1 -0
- package/dist/components/ui/overlay/focus-manager.js +1 -0
- package/dist/components/ui/overlay/modal.d.ts +2 -2
- package/dist/components/ui/overlay/modal.d.ts.map +1 -1
- package/dist/components/ui/overlay/modal.esm.js +8 -6
- package/dist/components/ui/overlay/modal.js +8 -6
- package/dist/components/ui/overlay/overlay-manager.d.ts +3 -2
- package/dist/components/ui/overlay/overlay-manager.d.ts.map +1 -1
- package/dist/components/ui/overlay/overlay-manager.esm.js +3 -1
- package/dist/components/ui/overlay/overlay-manager.js +3 -1
- package/dist/components/ui/overlay/popover.d.ts +2 -2
- package/dist/components/ui/overlay/popover.d.ts.map +1 -1
- package/dist/components/ui/overlay/popover.esm.js +4 -3
- package/dist/components/ui/overlay/popover.js +4 -3
- package/dist/components/ui/overlay/portal.d.ts +2 -2
- package/dist/components/ui/overlay/portal.d.ts.map +1 -1
- package/dist/components/ui/overlay/portal.esm.js +1 -0
- package/dist/components/ui/overlay/portal.js +1 -0
- package/dist/components/ui/overlay/tooltip.d.ts +2 -2
- package/dist/components/ui/overlay/tooltip.d.ts.map +1 -1
- package/dist/components/ui/overlay/tooltip.esm.js +3 -2
- package/dist/components/ui/overlay/tooltip.js +3 -2
- package/dist/components/ui/overlay/types.d.ts +1 -1
- package/dist/components/ui/overlay/types.d.ts.map +1 -1
- package/dist/components/ui/overlay/types.esm.js +1 -0
- package/dist/components/ui/overlay/types.js +1 -0
- package/dist/components/ui/performance-demo.d.ts +1 -1
- package/dist/components/ui/performance-demo.d.ts.map +1 -1
- package/dist/components/ui/performance-demo.esm.js +4 -4
- package/dist/components/ui/performance-demo.js +4 -4
- package/dist/components/ui/semantic-input-system-demo.d.ts +1 -1
- package/dist/components/ui/semantic-input-system-demo.d.ts.map +1 -1
- package/dist/components/ui/semantic-input-system-demo.esm.js +10 -10
- package/dist/components/ui/semantic-input-system-demo.js +10 -10
- package/dist/components/ui/theme-customizer.d.ts +2 -2
- package/dist/components/ui/theme-customizer.d.ts.map +1 -1
- package/dist/components/ui/theme-customizer.esm.js +5 -4
- package/dist/components/ui/theme-customizer.js +5 -4
- package/dist/components/ui/theme-preview.d.ts +1 -1
- package/dist/components/ui/theme-preview.d.ts.map +1 -1
- package/dist/components/ui/theme-preview.esm.js +3 -2
- package/dist/components/ui/theme-preview.js +3 -2
- package/dist/components/ui/theme-switcher.d.ts +1 -1
- package/dist/components/ui/theme-switcher.d.ts.map +1 -1
- package/dist/components/ui/theme-switcher.esm.js +2 -1
- package/dist/components/ui/theme-switcher.js +2 -1
- package/dist/components/ui/theme-toggle.d.ts +1 -1
- package/dist/components/ui/theme-toggle.d.ts.map +1 -1
- package/dist/components/ui/theme-toggle.esm.js +2 -1
- package/dist/components/ui/theme-toggle.js +2 -1
- package/dist/components/ui/token-demo.d.ts +1 -1
- package/dist/components/ui/token-demo.d.ts.map +1 -1
- package/dist/components/ui/token-demo.esm.js +4 -3
- package/dist/components/ui/token-demo.js +4 -3
- package/dist/components/ui/touch-demo.d.ts +1 -1
- package/dist/components/ui/touch-demo.d.ts.map +1 -1
- package/dist/components/ui/touch-demo.esm.js +4 -4
- package/dist/components/ui/touch-demo.js +4 -4
- package/dist/components/ui/touch-friendly-interface-demo.d.ts +1 -1
- package/dist/components/ui/touch-friendly-interface-demo.d.ts.map +1 -1
- package/dist/components/ui/touch-friendly-interface-demo.esm.js +5 -5
- package/dist/components/ui/touch-friendly-interface-demo.js +5 -5
- package/dist/components/ui/touch-friendly-interface.d.ts +1 -1
- package/dist/components/ui/touch-friendly-interface.d.ts.map +1 -1
- package/dist/components/ui/touch-friendly-interface.esm.js +1 -1
- package/dist/components/ui/touch-friendly-interface.js +1 -1
- package/dist/hooks/use-animation-profile.d.ts +1 -1
- package/dist/hooks/use-animation-profile.esm.js +1 -1
- package/dist/hooks/use-animation-profile.js +1 -1
- package/dist/hooks/use-component-performance.d.ts +2 -1
- package/dist/hooks/use-component-performance.d.ts.map +1 -1
- package/dist/hooks/use-component-performance.esm.js +2 -1
- package/dist/hooks/use-component-performance.js +2 -1
- package/dist/plugins/theme-css-generator.esm.js +1 -1
- package/dist/plugins/theme-css-generator.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/themes/examples/dark-theme.d.ts +3 -3
- package/dist/themes/examples/dark-theme.d.ts.map +1 -1
- package/dist/themes/examples/dark-theme.esm.js +1 -1
- package/dist/themes/examples/dark-theme.js +1 -1
- package/dist/themes/examples/minimal-theme.d.ts +1 -1
- package/dist/themes/examples/minimal-theme.d.ts.map +1 -1
- package/dist/themes/examples/minimal-theme.esm.js +2 -2
- package/dist/themes/examples/minimal-theme.js +2 -2
- package/dist/tokens/index.d.ts +1 -1
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.esm.js +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/tokenExporter.d.ts +1 -1
- package/dist/tokens/tokenExporter.d.ts.map +1 -1
- package/dist/tokens/tokenGenerator.d.ts +2 -2
- package/dist/tokens/tokenGenerator.d.ts.map +1 -1
- package/dist/tokens/tokenManager.d.ts +3 -3
- package/dist/tokens/tokenManager.d.ts.map +1 -1
- package/dist/tokens/tokenManager.esm.js +3 -3
- package/dist/tokens/tokenManager.js +3 -3
- package/dist/tokens/tokenValidator.d.ts +1 -1
- package/dist/tokens/tokenValidator.d.ts.map +1 -1
- package/dist/utils/lazy-loading.d.ts +1 -1
- package/dist/utils/lazy-loading.d.ts.map +1 -1
- package/dist/utils/lazy-loading.esm.js +2 -1
- package/dist/utils/lazy-loading.js +2 -1
- package/package.json +1 -1
- package/src/components/ui/accessibility-demo.tsx +12 -11
- package/src/components/ui/advanced-component-architecture-demo.tsx +10 -9
- package/src/components/ui/advanced-transition-system-demo.tsx +5 -4
- package/src/components/ui/advanced-transition-system.tsx +3 -2
- package/src/components/ui/animation/animated-container.tsx +3 -2
- package/src/components/ui/animation/staggered-container.tsx +3 -2
- package/src/components/ui/animation-demo.tsx +5 -4
- package/src/components/ui/battery-conscious-animation-demo.tsx +7 -6
- package/src/components/ui/border-radius-shadow-demo.tsx +3 -3
- package/src/components/ui/color-preview.tsx +5 -5
- package/src/components/ui/data-display/chart.tsx +4 -3
- package/src/components/ui/data-display/data-grid-simple.tsx +2 -2
- package/src/components/ui/data-display/data-grid.tsx +3 -2
- package/src/components/ui/data-display/list.tsx +3 -2
- package/src/components/ui/data-display/table.tsx +3 -2
- package/src/components/ui/data-display/timeline.tsx +3 -2
- package/src/components/ui/data-display/tree.tsx +4 -3
- package/src/components/ui/data-display/types.ts +1 -1
- package/src/components/ui/enterprise-mobile-experience-demo.tsx +5 -4
- package/src/components/ui/enterprise-mobile-experience.tsx +2 -1
- package/src/components/ui/feedback/alert.tsx +3 -2
- package/src/components/ui/feedback/progress.tsx +4 -3
- package/src/components/ui/feedback/skeleton.tsx +2 -2
- package/src/components/ui/feedback/toast.tsx +3 -2
- package/src/components/ui/feedback/types.ts +1 -1
- package/src/components/ui/font-preview.tsx +4 -4
- package/src/components/ui/form-demo.tsx +8 -7
- package/src/components/ui/hardware-acceleration-demo.tsx +7 -6
- package/src/components/ui/layout-demo.tsx +9 -8
- package/src/components/ui/layouts/adaptive-layout.tsx +7 -6
- package/src/components/ui/layouts/desktop-layout.tsx +5 -4
- package/src/components/ui/layouts/mobile-layout.tsx +4 -3
- package/src/components/ui/layouts/tablet-layout.tsx +5 -4
- package/src/components/ui/mobile-form-validation.tsx +12 -11
- package/src/components/ui/mobile-input-demo.tsx +3 -3
- package/src/components/ui/mobile-input.tsx +1 -1
- package/src/components/ui/mobile-skeleton-loading-demo.tsx +10 -9
- package/src/components/ui/navigation/breadcrumb.tsx +1 -1
- package/src/components/ui/navigation/menu.tsx +1 -1
- package/src/components/ui/navigation/navigation-demo.tsx +7 -7
- package/src/components/ui/navigation/pagination.tsx +1 -1
- package/src/components/ui/navigation/sidebar.tsx +1 -1
- package/src/components/ui/navigation/stepper.tsx +1 -1
- package/src/components/ui/navigation/tabs.tsx +1 -1
- package/src/components/ui/overlay/backdrop.tsx +1 -1
- package/src/components/ui/overlay/focus-manager.tsx +2 -1
- package/src/components/ui/overlay/modal.tsx +8 -7
- package/src/components/ui/overlay/overlay-manager.tsx +3 -2
- package/src/components/ui/overlay/popover.tsx +6 -5
- package/src/components/ui/overlay/portal.tsx +3 -2
- package/src/components/ui/overlay/tooltip.tsx +5 -4
- package/src/components/ui/overlay/types.ts +1 -1
- package/src/components/ui/performance-demo.tsx +6 -5
- package/src/components/ui/semantic-input-system-demo.tsx +12 -11
- package/src/components/ui/theme-customizer.tsx +7 -6
- package/src/components/ui/theme-preview.tsx +3 -3
- package/src/components/ui/theme-switcher.tsx +3 -2
- package/src/components/ui/theme-toggle.tsx +3 -2
- package/src/components/ui/token-demo.tsx +5 -4
- package/src/components/ui/touch-demo.tsx +6 -5
- package/src/components/ui/touch-friendly-interface-demo.tsx +7 -6
- package/src/components/ui/touch-friendly-interface.tsx +3 -2
- package/src/hooks/use-animation-profile.ts +1 -1
- package/src/hooks/use-component-performance.ts +2 -1
- package/src/plugins/theme-css-generator.ts +2 -2
- package/src/themes/examples/dark-theme.ts +1 -1
- package/src/themes/examples/minimal-theme.ts +2 -2
- package/src/tokens/index.ts +1 -1
- package/src/tokens/tokenExporter.ts +1 -1
- package/src/tokens/tokenGenerator.ts +2 -2
- package/src/tokens/tokenManager.ts +5 -5
- package/src/tokens/tokenValidator.ts +1 -1
- package/src/utils/lazy-loading.ts +1 -1
package/dist/tokens/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { TokenExporter } from './tokenExporter';
|
|
|
5
5
|
export { TokenValidator } from './tokenValidator';
|
|
6
6
|
export { TokenManager } from './tokenManager';
|
|
7
7
|
// Convenience functions
|
|
8
|
-
import { TokenManager } from './tokenManager';
|
|
8
|
+
import { TokenManager } from './tokenManager.js';
|
|
9
9
|
export const createTokenManager = (options) => new TokenManager(options);
|
|
10
10
|
// Default token manager instance
|
|
11
11
|
export const defaultTokenManager = new TokenManager();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokenExporter.d.ts","sourceRoot":"","sources":["../../src/tokens/tokenExporter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,M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,CAAC,MAAM,CAAC,UAAU;CAa1B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CompleteThemeConfig } from '../themes/types';
|
|
2
|
-
import type { ThemeTokens } from './types';
|
|
1
|
+
import type { CompleteThemeConfig } from '../themes/types.js';
|
|
2
|
+
import type { ThemeTokens } from './types.js';
|
|
3
3
|
export declare class TokenGenerator {
|
|
4
4
|
/**
|
|
5
5
|
* Generates design tokens from a complete theme configuration
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokenGenerator.d.ts","sourceRoot":"","sources":["../../src/tokens/tokenGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tokenGenerator.d.ts","sourceRoot":"","sources":["../../src/tokens/tokenGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAiF,MAAM,YAAY,CAAC;AAE7H,qBAAa,cAAc;IACzB;;OAEG;IACH,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,mBAAmB,GAAG,WAAW;IAcpE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAyClC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAmB/B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IA6GjC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAmBpC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,oBAAoB;IAmBnC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,wBAAwB;IAmBvC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,YAAY;CAO5B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CompleteThemeConfig } from '../themes/types';
|
|
2
|
-
import type { ThemeTokens, TokenExportOptions } from './types';
|
|
3
|
-
import { ValidationResult } from './tokenValidator';
|
|
1
|
+
import type { CompleteThemeConfig } from '../themes/types.js';
|
|
2
|
+
import type { ThemeTokens, TokenExportOptions } from './types.js';
|
|
3
|
+
import { ValidationResult } from './tokenValidator.js';
|
|
4
4
|
export interface TokenManagerOptions {
|
|
5
5
|
autoValidate?: boolean;
|
|
6
6
|
autoGenerate?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokenManager.d.ts","sourceRoot":"","sources":["../../src/tokens/tokenManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tokenManager.d.ts","sourceRoot":"","sources":["../../src/tokens/tokenManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAGlE,OAAO,EAAkB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvE,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IACnD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,OAAO,CAAsB;IACrC,OAAO,CAAC,eAAe,CAAuC;gBAElD,OAAO,GAAE,mBAAwB;IAW7C;;OAEG;IACH,cAAc,CAAC,WAAW,EAAE,mBAAmB,GAAG,WAAW;IAc7D;;OAEG;IACH,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC;IAQhF;;OAEG;IACH,cAAc,CAAC,MAAM,EAAE,WAAW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gBAAgB,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAkB9H"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TokenGenerator } from './tokenGenerator';
|
|
2
|
-
import { TokenExporter } from './tokenExporter';
|
|
3
|
-
import { TokenValidator } from './tokenValidator';
|
|
1
|
+
import { TokenGenerator } from './tokenGenerator.js';
|
|
2
|
+
import { TokenExporter } from './tokenExporter.js';
|
|
3
|
+
import { TokenValidator } from './tokenValidator.js';
|
|
4
4
|
export class TokenManager {
|
|
5
5
|
constructor(options = {}) {
|
|
6
6
|
this.generatedTokens = new Map();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TokenGenerator } from './tokenGenerator';
|
|
2
|
-
import { TokenExporter } from './tokenExporter';
|
|
3
|
-
import { TokenValidator } from './tokenValidator';
|
|
1
|
+
import { TokenGenerator } from './tokenGenerator.js';
|
|
2
|
+
import { TokenExporter } from './tokenExporter.js';
|
|
3
|
+
import { TokenValidator } from './tokenValidator.js';
|
|
4
4
|
export class TokenManager {
|
|
5
5
|
constructor(options = {}) {
|
|
6
6
|
this.generatedTokens = new Map();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokenValidator.d.ts","sourceRoot":"","sources":["../../src/tokens/tokenValidator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAA0B,MAAM,
|
|
1
|
+
{"version":3,"file":"tokenValidator.d.ts","sourceRoot":"","sources":["../../src/tokens/tokenValidator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAA0B,MAAM,YAAY,CAAC;AAEtE,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE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CAAC,MAAM,CAAC,YAAY;IAM3B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;CAI9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazy-loading.d.ts","sourceRoot":"","sources":["../../src/utils/lazy-loading.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"lazy-loading.d.ts","sourceRoot":"","sources":["../../src/utils/lazy-loading.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,UAAU;IACrB,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,KAAK,CAA6D;IAC1E,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,WAAW,CAAqB;IACxC,OAAO,CAAC,KAAK,CAAgB;IAC7B,OAAO,CAAC,YAAY,CAAc;IAClC,O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,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,GAC3D,KAAK,CAAC,mBAAmB,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAEnD;AAGD,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EAC1B,QAAQ,EAAE,CAAC,GACV,OAAO,CAAC,CAAC,CAAC,CAKZ;AAGD,wBAAgB,aAAa,CAAC,CAAC,EAC7B,OAAO,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,EAC5D,OAAO,GAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAO,GAC3D,OAAO,CAAC,CAAC,EAAE,CAAC,CA+Cd"}
|
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useEffect } from 'react';;
|
|
5
|
+
import { Card } from './card.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { Badge } from './badge.js';
|
|
8
|
+
import { Input } from './input.js';
|
|
9
|
+
import { accessibilityManager } from '../../themes/accessibility.js';
|
|
10
|
+
import { screenReaderOptimizer } from '../../themes/screen-reader.js';
|
|
11
|
+
import { highContrastThemeManager } from '../../themes/high-contrast.js';
|
|
12
|
+
import { focusManager } from '../../themes/focus-management.js';
|
|
13
|
+
import { motionReductionManager } from '../../themes/motion-reduction.js';
|
|
14
|
+
import { ARIAUtils as AriaPatternGenerator } from '../../themes/aria-patterns.js';
|
|
14
15
|
|
|
15
16
|
interface AccessibilityDemoProps {
|
|
16
17
|
className?: string;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useCallback, useEffect } from 'react';
|
|
5
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js'
|
|
6
|
+
import { Badge } from './badge.js'
|
|
7
|
+
import { Button } from './button.js'
|
|
8
|
+
import { useAdvancedPatterns } from '../../hooks/use-advanced-patterns.js'
|
|
9
|
+
import { useComponentPerformance } from '../../hooks/use-component-performance.js'
|
|
10
|
+
import { useMobileOptimization } from '../../hooks/use-mobile-optimization.js'
|
|
11
|
+
import { useReusableArchitecture } from '../../hooks/use-reusable-architecture.js'
|
|
12
|
+
import { useAccessibilitySupport } from '../../hooks/use-accessibility-support.js'
|
|
12
13
|
|
|
13
14
|
export const AdvancedComponentArchitectureDemo: React.FC = () => {
|
|
14
15
|
const [activeTab, setActiveTab] = useState<'patterns' | 'performance' | 'mobile' | 'architecture' | 'accessibility'>('patterns')
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState } from 'react';
|
|
5
|
+
import { Badge } from './badge.js'
|
|
6
|
+
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system.js'
|
|
6
7
|
import {
|
|
7
8
|
AdvancedTransitionButton,
|
|
8
9
|
AdvancedTransitionCard,
|
|
9
10
|
AdvancedTransitionInput,
|
|
10
11
|
AdvancedTransitionList
|
|
11
|
-
} from './advanced-transition-system'
|
|
12
|
+
} from './advanced-transition-system.js'
|
|
12
13
|
|
|
13
14
|
export const AdvancedTransitionSystemDemo: React.FC = () => {
|
|
14
15
|
const [activeDemo, setActiveDemo] = useState<'transitions' | 'performance' | 'device' | 'accessibility'>('transitions')
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { forwardRef, useState, useEffect } from 'react';
|
|
4
5
|
import { cn } from '../../lib/utils'
|
|
5
|
-
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system'
|
|
6
|
+
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system.js'
|
|
6
7
|
|
|
7
8
|
// Advanced Transition Container Component
|
|
8
9
|
export interface AdvancedTransitionContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { forwardRef, useEffect, useRef, useState } from 'react';
|
|
4
5
|
import { cn } from '../../../lib/utils'
|
|
5
|
-
import { useAnimationProfile } from '../../../hooks/use-animation-profile'
|
|
6
|
+
import { useAnimationProfile } from '../../../hooks/use-animation-profile.js'
|
|
6
7
|
|
|
7
8
|
export interface AnimatedContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
9
|
animation?: 'fadeIn' | 'slideIn' | 'scaleIn' | 'bounce' | 'none'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Children, cloneElement, isValidElement, ReactElement } from 'react';
|
|
2
3
|
import { cn } from '../../../lib/utils'
|
|
3
|
-
import { AnimatedContainer, AnimatedContainerProps } from './animated-container'
|
|
4
|
+
import { AnimatedContainer, AnimatedContainerProps } from './animated-container.js'
|
|
4
5
|
|
|
5
6
|
export interface StaggeredContainerProps extends Omit<AnimatedContainerProps, 'children'> {
|
|
6
7
|
children: React.ReactNode
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState } from 'react';
|
|
5
|
+
import { Card } from './card.js'
|
|
6
|
+
import { Button } from './button.js'
|
|
7
|
+
import { Badge } from './badge.js'
|
|
7
8
|
import {
|
|
8
9
|
AnimatedContainer,
|
|
9
10
|
StaggeredContainer,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useCallback } from 'react';
|
|
5
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js'
|
|
6
|
+
import { Badge } from './badge.js'
|
|
7
|
+
import { Button } from './button.js'
|
|
8
|
+
import { useBatteryAnimations } from '../../hooks/use-battery-animations.js'
|
|
9
|
+
import { usePerformanceThrottling } from '../../hooks/use-performance-throttling.js'
|
|
9
10
|
|
|
10
11
|
export const BatteryConsciousAnimationDemo: React.FC = () => {
|
|
11
12
|
const [showBatteryInfo, setShowBatteryInfo] = useState(true)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { Card } from './card';
|
|
3
|
-
import { Button } from './button';
|
|
1
|
+
import * as React from 'react';;
|
|
2
|
+
import { Card } from './card.js';
|
|
3
|
+
import { Button } from './button.js';
|
|
4
4
|
|
|
5
5
|
export const BorderRadiusShadowDemo: React.FC = () => {
|
|
6
6
|
return (
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
3
|
-
import { Badge } from './badge';
|
|
1
|
+
import * as React from 'react';;
|
|
2
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
3
|
+
import { Badge } from './badge.js';
|
|
4
4
|
import { useTheme } from '../../themes';
|
|
5
|
-
import { ColorScale, SemanticColors } from '../../themes/types';
|
|
6
|
-
import { ColorManager } from '../../themes/colorManager';
|
|
5
|
+
import { ColorScale, SemanticColors } from '../../themes/types.js';
|
|
6
|
+
import { ColorManager } from '../../themes/colorManager.js';
|
|
7
7
|
|
|
8
8
|
export interface ColorPreviewProps {
|
|
9
9
|
colorScale?: ColorScale;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useMemo, useRef } from 'react';;
|
|
5
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
6
|
import {
|
|
6
7
|
ChartProps,
|
|
7
8
|
ChartData
|
|
8
|
-
} from './types';
|
|
9
|
+
} from './types.js';
|
|
9
10
|
|
|
10
11
|
// Simple icon components (inline SVG)
|
|
11
12
|
const BarChartIcon: React.FC<{ className?: string }> = ({ className = 'w-4 h-4' }) => (
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useCallback, useMemo, useRef, useEffect } from 'react';;
|
|
4
5
|
import {
|
|
5
6
|
DataGridProps,
|
|
6
7
|
DataGridColumnProps,
|
|
7
8
|
SortableColumn,
|
|
8
9
|
FilterConfig
|
|
9
|
-
} from './types';
|
|
10
|
+
} from './types.js';
|
|
10
11
|
|
|
11
12
|
// Simple icon components
|
|
12
13
|
const ChevronUpIcon: React.FC<{ className?: string }> = ({ className = '' }) => (
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useCallback, useMemo } from 'react';;
|
|
4
5
|
import {
|
|
5
6
|
ListProps,
|
|
6
7
|
ListItem,
|
|
7
8
|
ListAction,
|
|
8
9
|
ListFilter
|
|
9
|
-
} from './types';
|
|
10
|
+
} from './types.js';
|
|
10
11
|
|
|
11
12
|
// Simple icon components (inline SVG)
|
|
12
13
|
const ChevronRightIcon: React.FC<{ className?: string }> = ({ className = '' }) => (
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useCallback } from 'react';;
|
|
4
5
|
import {
|
|
5
6
|
TableProps,
|
|
6
7
|
TableRowProps,
|
|
@@ -8,7 +9,7 @@ import {
|
|
|
8
9
|
SortConfig,
|
|
9
10
|
PaginationConfig,
|
|
10
11
|
FilterConfig
|
|
11
|
-
} from './types';
|
|
12
|
+
} from './types.js';
|
|
12
13
|
|
|
13
14
|
// Simple icon components
|
|
14
15
|
const ChevronUpIcon: React.FC<{ className?: string }> = ({ className = '' }) => (
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useMemo } from 'react';;
|
|
4
5
|
import {
|
|
5
6
|
TimelineProps,
|
|
6
7
|
TimelineItem,
|
|
7
8
|
TimelineAction,
|
|
8
9
|
TimelineItemProps
|
|
9
|
-
} from './types';
|
|
10
|
+
} from './types.js';
|
|
10
11
|
|
|
11
12
|
// Simple icon components (inline SVG)
|
|
12
13
|
const CalendarIcon: React.FC<{ className?: string }> = ({ className = '' }) => (
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useCallback, useMemo } from 'react';;
|
|
5
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
6
|
import {
|
|
6
7
|
TreeProps,
|
|
7
8
|
TreeNode,
|
|
8
9
|
TreeItemProps
|
|
9
|
-
} from './types';
|
|
10
|
+
} from './types.js';
|
|
10
11
|
|
|
11
12
|
// Simple icon components (inline SVG)
|
|
12
13
|
const ChevronRightIcon: React.FC<{ className?: string }> = ({ className = '' }) => (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Data Display Components - Shared Types
|
|
2
2
|
// Comprehensive type definitions for all data display components
|
|
3
3
|
|
|
4
|
-
import React from 'react'
|
|
4
|
+
import * as React from 'react';;
|
|
5
5
|
|
|
6
6
|
// ============================================================================
|
|
7
7
|
// COMMON INTERFACES
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState } from 'react';
|
|
5
|
+
import { Badge } from './badge.js'
|
|
6
|
+
import { useEnterpriseMobileExperience } from '../../hooks/use-enterprise-mobile-experience.js'
|
|
6
7
|
import {
|
|
7
8
|
EnterpriseButton,
|
|
8
9
|
EnterpriseCard,
|
|
@@ -12,7 +13,7 @@ import {
|
|
|
12
13
|
EnterpriseStatus,
|
|
13
14
|
EnterpriseLoading,
|
|
14
15
|
EnterpriseNotification
|
|
15
|
-
} from './enterprise-mobile-experience'
|
|
16
|
+
} from './enterprise-mobile-experience.js'
|
|
16
17
|
|
|
17
18
|
export const EnterpriseMobileExperienceDemo: React.FC = () => {
|
|
18
19
|
const [activeDemo, setActiveDemo] = useState<'overview' | 'quality' | 'performance' | 'accessibility' | 'components'>('overview')
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useCallback } from 'react';;
|
|
5
|
+
import { AlertProps, AlertAction } from './types.js';
|
|
5
6
|
|
|
6
7
|
// Simple icon components
|
|
7
8
|
const CheckCircleIcon: React.FC<{ className?: string }> = ({ className = '' }) => (
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useEffect, useState } from 'react';;
|
|
5
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
6
|
+
import { ProgressProps, ProgressStep } from './types.js';
|
|
6
7
|
|
|
7
8
|
// Default color fallbacks for when theme is not available
|
|
8
9
|
const getDefaultColors = () => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { SkeletonProps, SkeletonTextProps, SkeletonAvatarProps, SkeletonButtonProps } from './types';
|
|
1
|
+
import * as React from 'react';;
|
|
2
|
+
import { SkeletonProps, SkeletonTextProps, SkeletonAvatarProps, SkeletonButtonProps } from './types.js';
|
|
3
3
|
|
|
4
4
|
// Base Skeleton Component
|
|
5
5
|
const BaseSkeleton: React.FC<SkeletonProps> = ({
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useEffect, useCallback, useRef } from 'react';;
|
|
5
|
+
import { ToastProps, ToastAction, ToastContainerProps } from './types.js';
|
|
5
6
|
|
|
6
7
|
// Simple icon components
|
|
7
8
|
const CheckCircleIcon: React.FC<{ className?: string }> = ({ className = '' }) => (
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
3
|
-
import { Badge } from './badge';
|
|
1
|
+
import * as React from 'react';;
|
|
2
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
3
|
+
import { Badge } from './badge.js';
|
|
4
4
|
import { useTheme } from '../../themes';
|
|
5
|
-
import { FontConfig } from '../../themes/types';
|
|
5
|
+
import { FontConfig } from '../../themes/types.js';
|
|
6
6
|
|
|
7
7
|
export interface FontPreviewProps {
|
|
8
8
|
fontConfig?: FontConfig;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useRef } from 'react';
|
|
5
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js'
|
|
6
|
+
import { Button } from './button.js'
|
|
7
|
+
import { Badge } from './badge.js'
|
|
8
|
+
import { Tabs } from './navigation/tabs.js'
|
|
9
|
+
import MobileFormValidation, { MobileFormValidationRef } from './mobile-form-validation.js'
|
|
9
10
|
|
|
10
|
-
import { InputType } from '../../hooks/use-semantic-input'
|
|
11
|
+
import { InputType } from '../../hooks/use-semantic-input.js'
|
|
11
12
|
|
|
12
13
|
export const FormDemo: React.FC = () => {
|
|
13
14
|
const [activeTab, setActiveTab] = useState<'basic' | 'advanced' | 'performance' | 'semantic'>('basic')
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useState, useCallback, useEffect } from 'react';
|
|
5
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js'
|
|
6
|
+
import { Badge } from './badge.js'
|
|
7
|
+
import { Button } from './button.js'
|
|
8
|
+
import { useHardwareAcceleration } from '../../hooks/use-hardware-acceleration.js'
|
|
9
|
+
import { useBatteryOptimization } from '../../hooks/use-battery-optimization.js'
|
|
9
10
|
|
|
10
11
|
export const HardwareAccelerationDemo: React.FC = () => {
|
|
11
12
|
const [showGPUInfo, setShowGPUInfo] = useState(true)
|