@true-tech-team/react-components 0.0.2 → 0.0.4
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/index.css +1 -1
- package/index.d.ts +4 -2
- package/index.js +1 -1
- package/index.mjs +5944 -3658
- package/lib/components/buttons/Button/Button.d.ts +15 -4
- package/lib/components/buttons/IconButton/IconButton.d.ts +1 -1
- package/lib/components/display/Accordion/Accordion.d.ts +112 -0
- package/lib/components/display/Accordion/AccordionContainer.d.ts +101 -0
- package/lib/components/display/Accordion/AccordionContext.d.ts +57 -0
- package/lib/components/display/Accordion/index.d.ts +6 -0
- package/lib/components/display/Avatar/Avatar.d.ts +1 -1
- package/lib/components/display/Card/Card.d.ts +101 -0
- package/lib/components/display/Card/index.d.ts +3 -0
- package/lib/components/display/Carousel/Carousel.d.ts +125 -0
- package/lib/components/display/Carousel/index.d.ts +3 -0
- package/lib/components/display/Collapse/Collapse.d.ts +57 -0
- package/lib/components/display/Collapse/index.d.ts +2 -0
- package/lib/components/display/CountUp/CountUp.d.ts +119 -0
- package/lib/components/display/CountUp/index.d.ts +3 -0
- package/lib/components/display/FlipCard/FlipCard.d.ts +125 -0
- package/lib/components/display/FlipCard/index.d.ts +3 -0
- package/lib/components/display/Icon/Icon.d.ts +1 -1
- package/lib/components/display/Icon/icons/Account.d.ts +3 -0
- package/lib/components/display/Icon/icons/Activity.d.ts +3 -0
- package/lib/components/display/Icon/icons/AlignCenter.d.ts +3 -0
- package/lib/components/display/Icon/icons/AlignJustify.d.ts +3 -0
- package/lib/components/display/Icon/icons/AlignLeft.d.ts +3 -0
- package/lib/components/display/Icon/icons/AlignRight.d.ts +3 -0
- package/lib/components/display/Icon/icons/ArrowDown.d.ts +3 -0
- package/lib/components/display/Icon/icons/ArrowDownLeft.d.ts +3 -0
- package/lib/components/display/Icon/icons/ArrowDownRight.d.ts +3 -0
- package/lib/components/display/Icon/icons/ArrowLeft.d.ts +3 -0
- package/lib/components/display/Icon/icons/ArrowRight.d.ts +3 -0
- package/lib/components/display/Icon/icons/ArrowUp.d.ts +3 -0
- package/lib/components/display/Icon/icons/ArrowUpLeft.d.ts +3 -0
- package/lib/components/display/Icon/icons/ArrowUpRight.d.ts +3 -0
- package/lib/components/display/Icon/icons/AtSign.d.ts +3 -0
- package/lib/components/display/Icon/icons/BarChart2.d.ts +3 -0
- package/lib/components/display/Icon/icons/Battery.d.ts +3 -0
- package/lib/components/display/Icon/icons/BatteryCharging.d.ts +3 -0
- package/lib/components/display/Icon/icons/Bell.d.ts +3 -0
- package/lib/components/display/Icon/icons/BellOff.d.ts +3 -0
- package/lib/components/display/Icon/icons/Bluetooth.d.ts +3 -0
- package/lib/components/display/Icon/icons/Bold.d.ts +3 -0
- package/lib/components/display/Icon/icons/Bookmark.d.ts +3 -0
- package/lib/components/display/Icon/icons/BookmarkPlus.d.ts +3 -0
- package/lib/components/display/Icon/icons/Building.d.ts +3 -0
- package/lib/components/display/Icon/icons/Calendar.d.ts +3 -0
- package/lib/components/display/Icon/icons/Camera.d.ts +3 -0
- package/lib/components/display/Icon/icons/ChartBar.d.ts +3 -0
- package/lib/components/display/Icon/icons/ChartLine.d.ts +3 -0
- package/lib/components/display/Icon/icons/Check.d.ts +3 -0
- package/lib/components/display/Icon/icons/ChevronDown.d.ts +3 -0
- package/lib/components/display/Icon/icons/ChevronLeft.d.ts +3 -0
- package/lib/components/display/Icon/icons/ChevronRight.d.ts +3 -0
- package/lib/components/display/Icon/icons/ChevronUp.d.ts +3 -0
- package/lib/components/display/Icon/icons/Clock.d.ts +3 -0
- package/lib/components/display/Icon/icons/Close.d.ts +3 -0
- package/lib/components/display/Icon/icons/Cloud.d.ts +3 -0
- package/lib/components/display/Icon/icons/CloudDownload.d.ts +3 -0
- package/lib/components/display/Icon/icons/CloudOff.d.ts +3 -0
- package/lib/components/display/Icon/icons/CloudUpload.d.ts +3 -0
- package/lib/components/display/Icon/icons/Code.d.ts +3 -0
- package/lib/components/display/Icon/icons/Compass.d.ts +3 -0
- package/lib/components/display/Icon/icons/Copy.d.ts +3 -0
- package/lib/components/display/Icon/icons/CornerDownLeft.d.ts +3 -0
- package/lib/components/display/Icon/icons/CornerDownRight.d.ts +3 -0
- package/lib/components/display/Icon/icons/CornerUpLeft.d.ts +3 -0
- package/lib/components/display/Icon/icons/CornerUpRight.d.ts +3 -0
- package/lib/components/display/Icon/icons/Cpu.d.ts +3 -0
- package/lib/components/display/Icon/icons/CreditCard.d.ts +3 -0
- package/lib/components/display/Icon/icons/Crosshair.d.ts +3 -0
- package/lib/components/display/Icon/icons/Database.d.ts +3 -0
- package/lib/components/display/Icon/icons/Delete.d.ts +3 -0
- package/lib/components/display/Icon/icons/Dollar.d.ts +3 -0
- package/lib/components/display/Icon/icons/Download.d.ts +3 -0
- package/lib/components/display/Icon/icons/Edit.d.ts +3 -0
- package/lib/components/display/Icon/icons/Error.d.ts +3 -0
- package/lib/components/display/Icon/icons/ExternalLink.d.ts +3 -0
- package/lib/components/display/Icon/icons/Eye.d.ts +3 -0
- package/lib/components/display/Icon/icons/EyeOff.d.ts +3 -0
- package/lib/components/display/Icon/icons/File.d.ts +3 -0
- package/lib/components/display/Icon/icons/FileCheck.d.ts +3 -0
- package/lib/components/display/Icon/icons/FileMinus.d.ts +3 -0
- package/lib/components/display/Icon/icons/FilePlus.d.ts +3 -0
- package/lib/components/display/Icon/icons/FileText.d.ts +3 -0
- package/lib/components/display/Icon/icons/Filter.d.ts +3 -0
- package/lib/components/display/Icon/icons/Folder.d.ts +3 -0
- package/lib/components/display/Icon/icons/FolderMinus.d.ts +3 -0
- package/lib/components/display/Icon/icons/FolderOpen.d.ts +3 -0
- package/lib/components/display/Icon/icons/FolderPlus.d.ts +3 -0
- package/lib/components/display/Icon/icons/Gift.d.ts +3 -0
- package/lib/components/display/Icon/icons/Globe.d.ts +3 -0
- package/lib/components/display/Icon/icons/Grid.d.ts +3 -0
- package/lib/components/display/Icon/icons/HardDrive.d.ts +3 -0
- package/lib/components/display/Icon/icons/Hash.d.ts +3 -0
- package/lib/components/display/Icon/icons/Heart.d.ts +3 -0
- package/lib/components/display/Icon/icons/Help.d.ts +3 -0
- package/lib/components/display/Icon/icons/Home.d.ts +3 -0
- package/lib/components/display/Icon/icons/Hourglass.d.ts +3 -0
- package/lib/components/display/Icon/icons/Image.d.ts +3 -0
- package/lib/components/display/Icon/icons/Inbox.d.ts +3 -0
- package/lib/components/display/Icon/icons/Info.d.ts +3 -0
- package/lib/components/display/Icon/icons/Italic.d.ts +3 -0
- package/lib/components/display/Icon/icons/Key.d.ts +3 -0
- package/lib/components/display/Icon/icons/Laptop.d.ts +3 -0
- package/lib/components/display/Icon/icons/Link.d.ts +3 -0
- package/lib/components/display/Icon/icons/Link2.d.ts +3 -0
- package/lib/components/display/Icon/icons/List.d.ts +3 -0
- package/lib/components/display/Icon/icons/ListOrdered.d.ts +3 -0
- package/lib/components/display/Icon/icons/ListUnordered.d.ts +3 -0
- package/lib/components/display/Icon/icons/Lock.d.ts +3 -0
- package/lib/components/display/Icon/icons/Logout.d.ts +3 -0
- package/lib/components/display/Icon/icons/Mail.d.ts +3 -0
- package/lib/components/display/Icon/icons/MailOpen.d.ts +3 -0
- package/lib/components/display/Icon/icons/Map.d.ts +3 -0
- package/lib/components/display/Icon/icons/MapPin.d.ts +3 -0
- package/lib/components/display/Icon/icons/Maximize.d.ts +3 -0
- package/lib/components/display/Icon/icons/Menu.d.ts +3 -0
- package/lib/components/display/Icon/icons/MessageCircle.d.ts +3 -0
- package/lib/components/display/Icon/icons/MessageSquare.d.ts +3 -0
- package/lib/components/display/Icon/icons/Messages.d.ts +3 -0
- package/lib/components/display/Icon/icons/Mic.d.ts +3 -0
- package/lib/components/display/Icon/icons/MicOff.d.ts +3 -0
- package/lib/components/display/Icon/icons/Minimize.d.ts +3 -0
- package/lib/components/display/Icon/icons/Minus.d.ts +3 -0
- package/lib/components/display/Icon/icons/Monitor.d.ts +3 -0
- package/lib/components/display/Icon/icons/Music.d.ts +3 -0
- package/lib/components/display/Icon/icons/Navigation.d.ts +3 -0
- package/lib/components/display/Icon/icons/Navigation2.d.ts +3 -0
- package/lib/components/display/Icon/icons/Outbox.d.ts +3 -0
- package/lib/components/display/Icon/icons/Paperclip.d.ts +3 -0
- package/lib/components/display/Icon/icons/Pause.d.ts +3 -0
- package/lib/components/display/Icon/icons/Percent.d.ts +3 -0
- package/lib/components/display/Icon/icons/PercentCircle.d.ts +3 -0
- package/lib/components/display/Icon/icons/Phone.d.ts +3 -0
- package/lib/components/display/Icon/icons/PhoneCall.d.ts +3 -0
- package/lib/components/display/Icon/icons/PhoneIncoming.d.ts +3 -0
- package/lib/components/display/Icon/icons/PhoneMissed.d.ts +3 -0
- package/lib/components/display/Icon/icons/PhoneOutgoing.d.ts +3 -0
- package/lib/components/display/Icon/icons/PieChart.d.ts +3 -0
- package/lib/components/display/Icon/icons/Play.d.ts +3 -0
- package/lib/components/display/Icon/icons/Plus.d.ts +3 -0
- package/lib/components/display/Icon/icons/Power.d.ts +3 -0
- package/lib/components/display/Icon/icons/Preferences.d.ts +3 -0
- package/lib/components/display/Icon/icons/Printer.d.ts +3 -0
- package/lib/components/display/Icon/icons/Profile.d.ts +3 -0
- package/lib/components/display/Icon/icons/Redo.d.ts +3 -0
- package/lib/components/display/Icon/icons/Refresh.d.ts +3 -0
- package/lib/components/display/Icon/icons/Repeat.d.ts +3 -0
- package/lib/components/display/Icon/icons/RotateCcw.d.ts +3 -0
- package/lib/components/display/Icon/icons/RotateCw.d.ts +3 -0
- package/lib/components/display/Icon/icons/Route.d.ts +3 -0
- package/lib/components/display/Icon/icons/Rss.d.ts +3 -0
- package/lib/components/display/Icon/icons/Save.d.ts +3 -0
- package/lib/components/display/Icon/icons/Search.d.ts +3 -0
- package/lib/components/display/Icon/icons/Send.d.ts +3 -0
- package/lib/components/display/Icon/icons/Server.d.ts +3 -0
- package/lib/components/display/Icon/icons/Settings.d.ts +3 -0
- package/lib/components/display/Icon/icons/Share.d.ts +3 -0
- package/lib/components/display/Icon/icons/Share2.d.ts +3 -0
- package/lib/components/display/Icon/icons/Shield.d.ts +3 -0
- package/lib/components/display/Icon/icons/ShieldAlert.d.ts +3 -0
- package/lib/components/display/Icon/icons/ShieldCheck.d.ts +3 -0
- package/lib/components/display/Icon/icons/ShieldOff.d.ts +3 -0
- package/lib/components/display/Icon/icons/ShoppingBag.d.ts +3 -0
- package/lib/components/display/Icon/icons/ShoppingCart.d.ts +3 -0
- package/lib/components/display/Icon/icons/Shuffle.d.ts +3 -0
- package/lib/components/display/Icon/icons/SkipBack.d.ts +3 -0
- package/lib/components/display/Icon/icons/SkipForward.d.ts +3 -0
- package/lib/components/display/Icon/icons/Smartphone.d.ts +3 -0
- package/lib/components/display/Icon/icons/Star.d.ts +3 -0
- package/lib/components/display/Icon/icons/Stop.d.ts +3 -0
- package/lib/components/display/Icon/icons/Stopwatch.d.ts +3 -0
- package/lib/components/display/Icon/icons/Sunrise.d.ts +3 -0
- package/lib/components/display/Icon/icons/Sunset.d.ts +3 -0
- package/lib/components/display/Icon/icons/Tablet.d.ts +3 -0
- package/lib/components/display/Icon/icons/Tag.d.ts +3 -0
- package/lib/components/display/Icon/icons/Target.d.ts +3 -0
- package/lib/components/display/Icon/icons/Terminal.d.ts +3 -0
- package/lib/components/display/Icon/icons/ThumbsUp.d.ts +3 -0
- package/lib/components/display/Icon/icons/TrendingDown.d.ts +3 -0
- package/lib/components/display/Icon/icons/TrendingUp.d.ts +3 -0
- package/lib/components/display/Icon/icons/Type.d.ts +3 -0
- package/lib/components/display/Icon/icons/Underline.d.ts +3 -0
- package/lib/components/display/Icon/icons/Undo.d.ts +3 -0
- package/lib/components/display/Icon/icons/Unlink.d.ts +3 -0
- package/lib/components/display/Icon/icons/Unlock.d.ts +3 -0
- package/lib/components/display/Icon/icons/Upload.d.ts +3 -0
- package/lib/components/display/Icon/icons/User.d.ts +3 -0
- package/lib/components/display/Icon/icons/UserCheck.d.ts +3 -0
- package/lib/components/display/Icon/icons/UserMinus.d.ts +3 -0
- package/lib/components/display/Icon/icons/UserPlus.d.ts +3 -0
- package/lib/components/display/Icon/icons/UserX.d.ts +3 -0
- package/lib/components/display/Icon/icons/Users.d.ts +3 -0
- package/lib/components/display/Icon/icons/Video.d.ts +3 -0
- package/lib/components/display/Icon/icons/Volume.d.ts +3 -0
- package/lib/components/display/Icon/icons/Volume1.d.ts +3 -0
- package/lib/components/display/Icon/icons/Volume2.d.ts +3 -0
- package/lib/components/display/Icon/icons/VolumeX.d.ts +3 -0
- package/lib/components/display/Icon/icons/Warning.d.ts +3 -0
- package/lib/components/display/Icon/icons/Watch.d.ts +3 -0
- package/lib/components/display/Icon/icons/Wifi.d.ts +3 -0
- package/lib/components/display/Icon/icons/WifiOff.d.ts +3 -0
- package/lib/components/display/Icon/icons/Zap.d.ts +3 -0
- package/lib/components/display/Icon/icons/index.d.ts +379 -0
- package/lib/components/display/Icon/index.d.ts +1 -0
- package/lib/components/display/PageMessages/PageMessageContent.d.ts +19 -0
- package/lib/components/display/PageMessages/PageMessages.d.ts +49 -0
- package/lib/components/display/PageMessages/defaultConfigs.d.ts +5 -0
- package/lib/components/display/PageMessages/index.d.ts +3 -0
- package/lib/components/display/PageMessages/types.d.ts +175 -0
- package/lib/components/display/ProgressBar/ProgressBar.d.ts +11 -0
- package/lib/components/display/Reveal/Reveal.d.ts +109 -0
- package/lib/components/display/Reveal/index.d.ts +3 -0
- package/lib/components/display/Spinner/Spinner.d.ts +79 -0
- package/lib/components/display/Spinner/index.d.ts +3 -0
- package/lib/components/display/StatusIndicator/StatusIndicator.d.ts +1 -1
- package/lib/components/index.d.ts +21 -0
- package/lib/components/inputs/Autocomplete/Autocomplete.d.ts +1 -1
- package/lib/components/inputs/Checkbox/Checkbox.d.ts +1 -1
- package/lib/components/inputs/DatePicker/DatePicker.d.ts +1 -1
- package/lib/components/inputs/Input/Input.d.ts +1 -1
- package/lib/components/inputs/Radio/Radio.d.ts +1 -1
- package/lib/components/inputs/Rating/Rating.d.ts +1 -1
- package/lib/components/inputs/Select/Select.d.ts +1 -1
- package/lib/components/inputs/Toggle/Toggle.d.ts +5 -0
- package/lib/components/overlays/Dropdown/Dropdown.d.ts +1 -1
- package/lib/components/overlays/LoadingOverlay/LoadingOverlay.d.ts +101 -0
- package/lib/components/overlays/LoadingOverlay/index.d.ts +3 -0
- package/lib/components/overlays/Menu/MenuItem.d.ts +1 -1
- package/lib/contexts/PageMessagesContext/PageMessagesContext.d.ts +91 -0
- package/lib/contexts/PageMessagesContext/index.d.ts +2 -0
- package/lib/contexts/index.d.ts +2 -0
- package/lib/providers/GlobalProvider/GlobalProvider.d.ts +6 -1
- package/package.json +1 -1
- package/lib/assets/icons/index.d.ts +0 -133
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { PageMessageStateConfig, LoadingStateConfig, PageMessagesProps } from '../../components/display/PageMessages/types';
|
|
3
|
+
/**
|
|
4
|
+
* Default configurations for all page message states
|
|
5
|
+
*/
|
|
6
|
+
export interface PageMessagesDefaults {
|
|
7
|
+
/** Default loading configuration */
|
|
8
|
+
loading?: LoadingStateConfig;
|
|
9
|
+
/** Default error configuration */
|
|
10
|
+
error?: PageMessageStateConfig;
|
|
11
|
+
/** Default forbidden configuration */
|
|
12
|
+
forbidden?: PageMessageStateConfig;
|
|
13
|
+
/** Default not-found configuration */
|
|
14
|
+
notFound?: PageMessageStateConfig;
|
|
15
|
+
/** Default unauthorized configuration */
|
|
16
|
+
unauthorized?: PageMessageStateConfig;
|
|
17
|
+
/** Default maintenance configuration */
|
|
18
|
+
maintenance?: PageMessageStateConfig;
|
|
19
|
+
/** Default offline configuration */
|
|
20
|
+
offline?: PageMessageStateConfig;
|
|
21
|
+
/** Default timeout configuration */
|
|
22
|
+
timeout?: PageMessageStateConfig;
|
|
23
|
+
/** Default empty configuration */
|
|
24
|
+
empty?: PageMessageStateConfig;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Global actions that can be provided app-wide
|
|
28
|
+
*/
|
|
29
|
+
export interface PageMessagesGlobalActions {
|
|
30
|
+
/** Default retry handler */
|
|
31
|
+
onRetry?: () => void;
|
|
32
|
+
/** Default go back handler */
|
|
33
|
+
onGoBack?: () => void;
|
|
34
|
+
/** Default go home handler */
|
|
35
|
+
onGoHome?: () => void;
|
|
36
|
+
/** Default login handler */
|
|
37
|
+
onLogin?: () => void;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Context value for PageMessages
|
|
41
|
+
*/
|
|
42
|
+
export interface PageMessagesContextValue {
|
|
43
|
+
/** Default state configurations */
|
|
44
|
+
defaults: PageMessagesDefaults;
|
|
45
|
+
/** Global action handlers */
|
|
46
|
+
actions: PageMessagesGlobalActions;
|
|
47
|
+
/** Default component props */
|
|
48
|
+
defaultProps?: Partial<Pick<PageMessagesProps, 'size' | 'fullScreen' | 'centerVertically' | 'minHeight'>>;
|
|
49
|
+
}
|
|
50
|
+
export interface PageMessagesProviderProps {
|
|
51
|
+
children: ReactNode;
|
|
52
|
+
/** Default configurations for page message states */
|
|
53
|
+
defaults?: PageMessagesDefaults;
|
|
54
|
+
/** Global action handlers */
|
|
55
|
+
actions?: PageMessagesGlobalActions;
|
|
56
|
+
/** Default component props */
|
|
57
|
+
defaultProps?: PageMessagesContextValue['defaultProps'];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Provider for PageMessages defaults and global configuration
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```tsx
|
|
64
|
+
* <PageMessagesProvider
|
|
65
|
+
* defaults={{
|
|
66
|
+
* error: {
|
|
67
|
+
* title: 'Oops! Something went wrong',
|
|
68
|
+
* description: 'Please try again later',
|
|
69
|
+
* icon: 'error',
|
|
70
|
+
* },
|
|
71
|
+
* }}
|
|
72
|
+
* actions={{
|
|
73
|
+
* onGoHome: () => router.push('/'),
|
|
74
|
+
* onLogin: () => router.push('/login'),
|
|
75
|
+
* }}
|
|
76
|
+
* >
|
|
77
|
+
* <App />
|
|
78
|
+
* </PageMessagesProvider>
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export declare function PageMessagesProvider({ children, defaults, actions, defaultProps, }: PageMessagesProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
82
|
+
/**
|
|
83
|
+
* Hook to access PageMessages context
|
|
84
|
+
* Returns undefined if not within provider (uses built-in defaults)
|
|
85
|
+
*/
|
|
86
|
+
export declare function usePageMessages(): PageMessagesContextValue | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Hook to get merged configuration (context defaults + component props)
|
|
89
|
+
* For internal use by PageMessages component
|
|
90
|
+
*/
|
|
91
|
+
export declare function usePageMessagesConfig(componentProps: Partial<PageMessagesProps>): PageMessagesContextValue;
|
package/lib/contexts/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { ThemeProvider, useTheme } from './ThemeContext';
|
|
2
2
|
export type { ThemeProviderProps } from './ThemeContext';
|
|
3
|
+
export { PageMessagesProvider, usePageMessages } from './PageMessagesContext';
|
|
4
|
+
export type { PageMessagesProviderProps, PageMessagesContextValue, PageMessagesDefaults, PageMessagesGlobalActions, } from './PageMessagesContext';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { PageMessagesProviderProps } from '../../contexts/PageMessagesContext';
|
|
2
3
|
import { ThemeConfig } from '../../types';
|
|
3
4
|
export interface GlobalProviderProps {
|
|
4
5
|
/**
|
|
@@ -13,6 +14,10 @@ export interface GlobalProviderProps {
|
|
|
13
14
|
* Whether to inject global styles (default: true)
|
|
14
15
|
*/
|
|
15
16
|
injectGlobalStyles?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* PageMessages default configuration
|
|
19
|
+
*/
|
|
20
|
+
pageMessagesConfig?: Omit<PageMessagesProviderProps, 'children'>;
|
|
16
21
|
}
|
|
17
22
|
/**
|
|
18
23
|
* GlobalProvider component that wraps the entire application
|
|
@@ -52,5 +57,5 @@ export interface GlobalProviderProps {
|
|
|
52
57
|
* </GlobalProvider>
|
|
53
58
|
* ```
|
|
54
59
|
*/
|
|
55
|
-
export declare function GlobalProvider({ children, themeConfig, injectGlobalStyles, }: GlobalProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
export declare function GlobalProvider({ children, themeConfig, injectGlobalStyles, pageMessagesConfig, }: GlobalProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
56
61
|
export default GlobalProvider;
|
package/package.json
CHANGED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { default as Calendar } from './calendar.svg?react';
|
|
2
|
-
import { default as ChevronDown } from './chevron-down.svg?react';
|
|
3
|
-
import { default as ChevronUp } from './chevron-up.svg?react';
|
|
4
|
-
import { default as ChevronLeft } from './chevron-left.svg?react';
|
|
5
|
-
import { default as ChevronRight } from './chevron-right.svg?react';
|
|
6
|
-
import { default as Close } from './close.svg?react';
|
|
7
|
-
import { default as Check } from './check.svg?react';
|
|
8
|
-
import { default as Minus } from './minus.svg?react';
|
|
9
|
-
import { default as Plus } from './plus.svg?react';
|
|
10
|
-
import { default as Info } from './info.svg?react';
|
|
11
|
-
import { default as Help } from './help.svg?react';
|
|
12
|
-
import { default as Warning } from './warning.svg?react';
|
|
13
|
-
import { default as Error } from './error.svg?react';
|
|
14
|
-
import { default as Eye } from './eye.svg?react';
|
|
15
|
-
import { default as EyeOff } from './eye-off.svg?react';
|
|
16
|
-
import { default as Edit } from './edit.svg?react';
|
|
17
|
-
import { default as Copy } from './copy.svg?react';
|
|
18
|
-
import { default as Delete } from './delete.svg?react';
|
|
19
|
-
import { default as Settings } from './settings.svg?react';
|
|
20
|
-
import { default as Profile } from './profile.svg?react';
|
|
21
|
-
import { default as Preferences } from './preferences.svg?react';
|
|
22
|
-
import { default as Account } from './account.svg?react';
|
|
23
|
-
import { default as Logout } from './logout.svg?react';
|
|
24
|
-
import { default as User } from './user.svg?react';
|
|
25
|
-
import { default as Users } from './users.svg?react';
|
|
26
|
-
import { default as Building } from './building.svg?react';
|
|
27
|
-
import { default as Dollar } from './dollar.svg?react';
|
|
28
|
-
import { default as ChartLine } from './chart-line.svg?react';
|
|
29
|
-
import { default as ChartBar } from './chart-bar.svg?react';
|
|
30
|
-
import { default as TrendingDown } from './trending-down.svg?react';
|
|
31
|
-
/**
|
|
32
|
-
* Icon registry mapping icon names to SVG components
|
|
33
|
-
*/
|
|
34
|
-
export declare const iconRegistry: {
|
|
35
|
-
readonly calendar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
36
|
-
title?: string;
|
|
37
|
-
}>;
|
|
38
|
-
readonly 'chevron-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
39
|
-
title?: string;
|
|
40
|
-
}>;
|
|
41
|
-
readonly 'chevron-up': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
42
|
-
title?: string;
|
|
43
|
-
}>;
|
|
44
|
-
readonly 'chevron-left': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
45
|
-
title?: string;
|
|
46
|
-
}>;
|
|
47
|
-
readonly 'chevron-right': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
48
|
-
title?: string;
|
|
49
|
-
}>;
|
|
50
|
-
readonly close: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
51
|
-
title?: string;
|
|
52
|
-
}>;
|
|
53
|
-
readonly check: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
54
|
-
title?: string;
|
|
55
|
-
}>;
|
|
56
|
-
readonly minus: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
57
|
-
title?: string;
|
|
58
|
-
}>;
|
|
59
|
-
readonly plus: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
60
|
-
title?: string;
|
|
61
|
-
}>;
|
|
62
|
-
readonly info: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
63
|
-
title?: string;
|
|
64
|
-
}>;
|
|
65
|
-
readonly help: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
66
|
-
title?: string;
|
|
67
|
-
}>;
|
|
68
|
-
readonly warning: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
69
|
-
title?: string;
|
|
70
|
-
}>;
|
|
71
|
-
readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
72
|
-
title?: string;
|
|
73
|
-
}>;
|
|
74
|
-
readonly eye: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
75
|
-
title?: string;
|
|
76
|
-
}>;
|
|
77
|
-
readonly 'eye-off': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
78
|
-
title?: string;
|
|
79
|
-
}>;
|
|
80
|
-
readonly edit: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
81
|
-
title?: string;
|
|
82
|
-
}>;
|
|
83
|
-
readonly copy: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
84
|
-
title?: string;
|
|
85
|
-
}>;
|
|
86
|
-
readonly delete: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
87
|
-
title?: string;
|
|
88
|
-
}>;
|
|
89
|
-
readonly settings: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
90
|
-
title?: string;
|
|
91
|
-
}>;
|
|
92
|
-
readonly profile: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
93
|
-
title?: string;
|
|
94
|
-
}>;
|
|
95
|
-
readonly preferences: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
96
|
-
title?: string;
|
|
97
|
-
}>;
|
|
98
|
-
readonly account: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
99
|
-
title?: string;
|
|
100
|
-
}>;
|
|
101
|
-
readonly logout: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
102
|
-
title?: string;
|
|
103
|
-
}>;
|
|
104
|
-
readonly user: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
105
|
-
title?: string;
|
|
106
|
-
}>;
|
|
107
|
-
readonly users: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
108
|
-
title?: string;
|
|
109
|
-
}>;
|
|
110
|
-
readonly building: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
111
|
-
title?: string;
|
|
112
|
-
}>;
|
|
113
|
-
readonly dollar: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
114
|
-
title?: string;
|
|
115
|
-
}>;
|
|
116
|
-
readonly 'chart-line': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
117
|
-
title?: string;
|
|
118
|
-
}>;
|
|
119
|
-
readonly 'chart-bar': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
120
|
-
title?: string;
|
|
121
|
-
}>;
|
|
122
|
-
readonly 'trending-down': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
123
|
-
title?: string;
|
|
124
|
-
}>;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Available icon names
|
|
128
|
-
*/
|
|
129
|
-
export type IconName = keyof typeof iconRegistry;
|
|
130
|
-
/**
|
|
131
|
-
* Named exports for direct import
|
|
132
|
-
*/
|
|
133
|
-
export { Calendar, ChevronDown, ChevronUp, ChevronLeft, ChevronRight, Close, Check, Minus, Plus, Info, Help, Warning, Error, Eye, EyeOff, Edit, Copy, Delete, Settings, Profile, Preferences, Account, Logout, User, Users, Building, Dollar, ChartLine, ChartBar, TrendingDown, };
|