@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PopoverProps, PopoverContentProps, PopoverHeaderProps, PopoverBodyProps, PopoverFooterProps } from './types';
|
|
2
|
+
import { PopoverProps, PopoverContentProps, PopoverHeaderProps, PopoverBodyProps, PopoverFooterProps } from './types.js';
|
|
3
3
|
export declare const PopoverContent: React.FC<PopoverContentProps>;
|
|
4
4
|
export declare const PopoverHeader: React.FC<PopoverHeaderProps>;
|
|
5
5
|
export declare const PopoverBody: React.FC<PopoverBodyProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/popover.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAItF,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,YAAY,CAAC;AA0HpB,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8CtD,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwBlD,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsBtD,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAqN1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useRef, useEffect, useCallback, cloneElement } from 'react';
|
|
3
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
4
|
-
import { Portal } from './portal';
|
|
5
|
-
import { FocusManager } from './focus-manager';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
|
+
import { Portal } from './portal.js';
|
|
6
|
+
import { FocusManager } from './focus-manager.js';
|
|
6
7
|
// SVG Icons
|
|
7
8
|
const XMarkIcon = ({ className = 'w-5 h-5' }) => (_jsx("svg", { className: className, fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" }) }));
|
|
8
9
|
// Default color fallbacks
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useRef, useEffect, useCallback, cloneElement } from 'react';
|
|
3
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
4
|
-
import { Portal } from './portal';
|
|
5
|
-
import { FocusManager } from './focus-manager';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
|
+
import { Portal } from './portal.js';
|
|
6
|
+
import { FocusManager } from './focus-manager.js';
|
|
6
7
|
// SVG Icons
|
|
7
8
|
const XMarkIcon = ({ className = 'w-5 h-5' }) => (_jsx("svg", { className: className, fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", children: _jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M6 18L18 6M6 6l12 12" }) }));
|
|
8
9
|
// Default color fallbacks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/portal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/portal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwExC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TooltipProps, TooltipContentProps } from './types';
|
|
2
|
+
import { TooltipProps, TooltipContentProps } from './types.js';
|
|
3
3
|
export declare const TooltipContent: React.FC<TooltipContentProps>;
|
|
4
4
|
export declare const Tooltip: React.FC<TooltipProps>;
|
|
5
5
|
export default Tooltip;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/tooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAiH/D,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAUxD,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2K1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useRef, useEffect, useCallback, cloneElement } from 'react';
|
|
3
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
4
|
-
import { Portal } from './portal';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
|
+
import { Portal } from './portal.js';
|
|
5
6
|
// Default color fallbacks
|
|
6
7
|
const getDefaultColors = () => ({
|
|
7
8
|
surface: { background: '#1f2937', surface: '#374151', border: '#4b5563' },
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useRef, useEffect, useCallback, cloneElement } from 'react';
|
|
3
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
4
|
-
import { Portal } from './portal';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
|
+
import { Portal } from './portal.js';
|
|
5
6
|
// Default color fallbacks
|
|
6
7
|
const getDefaultColors = () => ({
|
|
7
8
|
surface: { background: '#1f2937', surface: '#374151', border: '#4b5563' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performance-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/performance-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"performance-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/performance-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAavC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAskBnC,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 } from 'react';
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Badge } from './badge';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Badge } from './badge.js';
|
|
6
7
|
import { usePerformance, useFrameRate, useMemoryUsage, useBatteryStatus, usePerformanceThrottling } from '../../hooks';
|
|
7
|
-
import { useDevice } from '../../hooks/use-device';
|
|
8
|
+
import { useDevice } from '../../hooks/use-device.js';
|
|
8
9
|
export const PerformanceDemo = () => {
|
|
9
10
|
const [activeTab, setActiveTab] = useState('overview');
|
|
10
11
|
const [showRecommendations, setShowRecommendations] = useState(false);
|
|
@@ -1,10 +1,11 @@
|
|
|
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, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Badge } from './badge';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Badge } from './badge.js';
|
|
6
7
|
import { usePerformance, useFrameRate, useMemoryUsage, useBatteryStatus, usePerformanceThrottling } from '../../hooks';
|
|
7
|
-
import { useDevice } from '../../hooks/use-device';
|
|
8
|
+
import { useDevice } from '../../hooks/use-device.js';
|
|
8
9
|
export const PerformanceDemo = () => {
|
|
9
10
|
const [activeTab, setActiveTab] = useState('overview');
|
|
10
11
|
const [showRecommendations, setShowRecommendations] = useState(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semantic-input-system-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/semantic-input-system-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"semantic-input-system-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/semantic-input-system-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAYvC,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAye3C,CAAA"}
|
|
@@ -1,15 +1,16 @@
|
|
|
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, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Input } from './input';
|
|
6
|
-
import { Label } from './label';
|
|
7
|
-
import { Badge } from './badge';
|
|
8
|
-
import { useSemanticInput } from '../../hooks/use-semantic-input';
|
|
9
|
-
import { useMobileKeyboardOptimization } from '../../hooks/use-mobile-keyboard-optimization';
|
|
10
|
-
import { useTouchFriendlyInput } from '../../hooks/use-touch-friendly-input';
|
|
11
|
-
import { useInputPerformance } from '../../hooks/use-input-performance';
|
|
12
|
-
import { useInputAccessibility } from '../../hooks/use-input-accessibility';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Input } from './input.js';
|
|
7
|
+
import { Label } from './label.js';
|
|
8
|
+
import { Badge } from './badge.js';
|
|
9
|
+
import { useSemanticInput } from '../../hooks/use-semantic-input.js';
|
|
10
|
+
import { useMobileKeyboardOptimization } from '../../hooks/use-mobile-keyboard-optimization.js';
|
|
11
|
+
import { useTouchFriendlyInput } from '../../hooks/use-touch-friendly-input.js';
|
|
12
|
+
import { useInputPerformance } from '../../hooks/use-input-performance.js';
|
|
13
|
+
import { useInputAccessibility } from '../../hooks/use-input-accessibility.js';
|
|
13
14
|
export const SemanticInputSystemDemo = () => {
|
|
14
15
|
const [activeDemo, setActiveDemo] = useState('semantic');
|
|
15
16
|
const [formData, setFormData] = 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 } from 'react';
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Input } from './input';
|
|
6
|
-
import { Label } from './label';
|
|
7
|
-
import { Badge } from './badge';
|
|
8
|
-
import { useSemanticInput } from '../../hooks/use-semantic-input';
|
|
9
|
-
import { useMobileKeyboardOptimization } from '../../hooks/use-mobile-keyboard-optimization';
|
|
10
|
-
import { useTouchFriendlyInput } from '../../hooks/use-touch-friendly-input';
|
|
11
|
-
import { useInputPerformance } from '../../hooks/use-input-performance';
|
|
12
|
-
import { useInputAccessibility } from '../../hooks/use-input-accessibility';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Input } from './input.js';
|
|
7
|
+
import { Label } from './label.js';
|
|
8
|
+
import { Badge } from './badge.js';
|
|
9
|
+
import { useSemanticInput } from '../../hooks/use-semantic-input.js';
|
|
10
|
+
import { useMobileKeyboardOptimization } from '../../hooks/use-mobile-keyboard-optimization.js';
|
|
11
|
+
import { useTouchFriendlyInput } from '../../hooks/use-touch-friendly-input.js';
|
|
12
|
+
import { useInputPerformance } from '../../hooks/use-input-performance.js';
|
|
13
|
+
import { useInputAccessibility } from '../../hooks/use-input-accessibility.js';
|
|
13
14
|
export const SemanticInputSystemDemo = () => {
|
|
14
15
|
const [activeDemo, setActiveDemo] = useState('semantic');
|
|
15
16
|
const [formData, setFormData] = useState({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { CompleteThemeConfig } from '../../themes/types';
|
|
2
|
+
import type { CompleteThemeConfig } from '../../themes/types.js';
|
|
3
3
|
export interface ThemeCustomizerProps {
|
|
4
4
|
initialTheme?: string;
|
|
5
5
|
onThemeChange?: (theme: CompleteThemeConfig) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-customizer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/theme-customizer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme-customizer.d.ts","sourceRoot":"","sources":["../../../src/components/ui/theme-customizer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,WAAW,oBAAoB;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACrD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAgW1D,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useCallback, useEffect } from 'react';
|
|
3
4
|
import { useTheme } from '../../themes';
|
|
4
|
-
import { Card, CardContent, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { Input } from './input';
|
|
7
|
-
import { ThemePreview } from './theme-preview';
|
|
5
|
+
import { Card, CardContent, CardHeader, CardTitle } from './card.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { Input } from './input.js';
|
|
8
|
+
import { ThemePreview } from './theme-preview.js';
|
|
8
9
|
export const ThemeCustomizer = ({ initialTheme = 'stan-design', onThemeChange, showPreview = true, allowCustomization = true, className = '' }) => {
|
|
9
10
|
const { getTheme } = useTheme();
|
|
10
11
|
const [customizationState, setCustomizationState] = useState({
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useCallback, useEffect } from 'react';
|
|
3
4
|
import { useTheme } from '../../themes';
|
|
4
|
-
import { Card, CardContent, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { Input } from './input';
|
|
7
|
-
import { ThemePreview } from './theme-preview';
|
|
5
|
+
import { Card, CardContent, CardHeader, CardTitle } from './card.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { Input } from './input.js';
|
|
8
|
+
import { ThemePreview } from './theme-preview.js';
|
|
8
9
|
export const ThemeCustomizer = ({ initialTheme = 'stan-design', onThemeChange, showPreview = true, allowCustomization = true, className = '' }) => {
|
|
9
10
|
const { getTheme } = useTheme();
|
|
10
11
|
const [customizationState, setCustomizationState] = useState({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme } from '../../themes';
|
|
3
|
-
import { Card, CardContent, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Badge } from './badge';
|
|
3
|
+
import { Card, CardContent, CardHeader, CardTitle } from './card.js';
|
|
4
|
+
import { Badge } from './badge.js';
|
|
5
5
|
export const ThemePreview = ({ themeName, showColors = true, showFonts = true, showNavigation = true, showSpacing = true, className = '' }) => {
|
|
6
6
|
const { getTheme, currentTheme } = useTheme();
|
|
7
7
|
const targetTheme = themeName || currentTheme;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme } from '../../themes';
|
|
3
|
-
import { Card, CardContent, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Badge } from './badge';
|
|
3
|
+
import { Card, CardContent, CardHeader, CardTitle } from './card.js';
|
|
4
|
+
import { Badge } from './badge.js';
|
|
5
5
|
export const ThemePreview = ({ themeName, showColors = true, showFonts = true, showNavigation = true, showSpacing = true, className = '' }) => {
|
|
6
6
|
const { getTheme, currentTheme } = useTheme();
|
|
7
7
|
const targetTheme = themeName || currentTheme;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-switcher.d.ts","sourceRoot":"","sources":["../../../src/components/ui/theme-switcher.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme-switcher.d.ts","sourceRoot":"","sources":["../../../src/components/ui/theme-switcher.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;CAC9C;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0PtD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { Button } from './button';
|
|
4
|
+
import { Button } from './button.js';
|
|
4
5
|
import { useTheme } from '../../themes';
|
|
5
6
|
export const ThemeSwitcher = ({ showPreview = true, showSystemTheme = true, className = '', variant = 'default' }) => {
|
|
6
7
|
const { currentTheme, availableThemes, setTheme, getTheme } = useTheme();
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { Button } from './button';
|
|
4
|
+
import { Button } from './button.js';
|
|
4
5
|
import { useTheme } from '../../themes';
|
|
5
6
|
export const ThemeSwitcher = ({ showPreview = true, showSystemTheme = true, className = '', variant = 'default' }) => {
|
|
6
7
|
const { currentTheme, availableThemes, setTheme, getTheme } = useTheme();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/theme-toggle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/theme-toggle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAiC/B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { Button } from './button';
|
|
4
|
+
import { Button } from './button.js';
|
|
4
5
|
import { Moon, Sun } from 'lucide-react';
|
|
5
6
|
export const ThemeToggle = () => {
|
|
6
7
|
const [isDark, setIsDark] = useState(false);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useEffect } from 'react';
|
|
3
|
-
import { Button } from './button';
|
|
4
|
+
import { Button } from './button.js';
|
|
4
5
|
import { Moon, Sun } from 'lucide-react';
|
|
5
6
|
export const ThemeToggle = () => {
|
|
6
7
|
const [isDark, setIsDark] = useState(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/token-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"token-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/token-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAOxC,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EA2L7B,CAAC"}
|
|
@@ -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, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Badge } from './badge';
|
|
5
|
-
import { Button } from './button';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Badge } from './badge.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
6
7
|
import { useTheme } from '../../themes';
|
|
7
8
|
import { createTokenManager } from '../../tokens';
|
|
8
9
|
export const TokenDemo = () => {
|
|
@@ -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, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Badge } from './badge';
|
|
5
|
-
import { Button } from './button';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Badge } from './badge.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
6
7
|
import { useTheme } from '../../themes';
|
|
7
8
|
import { createTokenManager } from '../../tokens';
|
|
8
9
|
export const TokenDemo = () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"touch-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/touch-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"touch-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/touch-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAO/C,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAsc7B,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useRef } from 'react';
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Badge } from './badge';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Badge } from './badge.js';
|
|
6
7
|
import { useGestures, useTouchOptimization, useMobileTouch } from '../../hooks';
|
|
7
|
-
import { useDevice } from '../../hooks/use-device';
|
|
8
|
+
import { useDevice } from '../../hooks/use-device.js';
|
|
8
9
|
export const TouchDemo = () => {
|
|
9
10
|
const [activeTab, setActiveTab] = useState('overview');
|
|
10
11
|
const [gestureHistory, setGestureHistory] = useState([]);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
3
|
import { useState, useRef } from 'react';
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
4
|
-
import { Button } from './button';
|
|
5
|
-
import { Badge } from './badge';
|
|
4
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card.js';
|
|
5
|
+
import { Button } from './button.js';
|
|
6
|
+
import { Badge } from './badge.js';
|
|
6
7
|
import { useGestures, useTouchOptimization, useMobileTouch } from '../../hooks';
|
|
7
|
-
import { useDevice } from '../../hooks/use-device';
|
|
8
|
+
import { useDevice } from '../../hooks/use-device.js';
|
|
8
9
|
export const TouchDemo = () => {
|
|
9
10
|
const [activeTab, setActiveTab] = useState('overview');
|
|
10
11
|
const [gestureHistory, setGestureHistory] = useState([]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"touch-friendly-interface-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/touch-friendly-interface-demo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"touch-friendly-interface-demo.d.ts","sourceRoot":"","sources":["../../../src/components/ui/touch-friendly-interface-demo.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAOvC,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EA+f9C,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 } from 'react';
|
|
3
|
-
import { Badge } from './badge';
|
|
4
|
-
import { Input } from './input';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { Card, CardContent } from './card';
|
|
7
|
-
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface';
|
|
4
|
+
import { Badge } from './badge.js';
|
|
5
|
+
import { Input } from './input.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { Card, CardContent } from './card.js';
|
|
8
|
+
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface.js';
|
|
8
9
|
export const TouchFriendlyInterfaceDemo = () => {
|
|
9
10
|
const [activeDemo, setActiveDemo] = useState('targets');
|
|
10
11
|
const [formData, setFormData] = useState({
|
|
@@ -1,10 +1,11 @@
|
|
|
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 { Input } from './input';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { Card, CardContent } from './card';
|
|
7
|
-
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface';
|
|
4
|
+
import { Badge } from './badge.js';
|
|
5
|
+
import { Input } from './input.js';
|
|
6
|
+
import { Button } from './button.js';
|
|
7
|
+
import { Card, CardContent } from './card.js';
|
|
8
|
+
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface.js';
|
|
8
9
|
export const TouchFriendlyInterfaceDemo = () => {
|
|
9
10
|
const [activeDemo, setActiveDemo] = useState('targets');
|
|
10
11
|
const [formData, setFormData] = useState({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"touch-friendly-interface.d.ts","sourceRoot":"","sources":["../../../src/components/ui/touch-friendly-interface.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"touch-friendly-interface.d.ts","sourceRoot":"","sources":["../../../src/components/ui/touch-friendly-interface.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAC7F,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,aAAa,CAAA;IACvE,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAA;IACrC,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;IAChD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,mBAAmB,oGAuD/B,CAAA;AAKD,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACxG,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;IACnC,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;CACjD;AAED,eAAO,MAAM,kBAAkB,kGAsC9B,CAAA;AAKD,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAClF,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;IAChD,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,iBAAiB,+FAgD7B,CAAA;AAKD,MAAM,WAAW,wBAAyB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAC7F,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;CAC/B;AAED,eAAO,MAAM,mBAAmB,oGAsD/B,CAAA;AAKD,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAClH,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;IACnC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,mGA4C/B,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef } from 'react';
|
|
3
4
|
import { cn } from '../../lib/utils';
|
|
4
|
-
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface';
|
|
5
|
+
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface.js';
|
|
5
6
|
export const TouchFriendlyButton = forwardRef(({ className, variant = 'default', size = 'default', feedback = 'scale', children, ...props }, ref) => {
|
|
6
7
|
const { isTouchTargetCompliant, getTouchTargetSize } = useTouchFriendlyInterface({
|
|
7
8
|
minSize: 44,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
3
|
import { forwardRef } from 'react';
|
|
3
4
|
import { cn } from '../../lib/utils';
|
|
4
|
-
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface';
|
|
5
|
+
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface.js';
|
|
5
6
|
export const TouchFriendlyButton = forwardRef(({ className, variant = 'default', size = 'default', feedback = 'scale', children, ...props }, ref) => {
|
|
6
7
|
const { isTouchTargetCompliant, getTouchTargetSize } = useTouchFriendlyInterface({
|
|
7
8
|
minSize: 44,
|
|
@@ -26,7 +26,7 @@ export interface PerformanceMetrics {
|
|
|
26
26
|
export declare const useAnimationProfile: () => {
|
|
27
27
|
profile: AnimationProfile;
|
|
28
28
|
performanceMetrics: PerformanceMetrics;
|
|
29
|
-
deviceInfo: import("./use-device").DeviceInfo;
|
|
29
|
+
deviceInfo: import("./use-device.js").DeviceInfo;
|
|
30
30
|
getAnimationClasses: () => string;
|
|
31
31
|
getOptimizedDuration: (type?: "fast" | "normal" | "slow") => string;
|
|
32
32
|
getOptimizedEasing: (type?: keyof AnimationProfile["easing"]) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from 'react';
|
|
2
|
-
import { useDevice } from './use-device';
|
|
2
|
+
import { useDevice } from './use-device.js';
|
|
3
3
|
export const useAnimationProfile = () => {
|
|
4
4
|
const deviceInfo = useDevice();
|
|
5
5
|
const [performanceMetrics, setPerformanceMetrics] = useState({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from 'react';
|
|
2
|
-
import { useDevice } from './use-device';
|
|
2
|
+
import { useDevice } from './use-device.js';
|
|
3
3
|
export const useAnimationProfile = () => {
|
|
4
4
|
const deviceInfo = useDevice();
|
|
5
5
|
const [performanceMetrics, setPerformanceMetrics] = useState({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-device.d.ts","sourceRoot":"","sources":["../../src/hooks/use-device.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-device.d.ts","sourceRoot":"","sources":["../../src/hooks/use-device.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;IAC3C,WAAW,EAAE,UAAU,GAAG,WAAW,CAAA;IACrC,WAAW,EAAE,OAAO,CAAA;CACrB;AASD;;;GAGG;AACH,eAAO,MAAM,SAAS,QAAO,UAkE5B,CAAA;AAGD,eAAO,MAAM,WAAW,eAA6B,CAAA;AACrD,eAAO,MAAM,WAAW,eAA6B,CAAA;AACrD,eAAO,MAAM,YAAY,eAA8B,CAAA;AACvD,eAAO,MAAM,cAAc,gCAAgC,CAAA;AAC3D,eAAO,MAAM,gBAAgB,eAAgC,CAAA;AAG7D,eAAO,MAAM,gBAAgB,GAAI,YAAY,UAAU,KAAG,MAWzD,CAAA"}
|
package/dist/hooks/use-device.js
CHANGED