@rakeyshgidwani/roger-ui-bank-theme-stan-design 0.2.17 → 0.2.19
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.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.map +1 -1
- package/dist/components/ui/advanced-component-architecture-demo.esm.js +9 -8
- package/dist/components/ui/advanced-component-architecture-demo.js +9 -8
- package/dist/components/ui/advanced-transition-system-demo.d.ts.map +1 -1
- package/dist/components/ui/advanced-transition-system-demo.esm.js +4 -3
- package/dist/components/ui/advanced-transition-system-demo.js +4 -3
- package/dist/components/ui/advanced-transition-system.d.ts.map +1 -1
- package/dist/components/ui/advanced-transition-system.esm.js +2 -1
- package/dist/components/ui/advanced-transition-system.js +2 -1
- package/dist/components/ui/animation/animated-container.d.ts.map +1 -1
- package/dist/components/ui/animation/animated-container.esm.js +2 -1
- package/dist/components/ui/animation/animated-container.js +2 -1
- package/dist/components/ui/animation/staggered-container.d.ts +1 -1
- 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.map +1 -1
- package/dist/components/ui/animation-demo.esm.js +4 -3
- package/dist/components/ui/animation-demo.js +4 -3
- package/dist/components/ui/battery-conscious-animation-demo.d.ts.map +1 -1
- package/dist/components/ui/battery-conscious-animation-demo.esm.js +6 -5
- package/dist/components/ui/battery-conscious-animation-demo.js +6 -5
- package/dist/components/ui/border-radius-shadow-demo.esm.js +2 -2
- package/dist/components/ui/border-radius-shadow-demo.js +2 -2
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.esm.js +1 -0
- package/dist/components/ui/button.js +1 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.esm.js +1 -0
- package/dist/components/ui/checkbox.js +1 -0
- package/dist/components/ui/color-preview.d.ts +1 -1
- package/dist/components/ui/color-preview.d.ts.map +1 -1
- package/dist/components/ui/color-preview.esm.js +3 -3
- package/dist/components/ui/color-preview.js +3 -3
- package/dist/components/ui/data-display/chart.d.ts +1 -1
- 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 +1 -1
- package/dist/components/ui/data-display/data-grid-simple.d.ts.map +1 -1
- package/dist/components/ui/data-display/data-grid.d.ts +1 -1
- package/dist/components/ui/data-display/data-grid.d.ts.map +1 -1
- package/dist/components/ui/data-display/data-grid.esm.js +1 -0
- package/dist/components/ui/data-display/data-grid.js +1 -0
- package/dist/components/ui/data-display/list.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/ui/data-display/tree.d.ts.map +1 -1
- package/dist/components/ui/data-display/tree.esm.js +2 -1
- package/dist/components/ui/data-display/tree.js +2 -1
- package/dist/components/ui/enterprise-mobile-experience-demo.d.ts.map +1 -1
- package/dist/components/ui/enterprise-mobile-experience-demo.esm.js +4 -3
- package/dist/components/ui/enterprise-mobile-experience-demo.js +4 -3
- package/dist/components/ui/enterprise-mobile-experience.d.ts.map +1 -1
- package/dist/components/ui/enterprise-mobile-experience.esm.js +1 -0
- package/dist/components/ui/enterprise-mobile-experience.js +1 -0
- package/dist/components/ui/feedback/alert.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/ui/feedback/skeleton.d.ts.map +1 -1
- package/dist/components/ui/feedback/toast.d.ts +1 -1
- 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/font-preview.d.ts +1 -1
- package/dist/components/ui/font-preview.d.ts.map +1 -1
- package/dist/components/ui/font-preview.esm.js +2 -2
- package/dist/components/ui/font-preview.js +2 -2
- package/dist/components/ui/form-demo.d.ts.map +1 -1
- package/dist/components/ui/form-demo.esm.js +6 -5
- package/dist/components/ui/form-demo.js +6 -5
- package/dist/components/ui/hardware-acceleration-demo.d.ts.map +1 -1
- package/dist/components/ui/hardware-acceleration-demo.esm.js +6 -5
- package/dist/components/ui/hardware-acceleration-demo.js +6 -5
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/input.esm.js +1 -0
- package/dist/components/ui/input.js +1 -0
- package/dist/components/ui/layout-demo.d.ts.map +1 -1
- package/dist/components/ui/layout-demo.esm.js +8 -7
- package/dist/components/ui/layout-demo.js +8 -7
- package/dist/components/ui/layouts/adaptive-layout.d.ts.map +1 -1
- package/dist/components/ui/layouts/adaptive-layout.esm.js +6 -5
- package/dist/components/ui/layouts/adaptive-layout.js +6 -5
- package/dist/components/ui/layouts/desktop-layout.d.ts.map +1 -1
- package/dist/components/ui/layouts/desktop-layout.esm.js +4 -3
- package/dist/components/ui/layouts/desktop-layout.js +4 -3
- package/dist/components/ui/layouts/mobile-layout.d.ts.map +1 -1
- package/dist/components/ui/layouts/mobile-layout.esm.js +3 -2
- package/dist/components/ui/layouts/mobile-layout.js +3 -2
- package/dist/components/ui/layouts/tablet-layout.d.ts.map +1 -1
- package/dist/components/ui/layouts/tablet-layout.esm.js +4 -3
- package/dist/components/ui/layouts/tablet-layout.js +4 -3
- package/dist/components/ui/mobile-form-validation.d.ts +2 -2
- package/dist/components/ui/mobile-form-validation.d.ts.map +1 -1
- package/dist/components/ui/mobile-form-validation.esm.js +11 -10
- package/dist/components/ui/mobile-form-validation.js +11 -10
- package/dist/components/ui/mobile-input-demo.esm.js +2 -2
- package/dist/components/ui/mobile-input-demo.js +2 -2
- package/dist/components/ui/mobile-input.d.ts.map +1 -1
- package/dist/components/ui/mobile-input.esm.js +2 -1
- package/dist/components/ui/mobile-input.js +2 -1
- package/dist/components/ui/mobile-skeleton-loading-demo.d.ts.map +1 -1
- package/dist/components/ui/mobile-skeleton-loading-demo.esm.js +9 -8
- package/dist/components/ui/mobile-skeleton-loading-demo.js +9 -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/breadcrumb.esm.js +5 -0
- package/dist/components/ui/navigation/breadcrumb.js +5 -0
- 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/menu.esm.js +5 -0
- package/dist/components/ui/navigation/menu.js +5 -0
- package/dist/components/ui/navigation/navigation-demo.d.ts.map +1 -1
- package/dist/components/ui/navigation/navigation-demo.esm.js +11 -6
- package/dist/components/ui/navigation/navigation-demo.js +11 -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/pagination.esm.js +5 -0
- package/dist/components/ui/navigation/pagination.js +5 -0
- 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/sidebar.esm.js +5 -0
- package/dist/components/ui/navigation/sidebar.js +5 -0
- 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/stepper.esm.js +5 -0
- package/dist/components/ui/navigation/stepper.js +5 -0
- 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/navigation/tabs.esm.js +5 -0
- package/dist/components/ui/navigation/tabs.js +5 -0
- 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.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 +1 -1
- package/dist/components/ui/overlay/modal.d.ts.map +1 -1
- package/dist/components/ui/overlay/modal.esm.js +6 -5
- package/dist/components/ui/overlay/modal.js +6 -5
- package/dist/components/ui/overlay/overlay-manager.d.ts +1 -1
- package/dist/components/ui/overlay/overlay-manager.d.ts.map +1 -1
- package/dist/components/ui/overlay/overlay-manager.esm.js +1 -0
- package/dist/components/ui/overlay/overlay-manager.js +1 -0
- package/dist/components/ui/overlay/popover.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/performance-demo.d.ts.map +1 -1
- package/dist/components/ui/performance-demo.esm.js +5 -4
- package/dist/components/ui/performance-demo.js +5 -4
- package/dist/components/ui/semantic-input-system-demo.d.ts.map +1 -1
- package/dist/components/ui/semantic-input-system-demo.esm.js +11 -10
- package/dist/components/ui/semantic-input-system-demo.js +11 -10
- package/dist/components/ui/theme-customizer.d.ts +1 -1
- 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.esm.js +2 -2
- package/dist/components/ui/theme-preview.js +2 -2
- 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.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.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.map +1 -1
- package/dist/components/ui/touch-demo.esm.js +5 -4
- package/dist/components/ui/touch-demo.js +5 -4
- package/dist/components/ui/touch-friendly-interface-demo.d.ts.map +1 -1
- package/dist/components/ui/touch-friendly-interface-demo.esm.js +6 -5
- package/dist/components/ui/touch-friendly-interface-demo.js +6 -5
- package/dist/components/ui/touch-friendly-interface.d.ts.map +1 -1
- package/dist/components/ui/touch-friendly-interface.esm.js +2 -1
- package/dist/components/ui/touch-friendly-interface.js +2 -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-device.d.ts.map +1 -1
- package/dist/hooks/use-device.esm.js +1 -0
- package/dist/hooks/use-device.js +1 -0
- package/dist/index.d.ts +281 -281
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +151 -151
- package/dist/index.js +151 -151
- 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/package.json +1 -1
- package/src/components/ui/accessibility-demo.tsx +12 -10
- package/src/components/ui/advanced-component-architecture-demo.tsx +10 -8
- package/src/components/ui/advanced-transition-system-demo.tsx +5 -3
- package/src/components/ui/advanced-transition-system.tsx +3 -1
- package/src/components/ui/animation/animated-container.tsx +3 -1
- package/src/components/ui/animation/staggered-container.tsx +1 -1
- package/src/components/ui/animation-demo.tsx +5 -3
- package/src/components/ui/battery-conscious-animation-demo.tsx +7 -5
- package/src/components/ui/border-radius-shadow-demo.tsx +2 -2
- package/src/components/ui/button.tsx +2 -0
- package/src/components/ui/checkbox.tsx +2 -0
- package/src/components/ui/color-preview.tsx +4 -4
- package/src/components/ui/data-display/chart.tsx +4 -2
- package/src/components/ui/data-display/data-grid-simple.tsx +1 -1
- package/src/components/ui/data-display/data-grid.tsx +3 -1
- package/src/components/ui/data-display/list.tsx +3 -1
- package/src/components/ui/data-display/table.tsx +3 -1
- package/src/components/ui/data-display/timeline.tsx +3 -1
- package/src/components/ui/data-display/tree.tsx +4 -2
- package/src/components/ui/enterprise-mobile-experience-demo.tsx +5 -3
- package/src/components/ui/enterprise-mobile-experience.tsx +2 -0
- package/src/components/ui/feedback/alert.tsx +3 -1
- package/src/components/ui/feedback/progress.tsx +4 -2
- package/src/components/ui/feedback/skeleton.tsx +1 -1
- package/src/components/ui/feedback/toast.tsx +3 -1
- package/src/components/ui/font-preview.tsx +3 -3
- package/src/components/ui/form-demo.tsx +8 -6
- package/src/components/ui/hardware-acceleration-demo.tsx +7 -5
- package/src/components/ui/input.tsx +2 -0
- package/src/components/ui/layout-demo.tsx +9 -7
- package/src/components/ui/layouts/adaptive-layout.tsx +7 -5
- package/src/components/ui/layouts/desktop-layout.tsx +5 -3
- package/src/components/ui/layouts/mobile-layout.tsx +4 -2
- package/src/components/ui/layouts/tablet-layout.tsx +5 -3
- package/src/components/ui/mobile-form-validation.tsx +12 -10
- package/src/components/ui/mobile-input-demo.tsx +2 -2
- package/src/components/ui/mobile-input.tsx +3 -1
- package/src/components/ui/mobile-skeleton-loading-demo.tsx +10 -8
- package/src/components/ui/navigation/breadcrumb.tsx +3 -1
- package/src/components/ui/navigation/menu.tsx +3 -1
- package/src/components/ui/navigation/navigation-demo.tsx +9 -7
- package/src/components/ui/navigation/pagination.tsx +3 -1
- package/src/components/ui/navigation/sidebar.tsx +3 -1
- package/src/components/ui/navigation/stepper.tsx +3 -1
- package/src/components/ui/navigation/tabs.tsx +3 -1
- package/src/components/ui/overlay/backdrop.tsx +2 -0
- package/src/components/ui/overlay/focus-manager.tsx +2 -0
- package/src/components/ui/overlay/modal.tsx +8 -6
- package/src/components/ui/overlay/overlay-manager.tsx +3 -1
- package/src/components/ui/overlay/popover.tsx +6 -4
- package/src/components/ui/overlay/portal.tsx +3 -1
- package/src/components/ui/overlay/tooltip.tsx +5 -3
- package/src/components/ui/performance-demo.tsx +6 -4
- package/src/components/ui/semantic-input-system-demo.tsx +12 -10
- package/src/components/ui/theme-customizer.tsx +7 -5
- package/src/components/ui/theme-preview.tsx +2 -2
- package/src/components/ui/theme-switcher.tsx +3 -1
- package/src/components/ui/theme-toggle.tsx +3 -1
- package/src/components/ui/token-demo.tsx +5 -3
- package/src/components/ui/touch-demo.tsx +6 -4
- package/src/components/ui/touch-friendly-interface-demo.tsx +7 -5
- package/src/components/ui/touch-friendly-interface.tsx +3 -1
- package/src/hooks/use-animation-profile.ts +1 -1
- package/src/hooks/use-device.tsx +2 -0
- package/src/index.ts +282 -282
- 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/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessibility-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/accessibility-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"accessibility-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/accessibility-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAYnD,UAAU,sBAAsB;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA8P9D,CAAC"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { Card } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Badge } from './badge';
|
|
6
|
-
import { Input } from './input';
|
|
7
|
-
import { accessibilityManager } from '../../themes/accessibility';
|
|
8
|
-
import { screenReaderOptimizer } from '../../themes/screen-reader';
|
|
9
|
-
import { highContrastThemeManager } from '../../themes/high-contrast';
|
|
10
|
-
import { focusManager } from '../../themes/focus-management';
|
|
11
|
-
import { motionReductionManager } from '../../themes/motion-reduction';
|
|
12
|
-
import { ARIAUtils as AriaPatternGenerator } from '../../themes/aria-patterns';
|
|
4
|
+
import { Card } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Badge } from './badge.js';
|
|
7
|
+
import { Input } from './input.js';
|
|
8
|
+
import { accessibilityManager } from '../../themes/accessibility.js';
|
|
9
|
+
import { screenReaderOptimizer } from '../../themes/screen-reader.js';
|
|
10
|
+
import { highContrastThemeManager } from '../../themes/high-contrast.js';
|
|
11
|
+
import { focusManager } from '../../themes/focus-management.js';
|
|
12
|
+
import { motionReductionManager } from '../../themes/motion-reduction.js';
|
|
13
|
+
import { ARIAUtils as AriaPatternGenerator } from '../../themes/aria-patterns.js';
|
|
13
14
|
export const AccessibilityDemo = ({ className = '' }) => {
|
|
14
15
|
const [currentFocus, setCurrentFocus] = useState('');
|
|
15
16
|
const [announcements, setAnnouncements] = useState([]);
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { Card } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Badge } from './badge';
|
|
6
|
-
import { Input } from './input';
|
|
7
|
-
import { accessibilityManager } from '../../themes/accessibility';
|
|
8
|
-
import { screenReaderOptimizer } from '../../themes/screen-reader';
|
|
9
|
-
import { highContrastThemeManager } from '../../themes/high-contrast';
|
|
10
|
-
import { focusManager } from '../../themes/focus-management';
|
|
11
|
-
import { motionReductionManager } from '../../themes/motion-reduction';
|
|
12
|
-
import { ARIAUtils as AriaPatternGenerator } from '../../themes/aria-patterns';
|
|
4
|
+
import { Card } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Badge } from './badge.js';
|
|
7
|
+
import { Input } from './input.js';
|
|
8
|
+
import { accessibilityManager } from '../../themes/accessibility.js';
|
|
9
|
+
import { screenReaderOptimizer } from '../../themes/screen-reader.js';
|
|
10
|
+
import { highContrastThemeManager } from '../../themes/high-contrast.js';
|
|
11
|
+
import { focusManager } from '../../themes/focus-management.js';
|
|
12
|
+
import { motionReductionManager } from '../../themes/motion-reduction.js';
|
|
13
|
+
import { ARIAUtils as AriaPatternGenerator } from '../../themes/aria-patterns.js';
|
|
13
14
|
export const AccessibilityDemo = ({ className = '' }) => {
|
|
14
15
|
const [currentFocus, setCurrentFocus] = useState('');
|
|
15
16
|
const [announcements, setAnnouncements] = useState([]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced-component-architecture-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/advanced-component-architecture-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"advanced-component-architecture-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/advanced-component-architecture-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAU/D,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAu4BrD,CAAA;AAED,eAAe,iCAAiC,CAAA"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useCallback, useEffect } from 'react';
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Badge } from './badge';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { useAdvancedPatterns } from '../../hooks/use-advanced-patterns';
|
|
7
|
-
import { useComponentPerformance } from '../../hooks/use-component-performance';
|
|
8
|
-
import { useMobileOptimization } from '../../hooks/use-mobile-optimization';
|
|
9
|
-
import { useReusableArchitecture } from '../../hooks/use-reusable-architecture';
|
|
10
|
-
import { useAccessibilitySupport } from '../../hooks/use-accessibility-support';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Badge } from './badge.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { useAdvancedPatterns } from '../../hooks/use-advanced-patterns.js';
|
|
8
|
+
import { useComponentPerformance } from '../../hooks/use-component-performance.js';
|
|
9
|
+
import { useMobileOptimization } from '../../hooks/use-mobile-optimization.js';
|
|
10
|
+
import { useReusableArchitecture } from '../../hooks/use-reusable-architecture.js';
|
|
11
|
+
import { useAccessibilitySupport } from '../../hooks/use-accessibility-support.js';
|
|
11
12
|
export const AdvancedComponentArchitectureDemo = () => {
|
|
12
13
|
const [activeTab, setActiveTab] = useState('patterns');
|
|
13
14
|
const [showPatternDemo, setShowPatternDemo] = useState(true);
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useCallback, useEffect } from 'react';
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Badge } from './badge';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { useAdvancedPatterns } from '../../hooks/use-advanced-patterns';
|
|
7
|
-
import { useComponentPerformance } from '../../hooks/use-component-performance';
|
|
8
|
-
import { useMobileOptimization } from '../../hooks/use-mobile-optimization';
|
|
9
|
-
import { useReusableArchitecture } from '../../hooks/use-reusable-architecture';
|
|
10
|
-
import { useAccessibilitySupport } from '../../hooks/use-accessibility-support';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Badge } from './badge.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { useAdvancedPatterns } from '../../hooks/use-advanced-patterns.js';
|
|
8
|
+
import { useComponentPerformance } from '../../hooks/use-component-performance.js';
|
|
9
|
+
import { useMobileOptimization } from '../../hooks/use-mobile-optimization.js';
|
|
10
|
+
import { useReusableArchitecture } from '../../hooks/use-reusable-architecture.js';
|
|
11
|
+
import { useAccessibilitySupport } from '../../hooks/use-accessibility-support.js';
|
|
11
12
|
export const AdvancedComponentArchitectureDemo = () => {
|
|
12
13
|
const [activeTab, setActiveTab] = useState('patterns');
|
|
13
14
|
const [showPatternDemo, setShowPatternDemo] = useState(true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced-transition-system-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/advanced-transition-system-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"advanced-transition-system-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/advanced-transition-system-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAUvC,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAmpBhD,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState } from 'react';
|
|
3
|
-
import { Badge } from './badge';
|
|
4
|
-
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system';
|
|
5
|
-
import { AdvancedTransitionButton, AdvancedTransitionCard, AdvancedTransitionInput, AdvancedTransitionList } from './advanced-transition-system';
|
|
4
|
+
import { Badge } from './badge.js';
|
|
5
|
+
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system.js';
|
|
6
|
+
import { AdvancedTransitionButton, AdvancedTransitionCard, AdvancedTransitionInput, AdvancedTransitionList } from './advanced-transition-system.js';
|
|
6
7
|
export const AdvancedTransitionSystemDemo = () => {
|
|
7
8
|
const [activeDemo, setActiveDemo] = useState('transitions');
|
|
8
9
|
const [formData, setFormData] = useState({
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState } from 'react';
|
|
3
|
-
import { Badge } from './badge';
|
|
4
|
-
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system';
|
|
5
|
-
import { AdvancedTransitionButton, AdvancedTransitionCard, AdvancedTransitionInput, AdvancedTransitionList } from './advanced-transition-system';
|
|
4
|
+
import { Badge } from './badge.js';
|
|
5
|
+
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system.js';
|
|
6
|
+
import { AdvancedTransitionButton, AdvancedTransitionCard, AdvancedTransitionInput, AdvancedTransitionList } from './advanced-transition-system.js';
|
|
6
7
|
export const AdvancedTransitionSystemDemo = () => {
|
|
7
8
|
const [activeDemo, setActiveDemo] = useState('transitions');
|
|
8
9
|
const [formData, setFormData] = useState({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced-transition-system.d.ts","sourceRoot":"","sources":["../../../src/components/ui/advanced-transition-system.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"advanced-transition-system.d.ts","sourceRoot":"","sources":["../../../src/components/ui/advanced-transition-system.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0C,MAAM,OAAO,CAAA;AAK9D,MAAM,WAAW,gCAAiC,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5F,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,gBAAgB,GAAG,eAAe,GAAG,mBAAmB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,CAAA;IAC1N,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,2BAA2B,yGAsFvC,CAAA;AAKD,MAAM,WAAW,6BAA8B,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAClG,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,gBAAgB,GAAG,eAAe,GAAG,mBAAmB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,CAAA;IAC1N,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAA;IACvD,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,wBAAwB,yGAuEpC,CAAA;AAKD,MAAM,WAAW,2BAA4B,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACvF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,gBAAgB,GAAG,eAAe,GAAG,mBAAmB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,CAAA;IAC1N,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,sBAAsB,oGA6DlC,CAAA;AAKD,MAAM,WAAW,4BAA6B,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC/F,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,gBAAgB,GAAG,eAAe,GAAG,mBAAmB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,CAAA;IAC1N,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,uBAAuB,uGA2DnC,CAAA;AAKD,MAAM,WAAW,2BAA4B,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,gBAAgB,GAAG,eAAe,GAAG,mBAAmB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,GAAG,eAAe,GAAG,cAAc,GAAG,kBAAkB,CAAA;IAC1N,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,sBAAsB,sGA+ClC,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import React, { forwardRef, useState, useEffect } from 'react';
|
|
3
4
|
import { cn } from '../../lib/utils';
|
|
4
|
-
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system';
|
|
5
|
+
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system.js';
|
|
5
6
|
export const AdvancedTransitionContainer = forwardRef(({ className, duration = 300, easing = 'ease-out', delay = 0, performance = true, deviceOptimization = true, accessibility = true, batteryAware = true, children, ...props }, ref) => {
|
|
6
7
|
const { startTransition, transitionState, isTransitionActive } = useAdvancedTransitionSystem({
|
|
7
8
|
duration,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import React, { forwardRef, useState, useEffect } from 'react';
|
|
3
4
|
import { cn } from '../../lib/utils';
|
|
4
|
-
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system';
|
|
5
|
+
import { useAdvancedTransitionSystem } from '../../hooks/use-advanced-transition-system.js';
|
|
5
6
|
export const AdvancedTransitionContainer = forwardRef(({ className, duration = 300, easing = 'ease-out', delay = 0, performance = true, deviceOptimization = true, accessibility = true, batteryAware = true, children, ...props }, ref) => {
|
|
6
7
|
const { startTransition, transitionState, isTransitionActive } = useAdvancedTransitionSystem({
|
|
7
8
|
duration,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animated-container.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/animation/animated-container.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"animated-container.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/animation/animated-container.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkD,MAAM,OAAO,CAAA;AAItE,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAClF,SAAS,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAA;IAChE,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,iBAAiB,+FAoJ7B,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef, useEffect, useRef, useState } from 'react';
|
|
3
4
|
import { cn } from '../../../lib/utils';
|
|
4
|
-
import { useAnimationProfile } from '../../../hooks/use-animation-profile';
|
|
5
|
+
import { useAnimationProfile } from '../../../hooks/use-animation-profile.js';
|
|
5
6
|
export const AnimatedContainer = forwardRef(({ animation = 'fadeIn', duration = 'normal', easing = 'ease', delay = 0, stagger = 0, onAnimationStart, onAnimationEnd, className, children, ...props }, ref) => {
|
|
6
7
|
const containerRef = useRef(null);
|
|
7
8
|
// Use the forwarded ref if provided, otherwise use local ref
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef, useEffect, useRef, useState } from 'react';
|
|
3
4
|
import { cn } from '../../../lib/utils';
|
|
4
|
-
import { useAnimationProfile } from '../../../hooks/use-animation-profile';
|
|
5
|
+
import { useAnimationProfile } from '../../../hooks/use-animation-profile.js';
|
|
5
6
|
export const AnimatedContainer = forwardRef(({ animation = 'fadeIn', duration = 'normal', easing = 'ease', delay = 0, stagger = 0, onAnimationStart, onAnimationEnd, className, children, ...props }, ref) => {
|
|
6
7
|
const containerRef = useRef(null);
|
|
7
8
|
// Use the forwarded ref if provided, otherwise use local ref
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { AnimatedContainerProps } from './animated-container';
|
|
2
|
+
import { AnimatedContainerProps } from './animated-container.js';
|
|
3
3
|
export interface StaggeredContainerProps extends Omit<AnimatedContainerProps, 'children'> {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
staggerDelay?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staggered-container.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/animation/staggered-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAA;AAEnF,OAAO,EAAqB,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"staggered-container.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/animation/staggered-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAA;AAEnF,OAAO,EAAqB,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAEnF,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC;IACvF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,gBAAgB,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;IACnD,aAAa,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAA;CACvE;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAwDhE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Children, cloneElement, isValidElement } from 'react';
|
|
3
3
|
import { cn } from '../../../lib/utils';
|
|
4
|
-
import { AnimatedContainer } from './animated-container';
|
|
4
|
+
import { AnimatedContainer } from './animated-container.js';
|
|
5
5
|
export const StaggeredContainer = ({ children, staggerDelay = 0.1, staggerDirection = 'forward', staggerEasing = 'ease', className, ...props }) => {
|
|
6
6
|
const childrenArray = Children.toArray(children);
|
|
7
7
|
const totalChildren = childrenArray.length;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Children, cloneElement, isValidElement } from 'react';
|
|
3
3
|
import { cn } from '../../../lib/utils';
|
|
4
|
-
import { AnimatedContainer } from './animated-container';
|
|
4
|
+
import { AnimatedContainer } from './animated-container.js';
|
|
5
5
|
export const StaggeredContainer = ({ children, staggerDelay = 0.1, staggerDirection = 'forward', staggerEasing = 'ease', className, ...props }) => {
|
|
6
6
|
const childrenArray = Children.toArray(children);
|
|
7
7
|
const totalChildren = childrenArray.length;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animation-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/animation-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"animation-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/animation-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAYvC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EA6OjC,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState } from 'react';
|
|
3
|
-
import { Card } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Badge } from './badge';
|
|
4
|
+
import { Card } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Badge } from './badge.js';
|
|
6
7
|
import { AnimatedContainer, StaggeredContainer, useAnimationProfile, usePerformanceMode } from './animation';
|
|
7
8
|
export const AnimationDemo = () => {
|
|
8
9
|
const [currentAnimation, setCurrentAnimation] = useState('fadeIn');
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState } from 'react';
|
|
3
|
-
import { Card } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Badge } from './badge';
|
|
4
|
+
import { Card } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Badge } from './badge.js';
|
|
6
7
|
import { AnimatedContainer, StaggeredContainer, useAnimationProfile, usePerformanceMode } from './animation';
|
|
7
8
|
export const AnimationDemo = () => {
|
|
8
9
|
const [currentAnimation, setCurrentAnimation] = useState('fadeIn');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"battery-conscious-animation-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/battery-conscious-animation-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"battery-conscious-animation-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/battery-conscious-animation-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAOpD,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EA8iBjD,CAAA;AAED,eAAe,6BAA6B,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useCallback } from 'react';
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Badge } from './badge';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { useBatteryAnimations } from '../../hooks/use-battery-animations';
|
|
7
|
-
import { usePerformanceThrottling } from '../../hooks/use-performance-throttling';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Badge } from './badge.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { useBatteryAnimations } from '../../hooks/use-battery-animations.js';
|
|
8
|
+
import { usePerformanceThrottling } from '../../hooks/use-performance-throttling.js';
|
|
8
9
|
export const BatteryConsciousAnimationDemo = () => {
|
|
9
10
|
const [showBatteryInfo, setShowBatteryInfo] = useState(true);
|
|
10
11
|
const [showPerformanceInfo, setShowPerformanceInfo] = useState(true);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useCallback } from 'react';
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Badge } from './badge';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { useBatteryAnimations } from '../../hooks/use-battery-animations';
|
|
7
|
-
import { usePerformanceThrottling } from '../../hooks/use-performance-throttling';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Badge } from './badge.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { useBatteryAnimations } from '../../hooks/use-battery-animations.js';
|
|
8
|
+
import { usePerformanceThrottling } from '../../hooks/use-performance-throttling.js';
|
|
8
9
|
export const BatteryConsciousAnimationDemo = () => {
|
|
9
10
|
const [showBatteryInfo, setShowBatteryInfo] = useState(true);
|
|
10
11
|
const [showPerformanceInfo, setShowPerformanceInfo] = useState(true);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Card } from './card';
|
|
3
|
-
import { Button } from './button';
|
|
2
|
+
import { Card } from './card.js';
|
|
3
|
+
import { Button } from './button.js';
|
|
4
4
|
export const BorderRadiusShadowDemo = () => {
|
|
5
5
|
return (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "text-center", children: [_jsx("h2", { className: "text-2xl font-bold text-cs-text-primary mb-2", children: "Advanced Border Radius & Shadow System" }), _jsx("p", { className: "text-cs-text-secondary", children: "Sophisticated visual polish with calculated variants and multiple depth levels" })] }), _jsxs(Card, { className: "p-6", children: [_jsx("h3", { className: "text-lg font-semibold text-cs-text-primary mb-4", children: "Border Radius System" }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-sm flex items-center justify-center text-white font-medium", children: "rounded-sm" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-sm (calc(var(--radius) - 4px))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-md flex items-center justify-center text-white font-medium", children: "rounded-md" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-md (calc(var(--radius) - 2px))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-lg flex items-center justify-center text-white font-medium", children: "rounded-lg" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-lg (var(--radius))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-xl flex items-center justify-center text-white font-medium", children: "rounded-xl" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-xl (calc(var(--radius) + 2px))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-2xl flex items-center justify-center text-white font-medium", children: "rounded-2xl" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-2xl (calc(var(--radius) + 4px))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-full flex items-center justify-center text-white font-medium", children: "rounded-full" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Native Tailwind (50%)" })] })] })] }), _jsxs(Card, { className: "p-6", children: [_jsx("h3", { className: "text-lg font-semibold text-cs-text-primary mb-4", children: "Shadow System" }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-sm flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-sm" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Subtle elevation" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Default shadow" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-md flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-md" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Medium elevation" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-lg flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-lg" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Large elevation" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-xl flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-xl" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Extra large elevation" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-2xl flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-2xl" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Maximum elevation" })] })] })] }), _jsxs(Card, { className: "p-6", children: [_jsx("h3", { className: "text-lg font-semibold text-cs-text-primary mb-4", children: "Component Integration" }), _jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [_jsx(Button, { variant: "default", className: "w-full", children: "Default Button" }), _jsx(Button, { variant: "outline", className: "w-full", children: "Outline Button" }), _jsx(Button, { variant: "secondary", className: "w-full", children: "Secondary Button" })] }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-sm font-medium text-cs-text-secondary", children: "Input Field" }), _jsx("input", { type: "text", placeholder: "Type something...", className: "w-full h-11 rounded-md border border-cs-border bg-cs-surface-bg px-3 py-2 text-cs-text-primary focus:outline-none focus:ring-2 focus:ring-cs-primary focus:ring-offset-2" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-sm font-medium text-cs-text-secondary", children: "Card Example" }), _jsx("div", { className: "p-4 rounded-lg border border-cs-border bg-cs-surface-bg shadow-sm", children: _jsx("p", { className: "text-sm text-cs-text-secondary", children: "This card uses rounded-lg and shadow-sm" }) })] })] })] })] }), _jsxs(Card, { className: "p-6", children: [_jsx("h3", { className: "text-lg font-semibold text-cs-text-primary mb-4", children: "Technical Implementation" }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [_jsxs("div", { children: [_jsx("h4", { className: "font-medium text-cs-text-primary mb-2", children: "CSS Custom Properties" }), _jsxs("div", { className: "bg-cs-surface-bg p-3 rounded-md text-xs font-mono text-cs-text-secondary overflow-auto", children: [_jsx("p", { children: "--radius: 0.5rem" }), _jsx("p", { children: "--radius-sm: calc(var(--radius) - 4px)" }), _jsx("p", { children: "--radius-md: calc(var(--radius) - 2px)" }), _jsx("p", { children: "--radius-lg: var(--radius)" }), _jsx("p", { children: "--radius-xl: calc(var(--radius) + 2px)" }), _jsx("p", { children: "--radius-2xl: calc(var(--radius) + 4px)" })] })] }), _jsxs("div", { children: [_jsx("h4", { className: "font-medium text-cs-text-primary mb-2", children: "Tailwind Classes" }), _jsxs("div", { className: "bg-cs-surface-bg p-3 rounded-md text-xs font-mono text-cs-text-secondary", children: [_jsx("p", { children: "rounded-sm \u2192 var(--radius-sm)" }), _jsx("p", { children: "rounded-md \u2192 var(--radius-md)" }), _jsx("p", { children: "rounded-lg \u2192 var(--radius-lg)" }), _jsx("p", { children: "rounded-xl \u2192 var(--radius-xl)" }), _jsx("p", { children: "rounded-2xl \u2192 var(--radius-2xl)" })] })] })] })] })] }));
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Card } from './card';
|
|
3
|
-
import { Button } from './button';
|
|
2
|
+
import { Card } from './card.js';
|
|
3
|
+
import { Button } from './button.js';
|
|
4
4
|
export const BorderRadiusShadowDemo = () => {
|
|
5
5
|
return (_jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "text-center", children: [_jsx("h2", { className: "text-2xl font-bold text-cs-text-primary mb-2", children: "Advanced Border Radius & Shadow System" }), _jsx("p", { className: "text-cs-text-secondary", children: "Sophisticated visual polish with calculated variants and multiple depth levels" })] }), _jsxs(Card, { className: "p-6", children: [_jsx("h3", { className: "text-lg font-semibold text-cs-text-primary mb-4", children: "Border Radius System" }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-sm flex items-center justify-center text-white font-medium", children: "rounded-sm" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-sm (calc(var(--radius) - 4px))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-md flex items-center justify-center text-white font-medium", children: "rounded-md" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-md (calc(var(--radius) - 2px))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-lg flex items-center justify-center text-white font-medium", children: "rounded-lg" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-lg (var(--radius))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-xl flex items-center justify-center text-white font-medium", children: "rounded-xl" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-xl (calc(var(--radius) + 2px))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-2xl flex items-center justify-center text-white font-medium", children: "rounded-2xl" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "--radius-2xl (calc(var(--radius) + 4px))" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-cs-primary rounded-full flex items-center justify-center text-white font-medium", children: "rounded-full" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Native Tailwind (50%)" })] })] })] }), _jsxs(Card, { className: "p-6", children: [_jsx("h3", { className: "text-lg font-semibold text-cs-text-primary mb-4", children: "Shadow System" }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-sm flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-sm" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Subtle elevation" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Default shadow" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-md flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-md" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Medium elevation" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-lg flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-lg" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Large elevation" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-xl flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-xl" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Extra large elevation" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("div", { className: "h-20 bg-white rounded-lg shadow-2xl flex items-center justify-center text-cs-text-primary font-medium border", children: "shadow-2xl" }), _jsx("p", { className: "text-xs text-cs-text-muted text-center", children: "Maximum elevation" })] })] })] }), _jsxs(Card, { className: "p-6", children: [_jsx("h3", { className: "text-lg font-semibold text-cs-text-primary mb-4", children: "Component Integration" }), _jsxs("div", { className: "space-y-4", children: [_jsxs("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [_jsx(Button, { variant: "default", className: "w-full", children: "Default Button" }), _jsx(Button, { variant: "outline", className: "w-full", children: "Outline Button" }), _jsx(Button, { variant: "secondary", className: "w-full", children: "Secondary Button" })] }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-sm font-medium text-cs-text-secondary", children: "Input Field" }), _jsx("input", { type: "text", placeholder: "Type something...", className: "w-full h-11 rounded-md border border-cs-border bg-cs-surface-bg px-3 py-2 text-cs-text-primary focus:outline-none focus:ring-2 focus:ring-cs-primary focus:ring-offset-2" })] }), _jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "text-sm font-medium text-cs-text-secondary", children: "Card Example" }), _jsx("div", { className: "p-4 rounded-lg border border-cs-border bg-cs-surface-bg shadow-sm", children: _jsx("p", { className: "text-sm text-cs-text-secondary", children: "This card uses rounded-lg and shadow-sm" }) })] })] })] })] }), _jsxs(Card, { className: "p-6", children: [_jsx("h3", { className: "text-lg font-semibold text-cs-text-primary mb-4", children: "Technical Implementation" }), _jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-6", children: [_jsxs("div", { children: [_jsx("h4", { className: "font-medium text-cs-text-primary mb-2", children: "CSS Custom Properties" }), _jsxs("div", { className: "bg-cs-surface-bg p-3 rounded-md text-xs font-mono text-cs-text-secondary overflow-auto", children: [_jsx("p", { children: "--radius: 0.5rem" }), _jsx("p", { children: "--radius-sm: calc(var(--radius) - 4px)" }), _jsx("p", { children: "--radius-md: calc(var(--radius) - 2px)" }), _jsx("p", { children: "--radius-lg: var(--radius)" }), _jsx("p", { children: "--radius-xl: calc(var(--radius) + 2px)" }), _jsx("p", { children: "--radius-2xl: calc(var(--radius) + 4px)" })] })] }), _jsxs("div", { children: [_jsx("h4", { className: "font-medium text-cs-text-primary mb-2", children: "Tailwind Classes" }), _jsxs("div", { className: "bg-cs-surface-bg p-3 rounded-md text-xs font-mono text-cs-text-secondary", children: [_jsx("p", { children: "rounded-sm \u2192 var(--radius-sm)" }), _jsx("p", { children: "rounded-md \u2192 var(--radius-md)" }), _jsx("p", { children: "rounded-lg \u2192 var(--radius-lg)" }), _jsx("p", { children: "rounded-xl \u2192 var(--radius-xl)" }), _jsx("p", { children: "rounded-2xl \u2192 var(--radius-2xl)" })] })] })] })] })] }));
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACrD,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,CAAA;IAChF,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAA;IAClD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,uFAsBX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/ui/checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAA;AAG7D,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC;IAClG,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;CACtC;AAED,QAAA,MAAM,QAAQ,yFAkBZ,CAAA;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-preview.d.ts","sourceRoot":"","sources":["../../../src/components/ui/color-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-preview.d.ts","sourceRoot":"","sources":["../../../src/components/ui/color-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGnE,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA6RpD,CAAC;AAGF,MAAM,WAAW,kBAAkB;IACjC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsGtD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
3
|
-
import { Badge } from './badge';
|
|
2
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
3
|
+
import { Badge } from './badge.js';
|
|
4
4
|
import { useTheme } from '../../themes';
|
|
5
|
-
import { ColorManager } from '../../themes/colorManager';
|
|
5
|
+
import { ColorManager } from '../../themes/colorManager.js';
|
|
6
6
|
export const ColorPreview = ({ colorScale, semanticColors, scaleName = 'Color Scale', showAccessibility = true, className = '' }) => {
|
|
7
7
|
const { currentThemeConfig } = useTheme();
|
|
8
8
|
// Use provided colors or get from current theme
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
3
|
-
import { Badge } from './badge';
|
|
2
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
3
|
+
import { Badge } from './badge.js';
|
|
4
4
|
import { useTheme } from '../../themes';
|
|
5
|
-
import { ColorManager } from '../../themes/colorManager';
|
|
5
|
+
import { ColorManager } from '../../themes/colorManager.js';
|
|
6
6
|
export const ColorPreview = ({ colorScale, semanticColors, scaleName = 'Color Scale', showAccessibility = true, className = '' }) => {
|
|
7
7
|
const { currentThemeConfig } = useTheme();
|
|
8
8
|
// Use provided colors or get from current theme
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-display/chart.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-display/chart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAE/C,OAAO,EACL,UAAU,EAEX,MAAM,YAAY,CAAC;AA4epB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAyJtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useMemo, useRef } from 'react';
|
|
3
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
4
5
|
// Simple icon components (inline SVG)
|
|
5
6
|
const BarChartIcon = ({ className = 'w-4 h-4' }) => (_jsx("svg", { className: className, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" }) }));
|
|
6
7
|
const LineChartIcon = ({ className = 'w-4 h-4' }) => (_jsxs("svg", { className: className, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [_jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 12l3-3 3 3 4-4" }), _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M8 21l4-4 4-4 4-4" })] }));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { useMemo, useRef } from 'react';
|
|
3
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
4
5
|
// Simple icon components (inline SVG)
|
|
5
6
|
const BarChartIcon = ({ className = 'w-4 h-4' }) => (_jsx("svg", { className: className, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" }) }));
|
|
6
7
|
const LineChartIcon = ({ className = 'w-4 h-4' }) => (_jsxs("svg", { className: className, fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [_jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7 12l3-3 3 3 4-4" }), _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M8 21l4-4 4-4 4-4" })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-grid-simple.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-display/data-grid-simple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"data-grid-simple.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-display/data-grid-simple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqElD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-grid.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-display/data-grid.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-grid.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-display/data-grid.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA4D,MAAM,OAAO,CAAC;AACjF,OAAO,EACL,aAAa,EAId,MAAM,YAAY,CAAC;AA4YpB,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAmR5C,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-display/list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/data-display/list.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EACL,SAAS,EAIV,MAAM,YAAY,CAAC;AAgVpB,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA+GpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|