@kashifd/jwero-components 0.7.36 → 0.7.38

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 (167) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.es.js +164 -168
  3. package/dist/index.umd.js +67 -68
  4. package/dist/src/App.d.ts +2 -0
  5. package/dist/src/components/JweroAccordian.d.ts +7 -0
  6. package/dist/src/components/JweroBreadcrumbs.d.ts +13 -0
  7. package/dist/src/components/JweroChip.d.ts +25 -0
  8. package/dist/src/components/JweroDialogHeader.d.ts +27 -0
  9. package/dist/src/components/JweroPicker.d.ts +4 -0
  10. package/dist/src/components/JweroPopper.d.ts +13 -0
  11. package/dist/src/components/JweroRadio.d.ts +9 -0
  12. package/dist/src/components/JweroSidebar.d.ts +22 -0
  13. package/dist/src/components/JweroToggleButton.d.ts +8 -0
  14. package/dist/src/components/JweroTypography.d.ts +70 -0
  15. package/dist/src/components/jwero_actions_button/index.d.ts +21 -0
  16. package/dist/src/components/jwero_alerts/index.d.ts +14 -0
  17. package/dist/src/components/jwero_avatars/index.d.ts +21 -0
  18. package/dist/src/components/jwero_badger/index.d.ts +9 -0
  19. package/dist/src/components/jwero_button_menu/components/JweroMenu.d.ts +33 -0
  20. package/dist/src/components/jwero_button_menu/index.d.ts +22 -0
  21. package/dist/src/components/jwero_charts/components/AreaChart.d.ts +8 -0
  22. package/dist/src/components/jwero_charts/components/BarChart.d.ts +9 -0
  23. package/dist/src/components/jwero_charts/components/Funnel.d.ts +3 -0
  24. package/dist/src/components/jwero_charts/components/FunnelChart.d.ts +8 -0
  25. package/dist/src/components/jwero_charts/components/LineChart.d.ts +8 -0
  26. package/dist/src/components/jwero_charts/components/MultipleLineChart.d.ts +10 -0
  27. package/dist/src/components/jwero_charts/components/NumericChart.d.ts +8 -0
  28. package/dist/src/components/jwero_charts/components/PieChart.d.ts +7 -0
  29. package/dist/src/components/jwero_charts/components/RacingBarChart.d.ts +8 -0
  30. package/dist/src/components/jwero_charts/components/RadialChart.d.ts +13 -0
  31. package/dist/src/components/jwero_charts/index.d.ts +25 -0
  32. package/dist/src/components/jwero_checkbox/index.d.ts +9 -0
  33. package/dist/src/components/jwero_confirmation_dialog/index.d.ts +43 -0
  34. package/dist/src/components/jwero_custom_field/index.d.ts +29 -0
  35. package/dist/src/components/jwero_data_card/components/CardAreaGraph.d.ts +7 -0
  36. package/dist/src/components/jwero_data_card/components/NumberAnimation.d.ts +8 -0
  37. package/dist/src/components/jwero_data_card/index.d.ts +53 -0
  38. package/dist/src/components/jwero_data_table/components/JweroPagination.d.ts +7 -0
  39. package/dist/src/components/jwero_data_table/components/JweroTable.d.ts +20 -0
  40. package/dist/src/components/jwero_data_table/index.d.ts +14 -0
  41. package/dist/src/components/jwero_date_filter/components/DateFiltersMenu.d.ts +8 -0
  42. package/dist/src/components/jwero_date_filter/helper/dateFilterList.d.ts +5 -0
  43. package/dist/src/components/jwero_date_filter/index.d.ts +10 -0
  44. package/dist/src/components/jwero_dialog_footer/index.d.ts +16 -0
  45. package/dist/src/components/jwero_drawer/index.d.ts +44 -0
  46. package/dist/src/components/jwero_empty_state/index.d.ts +25 -0
  47. package/dist/src/components/jwero_filter_operator/components/HighlightLabelChip.d.ts +12 -0
  48. package/dist/src/components/jwero_filter_operator/index.d.ts +9 -0
  49. package/dist/src/components/jwero_media_preview/components/MediaPreviewDisplay.d.ts +2 -0
  50. package/dist/src/components/jwero_media_preview/components/MediaPreviewHeader.d.ts +5 -0
  51. package/dist/src/components/jwero_media_preview/index.d.ts +2 -0
  52. package/dist/src/components/jwero_navigation/drawer.d.ts +3 -0
  53. package/dist/src/components/jwero_navigation/icons/Analytics.d.ts +2 -0
  54. package/dist/src/components/jwero_navigation/icons/Automations.d.ts +2 -0
  55. package/dist/src/components/jwero_navigation/icons/CRM.d.ts +2 -0
  56. package/dist/src/components/jwero_navigation/icons/Catalog.d.ts +2 -0
  57. package/dist/src/components/jwero_navigation/icons/DigitalGold.d.ts +2 -0
  58. package/dist/src/components/jwero_navigation/icons/Ecommerce.d.ts +2 -0
  59. package/dist/src/components/jwero_navigation/icons/Inventory.d.ts +2 -0
  60. package/dist/src/components/jwero_navigation/icons/JweroOne.d.ts +2 -0
  61. package/dist/src/components/jwero_navigation/icons/Loyality.d.ts +2 -0
  62. package/dist/src/components/jwero_navigation/icons/Socials.d.ts +2 -0
  63. package/dist/src/components/jwero_navigation/icons/chats.d.ts +2 -0
  64. package/dist/src/components/jwero_navigation/index.d.ts +19 -0
  65. package/dist/src/components/jwero_note_card/components/JweroNoteCardHeader.d.ts +11 -0
  66. package/dist/src/components/jwero_note_card/helper/AttachmentPreview.d.ts +10 -0
  67. package/dist/src/components/jwero_note_card/helper/convertDate.d.ts +1 -0
  68. package/dist/src/components/jwero_note_card/helper/getFileType.d.ts +3 -0
  69. package/dist/src/components/jwero_note_card/index.d.ts +14 -0
  70. package/dist/src/components/jwero_note_editor/components/AttachmentPreview.d.ts +10 -0
  71. package/dist/src/components/jwero_note_editor/components/AttachmentsSection.d.ts +7 -0
  72. package/dist/src/components/jwero_note_editor/components/NoteEditorFooter.d.ts +11 -0
  73. package/dist/src/components/jwero_note_editor/components/NoteEditorHeader.d.ts +5 -0
  74. package/dist/src/components/jwero_note_editor/helpers/bytesToMegabytes.d.ts +4 -0
  75. package/dist/src/components/jwero_note_editor/helpers/fileLimits.d.ts +7 -0
  76. package/dist/src/components/jwero_note_editor/helpers/getFileType.d.ts +1 -0
  77. package/dist/src/components/jwero_note_editor/helpers/getRandomId.d.ts +1 -0
  78. package/dist/src/components/jwero_note_editor/index.d.ts +23 -0
  79. package/dist/src/components/jwero_order_card/index.d.ts +25 -0
  80. package/dist/src/components/jwero_phone_input/index.d.ts +8 -0
  81. package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryBody.d.ts +8 -0
  82. package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryFooter.d.ts +2 -0
  83. package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryHeader.d.ts +2 -0
  84. package/dist/src/components/jwero_plan_expiry/index.d.ts +8 -0
  85. package/dist/src/components/jwero_plan_expiry/svg/PlanExpiredSvg.d.ts +2 -0
  86. package/dist/src/components/jwero_primary_button/index.d.ts +21 -0
  87. package/dist/src/components/jwero_product_card/index.d.ts +23 -0
  88. package/dist/src/components/jwero_search_box/index.d.ts +22 -0
  89. package/dist/src/components/jwero_snackbar/index.d.ts +17 -0
  90. package/dist/src/components/jwero_status_chip/index.d.ts +22 -0
  91. package/dist/src/components/jwero_tabs/index.d.ts +29 -0
  92. package/dist/src/components/jwero_task_card/components/CustomAvatarGroup.d.ts +9 -0
  93. package/dist/src/components/jwero_task_card/components/TaskCardEditDelete.d.ts +13 -0
  94. package/dist/src/components/jwero_task_card/components/TeamMembersDisplay.d.ts +8 -0
  95. package/dist/src/components/jwero_task_card/helpers/checkIfOverdue.d.ts +14 -0
  96. package/dist/src/components/jwero_task_card/helpers/getInitials.d.ts +1 -0
  97. package/dist/src/components/jwero_task_card/index.d.ts +37 -0
  98. package/dist/src/components/jwero_theme_switch/components/dark_light_mode_switch/index.d.ts +5 -0
  99. package/dist/src/components/jwero_theme_switch/index.d.ts +3 -0
  100. package/dist/src/components/jwero_tooltip/index.d.ts +12 -0
  101. package/dist/src/components/jwero_verticaltabs/helper/convertToUnderscore.d.ts +1 -0
  102. package/dist/src/components/jwero_verticaltabs/index.d.ts +24 -0
  103. package/dist/src/components/jwero_view_options/index.d.ts +19 -0
  104. package/dist/src/consts/typography.d.ts +80 -0
  105. package/dist/src/icons/AddIcon.d.ts +5 -0
  106. package/dist/src/icons/AnalyticsIcon.d.ts +2 -0
  107. package/dist/src/icons/AttachIcon.d.ts +2 -0
  108. package/dist/src/icons/BoldIcon.d.ts +2 -0
  109. package/dist/src/icons/CalendarIcon.d.ts +5 -0
  110. package/dist/src/icons/CallIcon.d.ts +5 -0
  111. package/dist/src/icons/CheckedCheckboxIcon.d.ts +3 -0
  112. package/dist/src/icons/CheckedRadioIcon.d.ts +3 -0
  113. package/dist/src/icons/ChevronDown.d.ts +4 -0
  114. package/dist/src/icons/CloseIcon.d.ts +5 -0
  115. package/dist/src/icons/CloseMedia.d.ts +2 -0
  116. package/dist/src/icons/CompletedIcon.d.ts +2 -0
  117. package/dist/src/icons/CrownEmoji.d.ts +4 -0
  118. package/dist/src/icons/DecrementChipIcon.d.ts +2 -0
  119. package/dist/src/icons/DecrementIcon.d.ts +2 -0
  120. package/dist/src/icons/DeleteIcon.d.ts +4 -0
  121. package/dist/src/icons/DiamondIcon.d.ts +2 -0
  122. package/dist/src/icons/DropdownIcon.d.ts +2 -0
  123. package/dist/src/icons/EditIcon.d.ts +6 -0
  124. package/dist/src/icons/ErrorIcon.d.ts +4 -0
  125. package/dist/src/icons/EyeIcon.d.ts +2 -0
  126. package/dist/src/icons/FacebookFooterIcon.d.ts +2 -0
  127. package/dist/src/icons/ImproveChipIcon.d.ts +2 -0
  128. package/dist/src/icons/IncrementIcon.d.ts +2 -0
  129. package/dist/src/icons/InfoAlertIcon.d.ts +4 -0
  130. package/dist/src/icons/InfoIcon.d.ts +2 -0
  131. package/dist/src/icons/InprogressIcon.d.ts +2 -0
  132. package/dist/src/icons/InstagramFooterIcon.d.ts +2 -0
  133. package/dist/src/icons/InventoryIcon.d.ts +2 -0
  134. package/dist/src/icons/ItalicIcon.d.ts +2 -0
  135. package/dist/src/icons/LineThroughIcon.d.ts +2 -0
  136. package/dist/src/icons/LinkedInFooterIcon.d.ts +2 -0
  137. package/dist/src/icons/MailIcon.d.ts +5 -0
  138. package/dist/src/icons/PendingIcon.d.ts +2 -0
  139. package/dist/src/icons/QuotationsIcon.d.ts +2 -0
  140. package/dist/src/icons/RedCalendarIcon.d.ts +2 -0
  141. package/dist/src/icons/SalesAppIcon.d.ts +2 -0
  142. package/dist/src/icons/SearchIcon.d.ts +2 -0
  143. package/dist/src/icons/ShoppingCart.d.ts +2 -0
  144. package/dist/src/icons/StockIcon.d.ts +4 -0
  145. package/dist/src/icons/StockStatus.d.ts +2 -0
  146. package/dist/src/icons/SuccessIcon.d.ts +4 -0
  147. package/dist/src/icons/ToggleOffIcon.d.ts +3 -0
  148. package/dist/src/icons/ToggleOnIcon.d.ts +3 -0
  149. package/dist/src/icons/TripleDotsIcon.d.ts +2 -0
  150. package/dist/src/icons/TruckIcon.d.ts +2 -0
  151. package/dist/src/icons/UncheckedCheckboxIcon.d.ts +4 -0
  152. package/dist/src/icons/UncheckedRadioIcon.d.ts +3 -0
  153. package/dist/src/icons/UnderlineIcon.d.ts +2 -0
  154. package/dist/src/icons/WarningIcon.d.ts +4 -0
  155. package/dist/src/icons/WebIcon.d.ts +4 -0
  156. package/dist/src/icons/YoutubeFooterIcon.d.ts +2 -0
  157. package/dist/src/index.d.ts +42 -0
  158. package/dist/src/main.d.ts +1 -0
  159. package/dist/src/theme/JweroTheme.d.ts +179 -0
  160. package/dist/src/theme/ThemeProvider.d.ts +9 -0
  161. package/dist/src/utils/customDateFormatting.d.ts +5 -0
  162. package/dist/src/utils/formatServerValue.d.ts +1 -0
  163. package/dist/src/utils/reduceLargeText.d.ts +1 -0
  164. package/dist/src/vite-env.d.ts +1 -0
  165. package/package.json +2 -2
  166. package/dist/index.es.js.map +0 -1
  167. package/dist/index.umd.js.map +0 -1
