@rakeyshgidwani/roger-ui-bank-theme-stan-design 0.2.18 → 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.esm.js +10 -10
- package/dist/components/ui/accessibility-demo.js +10 -10
- package/dist/components/ui/advanced-component-architecture-demo.esm.js +8 -8
- package/dist/components/ui/advanced-component-architecture-demo.js +8 -8
- package/dist/components/ui/advanced-transition-system-demo.esm.js +3 -3
- package/dist/components/ui/advanced-transition-system-demo.js +3 -3
- package/dist/components/ui/advanced-transition-system.esm.js +1 -1
- package/dist/components/ui/advanced-transition-system.js +1 -1
- package/dist/components/ui/animation/animated-container.esm.js +1 -1
- package/dist/components/ui/animation/animated-container.js +1 -1
- package/dist/components/ui/animation/staggered-container.d.ts +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.esm.js +3 -3
- package/dist/components/ui/animation-demo.js +3 -3
- package/dist/components/ui/battery-conscious-animation-demo.esm.js +5 -5
- package/dist/components/ui/battery-conscious-animation-demo.js +5 -5
- package/dist/components/ui/border-radius-shadow-demo.esm.js +2 -2
- package/dist/components/ui/border-radius-shadow-demo.js +2 -2
- 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 +1 -1
- package/dist/components/ui/data-display/chart.js +1 -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/list.d.ts +1 -1
- package/dist/components/ui/data-display/list.d.ts.map +1 -1
- 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/timeline.d.ts +1 -1
- package/dist/components/ui/data-display/timeline.d.ts.map +1 -1
- 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 +1 -1
- package/dist/components/ui/data-display/tree.js +1 -1
- package/dist/components/ui/enterprise-mobile-experience-demo.esm.js +3 -3
- package/dist/components/ui/enterprise-mobile-experience-demo.js +3 -3
- package/dist/components/ui/feedback/alert.d.ts +1 -1
- package/dist/components/ui/feedback/alert.d.ts.map +1 -1
- 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 +1 -1
- package/dist/components/ui/feedback/progress.js +1 -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/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.esm.js +5 -5
- package/dist/components/ui/form-demo.js +5 -5
- package/dist/components/ui/hardware-acceleration-demo.esm.js +5 -5
- package/dist/components/ui/hardware-acceleration-demo.js +5 -5
- package/dist/components/ui/layout-demo.esm.js +7 -7
- package/dist/components/ui/layout-demo.js +7 -7
- package/dist/components/ui/layouts/adaptive-layout.esm.js +5 -5
- package/dist/components/ui/layouts/adaptive-layout.js +5 -5
- package/dist/components/ui/layouts/desktop-layout.esm.js +3 -3
- package/dist/components/ui/layouts/desktop-layout.js +3 -3
- package/dist/components/ui/layouts/mobile-layout.esm.js +2 -2
- package/dist/components/ui/layouts/mobile-layout.js +2 -2
- package/dist/components/ui/layouts/tablet-layout.esm.js +3 -3
- package/dist/components/ui/layouts/tablet-layout.js +3 -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 +10 -10
- package/dist/components/ui/mobile-form-validation.js +10 -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.esm.js +1 -1
- package/dist/components/ui/mobile-input.js +1 -1
- package/dist/components/ui/mobile-skeleton-loading-demo.esm.js +8 -8
- package/dist/components/ui/mobile-skeleton-loading-demo.js +8 -8
- package/dist/components/ui/navigation/breadcrumb.d.ts +1 -1
- package/dist/components/ui/navigation/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/navigation/menu.d.ts +1 -1
- package/dist/components/ui/navigation/menu.d.ts.map +1 -1
- package/dist/components/ui/navigation/navigation-demo.esm.js +6 -6
- package/dist/components/ui/navigation/navigation-demo.js +6 -6
- package/dist/components/ui/navigation/pagination.d.ts +1 -1
- package/dist/components/ui/navigation/pagination.d.ts.map +1 -1
- package/dist/components/ui/navigation/sidebar.d.ts +1 -1
- package/dist/components/ui/navigation/sidebar.d.ts.map +1 -1
- package/dist/components/ui/navigation/stepper.d.ts +1 -1
- package/dist/components/ui/navigation/stepper.d.ts.map +1 -1
- package/dist/components/ui/navigation/tabs.d.ts +1 -1
- package/dist/components/ui/navigation/tabs.d.ts.map +1 -1
- package/dist/components/ui/overlay/modal.d.ts +1 -1
- package/dist/components/ui/overlay/modal.d.ts.map +1 -1
- package/dist/components/ui/overlay/modal.esm.js +5 -5
- package/dist/components/ui/overlay/modal.js +5 -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/popover.d.ts +1 -1
- package/dist/components/ui/overlay/popover.d.ts.map +1 -1
- package/dist/components/ui/overlay/popover.esm.js +3 -3
- package/dist/components/ui/overlay/popover.js +3 -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/tooltip.d.ts +1 -1
- package/dist/components/ui/overlay/tooltip.d.ts.map +1 -1
- package/dist/components/ui/overlay/tooltip.esm.js +2 -2
- package/dist/components/ui/overlay/tooltip.js +2 -2
- package/dist/components/ui/performance-demo.esm.js +4 -4
- package/dist/components/ui/performance-demo.js +4 -4
- package/dist/components/ui/semantic-input-system-demo.esm.js +10 -10
- package/dist/components/ui/semantic-input-system-demo.js +10 -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 +4 -4
- package/dist/components/ui/theme-customizer.js +4 -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.esm.js +1 -1
- package/dist/components/ui/theme-switcher.js +1 -1
- package/dist/components/ui/theme-toggle.esm.js +1 -1
- package/dist/components/ui/theme-toggle.js +1 -1
- package/dist/components/ui/token-demo.esm.js +3 -3
- package/dist/components/ui/token-demo.js +3 -3
- package/dist/components/ui/touch-demo.esm.js +4 -4
- package/dist/components/ui/touch-demo.js +4 -4
- package/dist/components/ui/touch-friendly-interface-demo.esm.js +5 -5
- package/dist/components/ui/touch-friendly-interface-demo.js +5 -5
- package/dist/components/ui/touch-friendly-interface.esm.js +1 -1
- package/dist/components/ui/touch-friendly-interface.js +1 -1
- package/dist/hooks/use-animation-profile.d.ts +1 -1
- package/dist/hooks/use-animation-profile.esm.js +1 -1
- package/dist/hooks/use-animation-profile.js +1 -1
- package/dist/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 +10 -10
- package/src/components/ui/advanced-component-architecture-demo.tsx +8 -8
- package/src/components/ui/advanced-transition-system-demo.tsx +3 -3
- package/src/components/ui/advanced-transition-system.tsx +1 -1
- package/src/components/ui/animation/animated-container.tsx +1 -1
- package/src/components/ui/animation/staggered-container.tsx +1 -1
- package/src/components/ui/animation-demo.tsx +3 -3
- package/src/components/ui/battery-conscious-animation-demo.tsx +5 -5
- package/src/components/ui/border-radius-shadow-demo.tsx +2 -2
- package/src/components/ui/color-preview.tsx +4 -4
- package/src/components/ui/data-display/chart.tsx +2 -2
- package/src/components/ui/data-display/data-grid-simple.tsx +1 -1
- package/src/components/ui/data-display/data-grid.tsx +1 -1
- package/src/components/ui/data-display/list.tsx +1 -1
- package/src/components/ui/data-display/table.tsx +1 -1
- package/src/components/ui/data-display/timeline.tsx +1 -1
- package/src/components/ui/data-display/tree.tsx +2 -2
- package/src/components/ui/enterprise-mobile-experience-demo.tsx +3 -3
- package/src/components/ui/feedback/alert.tsx +1 -1
- package/src/components/ui/feedback/progress.tsx +2 -2
- package/src/components/ui/feedback/skeleton.tsx +1 -1
- package/src/components/ui/feedback/toast.tsx +1 -1
- package/src/components/ui/font-preview.tsx +3 -3
- package/src/components/ui/form-demo.tsx +6 -6
- package/src/components/ui/hardware-acceleration-demo.tsx +5 -5
- package/src/components/ui/layout-demo.tsx +7 -7
- package/src/components/ui/layouts/adaptive-layout.tsx +5 -5
- package/src/components/ui/layouts/desktop-layout.tsx +3 -3
- package/src/components/ui/layouts/mobile-layout.tsx +2 -2
- package/src/components/ui/layouts/tablet-layout.tsx +3 -3
- package/src/components/ui/mobile-form-validation.tsx +10 -10
- package/src/components/ui/mobile-input-demo.tsx +2 -2
- package/src/components/ui/mobile-input.tsx +1 -1
- package/src/components/ui/mobile-skeleton-loading-demo.tsx +8 -8
- package/src/components/ui/navigation/breadcrumb.tsx +1 -1
- package/src/components/ui/navigation/menu.tsx +1 -1
- package/src/components/ui/navigation/navigation-demo.tsx +7 -7
- package/src/components/ui/navigation/pagination.tsx +1 -1
- package/src/components/ui/navigation/sidebar.tsx +1 -1
- package/src/components/ui/navigation/stepper.tsx +1 -1
- package/src/components/ui/navigation/tabs.tsx +1 -1
- package/src/components/ui/overlay/modal.tsx +6 -6
- package/src/components/ui/overlay/overlay-manager.tsx +1 -1
- package/src/components/ui/overlay/popover.tsx +4 -4
- package/src/components/ui/overlay/portal.tsx +1 -1
- package/src/components/ui/overlay/tooltip.tsx +3 -3
- package/src/components/ui/performance-demo.tsx +4 -4
- package/src/components/ui/semantic-input-system-demo.tsx +10 -10
- package/src/components/ui/theme-customizer.tsx +5 -5
- package/src/components/ui/theme-preview.tsx +2 -2
- package/src/components/ui/theme-switcher.tsx +1 -1
- package/src/components/ui/theme-toggle.tsx +1 -1
- package/src/components/ui/token-demo.tsx +3 -3
- package/src/components/ui/touch-demo.tsx +4 -4
- package/src/components/ui/touch-friendly-interface-demo.tsx +5 -5
- package/src/components/ui/touch-friendly-interface.tsx +1 -1
- package/src/hooks/use-animation-profile.ts +1 -1
- package/src/plugins/theme-css-generator.ts +2 -2
- package/src/themes/examples/dark-theme.ts +1 -1
- package/src/themes/examples/minimal-theme.ts +2 -2
- package/src/tokens/index.ts +1 -1
- package/src/tokens/tokenExporter.ts +1 -1
- package/src/tokens/tokenGenerator.ts +2 -2
- package/src/tokens/tokenManager.ts +5 -5
- package/src/tokens/tokenValidator.ts +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Provides comprehensive sidebar functionality with theme support and multiple variants
|
|
4
4
|
*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { SidebarProps } from './types';
|
|
6
|
+
import { SidebarProps } from './types.js';
|
|
7
7
|
export declare const Sidebar: React.FC<SidebarProps>;
|
|
8
8
|
export default Sidebar;
|
|
9
9
|
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/sidebar.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAmC,MAAM,
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/sidebar.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAmC,MAAM,YAAY,CAAC;AAsB3E,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA+V1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Provides comprehensive stepper functionality with theme support and multiple variants
|
|
4
4
|
*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { StepperProps } from './types';
|
|
6
|
+
import { StepperProps } from './types.js';
|
|
7
7
|
export declare const Stepper: React.FC<StepperProps>;
|
|
8
8
|
export default Stepper;
|
|
9
9
|
//# sourceMappingURL=stepper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/stepper.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"stepper.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/stepper.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAY,MAAM,YAAY,CAAC;AASpD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2R1C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Provides comprehensive tab functionality with theme support and multiple variants
|
|
4
4
|
*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { TabsProps } from './types';
|
|
6
|
+
import { TabsProps } from './types.js';
|
|
7
7
|
export declare const Tabs: React.FC<TabsProps>;
|
|
8
8
|
export default Tabs;
|
|
9
9
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/tabs.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/navigation/tabs.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAW,MAAM,YAAY,CAAC;AAShD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAyLpC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps } from './types';
|
|
2
|
+
import { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps } from './types.js';
|
|
3
3
|
export declare const ModalHeader: React.FC<ModalHeaderProps>;
|
|
4
4
|
export declare const ModalBody: React.FC<ModalBodyProps>;
|
|
5
5
|
export declare const ModalFooter: React.FC<ModalFooterProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/modal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAMxD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/modal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAMxD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAmB5F,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8ClD,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwB9C,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsBlD,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA6ItC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import React, { useEffect, useRef, useId } from 'react';
|
|
4
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
5
|
-
import { Portal } from './portal';
|
|
6
|
-
import { Backdrop } from './backdrop';
|
|
7
|
-
import { FocusManager } from './focus-manager';
|
|
8
|
-
import { useOverlayManager } from './overlay-manager';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
|
+
import { Portal } from './portal.js';
|
|
6
|
+
import { Backdrop } from './backdrop.js';
|
|
7
|
+
import { FocusManager } from './focus-manager.js';
|
|
8
|
+
import { useOverlayManager } from './overlay-manager.js';
|
|
9
9
|
// SVG Icons
|
|
10
10
|
const XMarkIcon = ({ className = 'w-6 h-6' }) => (_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" }) }));
|
|
11
11
|
// Default color fallbacks
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import React, { useEffect, useRef, useId } from 'react';
|
|
4
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
5
|
-
import { Portal } from './portal';
|
|
6
|
-
import { Backdrop } from './backdrop';
|
|
7
|
-
import { FocusManager } from './focus-manager';
|
|
8
|
-
import { useOverlayManager } from './overlay-manager';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
|
+
import { Portal } from './portal.js';
|
|
6
|
+
import { Backdrop } from './backdrop.js';
|
|
7
|
+
import { FocusManager } from './focus-manager.js';
|
|
8
|
+
import { useOverlayManager } from './overlay-manager.js';
|
|
9
9
|
// SVG Icons
|
|
10
10
|
const XMarkIcon = ({ className = 'w-6 h-6' }) => (_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" }) }));
|
|
11
11
|
// Default color fallbacks
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { OverlayManagerProps, OverlayState } from './types';
|
|
2
|
+
import { OverlayManagerProps, OverlayState } from './types.js';
|
|
3
3
|
interface OverlayContextType {
|
|
4
4
|
overlays: OverlayState[];
|
|
5
5
|
addOverlay: (id: string, zIndex: number) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay-manager.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/overlay-manager.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAsD,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAiB,MAAM,
|
|
1
|
+
{"version":3,"file":"overlay-manager.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/overlay/overlay-manager.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAsD,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAiB,MAAM,YAAY,CAAC;AAG9E,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;CAC1C;AAKD,eAAO,MAAM,iBAAiB,0BAM7B,CAAC;AAwBF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAiC7D,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA0BxD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -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":"AAEA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAItF,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,
|
|
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,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback, cloneElement } from 'react';
|
|
4
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
5
|
-
import { Portal } from './portal';
|
|
6
|
-
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';
|
|
7
7
|
// SVG Icons
|
|
8
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" }) }));
|
|
9
9
|
// Default color fallbacks
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback, cloneElement } from 'react';
|
|
4
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
5
|
-
import { Portal } from './portal';
|
|
6
|
-
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';
|
|
7
7
|
// SVG Icons
|
|
8
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" }) }));
|
|
9
9
|
// Default color fallbacks
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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":"AAEA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,
|
|
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,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback, cloneElement } from 'react';
|
|
4
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
5
|
-
import { Portal } from './portal';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
|
+
import { Portal } from './portal.js';
|
|
6
6
|
// Default color fallbacks
|
|
7
7
|
const getDefaultColors = () => ({
|
|
8
8
|
surface: { background: '#1f2937', surface: '#374151', border: '#4b5563' },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback, cloneElement } from 'react';
|
|
4
|
-
import { useTheme } from '../../../themes/useTheme';
|
|
5
|
-
import { Portal } from './portal';
|
|
4
|
+
import { useTheme } from '../../../themes/useTheme.js';
|
|
5
|
+
import { Portal } from './portal.js';
|
|
6
6
|
// Default color fallbacks
|
|
7
7
|
const getDefaultColors = () => ({
|
|
8
8
|
surface: { background: '#1f2937', surface: '#374151', border: '#4b5563' },
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
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';
|
|
7
7
|
import { usePerformance, useFrameRate, useMemoryUsage, useBatteryStatus, usePerformanceThrottling } from '../../hooks';
|
|
8
|
-
import { useDevice } from '../../hooks/use-device';
|
|
8
|
+
import { useDevice } from '../../hooks/use-device.js';
|
|
9
9
|
export const PerformanceDemo = () => {
|
|
10
10
|
const [activeTab, setActiveTab] = useState('overview');
|
|
11
11
|
const [showRecommendations, setShowRecommendations] = useState(false);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
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';
|
|
7
7
|
import { usePerformance, useFrameRate, useMemoryUsage, useBatteryStatus, usePerformanceThrottling } from '../../hooks';
|
|
8
|
-
import { useDevice } from '../../hooks/use-device';
|
|
8
|
+
import { useDevice } from '../../hooks/use-device.js';
|
|
9
9
|
export const PerformanceDemo = () => {
|
|
10
10
|
const [activeTab, setActiveTab] = useState('overview');
|
|
11
11
|
const [showRecommendations, setShowRecommendations] = useState(false);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { Input } from './input';
|
|
7
|
-
import { Label } from './label';
|
|
8
|
-
import { Badge } from './badge';
|
|
9
|
-
import { useSemanticInput } from '../../hooks/use-semantic-input';
|
|
10
|
-
import { useMobileKeyboardOptimization } from '../../hooks/use-mobile-keyboard-optimization';
|
|
11
|
-
import { useTouchFriendlyInput } from '../../hooks/use-touch-friendly-input';
|
|
12
|
-
import { useInputPerformance } from '../../hooks/use-input-performance';
|
|
13
|
-
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';
|
|
14
14
|
export const SemanticInputSystemDemo = () => {
|
|
15
15
|
const [activeDemo, setActiveDemo] = useState('semantic');
|
|
16
16
|
const [formData, setFormData] = useState({
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
import { Input } from './input';
|
|
7
|
-
import { Label } from './label';
|
|
8
|
-
import { Badge } from './badge';
|
|
9
|
-
import { useSemanticInput } from '../../hooks/use-semantic-input';
|
|
10
|
-
import { useMobileKeyboardOptimization } from '../../hooks/use-mobile-keyboard-optimization';
|
|
11
|
-
import { useTouchFriendlyInput } from '../../hooks/use-touch-friendly-input';
|
|
12
|
-
import { useInputPerformance } from '../../hooks/use-input-performance';
|
|
13
|
-
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';
|
|
14
14
|
export const SemanticInputSystemDemo = () => {
|
|
15
15
|
const [activeDemo, setActiveDemo] = useState('semantic');
|
|
16
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":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAMhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
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"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useCallback, useEffect } from 'react';
|
|
4
4
|
import { useTheme } from '../../themes';
|
|
5
|
-
import { Card, CardContent, CardHeader, CardTitle } from './card';
|
|
6
|
-
import { Button } from './button';
|
|
7
|
-
import { Input } from './input';
|
|
8
|
-
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';
|
|
9
9
|
export const ThemeCustomizer = ({ initialTheme = 'stan-design', onThemeChange, showPreview = true, allowCustomization = true, className = '' }) => {
|
|
10
10
|
const { getTheme } = useTheme();
|
|
11
11
|
const [customizationState, setCustomizationState] = useState({
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useCallback, useEffect } from 'react';
|
|
4
4
|
import { useTheme } from '../../themes';
|
|
5
|
-
import { Card, CardContent, CardHeader, CardTitle } from './card';
|
|
6
|
-
import { Button } from './button';
|
|
7
|
-
import { Input } from './input';
|
|
8
|
-
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';
|
|
9
9
|
export const ThemeCustomizer = ({ initialTheme = 'stan-design', onThemeChange, showPreview = true, allowCustomization = true, className = '' }) => {
|
|
10
10
|
const { getTheme } = useTheme();
|
|
11
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,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
|
-
import { Button } from './button';
|
|
4
|
+
import { Button } from './button.js';
|
|
5
5
|
import { useTheme } from '../../themes';
|
|
6
6
|
export const ThemeSwitcher = ({ showPreview = true, showSystemTheme = true, className = '', variant = 'default' }) => {
|
|
7
7
|
const { currentTheme, availableThemes, setTheme, getTheme } = useTheme();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
|
-
import { Button } from './button';
|
|
4
|
+
import { Button } from './button.js';
|
|
5
5
|
import { useTheme } from '../../themes';
|
|
6
6
|
export const ThemeSwitcher = ({ showPreview = true, showSystemTheme = true, className = '', variant = 'default' }) => {
|
|
7
7
|
const { currentTheme, availableThemes, setTheme, getTheme } = useTheme();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
|
-
import { Button } from './button';
|
|
4
|
+
import { Button } from './button.js';
|
|
5
5
|
import { Moon, Sun } from 'lucide-react';
|
|
6
6
|
export const ThemeToggle = () => {
|
|
7
7
|
const [isDark, setIsDark] = useState(false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
|
-
import { Button } from './button';
|
|
4
|
+
import { Button } from './button.js';
|
|
5
5
|
import { Moon, Sun } from 'lucide-react';
|
|
6
6
|
export const ThemeToggle = () => {
|
|
7
7
|
const [isDark, setIsDark] = useState(false);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Badge } from './badge';
|
|
6
|
-
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';
|
|
7
7
|
import { useTheme } from '../../themes';
|
|
8
8
|
import { createTokenManager } from '../../tokens';
|
|
9
9
|
export const TokenDemo = () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Badge } from './badge';
|
|
6
|
-
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';
|
|
7
7
|
import { useTheme } from '../../themes';
|
|
8
8
|
import { createTokenManager } from '../../tokens';
|
|
9
9
|
export const TokenDemo = () => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef } from 'react';
|
|
4
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
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';
|
|
7
7
|
import { useGestures, useTouchOptimization, useMobileTouch } from '../../hooks';
|
|
8
|
-
import { useDevice } from '../../hooks/use-device';
|
|
8
|
+
import { useDevice } from '../../hooks/use-device.js';
|
|
9
9
|
export const TouchDemo = () => {
|
|
10
10
|
const [activeTab, setActiveTab] = useState('overview');
|
|
11
11
|
const [gestureHistory, setGestureHistory] = useState([]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef } from 'react';
|
|
4
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './card';
|
|
5
|
-
import { Button } from './button';
|
|
6
|
-
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';
|
|
7
7
|
import { useGestures, useTouchOptimization, useMobileTouch } from '../../hooks';
|
|
8
|
-
import { useDevice } from '../../hooks/use-device';
|
|
8
|
+
import { useDevice } from '../../hooks/use-device.js';
|
|
9
9
|
export const TouchDemo = () => {
|
|
10
10
|
const [activeTab, setActiveTab] = useState('overview');
|
|
11
11
|
const [gestureHistory, setGestureHistory] = useState([]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Badge } from './badge';
|
|
5
|
-
import { Input } from './input';
|
|
6
|
-
import { Button } from './button';
|
|
7
|
-
import { Card, CardContent } from './card';
|
|
8
|
-
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';
|
|
9
9
|
export const TouchFriendlyInterfaceDemo = () => {
|
|
10
10
|
const [activeDemo, setActiveDemo] = useState('targets');
|
|
11
11
|
const [formData, setFormData] = useState({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { Badge } from './badge';
|
|
5
|
-
import { Input } from './input';
|
|
6
|
-
import { Button } from './button';
|
|
7
|
-
import { Card, CardContent } from './card';
|
|
8
|
-
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';
|
|
9
9
|
export const TouchFriendlyInterfaceDemo = () => {
|
|
10
10
|
const [activeDemo, setActiveDemo] = useState('targets');
|
|
11
11
|
const [formData, setFormData] = useState({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { cn } from '../../lib/utils';
|
|
5
|
-
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface';
|
|
5
|
+
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface.js';
|
|
6
6
|
export const TouchFriendlyButton = forwardRef(({ className, variant = 'default', size = 'default', feedback = 'scale', children, ...props }, ref) => {
|
|
7
7
|
const { isTouchTargetCompliant, getTouchTargetSize } = useTouchFriendlyInterface({
|
|
8
8
|
minSize: 44,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { cn } from '../../lib/utils';
|
|
5
|
-
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface';
|
|
5
|
+
import { useTouchFriendlyInterface } from '../../hooks/use-touch-friendly-interface.js';
|
|
6
6
|
export const TouchFriendlyButton = forwardRef(({ className, variant = 'default', size = 'default', feedback = 'scale', children, ...props }, ref) => {
|
|
7
7
|
const { isTouchTargetCompliant, getTouchTargetSize } = useTouchFriendlyInterface({
|
|
8
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({
|
|
@@ -240,7 +240,7 @@ export default function themeCSSGenerator() {
|
|
|
240
240
|
writeFileSync(themeOutputPath, themeCSS, 'utf-8');
|
|
241
241
|
console.log(`✅ Generated dual-mode CSS for theme: ${themeObj.meta.name} -> ${themeFileName}`);
|
|
242
242
|
// Add import to index file
|
|
243
|
-
indexCSS += `@import './${themeFileName}';\n`;
|
|
243
|
+
indexCSS += `@import './${themeFileName}.js';\n`;
|
|
244
244
|
// Set stan-design theme as default
|
|
245
245
|
if (themeKey === 'stan-design') {
|
|
246
246
|
defaultThemeCSS += themeCSS;
|
|
@@ -240,7 +240,7 @@ export default function themeCSSGenerator() {
|
|
|
240
240
|
writeFileSync(themeOutputPath, themeCSS, 'utf-8');
|
|
241
241
|
console.log(`✅ Generated dual-mode CSS for theme: ${themeObj.meta.name} -> ${themeFileName}`);
|
|
242
242
|
// Add import to index file
|
|
243
|
-
indexCSS += `@import './${themeFileName}';\n`;
|
|
243
|
+
indexCSS += `@import './${themeFileName}.js';\n`;
|
|
244
244
|
// Set stan-design theme as default
|
|
245
245
|
if (themeKey === 'stan-design') {
|
|
246
246
|
defaultThemeCSS += themeCSS;
|