@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.
Files changed (237) hide show
  1. package/index.css +1 -1
  2. package/index.d.ts +4 -2
  3. package/index.js +1 -1
  4. package/index.mjs +5944 -3658
  5. package/lib/components/buttons/Button/Button.d.ts +15 -4
  6. package/lib/components/buttons/IconButton/IconButton.d.ts +1 -1
  7. package/lib/components/display/Accordion/Accordion.d.ts +112 -0
  8. package/lib/components/display/Accordion/AccordionContainer.d.ts +101 -0
  9. package/lib/components/display/Accordion/AccordionContext.d.ts +57 -0
  10. package/lib/components/display/Accordion/index.d.ts +6 -0
  11. package/lib/components/display/Avatar/Avatar.d.ts +1 -1
  12. package/lib/components/display/Card/Card.d.ts +101 -0
  13. package/lib/components/display/Card/index.d.ts +3 -0
  14. package/lib/components/display/Carousel/Carousel.d.ts +125 -0
  15. package/lib/components/display/Carousel/index.d.ts +3 -0
  16. package/lib/components/display/Collapse/Collapse.d.ts +57 -0
  17. package/lib/components/display/Collapse/index.d.ts +2 -0
  18. package/lib/components/display/CountUp/CountUp.d.ts +119 -0
  19. package/lib/components/display/CountUp/index.d.ts +3 -0
  20. package/lib/components/display/FlipCard/FlipCard.d.ts +125 -0
  21. package/lib/components/display/FlipCard/index.d.ts +3 -0
  22. package/lib/components/display/Icon/Icon.d.ts +1 -1
  23. package/lib/components/display/Icon/icons/Account.d.ts +3 -0
  24. package/lib/components/display/Icon/icons/Activity.d.ts +3 -0
  25. package/lib/components/display/Icon/icons/AlignCenter.d.ts +3 -0
  26. package/lib/components/display/Icon/icons/AlignJustify.d.ts +3 -0
  27. package/lib/components/display/Icon/icons/AlignLeft.d.ts +3 -0
  28. package/lib/components/display/Icon/icons/AlignRight.d.ts +3 -0
  29. package/lib/components/display/Icon/icons/ArrowDown.d.ts +3 -0
  30. package/lib/components/display/Icon/icons/ArrowDownLeft.d.ts +3 -0
  31. package/lib/components/display/Icon/icons/ArrowDownRight.d.ts +3 -0
  32. package/lib/components/display/Icon/icons/ArrowLeft.d.ts +3 -0
  33. package/lib/components/display/Icon/icons/ArrowRight.d.ts +3 -0
  34. package/lib/components/display/Icon/icons/ArrowUp.d.ts +3 -0
  35. package/lib/components/display/Icon/icons/ArrowUpLeft.d.ts +3 -0
  36. package/lib/components/display/Icon/icons/ArrowUpRight.d.ts +3 -0
  37. package/lib/components/display/Icon/icons/AtSign.d.ts +3 -0
  38. package/lib/components/display/Icon/icons/BarChart2.d.ts +3 -0
  39. package/lib/components/display/Icon/icons/Battery.d.ts +3 -0
  40. package/lib/components/display/Icon/icons/BatteryCharging.d.ts +3 -0
  41. package/lib/components/display/Icon/icons/Bell.d.ts +3 -0
  42. package/lib/components/display/Icon/icons/BellOff.d.ts +3 -0
  43. package/lib/components/display/Icon/icons/Bluetooth.d.ts +3 -0
  44. package/lib/components/display/Icon/icons/Bold.d.ts +3 -0
  45. package/lib/components/display/Icon/icons/Bookmark.d.ts +3 -0
  46. package/lib/components/display/Icon/icons/BookmarkPlus.d.ts +3 -0
  47. package/lib/components/display/Icon/icons/Building.d.ts +3 -0
  48. package/lib/components/display/Icon/icons/Calendar.d.ts +3 -0
  49. package/lib/components/display/Icon/icons/Camera.d.ts +3 -0
  50. package/lib/components/display/Icon/icons/ChartBar.d.ts +3 -0
  51. package/lib/components/display/Icon/icons/ChartLine.d.ts +3 -0
  52. package/lib/components/display/Icon/icons/Check.d.ts +3 -0
  53. package/lib/components/display/Icon/icons/ChevronDown.d.ts +3 -0
  54. package/lib/components/display/Icon/icons/ChevronLeft.d.ts +3 -0
  55. package/lib/components/display/Icon/icons/ChevronRight.d.ts +3 -0
  56. package/lib/components/display/Icon/icons/ChevronUp.d.ts +3 -0
  57. package/lib/components/display/Icon/icons/Clock.d.ts +3 -0
  58. package/lib/components/display/Icon/icons/Close.d.ts +3 -0
  59. package/lib/components/display/Icon/icons/Cloud.d.ts +3 -0
  60. package/lib/components/display/Icon/icons/CloudDownload.d.ts +3 -0
  61. package/lib/components/display/Icon/icons/CloudOff.d.ts +3 -0
  62. package/lib/components/display/Icon/icons/CloudUpload.d.ts +3 -0
  63. package/lib/components/display/Icon/icons/Code.d.ts +3 -0
  64. package/lib/components/display/Icon/icons/Compass.d.ts +3 -0
  65. package/lib/components/display/Icon/icons/Copy.d.ts +3 -0
  66. package/lib/components/display/Icon/icons/CornerDownLeft.d.ts +3 -0
  67. package/lib/components/display/Icon/icons/CornerDownRight.d.ts +3 -0
  68. package/lib/components/display/Icon/icons/CornerUpLeft.d.ts +3 -0
  69. package/lib/components/display/Icon/icons/CornerUpRight.d.ts +3 -0
  70. package/lib/components/display/Icon/icons/Cpu.d.ts +3 -0
  71. package/lib/components/display/Icon/icons/CreditCard.d.ts +3 -0
  72. package/lib/components/display/Icon/icons/Crosshair.d.ts +3 -0
  73. package/lib/components/display/Icon/icons/Database.d.ts +3 -0
  74. package/lib/components/display/Icon/icons/Delete.d.ts +3 -0
  75. package/lib/components/display/Icon/icons/Dollar.d.ts +3 -0
  76. package/lib/components/display/Icon/icons/Download.d.ts +3 -0
  77. package/lib/components/display/Icon/icons/Edit.d.ts +3 -0
  78. package/lib/components/display/Icon/icons/Error.d.ts +3 -0
  79. package/lib/components/display/Icon/icons/ExternalLink.d.ts +3 -0
  80. package/lib/components/display/Icon/icons/Eye.d.ts +3 -0
  81. package/lib/components/display/Icon/icons/EyeOff.d.ts +3 -0
  82. package/lib/components/display/Icon/icons/File.d.ts +3 -0
  83. package/lib/components/display/Icon/icons/FileCheck.d.ts +3 -0
  84. package/lib/components/display/Icon/icons/FileMinus.d.ts +3 -0
  85. package/lib/components/display/Icon/icons/FilePlus.d.ts +3 -0
  86. package/lib/components/display/Icon/icons/FileText.d.ts +3 -0
  87. package/lib/components/display/Icon/icons/Filter.d.ts +3 -0
  88. package/lib/components/display/Icon/icons/Folder.d.ts +3 -0
  89. package/lib/components/display/Icon/icons/FolderMinus.d.ts +3 -0
  90. package/lib/components/display/Icon/icons/FolderOpen.d.ts +3 -0
  91. package/lib/components/display/Icon/icons/FolderPlus.d.ts +3 -0
  92. package/lib/components/display/Icon/icons/Gift.d.ts +3 -0
  93. package/lib/components/display/Icon/icons/Globe.d.ts +3 -0
  94. package/lib/components/display/Icon/icons/Grid.d.ts +3 -0
  95. package/lib/components/display/Icon/icons/HardDrive.d.ts +3 -0
  96. package/lib/components/display/Icon/icons/Hash.d.ts +3 -0
  97. package/lib/components/display/Icon/icons/Heart.d.ts +3 -0
  98. package/lib/components/display/Icon/icons/Help.d.ts +3 -0
  99. package/lib/components/display/Icon/icons/Home.d.ts +3 -0
  100. package/lib/components/display/Icon/icons/Hourglass.d.ts +3 -0
  101. package/lib/components/display/Icon/icons/Image.d.ts +3 -0
  102. package/lib/components/display/Icon/icons/Inbox.d.ts +3 -0
  103. package/lib/components/display/Icon/icons/Info.d.ts +3 -0
  104. package/lib/components/display/Icon/icons/Italic.d.ts +3 -0
  105. package/lib/components/display/Icon/icons/Key.d.ts +3 -0
  106. package/lib/components/display/Icon/icons/Laptop.d.ts +3 -0
  107. package/lib/components/display/Icon/icons/Link.d.ts +3 -0
  108. package/lib/components/display/Icon/icons/Link2.d.ts +3 -0
  109. package/lib/components/display/Icon/icons/List.d.ts +3 -0
  110. package/lib/components/display/Icon/icons/ListOrdered.d.ts +3 -0
  111. package/lib/components/display/Icon/icons/ListUnordered.d.ts +3 -0
  112. package/lib/components/display/Icon/icons/Lock.d.ts +3 -0
  113. package/lib/components/display/Icon/icons/Logout.d.ts +3 -0
  114. package/lib/components/display/Icon/icons/Mail.d.ts +3 -0
  115. package/lib/components/display/Icon/icons/MailOpen.d.ts +3 -0
  116. package/lib/components/display/Icon/icons/Map.d.ts +3 -0
  117. package/lib/components/display/Icon/icons/MapPin.d.ts +3 -0
  118. package/lib/components/display/Icon/icons/Maximize.d.ts +3 -0
  119. package/lib/components/display/Icon/icons/Menu.d.ts +3 -0
  120. package/lib/components/display/Icon/icons/MessageCircle.d.ts +3 -0
  121. package/lib/components/display/Icon/icons/MessageSquare.d.ts +3 -0
  122. package/lib/components/display/Icon/icons/Messages.d.ts +3 -0
  123. package/lib/components/display/Icon/icons/Mic.d.ts +3 -0
  124. package/lib/components/display/Icon/icons/MicOff.d.ts +3 -0
  125. package/lib/components/display/Icon/icons/Minimize.d.ts +3 -0
  126. package/lib/components/display/Icon/icons/Minus.d.ts +3 -0
  127. package/lib/components/display/Icon/icons/Monitor.d.ts +3 -0
  128. package/lib/components/display/Icon/icons/Music.d.ts +3 -0
  129. package/lib/components/display/Icon/icons/Navigation.d.ts +3 -0
  130. package/lib/components/display/Icon/icons/Navigation2.d.ts +3 -0
  131. package/lib/components/display/Icon/icons/Outbox.d.ts +3 -0
  132. package/lib/components/display/Icon/icons/Paperclip.d.ts +3 -0
  133. package/lib/components/display/Icon/icons/Pause.d.ts +3 -0
  134. package/lib/components/display/Icon/icons/Percent.d.ts +3 -0
  135. package/lib/components/display/Icon/icons/PercentCircle.d.ts +3 -0
  136. package/lib/components/display/Icon/icons/Phone.d.ts +3 -0
  137. package/lib/components/display/Icon/icons/PhoneCall.d.ts +3 -0
  138. package/lib/components/display/Icon/icons/PhoneIncoming.d.ts +3 -0
  139. package/lib/components/display/Icon/icons/PhoneMissed.d.ts +3 -0
  140. package/lib/components/display/Icon/icons/PhoneOutgoing.d.ts +3 -0
  141. package/lib/components/display/Icon/icons/PieChart.d.ts +3 -0
  142. package/lib/components/display/Icon/icons/Play.d.ts +3 -0
  143. package/lib/components/display/Icon/icons/Plus.d.ts +3 -0
  144. package/lib/components/display/Icon/icons/Power.d.ts +3 -0
  145. package/lib/components/display/Icon/icons/Preferences.d.ts +3 -0
  146. package/lib/components/display/Icon/icons/Printer.d.ts +3 -0
  147. package/lib/components/display/Icon/icons/Profile.d.ts +3 -0
  148. package/lib/components/display/Icon/icons/Redo.d.ts +3 -0
  149. package/lib/components/display/Icon/icons/Refresh.d.ts +3 -0
  150. package/lib/components/display/Icon/icons/Repeat.d.ts +3 -0
  151. package/lib/components/display/Icon/icons/RotateCcw.d.ts +3 -0
  152. package/lib/components/display/Icon/icons/RotateCw.d.ts +3 -0
  153. package/lib/components/display/Icon/icons/Route.d.ts +3 -0
  154. package/lib/components/display/Icon/icons/Rss.d.ts +3 -0
  155. package/lib/components/display/Icon/icons/Save.d.ts +3 -0
  156. package/lib/components/display/Icon/icons/Search.d.ts +3 -0
  157. package/lib/components/display/Icon/icons/Send.d.ts +3 -0
  158. package/lib/components/display/Icon/icons/Server.d.ts +3 -0
  159. package/lib/components/display/Icon/icons/Settings.d.ts +3 -0
  160. package/lib/components/display/Icon/icons/Share.d.ts +3 -0
  161. package/lib/components/display/Icon/icons/Share2.d.ts +3 -0
  162. package/lib/components/display/Icon/icons/Shield.d.ts +3 -0
  163. package/lib/components/display/Icon/icons/ShieldAlert.d.ts +3 -0
  164. package/lib/components/display/Icon/icons/ShieldCheck.d.ts +3 -0
  165. package/lib/components/display/Icon/icons/ShieldOff.d.ts +3 -0
  166. package/lib/components/display/Icon/icons/ShoppingBag.d.ts +3 -0
  167. package/lib/components/display/Icon/icons/ShoppingCart.d.ts +3 -0
  168. package/lib/components/display/Icon/icons/Shuffle.d.ts +3 -0
  169. package/lib/components/display/Icon/icons/SkipBack.d.ts +3 -0
  170. package/lib/components/display/Icon/icons/SkipForward.d.ts +3 -0
  171. package/lib/components/display/Icon/icons/Smartphone.d.ts +3 -0
  172. package/lib/components/display/Icon/icons/Star.d.ts +3 -0
  173. package/lib/components/display/Icon/icons/Stop.d.ts +3 -0
  174. package/lib/components/display/Icon/icons/Stopwatch.d.ts +3 -0
  175. package/lib/components/display/Icon/icons/Sunrise.d.ts +3 -0
  176. package/lib/components/display/Icon/icons/Sunset.d.ts +3 -0
  177. package/lib/components/display/Icon/icons/Tablet.d.ts +3 -0
  178. package/lib/components/display/Icon/icons/Tag.d.ts +3 -0
  179. package/lib/components/display/Icon/icons/Target.d.ts +3 -0
  180. package/lib/components/display/Icon/icons/Terminal.d.ts +3 -0
  181. package/lib/components/display/Icon/icons/ThumbsUp.d.ts +3 -0
  182. package/lib/components/display/Icon/icons/TrendingDown.d.ts +3 -0
  183. package/lib/components/display/Icon/icons/TrendingUp.d.ts +3 -0
  184. package/lib/components/display/Icon/icons/Type.d.ts +3 -0
  185. package/lib/components/display/Icon/icons/Underline.d.ts +3 -0
  186. package/lib/components/display/Icon/icons/Undo.d.ts +3 -0
  187. package/lib/components/display/Icon/icons/Unlink.d.ts +3 -0
  188. package/lib/components/display/Icon/icons/Unlock.d.ts +3 -0
  189. package/lib/components/display/Icon/icons/Upload.d.ts +3 -0
  190. package/lib/components/display/Icon/icons/User.d.ts +3 -0
  191. package/lib/components/display/Icon/icons/UserCheck.d.ts +3 -0
  192. package/lib/components/display/Icon/icons/UserMinus.d.ts +3 -0
  193. package/lib/components/display/Icon/icons/UserPlus.d.ts +3 -0
  194. package/lib/components/display/Icon/icons/UserX.d.ts +3 -0
  195. package/lib/components/display/Icon/icons/Users.d.ts +3 -0
  196. package/lib/components/display/Icon/icons/Video.d.ts +3 -0
  197. package/lib/components/display/Icon/icons/Volume.d.ts +3 -0
  198. package/lib/components/display/Icon/icons/Volume1.d.ts +3 -0
  199. package/lib/components/display/Icon/icons/Volume2.d.ts +3 -0
  200. package/lib/components/display/Icon/icons/VolumeX.d.ts +3 -0
  201. package/lib/components/display/Icon/icons/Warning.d.ts +3 -0
  202. package/lib/components/display/Icon/icons/Watch.d.ts +3 -0
  203. package/lib/components/display/Icon/icons/Wifi.d.ts +3 -0
  204. package/lib/components/display/Icon/icons/WifiOff.d.ts +3 -0
  205. package/lib/components/display/Icon/icons/Zap.d.ts +3 -0
  206. package/lib/components/display/Icon/icons/index.d.ts +379 -0
  207. package/lib/components/display/Icon/index.d.ts +1 -0
  208. package/lib/components/display/PageMessages/PageMessageContent.d.ts +19 -0
  209. package/lib/components/display/PageMessages/PageMessages.d.ts +49 -0
  210. package/lib/components/display/PageMessages/defaultConfigs.d.ts +5 -0
  211. package/lib/components/display/PageMessages/index.d.ts +3 -0
  212. package/lib/components/display/PageMessages/types.d.ts +175 -0
  213. package/lib/components/display/ProgressBar/ProgressBar.d.ts +11 -0
  214. package/lib/components/display/Reveal/Reveal.d.ts +109 -0
  215. package/lib/components/display/Reveal/index.d.ts +3 -0
  216. package/lib/components/display/Spinner/Spinner.d.ts +79 -0
  217. package/lib/components/display/Spinner/index.d.ts +3 -0
  218. package/lib/components/display/StatusIndicator/StatusIndicator.d.ts +1 -1
  219. package/lib/components/index.d.ts +21 -0
  220. package/lib/components/inputs/Autocomplete/Autocomplete.d.ts +1 -1
  221. package/lib/components/inputs/Checkbox/Checkbox.d.ts +1 -1
  222. package/lib/components/inputs/DatePicker/DatePicker.d.ts +1 -1
  223. package/lib/components/inputs/Input/Input.d.ts +1 -1
  224. package/lib/components/inputs/Radio/Radio.d.ts +1 -1
  225. package/lib/components/inputs/Rating/Rating.d.ts +1 -1
  226. package/lib/components/inputs/Select/Select.d.ts +1 -1
  227. package/lib/components/inputs/Toggle/Toggle.d.ts +5 -0
  228. package/lib/components/overlays/Dropdown/Dropdown.d.ts +1 -1
  229. package/lib/components/overlays/LoadingOverlay/LoadingOverlay.d.ts +101 -0
  230. package/lib/components/overlays/LoadingOverlay/index.d.ts +3 -0
  231. package/lib/components/overlays/Menu/MenuItem.d.ts +1 -1
  232. package/lib/contexts/PageMessagesContext/PageMessagesContext.d.ts +91 -0
  233. package/lib/contexts/PageMessagesContext/index.d.ts +2 -0
  234. package/lib/contexts/index.d.ts +2 -0
  235. package/lib/providers/GlobalProvider/GlobalProvider.d.ts +6 -1
  236. package/package.json +1 -1
  237. 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;
@@ -0,0 +1,2 @@
1
+ export { PageMessagesProvider, usePageMessages, usePageMessagesConfig, } from './PageMessagesContext';
2
+ export type { PageMessagesProviderProps, PageMessagesContextValue, PageMessagesDefaults, PageMessagesGlobalActions, } from './PageMessagesContext';
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@true-tech-team/react-components",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "React TypeScript component library",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -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, };