rr-react-ui-library 0.0.4 → 0.0.6

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 (103) hide show
  1. package/README.md +50 -14
  2. package/dist/components/forms/{checkboxes/Checkbox.d.ts → Checkbox/index.d.ts} +1 -1
  3. package/dist/components/forms/Checkbox/index.d.ts.map +1 -0
  4. package/dist/components/forms/{inputs/Input.d.ts → Input/index.d.ts} +1 -1
  5. package/dist/components/forms/Input/index.d.ts.map +1 -0
  6. package/dist/components/forms/{textareas/Textarea.d.ts → Textarea/index.d.ts} +1 -1
  7. package/dist/components/forms/Textarea/index.d.ts.map +1 -0
  8. package/dist/components/forms/dropdowns/MultiSelect/index.d.ts +25 -0
  9. package/dist/components/forms/dropdowns/MultiSelect/index.d.ts.map +1 -0
  10. package/dist/components/forms/dropdowns/{Select.d.ts → Select/index.d.ts} +7 -4
  11. package/dist/components/forms/dropdowns/Select/index.d.ts.map +1 -0
  12. package/dist/components/forms/radios/{RadioGroup.d.ts → RadioGroup/index.d.ts} +2 -2
  13. package/dist/components/forms/radios/RadioGroup/index.d.ts.map +1 -0
  14. package/dist/components/forms/{toggles/Toggle.d.ts → radios/Switch/index.d.ts} +5 -5
  15. package/dist/components/forms/radios/Switch/index.d.ts.map +1 -0
  16. package/dist/components/layouts/{admin-layout/AdminLayout.d.ts → AdminLayout/index.d.ts} +3 -1
  17. package/dist/components/layouts/AdminLayout/index.d.ts.map +1 -0
  18. package/dist/components/layouts/containers/GlobalContainer/index.d.ts +7 -0
  19. package/dist/components/layouts/containers/GlobalContainer/index.d.ts.map +1 -0
  20. package/dist/components/layouts/containers/PageContainer/index.d.ts +8 -0
  21. package/dist/components/layouts/containers/PageContainer/index.d.ts.map +1 -0
  22. package/dist/components/navbars/SideNavbar/index.d.ts +4 -0
  23. package/dist/components/navbars/SideNavbar/index.d.ts.map +1 -0
  24. package/dist/components/navbars/{TopNavbar.d.ts → TopNavbar/index.d.ts} +1 -1
  25. package/dist/components/navbars/TopNavbar/index.d.ts.map +1 -0
  26. package/dist/components/pages/{Login.d.ts → LoginPage.d.ts} +3 -3
  27. package/dist/components/pages/LoginPage.d.ts.map +1 -0
  28. package/dist/components/ui/{badges/Badge.d.ts → Badge/index.d.ts} +2 -2
  29. package/dist/components/ui/Badge/index.d.ts.map +1 -0
  30. package/dist/components/ui/{buttons/Button.d.ts → Button/index.d.ts} +1 -1
  31. package/dist/components/ui/Button/index.d.ts.map +1 -0
  32. package/dist/components/ui/Modal/examples.d.ts +9 -0
  33. package/dist/components/ui/Modal/examples.d.ts.map +1 -0
  34. package/dist/components/ui/Modal/index.d.ts +46 -0
  35. package/dist/components/ui/Modal/index.d.ts.map +1 -0
  36. package/dist/components/ui/Row/index.d.ts +8 -0
  37. package/dist/components/ui/Row/index.d.ts.map +1 -0
  38. package/dist/components/ui/{tables/Table.d.ts → Table/index.d.ts} +1 -1
  39. package/dist/components/ui/Table/index.d.ts.map +1 -0
  40. package/dist/components/ui/activity/ActivityFeed/index.d.ts +21 -0
  41. package/dist/components/ui/activity/ActivityFeed/index.d.ts.map +1 -0
  42. package/dist/components/ui/activity/ActivityItem/index.d.ts +13 -0
  43. package/dist/components/ui/activity/ActivityItem/index.d.ts.map +1 -0
  44. package/dist/components/ui/cards/{Card.d.ts → Card/index.d.ts} +2 -2
  45. package/dist/components/ui/cards/Card/index.d.ts.map +1 -0
  46. package/dist/components/ui/cards/InfoCard/index.d.ts +13 -0
  47. package/dist/components/ui/cards/InfoCard/index.d.ts.map +1 -0
  48. package/dist/components/ui/cards/StatCard/index.d.ts +13 -0
  49. package/dist/components/ui/cards/StatCard/index.d.ts.map +1 -0
  50. package/dist/components/ui/loaders/ApiLoader.d.ts +4 -0
  51. package/dist/components/ui/loaders/ApiLoader.d.ts.map +1 -0
  52. package/dist/components/ui/loaders/GlobalLoader/index.d.ts +13 -0
  53. package/dist/components/ui/loaders/GlobalLoader/index.d.ts.map +1 -0
  54. package/dist/components/ui/loaders/InlineLoader/index.d.ts +13 -0
  55. package/dist/components/ui/loaders/InlineLoader/index.d.ts.map +1 -0
  56. package/dist/components/ui/progress/ProgressStat/index.d.ts +11 -0
  57. package/dist/components/ui/progress/ProgressStat/index.d.ts.map +1 -0
  58. package/dist/components/ui/tooltips/Tooltip.d.ts.map +1 -1
  59. package/dist/hooks/stores/authStore.d.ts +2 -0
  60. package/dist/hooks/stores/authStore.d.ts.map +1 -1
  61. package/dist/hooks/stores/menuStore.d.ts +9 -0
  62. package/dist/hooks/stores/menuStore.d.ts.map +1 -0
  63. package/dist/index.cjs +16 -16
  64. package/dist/index.cjs.map +1 -1
  65. package/dist/index.d.ts +54 -205
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.mjs +7203 -6112
  68. package/dist/index.mjs.map +1 -1
  69. package/dist/setupTests.d.ts +2 -0
  70. package/dist/setupTests.d.ts.map +1 -0
  71. package/dist/style.css +1 -1
  72. package/dist/types/index.d.ts +1 -0
  73. package/dist/types/index.d.ts.map +1 -1
  74. package/dist/utils/axiosInstance.d.ts +5 -0
  75. package/dist/utils/axiosInstance.d.ts.map +1 -1
  76. package/dist/utils/constants.d.ts +6 -0
  77. package/dist/utils/constants.d.ts.map +1 -0
  78. package/dist/utils/loaderService.d.ts +15 -0
  79. package/dist/utils/loaderService.d.ts.map +1 -0
  80. package/package.json +11 -5
  81. package/dist/components/forms/checkboxes/Checkbox.d.ts.map +0 -1
  82. package/dist/components/forms/dropdowns/Select.d.ts.map +0 -1
  83. package/dist/components/forms/inputs/Input.d.ts.map +0 -1
  84. package/dist/components/forms/radios/RadioGroup.d.ts.map +0 -1
  85. package/dist/components/forms/textareas/Textarea.d.ts.map +0 -1
  86. package/dist/components/forms/toggles/Toggle.d.ts.map +0 -1
  87. package/dist/components/layouts/admin-layout/AdminLayout.d.ts.map +0 -1
  88. package/dist/components/layouts/containers/Container.d.ts +0 -7
  89. package/dist/components/layouts/containers/Container.d.ts.map +0 -1
  90. package/dist/components/navbars/SideNavbar.d.ts +0 -8
  91. package/dist/components/navbars/SideNavbar.d.ts.map +0 -1
  92. package/dist/components/navbars/TopNavbar.d.ts.map +0 -1
  93. package/dist/components/pages/Login.d.ts.map +0 -1
  94. package/dist/components/ui/badges/Badge.d.ts.map +0 -1
  95. package/dist/components/ui/buttons/Button.d.ts.map +0 -1
  96. package/dist/components/ui/cards/Card.d.ts.map +0 -1
  97. package/dist/components/ui/loaders/GlobalLoader.d.ts +0 -19
  98. package/dist/components/ui/loaders/GlobalLoader.d.ts.map +0 -1
  99. package/dist/components/ui/loaders/InlineLoader.d.ts +0 -18
  100. package/dist/components/ui/loaders/InlineLoader.d.ts.map +0 -1
  101. package/dist/components/ui/loaders/index.d.ts +0 -3
  102. package/dist/components/ui/loaders/index.d.ts.map +0 -1
  103. package/dist/components/ui/tables/Table.d.ts.map +0 -1