@@ -0,0 +1,179 @@
1
+ type CustomColors = {
2
+ [x: string]: string;
3
+ gradient_1: string;
4
+ gradient_2: string;
5
+ chatbox_1: string;
6
+ chatbox_2: string;
7
+ horizon_blue: string;
8
+ burning_pink: string;
9
+ water_green: string;
10
+ primary: string;
11
+ secondary: string;
12
+ tertiary: string;
13
+ text_primary: string;
14
+ text_tertiary: string;
15
+ text_secondary: string;
16
+ positive: string;
17
+ negative: string;
18
+ neutral: string;
19
+ attention: string;
20
+ light_yellow: string;
21
+ light_grey: string;
22
+ light_blue: string;
23
+ light_red: string;
24
+ light_beige: string;
25
+ light_green: string;
26
+ light_orange: string;
27
+ surface_white: string;
28
+ surface2_lightgrey: string;
29
+ medium_slate_blue: string;
30
+ azure: string;
31
+ rose: string;
32
+ selective_yellow: string;
33
+ persian_green: string;
34
+ };
35
+ type CustomFontWeight = {
36
+ primary: number;
37
+ secondary: number;
38
+ tertiary: number;
39
+ bold: number;
40
+ logo: number;
41
+ };
42
+ declare module "@mui/material/styles" {
43
+ interface Theme {
44
+ colors: CustomColors;
45
+ fontWeights: CustomFontWeight;
46
+ }
47
+ interface ThemeOptions {
48
+ colors?: CustomColors;
49
+ fontWeights?: CustomFontWeight;
50
+ }
51
+ }
52
+ export declare const lightPalette: {
53
+ primary: {
54
+ main: string;
55
+ };
56
+ secondary: {
57
+ main: string;
58
+ };
59
+ error: {
60
+ main: string;
61
+ };
62
+ success: {
63
+ main: string;
64
+ };
65
+ warning: {
66
+ main: string;
67
+ };
68
+ background: {
69
+ default: string;
70
+ paper: string;
71
+ };
72
+ };
73
+ export declare const darkPalette: {
74
+ primary: {
75
+ main: string;
76
+ };
77
+ secondary: {
78
+ main: string;
79
+ };
80
+ error: {
81
+ main: string;
82
+ };
83
+ success: {
84
+ main: string;
85
+ };
86
+ warning: {
87
+ main: string;
88
+ };
89
+ background: {
90
+ default: string;
91
+ paper: string;
92
+ };
93
+ text: {
94
+ primary: string;
95
+ secondary: string;
96
+ };
97
+ };
98
+ export declare const lightColors: {
99
+ gradient_1: string;
100
+ gradient_2: string;
101
+ chatbox_1: string;
102
+ chatbox_2: string;
103
+ horizon_blue: string;
104
+ burning_pink: string;
105
+ water_green: string;
106
+ primary: string;
107
+ secondary: string;
108
+ tertiary: string;
109
+ text_primary: string;
110
+ text_tertiary: string;
111
+ text_secondary: string;
112
+ positive: string;
113
+ negative: string;
114
+ neutral: string;
115
+ attention: string;
116
+ light_yellow: string;
117
+ light_grey: string;
118
+ light_blue: string;
119
+ light_red: string;
120
+ light_beige: string;
121
+ light_green: string;
122
+ light_orange: string;
123
+ surface_white: string;
124
+ surface2_lightgrey: string;
125
+ medium_slate_blue: string;
126
+ azure: string;
127
+ rose: string;
128
+ selective_yellow: string;
129
+ persian_green: string;
130
+ white: string;
131
+ black: string;
132
+ misty_silver: string;
133
+ twilight_violet: string;
134
+ neon_aqua: string;
135
+ blush_crimson: string;
136
+ ember_glow: string;
137
+ };
138
+ export declare const darkColors: {
139
+ gradient_1: string;
140
+ gradient_2: string;
141
+ chatbox_1: string;
142
+ chatbox_2: string;
143
+ horizon_blue: string;
144
+ burning_pink: string;
145
+ water_green: string;
146
+ primary: string;
147
+ secondary: string;
148
+ tertiary: string;
149
+ text_primary: string;
150
+ text_tertiary: string;
151
+ text_secondary: string;
152
+ positive: string;
153
+ negative: string;
154
+ neutral: string;
155
+ attention: string;
156
+ light_yellow: string;
157
+ light_grey: string;
158
+ light_blue: string;
159
+ light_red: string;
160
+ light_beige: string;
161
+ light_green: string;
162
+ light_orange: string;
163
+ surface_white: string;
164
+ surface2_lightgrey: string;
165
+ medium_slate_blue: string;
166
+ azure: string;
167
+ rose: string;
168
+ selective_yellow: string;
169
+ persian_green: string;
170
+ white: string;
171
+ black: string;
172
+ misty_silver: string;
173
+ twilight_violet: string;
174
+ neon_aqua: string;
175
+ blush_crimson: string;
176
+ ember_glow: string;
177
+ };
178
+ export declare const theme: import('@mui/material/styles').Theme;
179
+ export {};
@@ -0,0 +1,9 @@
1
+ import { DefaultTheme } from '@mui/system';
2
+ export interface ThemeProviderProps<Theme = DefaultTheme> {
3
+ children?: React.ReactNode;
4
+ }
5
+ export declare const ThemeContext: import('react').Context<{
6
+ darkMode: boolean;
7
+ toggleTheme: () => void;
8
+ } | null>;
9
+ export default function ThemeProvider({ children }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare function customDateFormatting({ date, formatString, fallback, }: {
2
+ date: any;
3
+ formatString?: string | undefined;
4
+ fallback?: string | undefined;
5
+ }): string;
@@ -0,0 +1 @@
1
+ export declare const formatServerValue: (inputString: string) => string;
@@ -0,0 +1 @@
1
+ export declare const reduceLargeText: (string: string, length?: number) => string;
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@kashifd/jwero-components",
3
3
  "description": "A Jwero UI library for React",
4
4
  "private": false,
5
- "version": "0.7.36",
5
+ "version": "0.7.38",
6
6
  "type": "module",
7
7
  "main": "dist/index.umd.js",
8
8
  "module": "dist/index.es.js",
@@ -22,7 +22,7 @@
22
22
  "dev": "vite",
23
23
  "clean": "rimraf dist",
24
24
  "prebuild": "npm run clean",
25
- "build": "tsc && vite build",
25
+ "build": "node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build",
26
26
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
27
27
  "preview": "vite preview",
28
28
  "storybook": "storybook dev -p 6006",