@rakeyshgidwani/roger-ui-bank-theme-jeremy 0.5.3
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 +23 -0
- package/README.md +137 -0
- package/dist/components/ui/accessibility-demo.d.ts +7 -0
- package/dist/components/ui/accessibility-demo.d.ts.map +1 -0
- package/dist/components/ui/accessibility-demo.esm.js +95 -0
- package/dist/components/ui/accessibility-demo.js +95 -0
- package/dist/components/ui/advanced-component-architecture-demo.d.ts +4 -0
- package/dist/components/ui/advanced-component-architecture-demo.d.ts.map +1 -0
- package/dist/components/ui/advanced-component-architecture-demo.esm.js +257 -0
- package/dist/components/ui/advanced-component-architecture-demo.js +257 -0
- package/dist/components/ui/advanced-transition-system-demo.d.ts +3 -0
- package/dist/components/ui/advanced-transition-system-demo.d.ts.map +1 -0
- package/dist/components/ui/advanced-transition-system-demo.esm.js +60 -0
- package/dist/components/ui/advanced-transition-system-demo.js +60 -0
- package/dist/components/ui/advanced-transition-system.d.ts +45 -0
- package/dist/components/ui/advanced-transition-system.d.ts.map +1 -0
- package/dist/components/ui/advanced-transition-system.esm.js +213 -0
- package/dist/components/ui/advanced-transition-system.js +213 -0
- package/dist/components/ui/animation/animated-container.d.ts +13 -0
- package/dist/components/ui/animation/animated-container.d.ts.map +1 -0
- package/dist/components/ui/animation/animated-container.esm.js +106 -0
- package/dist/components/ui/animation/animated-container.js +106 -0
- package/dist/components/ui/animation/index.d.ts +7 -0
- package/dist/components/ui/animation/index.d.ts.map +1 -0
- package/dist/components/ui/animation/index.esm.js +4 -0
- package/dist/components/ui/animation/index.js +4 -0
- package/dist/components/ui/animation/staggered-container.d.ts +10 -0
- package/dist/components/ui/animation/staggered-container.d.ts.map +1 -0
- package/dist/components/ui/animation/staggered-container.esm.js +37 -0
- package/dist/components/ui/animation/staggered-container.js +37 -0
- package/dist/components/ui/animation-demo.d.ts +3 -0
- package/dist/components/ui/animation-demo.d.ts.map +1 -0
- package/dist/components/ui/animation-demo.esm.js +31 -0
- package/dist/components/ui/animation-demo.js +31 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.esm.js +20 -0
- package/dist/components/ui/badge.js +20 -0
- package/dist/components/ui/battery-conscious-animation-demo.d.ts +4 -0
- package/dist/components/ui/battery-conscious-animation-demo.d.ts.map +1 -0
- package/dist/components/ui/battery-conscious-animation-demo.esm.js +140 -0
- package/dist/components/ui/battery-conscious-animation-demo.js +140 -0
- package/dist/components/ui/border-radius-shadow-demo.d.ts +3 -0
- package/dist/components/ui/border-radius-shadow-demo.d.ts.map +1 -0
- package/dist/components/ui/border-radius-shadow-demo.esm.js +7 -0
- package/dist/components/ui/border-radius-shadow-demo.js +7 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.esm.js +19 -0
- package/dist/components/ui/button.js +19 -0
- package/dist/components/ui/card.d.ts +37 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.esm.js +93 -0
- package/dist/components/ui/card.js +93 -0
- package/dist/components/ui/checkbox.d.ts +8 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.esm.js +12 -0
- package/dist/components/ui/checkbox.js +12 -0
- package/dist/components/ui/color-preview.d.ts +16 -0
- package/dist/components/ui/color-preview.d.ts.map +1 -0
- package/dist/components/ui/color-preview.esm.js +57 -0
- package/dist/components/ui/color-preview.js +57 -0
- package/dist/components/ui/data-display/chart.d.ts +5 -0
- package/dist/components/ui/data-display/chart.d.ts.map +1 -0
- package/dist/components/ui/data-display/chart.esm.js +233 -0
- package/dist/components/ui/data-display/chart.js +233 -0
- package/dist/components/ui/data-display/data-grid-simple.d.ts +5 -0
- package/dist/components/ui/data-display/data-grid-simple.d.ts.map +1 -0
- package/dist/components/ui/data-display/data-grid-simple.esm.js +19 -0
- package/dist/components/ui/data-display/data-grid-simple.js +19 -0
- package/dist/components/ui/data-display/data-grid.d.ts +5 -0
- package/dist/components/ui/data-display/data-grid.d.ts.map +1 -0
- package/dist/components/ui/data-display/data-grid.esm.js +195 -0
- package/dist/components/ui/data-display/data-grid.js +195 -0
- package/dist/components/ui/data-display/list.d.ts +5 -0
- package/dist/components/ui/data-display/list.d.ts.map +1 -0
- package/dist/components/ui/data-display/list.esm.js +100 -0
- package/dist/components/ui/data-display/list.js +100 -0
- package/dist/components/ui/data-display/table.d.ts +5 -0
- package/dist/components/ui/data-display/table.d.ts.map +1 -0
- package/dist/components/ui/data-display/table.esm.js +125 -0
- package/dist/components/ui/data-display/table.js +125 -0
- package/dist/components/ui/data-display/timeline.d.ts +5 -0
- package/dist/components/ui/data-display/timeline.d.ts.map +1 -0
- package/dist/components/ui/data-display/timeline.esm.js +104 -0
- package/dist/components/ui/data-display/timeline.js +104 -0
- package/dist/components/ui/data-display/tree.d.ts +5 -0
- package/dist/components/ui/data-display/tree.d.ts.map +1 -0
- package/dist/components/ui/data-display/tree.esm.js +231 -0
- package/dist/components/ui/data-display/tree.js +231 -0
- package/dist/components/ui/data-display/types.d.ts +483 -0
- package/dist/components/ui/data-display/types.d.ts.map +1 -0
- package/dist/components/ui/data-display/types.esm.js +8 -0
- package/dist/components/ui/data-display/types.js +8 -0
- package/dist/components/ui/enterprise-mobile-experience-demo.d.ts +3 -0
- package/dist/components/ui/enterprise-mobile-experience-demo.d.ts.map +1 -0
- package/dist/components/ui/enterprise-mobile-experience-demo.esm.js +77 -0
- package/dist/components/ui/enterprise-mobile-experience-demo.js +77 -0
- package/dist/components/ui/enterprise-mobile-experience.d.ts +72 -0
- package/dist/components/ui/enterprise-mobile-experience.d.ts.map +1 -0
- package/dist/components/ui/enterprise-mobile-experience.esm.js +157 -0
- package/dist/components/ui/enterprise-mobile-experience.js +157 -0
- package/dist/components/ui/feedback/alert.d.ts +5 -0
- package/dist/components/ui/feedback/alert.d.ts.map +1 -0
- package/dist/components/ui/feedback/alert.esm.js +51 -0
- package/dist/components/ui/feedback/alert.js +51 -0
- package/dist/components/ui/feedback/index.d.ts +10 -0
- package/dist/components/ui/feedback/index.d.ts.map +1 -0
- package/dist/components/ui/feedback/index.esm.js +10 -0
- package/dist/components/ui/feedback/index.js +10 -0
- package/dist/components/ui/feedback/progress.d.ts +5 -0
- package/dist/components/ui/feedback/progress.d.ts.map +1 -0
- package/dist/components/ui/feedback/progress.esm.js +77 -0
- package/dist/components/ui/feedback/progress.js +77 -0
- package/dist/components/ui/feedback/skeleton.d.ts +8 -0
- package/dist/components/ui/feedback/skeleton.d.ts.map +1 -0
- package/dist/components/ui/feedback/skeleton.esm.js +77 -0
- package/dist/components/ui/feedback/skeleton.js +77 -0
- package/dist/components/ui/feedback/status-alert-example.d.ts +3 -0
- package/dist/components/ui/feedback/status-alert-example.d.ts.map +1 -0
- package/dist/components/ui/feedback/status-alert-example.esm.js +68 -0
- package/dist/components/ui/feedback/status-alert-example.js +68 -0
- package/dist/components/ui/feedback/toast-context.d.ts +27 -0
- package/dist/components/ui/feedback/toast-context.d.ts.map +1 -0
- package/dist/components/ui/feedback/toast-context.esm.js +95 -0
- package/dist/components/ui/feedback/toast-context.js +95 -0
- package/dist/components/ui/feedback/toast-example.d.ts +4 -0
- package/dist/components/ui/feedback/toast-example.d.ts.map +1 -0
- package/dist/components/ui/feedback/toast-example.esm.js +40 -0
- package/dist/components/ui/feedback/toast-example.js +40 -0
- package/dist/components/ui/feedback/toast-renderer.d.ts +11 -0
- package/dist/components/ui/feedback/toast-renderer.d.ts.map +1 -0
- package/dist/components/ui/feedback/toast-renderer.esm.js +23 -0
- package/dist/components/ui/feedback/toast-renderer.js +23 -0
- package/dist/components/ui/feedback/toast.d.ts +8 -0
- package/dist/components/ui/feedback/toast.d.ts.map +1 -0
- package/dist/components/ui/feedback/toast.esm.js +143 -0
- package/dist/components/ui/feedback/toast.js +143 -0
- package/dist/components/ui/feedback/types.d.ts +127 -0
- package/dist/components/ui/feedback/types.d.ts.map +1 -0
- package/dist/components/ui/feedback/types.esm.js +2 -0
- package/dist/components/ui/feedback/types.js +2 -0
- package/dist/components/ui/font-preview.d.ts +15 -0
- package/dist/components/ui/font-preview.d.ts.map +1 -0
- package/dist/components/ui/font-preview.esm.js +62 -0
- package/dist/components/ui/font-preview.js +62 -0
- package/dist/components/ui/form-demo.d.ts +4 -0
- package/dist/components/ui/form-demo.d.ts.map +1 -0
- package/dist/components/ui/form-demo.esm.js +192 -0
- package/dist/components/ui/form-demo.js +192 -0
- package/dist/components/ui/hardware-acceleration-demo.d.ts +4 -0
- package/dist/components/ui/hardware-acceleration-demo.d.ts.map +1 -0
- package/dist/components/ui/hardware-acceleration-demo.esm.js +107 -0
- package/dist/components/ui/hardware-acceleration-demo.js +107 -0
- package/dist/components/ui/input.d.ts +9 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.esm.js +17 -0
- package/dist/components/ui/input.js +17 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.esm.js +6 -0
- package/dist/components/ui/label.js +6 -0
- package/dist/components/ui/layout/container.d.ts +57 -0
- package/dist/components/ui/layout/container.d.ts.map +1 -0
- package/dist/components/ui/layout/container.esm.js +173 -0
- package/dist/components/ui/layout/container.js +173 -0
- package/dist/components/ui/layout/index.d.ts +9 -0
- package/dist/components/ui/layout/index.d.ts.map +1 -0
- package/dist/components/ui/layout/index.esm.js +6 -0
- package/dist/components/ui/layout/index.js +6 -0
- package/dist/components/ui/layout/responsive-grid.d.ts +93 -0
- package/dist/components/ui/layout/responsive-grid.d.ts.map +1 -0
- package/dist/components/ui/layout/responsive-grid.esm.js +124 -0
- package/dist/components/ui/layout/responsive-grid.js +124 -0
- package/dist/components/ui/layout-demo.d.ts +4 -0
- package/dist/components/ui/layout-demo.d.ts.map +1 -0
- package/dist/components/ui/layout-demo.esm.js +77 -0
- package/dist/components/ui/layout-demo.js +77 -0
- package/dist/components/ui/layouts/adaptive-layout.d.ts +18 -0
- package/dist/components/ui/layouts/adaptive-layout.d.ts.map +1 -0
- package/dist/components/ui/layouts/adaptive-layout.esm.js +54 -0
- package/dist/components/ui/layouts/adaptive-layout.js +54 -0
- package/dist/components/ui/layouts/desktop-layout.d.ts +15 -0
- package/dist/components/ui/layouts/desktop-layout.d.ts.map +1 -0
- package/dist/components/ui/layouts/desktop-layout.esm.js +40 -0
- package/dist/components/ui/layouts/desktop-layout.js +40 -0
- package/dist/components/ui/layouts/index.d.ts +9 -0
- package/dist/components/ui/layouts/index.d.ts.map +1 -0
- package/dist/components/ui/layouts/index.esm.js +4 -0
- package/dist/components/ui/layouts/index.js +4 -0
- package/dist/components/ui/layouts/mobile-layout.d.ts +15 -0
- package/dist/components/ui/layouts/mobile-layout.d.ts.map +1 -0
- package/dist/components/ui/layouts/mobile-layout.esm.js +50 -0
- package/dist/components/ui/layouts/mobile-layout.js +50 -0
- package/dist/components/ui/layouts/tablet-layout.d.ts +15 -0
- package/dist/components/ui/layouts/tablet-layout.d.ts.map +1 -0
- package/dist/components/ui/layouts/tablet-layout.esm.js +54 -0
- package/dist/components/ui/layouts/tablet-layout.js +54 -0
- package/dist/components/ui/mobile-form-validation.d.ts +32 -0
- package/dist/components/ui/mobile-form-validation.d.ts.map +1 -0
- package/dist/components/ui/mobile-form-validation.esm.js +218 -0
- package/dist/components/ui/mobile-form-validation.js +218 -0
- package/dist/components/ui/mobile-input-demo.d.ts +3 -0
- package/dist/components/ui/mobile-input-demo.d.ts.map +1 -0
- package/dist/components/ui/mobile-input-demo.esm.js +15 -0
- package/dist/components/ui/mobile-input-demo.js +15 -0
- package/dist/components/ui/mobile-input.d.ts +66 -0
- package/dist/components/ui/mobile-input.d.ts.map +1 -0
- package/dist/components/ui/mobile-input.esm.js +199 -0
- package/dist/components/ui/mobile-input.js +199 -0
- package/dist/components/ui/mobile-skeleton-loading-demo.d.ts +4 -0
- package/dist/components/ui/mobile-skeleton-loading-demo.d.ts.map +1 -0
- package/dist/components/ui/mobile-skeleton-loading-demo.esm.js +145 -0
- package/dist/components/ui/mobile-skeleton-loading-demo.js +145 -0
- package/dist/components/ui/navigation/breadcrumb.d.ts +9 -0
- package/dist/components/ui/navigation/breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/navigation/breadcrumb.esm.js +60 -0
- package/dist/components/ui/navigation/breadcrumb.js +60 -0
- package/dist/components/ui/navigation/index.d.ts +16 -0
- package/dist/components/ui/navigation/index.d.ts.map +1 -0
- package/dist/components/ui/navigation/index.esm.js +15 -0
- package/dist/components/ui/navigation/index.js +15 -0
- package/dist/components/ui/navigation/menu.d.ts +9 -0
- package/dist/components/ui/navigation/menu.d.ts.map +1 -0
- package/dist/components/ui/navigation/menu.esm.js +192 -0
- package/dist/components/ui/navigation/menu.js +192 -0
- package/dist/components/ui/navigation/navigation-demo.d.ts +8 -0
- package/dist/components/ui/navigation/navigation-demo.d.ts.map +1 -0
- package/dist/components/ui/navigation/navigation-demo.esm.js +144 -0
- package/dist/components/ui/navigation/navigation-demo.js +144 -0
- package/dist/components/ui/navigation/pagination.d.ts +9 -0
- package/dist/components/ui/navigation/pagination.d.ts.map +1 -0
- package/dist/components/ui/navigation/pagination.esm.js +155 -0
- package/dist/components/ui/navigation/pagination.js +155 -0
- package/dist/components/ui/navigation/progressive-navigation.d.ts +37 -0
- package/dist/components/ui/navigation/progressive-navigation.d.ts.map +1 -0
- package/dist/components/ui/navigation/progressive-navigation.esm.js +145 -0
- package/dist/components/ui/navigation/progressive-navigation.js +145 -0
- package/dist/components/ui/navigation/sidebar.d.ts +9 -0
- package/dist/components/ui/navigation/sidebar.d.ts.map +1 -0
- package/dist/components/ui/navigation/sidebar.esm.js +176 -0
- package/dist/components/ui/navigation/sidebar.js +176 -0
- package/dist/components/ui/navigation/stepper.d.ts +9 -0
- package/dist/components/ui/navigation/stepper.d.ts.map +1 -0
- package/dist/components/ui/navigation/stepper.esm.js +144 -0
- package/dist/components/ui/navigation/stepper.js +144 -0
- package/dist/components/ui/navigation/subscription-badge.d.ts +9 -0
- package/dist/components/ui/navigation/subscription-badge.d.ts.map +1 -0
- package/dist/components/ui/navigation/subscription-badge.esm.js +58 -0
- package/dist/components/ui/navigation/subscription-badge.js +58 -0
- package/dist/components/ui/navigation/tabs.d.ts +9 -0
- package/dist/components/ui/navigation/tabs.d.ts.map +1 -0
- package/dist/components/ui/navigation/tabs.esm.js +101 -0
- package/dist/components/ui/navigation/tabs.js +101 -0
- package/dist/components/ui/navigation/types.d.ts +277 -0
- package/dist/components/ui/navigation/types.d.ts.map +1 -0
- package/dist/components/ui/navigation/types.esm.js +5 -0
- package/dist/components/ui/navigation/types.js +5 -0
- package/dist/components/ui/navigation/user-avatar.d.ts +9 -0
- package/dist/components/ui/navigation/user-avatar.d.ts.map +1 -0
- package/dist/components/ui/navigation/user-avatar.esm.js +55 -0
- package/dist/components/ui/navigation/user-avatar.js +55 -0
- package/dist/components/ui/navigation/user-menu-examples.d.ts +8 -0
- package/dist/components/ui/navigation/user-menu-examples.d.ts.map +1 -0
- package/dist/components/ui/navigation/user-menu-examples.esm.js +125 -0
- package/dist/components/ui/navigation/user-menu-examples.js +125 -0
- package/dist/components/ui/navigation/user-menu-types.d.ts +218 -0
- package/dist/components/ui/navigation/user-menu-types.d.ts.map +1 -0
- package/dist/components/ui/navigation/user-menu-types.esm.js +5 -0
- package/dist/components/ui/navigation/user-menu-types.js +5 -0
- package/dist/components/ui/navigation/user-menu.d.ts +9 -0
- package/dist/components/ui/navigation/user-menu.d.ts.map +1 -0
- package/dist/components/ui/navigation/user-menu.esm.js +205 -0
- package/dist/components/ui/navigation/user-menu.js +205 -0
- package/dist/components/ui/overlay/backdrop.d.ts +15 -0
- package/dist/components/ui/overlay/backdrop.d.ts.map +1 -0
- package/dist/components/ui/overlay/backdrop.esm.js +44 -0
- package/dist/components/ui/overlay/backdrop.js +44 -0
- package/dist/components/ui/overlay/focus-manager.d.ts +13 -0
- package/dist/components/ui/overlay/focus-manager.d.ts.map +1 -0
- package/dist/components/ui/overlay/focus-manager.esm.js +101 -0
- package/dist/components/ui/overlay/focus-manager.js +101 -0
- package/dist/components/ui/overlay/index.d.ts +10 -0
- package/dist/components/ui/overlay/index.d.ts.map +1 -0
- package/dist/components/ui/overlay/index.esm.js +9 -0
- package/dist/components/ui/overlay/index.js +9 -0
- package/dist/components/ui/overlay/modal.d.ts +8 -0
- package/dist/components/ui/overlay/modal.d.ts.map +1 -0
- package/dist/components/ui/overlay/modal.esm.js +118 -0
- package/dist/components/ui/overlay/modal.js +118 -0
- package/dist/components/ui/overlay/overlay-manager.d.ts +17 -0
- package/dist/components/ui/overlay/overlay-manager.d.ts.map +1 -0
- package/dist/components/ui/overlay/overlay-manager.esm.js +73 -0
- package/dist/components/ui/overlay/overlay-manager.js +73 -0
- package/dist/components/ui/overlay/popover.d.ts +9 -0
- package/dist/components/ui/overlay/popover.d.ts.map +1 -0
- package/dist/components/ui/overlay/popover.esm.js +284 -0
- package/dist/components/ui/overlay/popover.js +284 -0
- package/dist/components/ui/overlay/portal.d.ts +5 -0
- package/dist/components/ui/overlay/portal.d.ts.map +1 -0
- package/dist/components/ui/overlay/portal.esm.js +52 -0
- package/dist/components/ui/overlay/portal.js +52 -0
- package/dist/components/ui/overlay/tooltip.d.ts +6 -0
- package/dist/components/ui/overlay/tooltip.d.ts.map +1 -0
- package/dist/components/ui/overlay/tooltip.esm.js +219 -0
- package/dist/components/ui/overlay/tooltip.js +219 -0
- package/dist/components/ui/overlay/types.d.ts +171 -0
- package/dist/components/ui/overlay/types.d.ts.map +1 -0
- package/dist/components/ui/overlay/types.esm.js +2 -0
- package/dist/components/ui/overlay/types.js +2 -0
- package/dist/components/ui/performance-demo.d.ts +3 -0
- package/dist/components/ui/performance-demo.d.ts.map +1 -0
- package/dist/components/ui/performance-demo.esm.js +111 -0
- package/dist/components/ui/performance-demo.js +111 -0
- package/dist/components/ui/semantic-input-system-demo.d.ts +3 -0
- package/dist/components/ui/semantic-input-system-demo.d.ts.map +1 -0
- package/dist/components/ui/semantic-input-system-demo.esm.js +89 -0
- package/dist/components/ui/semantic-input-system-demo.js +89 -0
- package/dist/components/ui/theme-customizer.d.ts +27 -0
- package/dist/components/ui/theme-customizer.d.ts.map +1 -0
- package/dist/components/ui/theme-customizer.esm.js +140 -0
- package/dist/components/ui/theme-customizer.js +140 -0
- package/dist/components/ui/theme-preview.d.ts +11 -0
- package/dist/components/ui/theme-preview.d.ts.map +1 -0
- package/dist/components/ui/theme-preview.esm.js +49 -0
- package/dist/components/ui/theme-preview.js +49 -0
- package/dist/components/ui/theme-switcher.d.ts +11 -0
- package/dist/components/ui/theme-switcher.d.ts.map +1 -0
- package/dist/components/ui/theme-switcher.esm.js +87 -0
- package/dist/components/ui/theme-switcher.js +87 -0
- package/dist/components/ui/theme-toggle.d.ts +3 -0
- package/dist/components/ui/theme-toggle.d.ts.map +1 -0
- package/dist/components/ui/theme-toggle.esm.js +36 -0
- package/dist/components/ui/theme-toggle.js +36 -0
- package/dist/components/ui/token-demo.d.ts +3 -0
- package/dist/components/ui/token-demo.d.ts.map +1 -0
- package/dist/components/ui/token-demo.esm.js +50 -0
- package/dist/components/ui/token-demo.js +50 -0
- package/dist/components/ui/touch-demo.d.ts +3 -0
- package/dist/components/ui/touch-demo.d.ts.map +1 -0
- package/dist/components/ui/touch-demo.esm.js +97 -0
- package/dist/components/ui/touch-demo.js +97 -0
- package/dist/components/ui/touch-friendly-interface-demo.d.ts +3 -0
- package/dist/components/ui/touch-friendly-interface-demo.d.ts.map +1 -0
- package/dist/components/ui/touch-friendly-interface-demo.esm.js +64 -0
- package/dist/components/ui/touch-friendly-interface-demo.js +64 -0
- package/dist/components/ui/touch-friendly-interface.d.ts +31 -0
- package/dist/components/ui/touch-friendly-interface.d.ts.map +1 -0
- package/dist/components/ui/touch-friendly-interface.esm.js +119 -0
- package/dist/components/ui/touch-friendly-interface.js +119 -0
- package/dist/hooks/index.d.ts +47 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.esm.js +32 -0
- package/dist/hooks/index.js +32 -0
- package/dist/hooks/use-accessibility-support.d.ts +74 -0
- package/dist/hooks/use-accessibility-support.d.ts.map +1 -0
- package/dist/hooks/use-accessibility-support.esm.js +377 -0
- package/dist/hooks/use-accessibility-support.js +377 -0
- package/dist/hooks/use-adaptive-layout.d.ts +58 -0
- package/dist/hooks/use-adaptive-layout.d.ts.map +1 -0
- package/dist/hooks/use-adaptive-layout.esm.js +219 -0
- package/dist/hooks/use-adaptive-layout.js +219 -0
- package/dist/hooks/use-advanced-patterns.d.ts +88 -0
- package/dist/hooks/use-advanced-patterns.d.ts.map +1 -0
- package/dist/hooks/use-advanced-patterns.esm.js +186 -0
- package/dist/hooks/use-advanced-patterns.js +186 -0
- package/dist/hooks/use-advanced-transition-system.d.ts +59 -0
- package/dist/hooks/use-advanced-transition-system.d.ts.map +1 -0
- package/dist/hooks/use-advanced-transition-system.esm.js +287 -0
- package/dist/hooks/use-advanced-transition-system.js +287 -0
- package/dist/hooks/use-animation-profile.d.ts +45 -0
- package/dist/hooks/use-animation-profile.d.ts.map +1 -0
- package/dist/hooks/use-animation-profile.esm.js +226 -0
- package/dist/hooks/use-animation-profile.js +226 -0
- package/dist/hooks/use-battery-animations.d.ts +53 -0
- package/dist/hooks/use-battery-animations.d.ts.map +1 -0
- package/dist/hooks/use-battery-animations.esm.js +310 -0
- package/dist/hooks/use-battery-animations.js +310 -0
- package/dist/hooks/use-battery-conscious-loading.d.ts +58 -0
- package/dist/hooks/use-battery-conscious-loading.d.ts.map +1 -0
- package/dist/hooks/use-battery-conscious-loading.esm.js +381 -0
- package/dist/hooks/use-battery-conscious-loading.js +381 -0
- package/dist/hooks/use-battery-optimization.d.ts +45 -0
- package/dist/hooks/use-battery-optimization.d.ts.map +1 -0
- package/dist/hooks/use-battery-optimization.esm.js +268 -0
- package/dist/hooks/use-battery-optimization.js +268 -0
- package/dist/hooks/use-battery-status.d.ts +57 -0
- package/dist/hooks/use-battery-status.d.ts.map +1 -0
- package/dist/hooks/use-battery-status.esm.js +219 -0
- package/dist/hooks/use-battery-status.js +219 -0
- package/dist/hooks/use-component-performance.d.ts +67 -0
- package/dist/hooks/use-component-performance.d.ts.map +1 -0
- package/dist/hooks/use-component-performance.esm.js +239 -0
- package/dist/hooks/use-component-performance.js +239 -0
- package/dist/hooks/use-device-loading-states.d.ts +61 -0
- package/dist/hooks/use-device-loading-states.d.ts.map +1 -0
- package/dist/hooks/use-device-loading-states.esm.js +358 -0
- package/dist/hooks/use-device-loading-states.js +358 -0
- package/dist/hooks/use-device.d.ts +22 -0
- package/dist/hooks/use-device.d.ts.map +1 -0
- package/dist/hooks/use-device.esm.js +93 -0
- package/dist/hooks/use-device.js +93 -0
- package/dist/hooks/use-enterprise-mobile-experience.d.ts +84 -0
- package/dist/hooks/use-enterprise-mobile-experience.d.ts.map +1 -0
- package/dist/hooks/use-enterprise-mobile-experience.esm.js +350 -0
- package/dist/hooks/use-enterprise-mobile-experience.js +350 -0
- package/dist/hooks/use-form-feedback.d.ts +91 -0
- package/dist/hooks/use-form-feedback.d.ts.map +1 -0
- package/dist/hooks/use-form-feedback.esm.js +318 -0
- package/dist/hooks/use-form-feedback.js +318 -0
- package/dist/hooks/use-form-performance.d.ts +88 -0
- package/dist/hooks/use-form-performance.d.ts.map +1 -0
- package/dist/hooks/use-form-performance.esm.js +420 -0
- package/dist/hooks/use-form-performance.js +420 -0
- package/dist/hooks/use-frame-rate.d.ts +47 -0
- package/dist/hooks/use-frame-rate.d.ts.map +1 -0
- package/dist/hooks/use-frame-rate.esm.js +178 -0
- package/dist/hooks/use-frame-rate.js +178 -0
- package/dist/hooks/use-gestures.d.ts +94 -0
- package/dist/hooks/use-gestures.d.ts.map +1 -0
- package/dist/hooks/use-gestures.esm.js +236 -0
- package/dist/hooks/use-gestures.js +236 -0
- package/dist/hooks/use-hardware-acceleration.d.ts +53 -0
- package/dist/hooks/use-hardware-acceleration.d.ts.map +1 -0
- package/dist/hooks/use-hardware-acceleration.esm.js +248 -0
- package/dist/hooks/use-hardware-acceleration.js +248 -0
- package/dist/hooks/use-input-accessibility.d.ts +58 -0
- package/dist/hooks/use-input-accessibility.d.ts.map +1 -0
- package/dist/hooks/use-input-accessibility.esm.js +351 -0
- package/dist/hooks/use-input-accessibility.js +351 -0
- package/dist/hooks/use-input-performance.d.ts +55 -0
- package/dist/hooks/use-input-performance.d.ts.map +1 -0
- package/dist/hooks/use-input-performance.esm.js +423 -0
- package/dist/hooks/use-input-performance.js +423 -0
- package/dist/hooks/use-layout-performance.d.ts +39 -0
- package/dist/hooks/use-layout-performance.d.ts.map +1 -0
- package/dist/hooks/use-layout-performance.esm.js +233 -0
- package/dist/hooks/use-layout-performance.js +233 -0
- package/dist/hooks/use-loading-accessibility.d.ts +62 -0
- package/dist/hooks/use-loading-accessibility.d.ts.map +1 -0
- package/dist/hooks/use-loading-accessibility.esm.js +425 -0
- package/dist/hooks/use-loading-accessibility.js +425 -0
- package/dist/hooks/use-loading-performance.d.ts +51 -0
- package/dist/hooks/use-loading-performance.d.ts.map +1 -0
- package/dist/hooks/use-loading-performance.esm.js +402 -0
- package/dist/hooks/use-loading-performance.js +402 -0
- package/dist/hooks/use-memory-usage.d.ts +51 -0
- package/dist/hooks/use-memory-usage.d.ts.map +1 -0
- package/dist/hooks/use-memory-usage.esm.js +211 -0
- package/dist/hooks/use-memory-usage.js +211 -0
- package/dist/hooks/use-mobile-form-layout.d.ts +127 -0
- package/dist/hooks/use-mobile-form-layout.d.ts.map +1 -0
- package/dist/hooks/use-mobile-form-layout.esm.js +371 -0
- package/dist/hooks/use-mobile-form-layout.js +371 -0
- package/dist/hooks/use-mobile-form-validation.d.ts +100 -0
- package/dist/hooks/use-mobile-form-validation.d.ts.map +1 -0
- package/dist/hooks/use-mobile-form-validation.esm.js +405 -0
- package/dist/hooks/use-mobile-form-validation.js +405 -0
- package/dist/hooks/use-mobile-keyboard-optimization.d.ts +70 -0
- package/dist/hooks/use-mobile-keyboard-optimization.d.ts.map +1 -0
- package/dist/hooks/use-mobile-keyboard-optimization.esm.js +358 -0
- package/dist/hooks/use-mobile-keyboard-optimization.js +358 -0
- package/dist/hooks/use-mobile-layout.d.ts +56 -0
- package/dist/hooks/use-mobile-layout.d.ts.map +1 -0
- package/dist/hooks/use-mobile-layout.esm.js +215 -0
- package/dist/hooks/use-mobile-layout.js +215 -0
- package/dist/hooks/use-mobile-optimization.d.ts +55 -0
- package/dist/hooks/use-mobile-optimization.d.ts.map +1 -0
- package/dist/hooks/use-mobile-optimization.esm.js +310 -0
- package/dist/hooks/use-mobile-optimization.js +310 -0
- package/dist/hooks/use-mobile-skeleton.d.ts +59 -0
- package/dist/hooks/use-mobile-skeleton.d.ts.map +1 -0
- package/dist/hooks/use-mobile-skeleton.esm.js +300 -0
- package/dist/hooks/use-mobile-skeleton.js +300 -0
- package/dist/hooks/use-mobile-touch.d.ts +86 -0
- package/dist/hooks/use-mobile-touch.d.ts.map +1 -0
- package/dist/hooks/use-mobile-touch.esm.js +316 -0
- package/dist/hooks/use-mobile-touch.js +316 -0
- package/dist/hooks/use-performance-throttling.d.ts +48 -0
- package/dist/hooks/use-performance-throttling.d.ts.map +1 -0
- package/dist/hooks/use-performance-throttling.esm.js +280 -0
- package/dist/hooks/use-performance-throttling.js +280 -0
- package/dist/hooks/use-performance.d.ts +73 -0
- package/dist/hooks/use-performance.d.ts.map +1 -0
- package/dist/hooks/use-performance.esm.js +219 -0
- package/dist/hooks/use-performance.js +219 -0
- package/dist/hooks/use-reusable-architecture.d.ts +94 -0
- package/dist/hooks/use-reusable-architecture.d.ts.map +1 -0
- package/dist/hooks/use-reusable-architecture.esm.js +261 -0
- package/dist/hooks/use-reusable-architecture.js +261 -0
- package/dist/hooks/use-semantic-input-types.d.ts +57 -0
- package/dist/hooks/use-semantic-input-types.d.ts.map +1 -0
- package/dist/hooks/use-semantic-input-types.esm.js +291 -0
- package/dist/hooks/use-semantic-input-types.js +291 -0
- package/dist/hooks/use-semantic-input.d.ts +73 -0
- package/dist/hooks/use-semantic-input.d.ts.map +1 -0
- package/dist/hooks/use-semantic-input.esm.js +462 -0
- package/dist/hooks/use-semantic-input.js +462 -0
- package/dist/hooks/use-tablet-layout.d.ts +74 -0
- package/dist/hooks/use-tablet-layout.d.ts.map +1 -0
- package/dist/hooks/use-tablet-layout.esm.js +279 -0
- package/dist/hooks/use-tablet-layout.js +279 -0
- package/dist/hooks/use-touch-friendly-input.d.ts +75 -0
- package/dist/hooks/use-touch-friendly-input.d.ts.map +1 -0
- package/dist/hooks/use-touch-friendly-input.esm.js +406 -0
- package/dist/hooks/use-touch-friendly-input.js +406 -0
- package/dist/hooks/use-touch-friendly-interface.d.ts +56 -0
- package/dist/hooks/use-touch-friendly-interface.d.ts.map +1 -0
- package/dist/hooks/use-touch-friendly-interface.esm.js +242 -0
- package/dist/hooks/use-touch-friendly-interface.js +242 -0
- package/dist/hooks/use-touch-optimization.d.ts +66 -0
- package/dist/hooks/use-touch-optimization.d.ts.map +1 -0
- package/dist/hooks/use-touch-optimization.esm.js +293 -0
- package/dist/hooks/use-touch-optimization.js +293 -0
- package/dist/index.d.ts +388 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +233 -0
- package/dist/index.js +233 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.esm.js +5 -0
- package/dist/lib/utils.js +5 -0
- package/dist/plugins/css-purge-optimizer.d.ts +25 -0
- package/dist/plugins/css-purge-optimizer.d.ts.map +1 -0
- package/dist/plugins/css-purge-optimizer.esm.js +414 -0
- package/dist/plugins/css-purge-optimizer.js +414 -0
- package/dist/plugins/performance-monitor.d.ts +29 -0
- package/dist/plugins/performance-monitor.d.ts.map +1 -0
- package/dist/plugins/performance-monitor.esm.js +221 -0
- package/dist/plugins/performance-monitor.js +221 -0
- package/dist/plugins/progressive-css-loader.d.ts +21 -0
- package/dist/plugins/progressive-css-loader.d.ts.map +1 -0
- package/dist/plugins/progressive-css-loader.esm.js +227 -0
- package/dist/plugins/progressive-css-loader.js +227 -0
- package/dist/plugins/theme-css-generator.d.ts +3 -0
- package/dist/plugins/theme-css-generator.d.ts.map +1 -0
- package/dist/plugins/theme-css-generator.esm.js +277 -0
- package/dist/plugins/theme-css-generator.js +277 -0
- package/dist/provider.d.ts +9 -0
- package/dist/provider.d.ts.map +1 -0
- package/dist/provider.esm.js +4 -0
- package/dist/provider.js +4 -0
- package/dist/styles/layers/validation.d.ts +20 -0
- package/dist/styles/layers/validation.d.ts.map +1 -0
- package/dist/styles/layers/validation.esm.js +275 -0
- package/dist/styles/layers/validation.js +275 -0
- package/dist/styles.css +25372 -0
- package/dist/theme.d.ts +7 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/theme.esm.js +679 -0
- package/dist/theme.js +679 -0
- package/dist/themes/ThemeContext.d.ts +23 -0
- package/dist/themes/ThemeContext.d.ts.map +1 -0
- package/dist/themes/ThemeContext.esm.js +5 -0
- package/dist/themes/ThemeContext.js +5 -0
- package/dist/themes/ThemeProvider.d.ts +3 -0
- package/dist/themes/ThemeProvider.d.ts.map +1 -0
- package/dist/themes/ThemeProvider.esm.js +200 -0
- package/dist/themes/ThemeProvider.js +200 -0
- package/dist/themes/accessibility/index.d.ts +19 -0
- package/dist/themes/accessibility/index.d.ts.map +1 -0
- package/dist/themes/accessibility/index.esm.js +23 -0
- package/dist/themes/accessibility/index.js +23 -0
- package/dist/themes/accessibility.d.ts +59 -0
- package/dist/themes/accessibility.d.ts.map +1 -0
- package/dist/themes/accessibility.esm.js +194 -0
- package/dist/themes/accessibility.js +194 -0
- package/dist/themes/aria-patterns.d.ts +153 -0
- package/dist/themes/aria-patterns.d.ts.map +1 -0
- package/dist/themes/aria-patterns.esm.js +364 -0
- package/dist/themes/aria-patterns.js +364 -0
- package/dist/themes/base-themes.d.ts +36 -0
- package/dist/themes/base-themes.d.ts.map +1 -0
- package/dist/themes/base-themes.esm.js +53 -0
- package/dist/themes/base-themes.js +53 -0
- package/dist/themes/colorManager.d.ts +64 -0
- package/dist/themes/colorManager.d.ts.map +1 -0
- package/dist/themes/colorManager.esm.js +316 -0
- package/dist/themes/colorManager.js +316 -0
- package/dist/themes/examples/dark-theme.d.ts +13 -0
- package/dist/themes/examples/dark-theme.d.ts.map +1 -0
- package/dist/themes/examples/dark-theme.esm.js +150 -0
- package/dist/themes/examples/dark-theme.js +150 -0
- package/dist/themes/examples/minimal-theme.d.ts +6 -0
- package/dist/themes/examples/minimal-theme.d.ts.map +1 -0
- package/dist/themes/examples/minimal-theme.esm.js +103 -0
- package/dist/themes/examples/minimal-theme.js +103 -0
- package/dist/themes/focus-management.d.ts +110 -0
- package/dist/themes/focus-management.d.ts.map +1 -0
- package/dist/themes/focus-management.esm.js +565 -0
- package/dist/themes/focus-management.js +565 -0
- package/dist/themes/fontLoader.d.ts +49 -0
- package/dist/themes/fontLoader.d.ts.map +1 -0
- package/dist/themes/fontLoader.esm.js +172 -0
- package/dist/themes/fontLoader.js +172 -0
- package/dist/themes/high-contrast.d.ts +70 -0
- package/dist/themes/high-contrast.d.ts.map +1 -0
- package/dist/themes/high-contrast.esm.js +457 -0
- package/dist/themes/high-contrast.js +457 -0
- package/dist/themes/index.d.ts +9 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/index.esm.js +13 -0
- package/dist/themes/index.js +13 -0
- package/dist/themes/inheritance.d.ts +90 -0
- package/dist/themes/inheritance.d.ts.map +1 -0
- package/dist/themes/inheritance.esm.js +192 -0
- package/dist/themes/inheritance.js +192 -0
- package/dist/themes/keyboard-navigation.d.ts +213 -0
- package/dist/themes/keyboard-navigation.d.ts.map +1 -0
- package/dist/themes/keyboard-navigation.esm.js +458 -0
- package/dist/themes/keyboard-navigation.js +458 -0
- package/dist/themes/motion-reduction.d.ts +121 -0
- package/dist/themes/motion-reduction.d.ts.map +1 -0
- package/dist/themes/motion-reduction.esm.js +505 -0
- package/dist/themes/motion-reduction.js +505 -0
- package/dist/themes/navigation.d.ts +201 -0
- package/dist/themes/navigation.d.ts.map +1 -0
- package/dist/themes/navigation.esm.js +5 -0
- package/dist/themes/navigation.js +5 -0
- package/dist/themes/phase1-constants.d.ts +23 -0
- package/dist/themes/phase1-constants.d.ts.map +1 -0
- package/dist/themes/phase1-constants.esm.js +180 -0
- package/dist/themes/phase1-constants.js +180 -0
- package/dist/themes/screen-reader.d.ts +86 -0
- package/dist/themes/screen-reader.d.ts.map +1 -0
- package/dist/themes/screen-reader.esm.js +544 -0
- package/dist/themes/screen-reader.js +544 -0
- package/dist/themes/systemThemeDetector.d.ts +58 -0
- package/dist/themes/systemThemeDetector.d.ts.map +1 -0
- package/dist/themes/systemThemeDetector.esm.js +153 -0
- package/dist/themes/systemThemeDetector.js +153 -0
- package/dist/themes/themeCSSUpdater.d.ts +46 -0
- package/dist/themes/themeCSSUpdater.d.ts.map +1 -0
- package/dist/themes/themeCSSUpdater.esm.js +227 -0
- package/dist/themes/themeCSSUpdater.js +227 -0
- package/dist/themes/themePersistence.d.ts +84 -0
- package/dist/themes/themePersistence.d.ts.map +1 -0
- package/dist/themes/themePersistence.esm.js +207 -0
- package/dist/themes/themePersistence.js +207 -0
- package/dist/themes/themes/default.d.ts +9 -0
- package/dist/themes/themes/default.d.ts.map +1 -0
- package/dist/themes/themes/default.esm.js +587 -0
- package/dist/themes/themes/default.js +587 -0
- package/dist/themes/themes/jeremy.d.ts +7 -0
- package/dist/themes/themes/jeremy.d.ts.map +1 -0
- package/dist/themes/themes/jeremy.esm.js +679 -0
- package/dist/themes/themes/jeremy.js +679 -0
- package/dist/themes/types.d.ts +462 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/dist/themes/types.esm.js +3 -0
- package/dist/themes/types.js +3 -0
- package/dist/themes/useSystemTheme.d.ts +11 -0
- package/dist/themes/useSystemTheme.d.ts.map +1 -0
- package/dist/themes/useSystemTheme.esm.js +40 -0
- package/dist/themes/useSystemTheme.js +40 -0
- package/dist/themes/useTheme.d.ts +70 -0
- package/dist/themes/useTheme.d.ts.map +1 -0
- package/dist/themes/useTheme.esm.js +82 -0
- package/dist/themes/useTheme.js +82 -0
- package/dist/themes/validation.d.ts +88 -0
- package/dist/themes/validation.d.ts.map +1 -0
- package/dist/themes/validation.esm.js +627 -0
- package/dist/themes/validation.js +627 -0
- package/dist/tokens/index.d.ts +11 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.esm.js +11 -0
- package/dist/tokens/index.js +11 -0
- package/dist/tokens/tokenExporter.d.ts +84 -0
- package/dist/tokens/tokenExporter.d.ts.map +1 -0
- package/dist/tokens/tokenExporter.esm.js +333 -0
- package/dist/tokens/tokenExporter.js +333 -0
- package/dist/tokens/tokenGenerator.d.ts +37 -0
- package/dist/tokens/tokenGenerator.d.ts.map +1 -0
- package/dist/tokens/tokenGenerator.esm.js +244 -0
- package/dist/tokens/tokenGenerator.js +244 -0
- package/dist/tokens/tokenManager.d.ts +92 -0
- package/dist/tokens/tokenManager.d.ts.map +1 -0
- package/dist/tokens/tokenManager.esm.js +194 -0
- package/dist/tokens/tokenManager.js +194 -0
- package/dist/tokens/tokenValidator.d.ts +91 -0
- package/dist/tokens/tokenValidator.d.ts.map +1 -0
- package/dist/tokens/tokenValidator.esm.js +423 -0
- package/dist/tokens/tokenValidator.js +423 -0
- package/dist/tokens/types.d.ts +58 -0
- package/dist/tokens/types.d.ts.map +1 -0
- package/dist/tokens/types.esm.js +1 -0
- package/dist/tokens/types.js +1 -0
- package/dist/types.d.ts +462 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.esm.js +3 -0
- package/dist/types.js +3 -0
- package/dist/utils/bundle-analyzer.d.ts +43 -0
- package/dist/utils/bundle-analyzer.d.ts.map +1 -0
- package/dist/utils/bundle-analyzer.esm.js +202 -0
- package/dist/utils/bundle-analyzer.js +202 -0
- package/dist/utils/bundle-splitting.d.ts +71 -0
- package/dist/utils/bundle-splitting.d.ts.map +1 -0
- package/dist/utils/bundle-splitting.esm.js +355 -0
- package/dist/utils/bundle-splitting.js +355 -0
- package/dist/utils/lazy-loading.d.ts +72 -0
- package/dist/utils/lazy-loading.d.ts.map +1 -0
- package/dist/utils/lazy-loading.esm.js +336 -0
- package/dist/utils/lazy-loading.js +336 -0
- package/dist/utils/performance-monitor.d.ts +81 -0
- package/dist/utils/performance-monitor.d.ts.map +1 -0
- package/dist/utils/performance-monitor.esm.js +392 -0
- package/dist/utils/performance-monitor.js +392 -0
- package/dist/utils/progressive-css-injector.d.ts +80 -0
- package/dist/utils/progressive-css-injector.d.ts.map +1 -0
- package/dist/utils/progressive-css-injector.esm.js +217 -0
- package/dist/utils/progressive-css-injector.js +217 -0
- package/dist/utils/tree-shaking.d.ts +47 -0
- package/dist/utils/tree-shaking.d.ts.map +1 -0
- package/dist/utils/tree-shaking.esm.js +204 -0
- package/dist/utils/tree-shaking.js +204 -0
- package/package.json +92 -0
- package/src/components/ui/accessibility-demo.tsx +274 -0
- package/src/components/ui/advanced-component-architecture-demo.tsx +919 -0
- package/src/components/ui/advanced-transition-system-demo.tsx +673 -0
- package/src/components/ui/advanced-transition-system.tsx +398 -0
- package/src/components/ui/animation/animated-container.tsx +169 -0
- package/src/components/ui/animation/index.ts +19 -0
- package/src/components/ui/animation/staggered-container.tsx +69 -0
- package/src/components/ui/animation-demo.tsx +253 -0
- package/src/components/ui/badge.tsx +33 -0
- package/src/components/ui/battery-conscious-animation-demo.tsx +571 -0
- package/src/components/ui/border-radius-shadow-demo.tsx +187 -0
- package/src/components/ui/button.tsx +41 -0
- package/src/components/ui/card.tsx +207 -0
- package/src/components/ui/checkbox.tsx +32 -0
- package/src/components/ui/color-preview.tsx +411 -0
- package/src/components/ui/data-display/chart.tsx +656 -0
- package/src/components/ui/data-display/data-grid-simple.tsx +76 -0
- package/src/components/ui/data-display/data-grid.tsx +684 -0
- package/src/components/ui/data-display/list.tsx +459 -0
- package/src/components/ui/data-display/table.tsx +486 -0
- package/src/components/ui/data-display/timeline.tsx +444 -0
- package/src/components/ui/data-display/tree.tsx +605 -0
- package/src/components/ui/data-display/types.ts +540 -0
- package/src/components/ui/enterprise-mobile-experience-demo.tsx +752 -0
- package/src/components/ui/enterprise-mobile-experience.tsx +467 -0
- package/src/components/ui/feedback/alert.tsx +163 -0
- package/src/components/ui/feedback/index.ts +35 -0
- package/src/components/ui/feedback/progress.tsx +279 -0
- package/src/components/ui/feedback/skeleton.tsx +185 -0
- package/src/components/ui/feedback/status-alert-example.ts +71 -0
- package/src/components/ui/feedback/toast-context.tsx +145 -0
- package/src/components/ui/feedback/toast-example.tsx +65 -0
- package/src/components/ui/feedback/toast-renderer.tsx +61 -0
- package/src/components/ui/feedback/toast.tsx +285 -0
- package/src/components/ui/feedback/types.ts +145 -0
- package/src/components/ui/font-preview.tsx +288 -0
- package/src/components/ui/form-demo.tsx +556 -0
- package/src/components/ui/hardware-acceleration-demo.tsx +550 -0
- package/src/components/ui/input.tsx +37 -0
- package/src/components/ui/label.tsx +16 -0
- package/src/components/ui/layout/container.tsx +312 -0
- package/src/components/ui/layout/index.ts +10 -0
- package/src/components/ui/layout/responsive-grid.tsx +286 -0
- package/src/components/ui/layout-demo.tsx +370 -0
- package/src/components/ui/layouts/adaptive-layout.tsx +120 -0
- package/src/components/ui/layouts/desktop-layout.tsx +213 -0
- package/src/components/ui/layouts/index.ts +10 -0
- package/src/components/ui/layouts/mobile-layout.tsx +165 -0
- package/src/components/ui/layouts/tablet-layout.tsx +200 -0
- package/src/components/ui/mobile-form-validation.tsx +454 -0
- package/src/components/ui/mobile-input-demo.tsx +201 -0
- package/src/components/ui/mobile-input.tsx +283 -0
- package/src/components/ui/mobile-skeleton-loading-demo.tsx +641 -0
- package/src/components/ui/navigation/breadcrumb.tsx +160 -0
- package/src/components/ui/navigation/index.ts +51 -0
- package/src/components/ui/navigation/menu.tsx +376 -0
- package/src/components/ui/navigation/navigation-demo.tsx +326 -0
- package/src/components/ui/navigation/pagination.tsx +274 -0
- package/src/components/ui/navigation/progressive-navigation.tsx +453 -0
- package/src/components/ui/navigation/sidebar.tsx +385 -0
- package/src/components/ui/navigation/stepper.tsx +305 -0
- package/src/components/ui/navigation/subscription-badge.tsx +110 -0
- package/src/components/ui/navigation/tabs.tsx +207 -0
- package/src/components/ui/navigation/types.ts +354 -0
- package/src/components/ui/navigation/user-avatar.tsx +111 -0
- package/src/components/ui/navigation/user-menu-examples.tsx +551 -0
- package/src/components/ui/navigation/user-menu-types.ts +308 -0
- package/src/components/ui/navigation/user-menu.tsx +414 -0
- package/src/components/ui/overlay/backdrop.tsx +83 -0
- package/src/components/ui/overlay/focus-manager.tsx +146 -0
- package/src/components/ui/overlay/index.ts +36 -0
- package/src/components/ui/overlay/modal.tsx +273 -0
- package/src/components/ui/overlay/overlay-manager.tsx +113 -0
- package/src/components/ui/overlay/popover.tsx +465 -0
- package/src/components/ui/overlay/portal.tsx +82 -0
- package/src/components/ui/overlay/tooltip.tsx +306 -0
- package/src/components/ui/overlay/types.ts +196 -0
- package/src/components/ui/performance-demo.tsx +599 -0
- package/src/components/ui/semantic-input-system-demo.tsx +505 -0
- package/src/components/ui/semantic-input-system-demo.tsx.disabled +873 -0
- package/src/components/ui/theme-customizer.tsx +389 -0
- package/src/components/ui/theme-preview.tsx +310 -0
- package/src/components/ui/theme-switcher.tsx +267 -0
- package/src/components/ui/theme-toggle.tsx +56 -0
- package/src/components/ui/token-demo.tsx +198 -0
- package/src/components/ui/touch-demo.tsx +465 -0
- package/src/components/ui/touch-friendly-interface-demo.tsx +522 -0
- package/src/components/ui/touch-friendly-interface.tsx +299 -0
- package/src/hooks/index.ts +190 -0
- package/src/hooks/use-accessibility-support.ts +518 -0
- package/src/hooks/use-adaptive-layout.ts +293 -0
- package/src/hooks/use-advanced-patterns.ts +294 -0
- package/src/hooks/use-advanced-transition-system.ts +393 -0
- package/src/hooks/use-animation-profile.ts +288 -0
- package/src/hooks/use-battery-animations.ts +384 -0
- package/src/hooks/use-battery-conscious-loading.ts +475 -0
- package/src/hooks/use-battery-optimization.ts +330 -0
- package/src/hooks/use-battery-status.ts +299 -0
- package/src/hooks/use-component-performance.ts +345 -0
- package/src/hooks/use-device-loading-states.ts +459 -0
- package/src/hooks/use-device.tsx +119 -0
- package/src/hooks/use-enterprise-mobile-experience.ts +488 -0
- package/src/hooks/use-form-feedback.ts +403 -0
- package/src/hooks/use-form-performance.ts +513 -0
- package/src/hooks/use-frame-rate.ts +251 -0
- package/src/hooks/use-gestures.ts +338 -0
- package/src/hooks/use-hardware-acceleration.ts +341 -0
- package/src/hooks/use-input-accessibility.ts +455 -0
- package/src/hooks/use-input-performance.ts +506 -0
- package/src/hooks/use-layout-performance.ts +319 -0
- package/src/hooks/use-loading-accessibility.ts +535 -0
- package/src/hooks/use-loading-performance.ts +473 -0
- package/src/hooks/use-memory-usage.ts +287 -0
- package/src/hooks/use-mobile-form-layout.ts +464 -0
- package/src/hooks/use-mobile-form-validation.ts +518 -0
- package/src/hooks/use-mobile-keyboard-optimization.ts +472 -0
- package/src/hooks/use-mobile-layout.ts +302 -0
- package/src/hooks/use-mobile-optimization.ts +406 -0
- package/src/hooks/use-mobile-skeleton.ts +402 -0
- package/src/hooks/use-mobile-touch.ts +414 -0
- package/src/hooks/use-performance-throttling.ts +348 -0
- package/src/hooks/use-performance.ts +316 -0
- package/src/hooks/use-reusable-architecture.ts +414 -0
- package/src/hooks/use-semantic-input-types.ts +357 -0
- package/src/hooks/use-semantic-input.ts +565 -0
- package/src/hooks/use-tablet-layout.ts +384 -0
- package/src/hooks/use-touch-friendly-input.ts +524 -0
- package/src/hooks/use-touch-friendly-interface.ts +331 -0
- package/src/hooks/use-touch-optimization.ts +375 -0
- package/src/index.css +1049 -0
- package/src/index.ts +412 -0
- package/src/lib/utils.ts +6 -0
- package/src/plugins/css-purge-optimizer.ts +491 -0
- package/src/plugins/performance-monitor.ts +292 -0
- package/src/plugins/progressive-css-loader.ts +269 -0
- package/src/plugins/theme-css-generator.ts +334 -0
- package/src/provider.tsx +20 -0
- package/src/styles/base/fonts.css +30 -0
- package/src/styles/base/index.css +7 -0
- package/src/styles/base/reset.css +48 -0
- package/src/styles/base/theme.css +1068 -0
- package/src/styles/base/typography.css +68 -0
- package/src/styles/base/variables.css +5 -0
- package/src/styles/components/CLAUDE.md +62 -0
- package/src/styles/components/base/badge.css +432 -0
- package/src/styles/components/base/button.css +980 -0
- package/src/styles/components/base/card.css +605 -0
- package/src/styles/components/base/checkbox.css +446 -0
- package/src/styles/components/base/index.css +9 -0
- package/src/styles/components/base/input.css +891 -0
- package/src/styles/components/base/label.css +300 -0
- package/src/styles/components/data-display/chart.css +353 -0
- package/src/styles/components/data-display/data-grid.css +619 -0
- package/src/styles/components/data-display/index.css +9 -0
- package/src/styles/components/data-display/list.css +560 -0
- package/src/styles/components/data-display/table.css +498 -0
- package/src/styles/components/data-display/timeline.css +764 -0
- package/src/styles/components/data-display/tree.css +881 -0
- package/src/styles/components/feedback/alert.css +358 -0
- package/src/styles/components/feedback/index.css +7 -0
- package/src/styles/components/feedback/progress.css +468 -0
- package/src/styles/components/feedback/skeleton.css +337 -0
- package/src/styles/components/feedback/toast.css +564 -0
- package/src/styles/components/index.css +20 -0
- package/src/styles/components/layout/container.css +466 -0
- package/src/styles/components/layout/index.css +5 -0
- package/src/styles/components/layout/responsive-grid.css +422 -0
- package/src/styles/components/navigation/breadcrumb.css +465 -0
- package/src/styles/components/navigation/index.css +11 -0
- package/src/styles/components/navigation/menu.css +572 -0
- package/src/styles/components/navigation/pagination.css +635 -0
- package/src/styles/components/navigation/progressive-navigation.css +633 -0
- package/src/styles/components/navigation/sidebar.css +807 -0
- package/src/styles/components/navigation/stepper.css +519 -0
- package/src/styles/components/navigation/tabs.css +404 -0
- package/src/styles/components/navigation/user-menu.css +582 -0
- package/src/styles/components/overlay/backdrop.css +243 -0
- package/src/styles/components/overlay/index.css +8 -0
- package/src/styles/components/overlay/modal.css +482 -0
- package/src/styles/components/overlay/popover.css +607 -0
- package/src/styles/components/overlay/portal.css +213 -0
- package/src/styles/components/overlay/tooltip.css +488 -0
- package/src/styles/components/ui/index.css +4 -0
- package/src/styles/components/ui/theme-toggle.css +200 -0
- package/src/styles/generated-theme-variables.css +1 -0
- package/src/styles/index.css +5 -0
- package/src/styles/layers/index.css +33 -0
- package/src/styles/layers/overrides.css +108 -0
- package/src/styles/layers/validation.css +159 -0
- package/src/styles/layers/validation.js +310 -0
- package/src/styles/progressive.css +17 -0
- package/src/styles/themes/jeremy.css +646 -0
- package/src/styles/utilities/advanced-transition-system.css +467 -0
- package/src/styles/utilities/battery-conscious-animations.css +289 -0
- package/src/styles/utilities/design-system-utilities.css +278 -0
- package/src/styles/utilities/enterprise-mobile-experience.css +817 -0
- package/src/styles/utilities/hardware-acceleration.css +121 -0
- package/src/styles/utilities/index.css +23 -0
- package/src/styles/utilities/mobile-skeleton-loading.css +596 -0
- package/src/styles/utilities/semantic-input-system.css +445 -0
- package/src/styles/utilities/touch-friendly-interface.css +247 -0
- package/src/styles/utilities/touch-optimization.css +165 -0
- package/src/theme.ts +683 -0
- package/src/themes/README.md +272 -0
- package/src/themes/ThemeContext.tsx +31 -0
- package/src/themes/ThemeProvider.tsx +232 -0
- package/src/themes/accessibility/index.ts +27 -0
- package/src/themes/accessibility.ts +259 -0
- package/src/themes/aria-patterns.ts +420 -0
- package/src/themes/base-themes.ts +64 -0
- package/src/themes/colorManager.ts +380 -0
- package/src/themes/examples/dark-theme.ts +154 -0
- package/src/themes/examples/minimal-theme.ts +108 -0
- package/src/themes/focus-management.ts +701 -0
- package/src/themes/fontLoader.ts +201 -0
- package/src/themes/high-contrast.ts +621 -0
- package/src/themes/index.ts +20 -0
- package/src/themes/inheritance.ts +227 -0
- package/src/themes/keyboard-navigation.ts +550 -0
- package/src/themes/motion-reduction.ts +662 -0
- package/src/themes/navigation.ts +238 -0
- package/src/themes/phase1-constants.ts +189 -0
- package/src/themes/screen-reader.ts +645 -0
- package/src/themes/systemThemeDetector.ts +182 -0
- package/src/themes/themeCSSUpdater.ts +262 -0
- package/src/themes/themePersistence.ts +238 -0
- package/src/themes/themes/default.ts +590 -0
- package/src/themes/themes/jeremy.ts +683 -0
- package/src/themes/types.ts +540 -0
- package/src/themes/useSystemTheme.ts +48 -0
- package/src/themes/useTheme.ts +87 -0
- package/src/themes/validation.ts +711 -0
- package/src/tokens/index.ts +34 -0
- package/src/tokens/tokenExporter.ts +397 -0
- package/src/tokens/tokenGenerator.ts +276 -0
- package/src/tokens/tokenManager.ts +248 -0
- package/src/tokens/tokenValidator.ts +543 -0
- package/src/tokens/types.ts +78 -0
- package/src/types.ts +540 -0
- package/src/utils/bundle-analyzer.ts +260 -0
- package/src/utils/bundle-splitting.ts +483 -0
- package/src/utils/lazy-loading.ts +441 -0
- package/src/utils/performance-monitor.ts +513 -0
- package/src/utils/progressive-css-injector.ts +254 -0
- package/src/utils/tree-shaking.ts +274 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { useEffect, useState } from 'react';;
|
|
5
|
+
import { ProgressProps, ProgressStep } from './types.js';
|
|
6
|
+
|
|
7
|
+
// Linear Progress Component
|
|
8
|
+
const LinearProgress: React.FC<ProgressProps> = ({
|
|
9
|
+
value,
|
|
10
|
+
max = 100,
|
|
11
|
+
min = 0,
|
|
12
|
+
animated = true,
|
|
13
|
+
striped = false,
|
|
14
|
+
color,
|
|
15
|
+
size = 'md',
|
|
16
|
+
className = ''
|
|
17
|
+
}) => {
|
|
18
|
+
// Note: theme and colors not needed as we're using semantic CSS classes
|
|
19
|
+
|
|
20
|
+
const percentage = Math.min(Math.max(((value - min) / (max - min)) * 100, 0), 100);
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<div className={`progress__container progress__container--${size} ${className}`}>
|
|
24
|
+
<div
|
|
25
|
+
className={`progress__bar ${animated ? 'progress__bar--animated' : ''} ${striped ? 'progress__bar--striped' : ''} ${color ? `progress__bar--${color}` : ''}`}
|
|
26
|
+
style={{ width: `${percentage}%` }}
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// Circular Progress Component
|
|
33
|
+
const CircularProgress: React.FC<ProgressProps> = ({
|
|
34
|
+
value,
|
|
35
|
+
max = 100,
|
|
36
|
+
min = 0,
|
|
37
|
+
animated = true,
|
|
38
|
+
color,
|
|
39
|
+
size = 'md',
|
|
40
|
+
thickness = 4,
|
|
41
|
+
trackColor: _trackColor,
|
|
42
|
+
progressColor: _progressColor,
|
|
43
|
+
className = ''
|
|
44
|
+
}) => {
|
|
45
|
+
// Note: theme colors not needed as we're using semantic CSS classes
|
|
46
|
+
|
|
47
|
+
const percentage = Math.min(Math.max(((value - min) / (max - min)) * 100, 0), 100);
|
|
48
|
+
const radius = 50 - (thickness / 2);
|
|
49
|
+
const circumference = 2 * Math.PI * radius;
|
|
50
|
+
const strokeDasharray = circumference;
|
|
51
|
+
const strokeDashoffset = circumference - (percentage / 100) * circumference;
|
|
52
|
+
|
|
53
|
+
return (
|
|
54
|
+
<div className={`progress__circular progress__circular--${size} ${className}`}>
|
|
55
|
+
<svg className="progress__circle" viewBox="0 0 100 100">
|
|
56
|
+
{/* Track */}
|
|
57
|
+
<circle
|
|
58
|
+
cx="50"
|
|
59
|
+
cy="50"
|
|
60
|
+
r={radius}
|
|
61
|
+
className="progress__circle-track"
|
|
62
|
+
strokeWidth={thickness}
|
|
63
|
+
/>
|
|
64
|
+
{/* Progress */}
|
|
65
|
+
<circle
|
|
66
|
+
cx="50"
|
|
67
|
+
cy="50"
|
|
68
|
+
r={radius}
|
|
69
|
+
className={`progress__circle-progress ${animated ? 'progress__circle-progress--animated' : ''} ${color ? `progress__circle-progress--${color}` : ''}`}
|
|
70
|
+
strokeWidth={thickness}
|
|
71
|
+
strokeDasharray={strokeDasharray}
|
|
72
|
+
strokeDashoffset={strokeDashoffset}
|
|
73
|
+
/>
|
|
74
|
+
</svg>
|
|
75
|
+
{/* Center text */}
|
|
76
|
+
<div className="progress__circle-label">
|
|
77
|
+
{Math.round(percentage)}%
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
);
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
// Steps Progress Component
|
|
84
|
+
const StepsProgress: React.FC<ProgressProps & { steps?: ProgressStep[] }> = ({
|
|
85
|
+
steps = [],
|
|
86
|
+
className = ''
|
|
87
|
+
}) => {
|
|
88
|
+
// Note: size and colors not needed as we're using semantic CSS classes
|
|
89
|
+
|
|
90
|
+
const getStatusIcon = (status: ProgressStep['status']) => {
|
|
91
|
+
switch (status) {
|
|
92
|
+
case 'completed':
|
|
93
|
+
return (
|
|
94
|
+
<svg className="progress__step-icon" fill="currentColor" viewBox="0 0 20 20">
|
|
95
|
+
<path fillRule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clipRule="evenodd" />
|
|
96
|
+
</svg>
|
|
97
|
+
);
|
|
98
|
+
case 'active':
|
|
99
|
+
return (
|
|
100
|
+
<svg className="progress__step-icon" fill="currentColor" viewBox="0 0 20 20">
|
|
101
|
+
<path fillRule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z" clipRule="evenodd" />
|
|
102
|
+
</svg>
|
|
103
|
+
);
|
|
104
|
+
case 'error':
|
|
105
|
+
return (
|
|
106
|
+
<svg className="progress__step-icon" fill="currentColor" viewBox="0 0 20 20">
|
|
107
|
+
<path fillRule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z" clipRule="evenodd" />
|
|
108
|
+
</svg>
|
|
109
|
+
);
|
|
110
|
+
case 'pending':
|
|
111
|
+
default:
|
|
112
|
+
return (
|
|
113
|
+
<svg className="progress__step-icon" fill="currentColor" viewBox="0 0 20 20">
|
|
114
|
+
<path fillRule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z" clipRule="evenodd" />
|
|
115
|
+
</svg>
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
if (steps.length === 0) {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
return (
|
|
125
|
+
<div className={`progress__steps ${className}`}>
|
|
126
|
+
{steps.map((step, index) => (
|
|
127
|
+
<div key={index} className="progress__step">
|
|
128
|
+
{/* Step indicator */}
|
|
129
|
+
<div
|
|
130
|
+
className={`progress__step-indicator progress__step-indicator--${step.status}`}
|
|
131
|
+
>
|
|
132
|
+
{getStatusIcon(step.status)}
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
{/* Step connector */}
|
|
136
|
+
{index < steps.length - 1 && (
|
|
137
|
+
<div
|
|
138
|
+
className={`progress__step-connector ${step.status === 'completed' ? 'progress__step-connector--completed' : ''}`}
|
|
139
|
+
/>
|
|
140
|
+
)}
|
|
141
|
+
|
|
142
|
+
{/* Step label */}
|
|
143
|
+
<div className={`progress__step-label progress__step-label--${step.status}`}>
|
|
144
|
+
<div className="progress__step-title">
|
|
145
|
+
{step.label}
|
|
146
|
+
</div>
|
|
147
|
+
{step.description && (
|
|
148
|
+
<div className="progress__step-description">
|
|
149
|
+
{step.description}
|
|
150
|
+
</div>
|
|
151
|
+
)}
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
))}
|
|
155
|
+
</div>
|
|
156
|
+
);
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
// Main Progress Component
|
|
160
|
+
export const Progress: React.FC<ProgressProps> = ({
|
|
161
|
+
value,
|
|
162
|
+
max = 100,
|
|
163
|
+
min = 0,
|
|
164
|
+
label,
|
|
165
|
+
showLabel = false,
|
|
166
|
+
showValue = false,
|
|
167
|
+
showPercentage = false,
|
|
168
|
+
animated = true,
|
|
169
|
+
striped = false,
|
|
170
|
+
color,
|
|
171
|
+
size = 'md',
|
|
172
|
+
variant = 'linear',
|
|
173
|
+
thickness,
|
|
174
|
+
trackColor: _trackColor,
|
|
175
|
+
progressColor: _progressColor,
|
|
176
|
+
indeterminate = false,
|
|
177
|
+
onComplete,
|
|
178
|
+
className = '',
|
|
179
|
+
theme = 'stan-design'
|
|
180
|
+
}) => {
|
|
181
|
+
// Note: theme colors not needed as we're using semantic CSS classes
|
|
182
|
+
|
|
183
|
+
const [currentValue, setCurrentValue] = useState(value);
|
|
184
|
+
|
|
185
|
+
useEffect(() => {
|
|
186
|
+
setCurrentValue(value);
|
|
187
|
+
|
|
188
|
+
if (value >= max && onComplete) {
|
|
189
|
+
onComplete();
|
|
190
|
+
}
|
|
191
|
+
}, [value, max, onComplete]);
|
|
192
|
+
|
|
193
|
+
useEffect(() => {
|
|
194
|
+
if (indeterminate) {
|
|
195
|
+
const interval = setInterval(() => {
|
|
196
|
+
setCurrentValue(prev => {
|
|
197
|
+
if (prev >= max) return min;
|
|
198
|
+
return prev + (max - min) / 20;
|
|
199
|
+
});
|
|
200
|
+
}, 100);
|
|
201
|
+
|
|
202
|
+
return () => clearInterval(interval);
|
|
203
|
+
}
|
|
204
|
+
}, [indeterminate, min, max]);
|
|
205
|
+
|
|
206
|
+
const renderProgress = () => {
|
|
207
|
+
switch (variant) {
|
|
208
|
+
case 'circular':
|
|
209
|
+
return (
|
|
210
|
+
<CircularProgress
|
|
211
|
+
value={currentValue}
|
|
212
|
+
max={max}
|
|
213
|
+
min={min}
|
|
214
|
+
animated={animated}
|
|
215
|
+
color={color}
|
|
216
|
+
size={size}
|
|
217
|
+
thickness={thickness}
|
|
218
|
+
trackColor={_trackColor}
|
|
219
|
+
progressColor={_progressColor}
|
|
220
|
+
className={className}
|
|
221
|
+
/>
|
|
222
|
+
);
|
|
223
|
+
case 'steps':
|
|
224
|
+
return (
|
|
225
|
+
<StepsProgress
|
|
226
|
+
value={currentValue}
|
|
227
|
+
max={max}
|
|
228
|
+
min={min}
|
|
229
|
+
size={size}
|
|
230
|
+
className={className}
|
|
231
|
+
/>
|
|
232
|
+
);
|
|
233
|
+
case 'linear':
|
|
234
|
+
default:
|
|
235
|
+
return (
|
|
236
|
+
<LinearProgress
|
|
237
|
+
value={currentValue}
|
|
238
|
+
max={max}
|
|
239
|
+
min={min}
|
|
240
|
+
animated={animated}
|
|
241
|
+
striped={striped}
|
|
242
|
+
color={color}
|
|
243
|
+
size={size}
|
|
244
|
+
thickness={thickness}
|
|
245
|
+
trackColor={_trackColor}
|
|
246
|
+
progressColor={_progressColor}
|
|
247
|
+
className={className}
|
|
248
|
+
/>
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
return (
|
|
254
|
+
<div className={`progress__wrapper progress__wrapper--${theme} ${className}`}>
|
|
255
|
+
{/* Label and Value Display */}
|
|
256
|
+
{(showLabel || showValue || showPercentage) && (
|
|
257
|
+
<div className="progress__header">
|
|
258
|
+
{showLabel && label && (
|
|
259
|
+
<span className="progress__label">
|
|
260
|
+
{label}
|
|
261
|
+
</span>
|
|
262
|
+
)}
|
|
263
|
+
{(showValue || showPercentage) && (
|
|
264
|
+
<span className="progress__value">
|
|
265
|
+
{showValue && `${currentValue}/${max}`}
|
|
266
|
+
{showValue && showPercentage && ' - '}
|
|
267
|
+
{showPercentage && `${Math.round(((currentValue - min) / (max - min)) * 100)}%`}
|
|
268
|
+
</span>
|
|
269
|
+
)}
|
|
270
|
+
</div>
|
|
271
|
+
)}
|
|
272
|
+
|
|
273
|
+
{/* Progress Component */}
|
|
274
|
+
{renderProgress()}
|
|
275
|
+
</div>
|
|
276
|
+
);
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
export default Progress;
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import * as React from 'react';;
|
|
2
|
+
import { SkeletonProps, SkeletonTextProps, SkeletonAvatarProps, SkeletonButtonProps } from './types.js';
|
|
3
|
+
|
|
4
|
+
// Base Skeleton Component
|
|
5
|
+
const BaseSkeleton: React.FC<SkeletonProps> = ({
|
|
6
|
+
width,
|
|
7
|
+
height,
|
|
8
|
+
variant = 'rectangular',
|
|
9
|
+
animation = 'pulse',
|
|
10
|
+
className = '',
|
|
11
|
+
size = 'md'
|
|
12
|
+
}) => {
|
|
13
|
+
// Note: theme and colors not needed as we're using semantic CSS classes
|
|
14
|
+
|
|
15
|
+
const getDefaultDimensions = () => {
|
|
16
|
+
if (width && height) return { width, height };
|
|
17
|
+
|
|
18
|
+
switch (variant) {
|
|
19
|
+
case 'circular':
|
|
20
|
+
switch (size) {
|
|
21
|
+
case 'sm': return { width: '2rem', height: '2rem' };
|
|
22
|
+
case 'lg': return { width: '4rem', height: '4rem' };
|
|
23
|
+
default: return { width: '3rem', height: '3rem' };
|
|
24
|
+
}
|
|
25
|
+
case 'text':
|
|
26
|
+
switch (size) {
|
|
27
|
+
case 'sm': return { width: '100%', height: '0.875rem' };
|
|
28
|
+
case 'lg': return { width: '100%', height: '1.25rem' };
|
|
29
|
+
default: return { width: '100%', height: '1rem' };
|
|
30
|
+
}
|
|
31
|
+
case 'rectangular':
|
|
32
|
+
case 'rounded':
|
|
33
|
+
default:
|
|
34
|
+
switch (size) {
|
|
35
|
+
case 'sm': return { width: '100%', height: '2rem' };
|
|
36
|
+
case 'lg': return { width: '100%', height: '4rem' };
|
|
37
|
+
default: return { width: '100%', height: '3rem' };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const dimensions = getDefaultDimensions();
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<div
|
|
46
|
+
className={`skeleton__base skeleton__base--${variant} skeleton__base--${animation} skeleton__base--${size} ${className}`}
|
|
47
|
+
style={{
|
|
48
|
+
width: dimensions.width,
|
|
49
|
+
height: dimensions.height
|
|
50
|
+
}}
|
|
51
|
+
aria-busy="true"
|
|
52
|
+
role="progressbar"
|
|
53
|
+
aria-label="Loading content"
|
|
54
|
+
/>
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
// Skeleton Text Component
|
|
59
|
+
export const SkeletonText: React.FC<SkeletonTextProps> = ({
|
|
60
|
+
lines = 3,
|
|
61
|
+
lineHeight,
|
|
62
|
+
lastLineWidth,
|
|
63
|
+
spacing = 2,
|
|
64
|
+
className = '',
|
|
65
|
+
...props
|
|
66
|
+
}) => {
|
|
67
|
+
const getLineHeight = () => {
|
|
68
|
+
if (lineHeight) return lineHeight;
|
|
69
|
+
switch (props.size) {
|
|
70
|
+
case 'sm': return '0.875rem';
|
|
71
|
+
case 'lg': return '1.25rem';
|
|
72
|
+
default: return '1rem';
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
const getLastLineWidth = () => {
|
|
77
|
+
if (lastLineWidth) return lastLineWidth;
|
|
78
|
+
return '75%';
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
return (
|
|
82
|
+
<div className={`skeleton__text skeleton__text--spacing-${spacing} ${className}`}>
|
|
83
|
+
{Array.from({ length: lines }).map((_, index) => (
|
|
84
|
+
<div
|
|
85
|
+
key={index}
|
|
86
|
+
className={`skeleton__text-line skeleton__text-line--${props.size || 'md'} skeleton__base--${props.animation || 'pulse'} ${
|
|
87
|
+
index === lines - 1 ? 'skeleton__text-line--last' : ''
|
|
88
|
+
}`}
|
|
89
|
+
style={{
|
|
90
|
+
width: index === lines - 1 ? getLastLineWidth() : '100%',
|
|
91
|
+
height: getLineHeight()
|
|
92
|
+
}}
|
|
93
|
+
aria-busy="true"
|
|
94
|
+
/>
|
|
95
|
+
))}
|
|
96
|
+
</div>
|
|
97
|
+
);
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
// Skeleton Avatar Component
|
|
101
|
+
export const SkeletonAvatar: React.FC<SkeletonAvatarProps> = ({
|
|
102
|
+
size = 'md',
|
|
103
|
+
shape = 'circular',
|
|
104
|
+
className = '',
|
|
105
|
+
...props
|
|
106
|
+
}) => {
|
|
107
|
+
return (
|
|
108
|
+
<div
|
|
109
|
+
className={`skeleton__avatar skeleton__avatar--${size} skeleton__avatar--${shape} skeleton__base--${props.animation || 'pulse'} ${className}`}
|
|
110
|
+
aria-busy="true"
|
|
111
|
+
role="progressbar"
|
|
112
|
+
aria-label="Loading avatar"
|
|
113
|
+
/>
|
|
114
|
+
);
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
// Skeleton Button Component
|
|
118
|
+
export const SkeletonButton: React.FC<SkeletonButtonProps> = ({
|
|
119
|
+
size = 'md',
|
|
120
|
+
variant = 'contained',
|
|
121
|
+
fullWidth = false,
|
|
122
|
+
className = '',
|
|
123
|
+
...props
|
|
124
|
+
}) => {
|
|
125
|
+
return (
|
|
126
|
+
<div
|
|
127
|
+
className={`skeleton__button skeleton__button--${size} skeleton__button--${variant} ${
|
|
128
|
+
fullWidth ? 'skeleton__button--full-width' : ''
|
|
129
|
+
} skeleton__base--${props.animation || 'pulse'} ${className}`}
|
|
130
|
+
aria-busy="true"
|
|
131
|
+
role="progressbar"
|
|
132
|
+
aria-label="Loading button"
|
|
133
|
+
/>
|
|
134
|
+
);
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
// Main Skeleton Component
|
|
138
|
+
export const Skeleton: React.FC<SkeletonProps> = ({
|
|
139
|
+
width,
|
|
140
|
+
height,
|
|
141
|
+
variant = 'rectangular',
|
|
142
|
+
animation = 'pulse',
|
|
143
|
+
rows = 1,
|
|
144
|
+
spacing = 2,
|
|
145
|
+
show = true,
|
|
146
|
+
className = '',
|
|
147
|
+
theme = 'stan-design',
|
|
148
|
+
size = 'md'
|
|
149
|
+
}) => {
|
|
150
|
+
if (!show) {
|
|
151
|
+
return null;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (rows > 1) {
|
|
155
|
+
return (
|
|
156
|
+
<div className={`skeleton__container skeleton__container--spacing-${spacing} ${className}`}>
|
|
157
|
+
{Array.from({ length: rows }).map((_, index) => (
|
|
158
|
+
<BaseSkeleton
|
|
159
|
+
key={index}
|
|
160
|
+
width={width}
|
|
161
|
+
height={height}
|
|
162
|
+
variant={variant}
|
|
163
|
+
animation={animation}
|
|
164
|
+
size={size}
|
|
165
|
+
theme={theme}
|
|
166
|
+
/>
|
|
167
|
+
))}
|
|
168
|
+
</div>
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
return (
|
|
173
|
+
<BaseSkeleton
|
|
174
|
+
width={width}
|
|
175
|
+
height={height}
|
|
176
|
+
variant={variant}
|
|
177
|
+
animation={animation}
|
|
178
|
+
size={size}
|
|
179
|
+
theme={theme}
|
|
180
|
+
className={className}
|
|
181
|
+
/>
|
|
182
|
+
);
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export default Skeleton;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// StatusAlertData Usage Example
|
|
2
|
+
import { StatusAlertData } from './types.js';
|
|
3
|
+
|
|
4
|
+
// Simple StatusAlertData examples
|
|
5
|
+
export const statusAlertExamples: StatusAlertData[] = [
|
|
6
|
+
{
|
|
7
|
+
id: 'success-alert',
|
|
8
|
+
title: 'Success',
|
|
9
|
+
message: 'Your changes have been saved successfully.',
|
|
10
|
+
type: 'success',
|
|
11
|
+
dismissible: true,
|
|
12
|
+
onDismiss: () => console.log('Success alert dismissed'),
|
|
13
|
+
showIcon: true,
|
|
14
|
+
closable: true,
|
|
15
|
+
size: 'md',
|
|
16
|
+
variant: 'default'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: 'warning-alert',
|
|
20
|
+
title: 'Warning',
|
|
21
|
+
message: 'Please review your settings before proceeding.',
|
|
22
|
+
type: 'warning',
|
|
23
|
+
dismissible: true,
|
|
24
|
+
actions: [
|
|
25
|
+
{
|
|
26
|
+
label: 'Review Settings',
|
|
27
|
+
onClick: () => console.log('Review settings clicked'),
|
|
28
|
+
variant: 'primary'
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: 'Dismiss',
|
|
32
|
+
onClick: () => console.log('Dismissed'),
|
|
33
|
+
variant: 'secondary'
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
showIcon: true,
|
|
37
|
+
size: 'md',
|
|
38
|
+
variant: 'bordered'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: 'error-alert',
|
|
42
|
+
title: 'Error',
|
|
43
|
+
message: 'An error occurred while processing your request.',
|
|
44
|
+
type: 'error',
|
|
45
|
+
dismissible: true,
|
|
46
|
+
onDismiss: () => console.log('Error alert dismissed'),
|
|
47
|
+
actions: [
|
|
48
|
+
{
|
|
49
|
+
label: 'Retry',
|
|
50
|
+
onClick: () => console.log('Retry clicked'),
|
|
51
|
+
variant: 'primary'
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
showIcon: true,
|
|
55
|
+
closable: true,
|
|
56
|
+
size: 'lg',
|
|
57
|
+
variant: 'filled'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: 'info-alert',
|
|
61
|
+
title: 'Information',
|
|
62
|
+
message: 'System maintenance is scheduled for tonight.',
|
|
63
|
+
type: 'info',
|
|
64
|
+
dismissible: false,
|
|
65
|
+
persistent: true,
|
|
66
|
+
showIcon: true,
|
|
67
|
+
size: 'md',
|
|
68
|
+
variant: 'default',
|
|
69
|
+
theme: 'stan-design'
|
|
70
|
+
}
|
|
71
|
+
];
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { createContext, useContext, useState, useCallback, useRef } from 'react';;
|
|
5
|
+
import { ToastProps } from './types.js';
|
|
6
|
+
|
|
7
|
+
export interface ToastInstance extends Omit<ToastProps, 'id'> {
|
|
8
|
+
id: string;
|
|
9
|
+
createdAt: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface ToastContextValue {
|
|
13
|
+
toasts: ToastInstance[];
|
|
14
|
+
addToast: (toast: Omit<ToastInstance, 'id' | 'createdAt'>) => string;
|
|
15
|
+
removeToast: (id: string) => void;
|
|
16
|
+
clearAllToasts: () => void;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const ToastContext = createContext<ToastContextValue | undefined>(undefined);
|
|
20
|
+
|
|
21
|
+
export interface ToastProviderProps {
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
maxToasts?: number;
|
|
24
|
+
defaultDuration?: number;
|
|
25
|
+
defaultPosition?: ToastProps['position'];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const ToastProvider: React.FC<ToastProviderProps> = ({
|
|
29
|
+
children,
|
|
30
|
+
maxToasts = 5,
|
|
31
|
+
defaultDuration = 5000,
|
|
32
|
+
defaultPosition = 'top-right'
|
|
33
|
+
}) => {
|
|
34
|
+
const [toasts, setToasts] = useState<ToastInstance[]>([]);
|
|
35
|
+
const timeoutRefs = useRef<Map<string, NodeJS.Timeout>>(new Map());
|
|
36
|
+
|
|
37
|
+
const removeToast = useCallback((id: string) => {
|
|
38
|
+
setToasts(prev => prev.filter(toast => toast.id !== id));
|
|
39
|
+
|
|
40
|
+
const timeoutId = timeoutRefs.current.get(id);
|
|
41
|
+
if (timeoutId) {
|
|
42
|
+
clearTimeout(timeoutId);
|
|
43
|
+
timeoutRefs.current.delete(id);
|
|
44
|
+
}
|
|
45
|
+
}, []);
|
|
46
|
+
|
|
47
|
+
const addToast = useCallback((toastData: Omit<ToastInstance, 'id' | 'createdAt'>) => {
|
|
48
|
+
const id = `toast-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
|
|
49
|
+
const toast: ToastInstance = {
|
|
50
|
+
...toastData,
|
|
51
|
+
id,
|
|
52
|
+
createdAt: Date.now(),
|
|
53
|
+
duration: toastData.duration ?? defaultDuration,
|
|
54
|
+
position: toastData.position ?? defaultPosition,
|
|
55
|
+
autoClose: toastData.autoClose ?? true,
|
|
56
|
+
pauseOnHover: toastData.pauseOnHover ?? true,
|
|
57
|
+
closable: toastData.closable ?? true,
|
|
58
|
+
showIcon: toastData.showIcon ?? true,
|
|
59
|
+
size: toastData.size ?? 'md',
|
|
60
|
+
variant: toastData.variant ?? 'default'
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
setToasts(prev => {
|
|
64
|
+
const newToasts = [toast, ...prev];
|
|
65
|
+
|
|
66
|
+
if (newToasts.length > maxToasts) {
|
|
67
|
+
const toastsToRemove = newToasts.slice(maxToasts);
|
|
68
|
+
toastsToRemove.forEach(t => {
|
|
69
|
+
const timeoutId = timeoutRefs.current.get(t.id);
|
|
70
|
+
if (timeoutId) {
|
|
71
|
+
clearTimeout(timeoutId);
|
|
72
|
+
timeoutRefs.current.delete(t.id);
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
return newToasts.slice(0, maxToasts);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return newToasts;
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
if (toast.autoClose && toast.duration && toast.duration > 0) {
|
|
82
|
+
const timeoutId = setTimeout(() => {
|
|
83
|
+
removeToast(id);
|
|
84
|
+
}, toast.duration);
|
|
85
|
+
|
|
86
|
+
timeoutRefs.current.set(id, timeoutId);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return id;
|
|
90
|
+
}, [defaultDuration, defaultPosition, maxToasts, removeToast]);
|
|
91
|
+
|
|
92
|
+
const clearAllToasts = useCallback(() => {
|
|
93
|
+
timeoutRefs.current.forEach(timeoutId => clearTimeout(timeoutId));
|
|
94
|
+
timeoutRefs.current.clear();
|
|
95
|
+
setToasts([]);
|
|
96
|
+
}, []);
|
|
97
|
+
|
|
98
|
+
const contextValue: ToastContextValue = {
|
|
99
|
+
toasts,
|
|
100
|
+
addToast,
|
|
101
|
+
removeToast,
|
|
102
|
+
clearAllToasts
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
return (
|
|
106
|
+
<ToastContext.Provider value={contextValue}>
|
|
107
|
+
{children}
|
|
108
|
+
</ToastContext.Provider>
|
|
109
|
+
);
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
export const useToast = (): ToastContextValue => {
|
|
113
|
+
const context = useContext(ToastContext);
|
|
114
|
+
if (!context) {
|
|
115
|
+
throw new Error('useToast must be used within a ToastProvider');
|
|
116
|
+
}
|
|
117
|
+
return context;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export const useToastHelpers = () => {
|
|
121
|
+
const { addToast } = useToast();
|
|
122
|
+
|
|
123
|
+
const showSuccess = useCallback((message: string, title?: string, options?: Partial<ToastInstance>) => {
|
|
124
|
+
return addToast({ type: 'success', message, title, ...options });
|
|
125
|
+
}, [addToast]);
|
|
126
|
+
|
|
127
|
+
const showError = useCallback((message: string, title?: string, options?: Partial<ToastInstance>) => {
|
|
128
|
+
return addToast({ type: 'error', message, title, ...options });
|
|
129
|
+
}, [addToast]);
|
|
130
|
+
|
|
131
|
+
const showWarning = useCallback((message: string, title?: string, options?: Partial<ToastInstance>) => {
|
|
132
|
+
return addToast({ type: 'warning', message, title, ...options });
|
|
133
|
+
}, [addToast]);
|
|
134
|
+
|
|
135
|
+
const showInfo = useCallback((message: string, title?: string, options?: Partial<ToastInstance>) => {
|
|
136
|
+
return addToast({ type: 'info', message, title, ...options });
|
|
137
|
+
}, [addToast]);
|
|
138
|
+
|
|
139
|
+
return {
|
|
140
|
+
showSuccess,
|
|
141
|
+
showError,
|
|
142
|
+
showWarning,
|
|
143
|
+
showInfo
|
|
144
|
+
};
|
|
145
|
+
};
|