package/README.md CHANGED
@@ -1,14 +1,9 @@
1
- # rr-lib
1
+ # rr-react-ui-library
2
2
 
3
- A modern React UI component library built with TypeScript, Tailwind CSS, and Storybook for easy development and documentation.
3
+ > A comprehensive React UI component library featuring forms, layouts, navigation, and UI elements, built with TypeScript, Tailwind CSS, and documented with Storybook.
4
4
 
5
- ## Features
6
-
7
- - **TypeScript Support**: Fully typed components for better development experience.
8
- - **Tailwind CSS**: Utility-first styling for customizable components.
9
- - **Storybook Integration**: Interactive documentation and component playground.
10
- - **Comprehensive Components**: Includes forms, layouts, navigation, UI elements, and more.
11
- - **Hooks and Utilities**: Additional tools for state management, API calls, and common functions.
5
+ [![npm version](https://img.shields.io/npm/v/rr-react-ui-library.svg)](https://www.npmjs.com/package/rr-react-ui-library)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
12
7
 
13
8
  ## Installation
14
9
 
@@ -16,6 +11,14 @@ A modern React UI component library built with TypeScript, Tailwind CSS, and Sto
16
11
  npm install rr-react-ui-library
17
12
  ```
18
13
 
14
+ ### Peer Dependencies
15
+
16
+ This library requires the following peer dependencies:
17
+
18
+ - react: ^19.2.0
19
+ - react-dom: ^19.2.0
20
+ - react-router: ^7.11.0
21
+
19
22
  ## Usage
20
23
 
21
24
  First, import the global styles:
@@ -29,6 +32,8 @@ Then, import and use components:
29
32
  ```javascript
30
33
  import { Button, Input, Card } from 'rr-react-ui-library';
31
34
 
35
+ import 'rr-react-ui-library/style.css';
36
+
32
37
  function App() {
33
38
  return (
34
39
  <div>
@@ -40,11 +45,20 @@ function App() {
40
45
  }
41
46
  ```
42
47
 
48
+ ### Environment Variables
49
+
50
+ Create a `.env` file in the root directory and add your environment variables:
51
+
52
+ ``` bash
53
+ VITE_API_BASE_URL=http://localhost:3000/api
54
+ ```
55
+
43
56
  ## Components
44
57
 
45
58
  ### Forms
46
59
  - Checkbox
47
60
  - Input
61
+ - MultiSelect
48
62
  - RadioGroup
49
63
  - Select
50
64
  - Textarea
@@ -59,11 +73,14 @@ function App() {
59
73
  - TopNavbar
60
74
 
61
75
  ### UI Elements
76
+ - ActivityFeed
77
+ - ActivityItem
62
78
  - Badge
63
79
  - Button
64
80
  - Card
65
81
  - GlobalLoader
66
82
  - InlineLoader
83
+ - Modal
67
84
  - Pagination
68
85
  - Table
69
86
  - ThemeToggle
@@ -76,7 +93,7 @@ function App() {
76
93
 
77
94
  ### Prerequisites
78
95
 
79
- - Node.js (v18 or higher)
96
+ - Node.js (v20 or higher)
80
97
  - npm or yarn
81
98
 
82
99
  ### Setup
@@ -89,22 +106,25 @@ function App() {
89
106
  ### Scripts
90
107
 
91
108
  - `npm run dev` - Start Vite dev server
92
- - `npm run build:lib` - Build the library
109
+ - `npm run lint` - Run ESLint
110
+ - `npm run preview` - Preview the build
111
+ - `npm run build` - Build the project (TypeScript + Vite)
112
+ - `npm run format` - Format code with Prettier
93
113
  - `npm run storybook` - Start Storybook
94
114
  - `npm run build:storybook` - Build Storybook for production
95
115
  - `npm run test` - Run tests
116
+ - `npm run build:lib` - Build the library
96
117
 
97
118
  ## Project Structure
98
119
 
99
120
  ```
100
- rr-lib/
121
+ rr-react-ui-library/
101
122
  ├── src/
102
123
  │ ├── components/ # UI components
103
124
  │ ├── hooks/ # Custom hooks
104
125
  │ ├── utils/ # Utility functions
105
126
  │ ├── context/ # React contexts
106
127
  │ ├── types/ # TypeScript types
107
- │ └── example/ # Example application
108
128
  ├── .storybook/ # Storybook configuration
109
129
  ├── public/ # Static assets
110
130
  └── dist/ # Build output
@@ -121,4 +141,20 @@ rr-lib/
121
141
 
122
142
  ## License
123
143
 
124
- [Add your license here]
144
+ MIT
145
+
146
+ ## Author
147
+
148
+ Hari Narayan
149
+
150
+ ## Repository
151
+
152
+ <a href="https://github.com/Hari-Narayan/rr-react-ui-library.git" target="_blank">https://github.com/Hari-Narayan/rr-react-ui-library.git</a>
153
+
154
+ ## Bugs
155
+
156
+ <a href="https://github.com/Hari-Narayan/rr-react-ui-library/issues" target="_blank">https://github.com/Hari-Narayan/rr-react-ui-library/issues</a>
157
+
158
+ ## Keywords
159
+
160
+ react, ui, component
@@ -14,4 +14,4 @@ type CheckboxProps = {
14
14
  };
15
15
  declare const Checkbox: FC<CheckboxProps>;
16
16
  export default Checkbox;
17
- //# sourceMappingURL=Checkbox.d.ts.map
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,KAAK,aAAa,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC,CAAC;AA4BF,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA2D/B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -18,4 +18,4 @@ type InputProps = {
18
18
  };
19
19
  declare const Input: FC<InputProps>;
20
20
  export default Input;
21
- //# sourceMappingURL=Input.d.ts.map
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEhD,KAAK,UAAU,GAAG;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAYF,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAwEzB,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -18,4 +18,4 @@ type TextareaProps = {
18
18
  };
19
19
  declare const Textarea: FC<TextareaProps>;
20
20
  export default Textarea;
21
- //# sourceMappingURL=Textarea.d.ts.map
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/Textarea/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEhD,KAAK,aAAa,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;CACtD,CAAC;AA2BF,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAqD/B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ import { Size, Variant, Option } from '../../../../types';
3
+ type GroupedOptions = Record<string, Option[]>;
4
+ export interface MultiSelectProps {
5
+ id?: string;
6
+ name?: string;
7
+ label?: string;
8
+ placeholder?: string;
9
+ options?: Option[];
10
+ groupedOptions?: GroupedOptions;
11
+ dropdownMaxHeight?: string | number;
12
+ selectedValues: Array<string | number>;
13
+ onChange: (newValues: string[]) => void;
14
+ disabled?: boolean;
15
+ variant?: Variant;
16
+ size?: Size;
17
+ forceDarkTheme?: boolean;
18
+ className?: string;
19
+ searchable?: boolean;
20
+ showSelectAll?: boolean;
21
+ emptyStateLabel?: string;
22
+ }
23
+ declare const MultiSelect: React.FC<MultiSelectProps>;
24
+ export default MultiSelect;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/dropdowns/MultiSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,KAAK,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AAE/C,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AA2BD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8U3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,18 +1,21 @@
1
- import { FC } from 'react';
2
- import { Variant, Option } from '../../../types';
1
+ import { default as React } from 'react';
2
+ import { Variant, Size, Option } from '../../../../types';
3
3
  type SelectProps = {
4
4
  id?: string;
5
5
  name?: string;
6
6
  label?: string;
7
7
  options: Option[];
8
8
  variant?: Variant;
9
+ size?: Size;
9
10
  disabled?: boolean;
10
11
  className?: string;
11
12
  placeholder?: string;
12
13
  value: string | number;
13
14
  forceDarkTheme?: boolean;
15
+ dropdownMaxHeight?: string | number;
16
+ emptyStateLabel?: string;
14
17
  onChange: (value: string) => void;
15
18
  };
16
- declare const Select: FC<SelectProps>;
19
+ declare const Select: React.FC<SelectProps>;
17
20
  export default Select;
18
- //# sourceMappingURL=Select.d.ts.map
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/dropdowns/Select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAmBF,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA+LjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { Variant } from '../../../types';
2
+ import { Variant } from '../../../../types';
3
3
  type RadioOption = {
4
4
  label: string;
5
5
  disabled?: boolean;
@@ -21,4 +21,4 @@ type RadioGroupProps = {
21
21
  declare const RadioGroup: FC<RadioGroupProps>;
22
22
  export type { RadioOption };
23
23
  export default RadioGroup;
24
- //# sourceMappingURL=RadioGroup.d.ts.map
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/radios/RadioGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;CACzC,CAAC;AA4BF,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA0EnC,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC;AAC5B,eAAe,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { Variant } from '../../../types';
3
- type ToggleProps = {
2
+ import { Variant } from '../../../../types';
3
+ type SwitchProps = {
4
4
  id?: string;
5
5
  name?: string;
6
6
  label?: string;
@@ -12,6 +12,6 @@ type ToggleProps = {
12
12
  forceDarkTheme?: boolean;
13
13
  onChange: (checked: boolean) => void;
14
14
  };
15
- declare const Toggle: FC<ToggleProps>;
16
- export default Toggle;
17
- //# sourceMappingURL=Toggle.d.ts.map
15
+ declare const Switch: FC<SwitchProps>;
16
+ export default Switch;
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/radios/Switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC,CAAC;AAsBF,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAwE3B,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { default as React, ReactNode } from 'react';
2
+ import { SideNavbarMenu } from '../../../types';
2
3
  export interface AdminLayoutProps {
3
4
  topNav: ReactNode;
4
5
  sideNav: ReactNode;
5
6
  children: ReactNode;
7
+ menus: SideNavbarMenu[];
6
8
  }
7
9
  declare const AdminLayout: React.FC<AdminLayoutProps>;
8
10
  export default AdminLayout;
9
- //# sourceMappingURL=AdminLayout.d.ts.map
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layouts/AdminLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAG9C,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,SAAS,CAAC;IAClB,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,cAAc,EAAE,CAAC;CACzB;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+B3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export interface GlobalContainerProps {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const GlobalContainer: React.FC<GlobalContainerProps>;
6
+ export default GlobalContainer;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/containers/GlobalContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CASnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ interface PageContainerProps {
3
+ children: ReactNode;
4
+ }
5
+ declare const PageContainer: React.FC<PageContainerProps>;
6
+ export default PageContainer;
7
+ export type { PageContainerProps };
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layouts/containers/PageContainer/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK9C,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAkC/C,CAAC;AAEF,eAAe,aAAa,CAAC;AAC7B,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ declare const SideNavbar: React.FC;
3
+ export default SideNavbar;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/navbars/SideNavbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAkFzC,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAoFvB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -4,4 +4,4 @@ export interface TopNavbarProps {
4
4
  }
5
5
  declare const TopNavbar: React.FC<TopNavbarProps>;
6
6
  export default TopNavbar;
7
- //# sourceMappingURL=TopNavbar.d.ts.map
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/navbars/TopNavbar/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAmB3D,MAAM,WAAW,cAAc;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAgLvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -5,6 +5,6 @@ export interface LoginProps {
5
5
  pageTitle: string;
6
6
  error?: string | null;
7
7
  }
8
- declare const Login: React.FC<LoginProps>;
9
- export default Login;
10
- //# sourceMappingURL=Login.d.ts.map
8
+ declare const LoginPage: React.FC<LoginProps>;
9
+ export default LoginPage;
10
+ //# sourceMappingURL=LoginPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoginPage.d.ts","sourceRoot":"","sources":["../../../src/components/pages/LoginPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBxD,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAQD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAgHnC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -7,8 +7,8 @@ export interface BadgeProps {
7
7
  size?: BadgeSize;
8
8
  className?: string;
9
9
  variant?: BadgeVariant;
10
- rounded?: BorderRadius | `${BorderRadius}`;
10
+ rounded?: BorderRadius;
11
11
  children: React.ReactNode;
12
12
  }
13
13
  export declare const Badge: React.FC<BadgeProps>;
14
- //# sourceMappingURL=Badge.d.ts.map
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/Badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,GAAG,OAAO,EAAE,CAAC;AAElD,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAqBD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA8BtC,CAAC"}
@@ -65,4 +65,4 @@ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement
65
65
  */
66
66
  declare const Button: React.FC<ButtonProps>;
67
67
  export default Button;
68
- //# sourceMappingURL=Button.d.ts.map
68
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,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@@
1
+ /**
2
+ * Example usage of the Modal component
3
+ *
4
+ * This file demonstrates various ways to use the Modal component
5
+ * in your application.
6
+ */
7
+ export declare const ModalExamples: () => import("react/jsx-runtime").JSX.Element;
8
+ export default ModalExamples;
9
+ //# sourceMappingURL=examples.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"examples.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/Modal/examples.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,eAAO,MAAM,aAAa,+CAwMzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { Size, Variant } from '../../../types';
3
+ export interface ModalProps {
4
+ title?: string;
5
+ isOpen: boolean;
6
+ zIndex?: number;
7
+ variant?: Variant;
8
+ className?: string;
9
+ onClose: () => void;
10
+ children: ReactNode;
11
+ closeOnEscape?: boolean;
12
+ showCloseButton?: boolean;
13
+ contentClassName?: string;
14
+ closeOnOverlayClick?: boolean;
15
+ onEscapeKeyDown?: (event: KeyboardEvent) => void;
16
+ size?: Size | 'xs' | 'xl' | '2xl' | '3xl' | '4xl' | 'full';
17
+ onOverlayClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
18
+ }
19
+ export interface ModalHeaderProps {
20
+ variant?: Variant;
21
+ className?: string;
22
+ children: ReactNode;
23
+ }
24
+ export interface ModalBodyProps {
25
+ className?: string;
26
+ children: ReactNode;
27
+ }
28
+ export interface ModalFooterProps {
29
+ className?: string;
30
+ children: ReactNode;
31
+ }
32
+ /**
33
+ * Modal Header Component
34
+ */
35
+ export declare const ModalHeader: FC<ModalHeaderProps>;
36
+ /**
37
+ * Modal Body Component
38
+ */
39
+ export declare const ModalBody: FC<ModalBodyProps>;
40
+ /**
41
+ * Modal Footer Component
42
+ */
43
+ export declare const ModalFooter: FC<ModalFooterProps>;
44
+ declare const Modal: FC<ModalProps>;
45
+ export default Modal;
46
+ //# sourceMappingURL=index.d.ts.map
@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,SAAS,CAAC;CACrB;AAyBD;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAa5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAExC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAW5C,CAAC;AAEF,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CA4IzB,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export interface RowProps {
3
+ children?: React.ReactNode;
4
+ cols?: number | 1 | 2 | 3 | 4 | 5 | 6 | 12;
5
+ }
6
+ declare const Row: React.FC<RowProps>;
7
+ export default Row;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/Row/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;CAC5C;AAED,QAAA,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAG3B,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -35,4 +35,4 @@ export interface TableDataProps {
35
35
  align?: 'left' | 'center' | 'right';
36
36
  }
37
37
  export declare const TableData: React.FC<TableDataProps>;
38
- //# sourceMappingURL=Table.d.ts.map
38
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,K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;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAoB9C,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ export interface Activity {
3
+ time: string;
4
+ action: string;
5
+ target: string;
6
+ type: 'success' | 'info' | 'warning';
7
+ icon: React.ComponentType<{
8
+ className?: string;
9
+ }>;
10
+ }
11
+ export interface ActivityFeedProps {
12
+ title?: string;
13
+ icon?: React.ComponentType<{
14
+ className?: string;
15
+ }>;
16
+ activities: Activity[];
17
+ className?: string;
18
+ }
19
+ declare const ActivityFeed: React.FC<ActivityFeedProps>;
20
+ export default ActivityFeed;
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/activity/ActivityFeed/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IACrC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgC7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ export interface ActivityItemProps {
3
+ time: string;
4
+ action: string;
5
+ target: string;
6
+ type: 'success' | 'info' | 'warning';
7
+ icon: React.ComponentType<{
8
+ className?: string;
9
+ }>;
10
+ }
11
+ declare const ActivityItem: React.FC<ActivityItemProps>;
12
+ export default ActivityItem;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/activity/ActivityItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IACrC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiC7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
- import { Variant, BorderRadius } from '../../../types';
2
+ import { Variant, BorderRadius } from '../../../../types';
3
3
  export type CardProps = {
4
4
  variant?: Variant;
5
5
  className?: string;
@@ -20,4 +20,4 @@ export declare const CardHeader: FC<CardHeaderProps>;
20
20
  export declare const CardFooter: FC<CardFooterProps>;
21
21
  export declare const CardBody: FC<CardHeaderProps>;
22
22
  export default Card;
23
- //# sourceMappingURL=Card.d.ts.map
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/cards/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AA6CF,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAyBvB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwB1C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAW1C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,eAAe,CAWxC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ export interface InfoCardProps {
3
+ title: string;
4
+ value: string | number;
5
+ color: string;
6
+ icon: React.ComponentType<{
7
+ className?: string;
8
+ }>;
9
+ className?: string;
10
+ }
11
+ declare const InfoCard: React.FC<InfoCardProps>;
12
+ export default InfoCard;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/cards/InfoCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA4DrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,13 @@
1
+ export interface StatCardProps {
2
+ title: string;
3
+ value: string;
4
+ color: string;
5
+ change: string;
6
+ changeType: 'positive' | 'negative';
7
+ icon: React.ComponentType<{
8
+ className?: string;
9
+ }>;
10
+ }
11
+ declare const StatCard: React.FC<StatCardProps>;
12
+ export default StatCard;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/cards/StatCard/index.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,GAAG,UAAU,CAAC;IACpC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAsErC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ declare const ApiLoader: React.FC;
3
+ export default ApiLoader;
4
+ //# sourceMappingURL=ApiLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiLoader.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/loaders/ApiLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAYtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { Variant } from '../../../../types';
3
+ export interface GlobalLoaderProps {
4
+ open: boolean;
5
+ blur?: boolean;
6
+ message?: string;
7
+ variant?: Variant;
8
+ showBackdrop?: boolean;
9
+ overlayClassName?: string;
10
+ }
11
+ declare const GlobalLoader: React.FC<GlobalLoaderProps>;
12
+ export default GlobalLoader;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/loaders/GlobalLoader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGlC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwC7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { Variant } from '../../../../types';
3
+ type LoaderSize = 'xs' | 'sm' | 'md' | 'lg';
4
+ export interface InlineLoaderProps {
5
+ label?: string;
6
+ size?: LoaderSize;
7
+ variant?: Variant;
8
+ className?: string;
9
+ showLabel?: boolean;
10
+ }
11
+ declare const InlineLoader: FC<InlineLoaderProps>;
12
+ export default InlineLoader;
13
+ //# sourceMappingURL=index.d.ts.map