@terraware/web-components 1.0.2 → 1.0.5

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 (327) hide show
  1. package/components/Autocomplete.d.ts +16 -0
  2. package/components/Autocomplete.d.ts.map +1 -0
  3. package/components/Autocomplete.js +53 -0
  4. package/components/Button/Button.d.ts +18 -0
  5. package/components/Button/Button.d.ts.map +1 -0
  6. package/components/Button/Button.js +42 -0
  7. package/components/Button/button.test.d.ts +2 -0
  8. package/components/Button/button.test.d.ts.map +1 -0
  9. package/components/Button/button.test.js +33 -0
  10. package/components/Button/styles.scss +443 -0
  11. package/components/Checkbox.d.ts +12 -0
  12. package/components/Checkbox.d.ts.map +1 -0
  13. package/components/Checkbox.js +33 -0
  14. package/components/DatePicker.d.ts +19 -0
  15. package/components/DatePicker.d.ts.map +1 -0
  16. package/components/DatePicker.js +45 -0
  17. package/components/DialogBox/DialogBox.d.ts +16 -0
  18. package/components/DialogBox/DialogBox.d.ts.map +1 -0
  19. package/components/DialogBox/DialogBox.js +85 -0
  20. package/components/DialogBox/styles.scss +138 -0
  21. package/components/Divisor.d.ts +6 -0
  22. package/components/Divisor.d.ts.map +1 -0
  23. package/components/Divisor.js +24 -0
  24. package/components/Dropdown.d.ts +15 -0
  25. package/components/Dropdown.d.ts.map +1 -0
  26. package/components/Dropdown.js +59 -0
  27. package/components/Icon/Icon.d.ts +11 -0
  28. package/components/Icon/Icon.d.ts.map +1 -0
  29. package/components/Icon/Icon.js +25 -0
  30. package/components/Icon/icons/assets/BlobbyGrayIconUploadToTheCloud.d.ts +8 -0
  31. package/components/Icon/icons/assets/BlobbyGrayIconUploadToTheCloud.d.ts.map +1 -0
  32. package/components/Icon/icons/assets/BlobbyGrayIconUploadToTheCloud.js +41 -0
  33. package/components/Icon/icons/assets/BlobbyIconHappy.d.ts +8 -0
  34. package/components/Icon/icons/assets/BlobbyIconHappy.d.ts.map +1 -0
  35. package/components/Icon/icons/assets/BlobbyIconHappy.js +165 -0
  36. package/components/Icon/icons/assets/BlobbyIconHeartMonitor.d.ts +8 -0
  37. package/components/Icon/icons/assets/BlobbyIconHeartMonitor.d.ts.map +1 -0
  38. package/components/Icon/icons/assets/BlobbyIconHeartMonitor.js +165 -0
  39. package/components/Icon/icons/assets/BlobbyIconLeaf.d.ts +8 -0
  40. package/components/Icon/icons/assets/BlobbyIconLeaf.d.ts.map +1 -0
  41. package/components/Icon/icons/assets/BlobbyIconLeaf.js +165 -0
  42. package/components/Icon/icons/assets/BlobbyIconLibrary.d.ts +8 -0
  43. package/components/Icon/icons/assets/BlobbyIconLibrary.d.ts.map +1 -0
  44. package/components/Icon/icons/assets/BlobbyIconLibrary.js +165 -0
  45. package/components/Icon/icons/assets/BlobbyIconOrganization.d.ts +8 -0
  46. package/components/Icon/icons/assets/BlobbyIconOrganization.d.ts.map +1 -0
  47. package/components/Icon/icons/assets/BlobbyIconOrganization.js +158 -0
  48. package/components/Icon/icons/assets/BlobbyIconPeople.d.ts +8 -0
  49. package/components/Icon/icons/assets/BlobbyIconPeople.d.ts.map +1 -0
  50. package/components/Icon/icons/assets/BlobbyIconPeople.js +158 -0
  51. package/components/Icon/icons/assets/BlobbyIconSeedBank.d.ts +8 -0
  52. package/components/Icon/icons/assets/BlobbyIconSeedBank.d.ts.map +1 -0
  53. package/components/Icon/icons/assets/BlobbyIconSeedBank.js +165 -0
  54. package/components/Icon/icons/assets/BlobbyIconWrench.d.ts +8 -0
  55. package/components/Icon/icons/assets/BlobbyIconWrench.d.ts.map +1 -0
  56. package/components/Icon/icons/assets/BlobbyIconWrench.js +165 -0
  57. package/components/Icon/icons/assets/Bug.d.ts +8 -0
  58. package/components/Icon/icons/assets/Bug.d.ts.map +1 -0
  59. package/components/Icon/icons/assets/Bug.js +36 -0
  60. package/components/Icon/icons/assets/Calendar.d.ts +8 -0
  61. package/components/Icon/icons/assets/Calendar.d.ts.map +1 -0
  62. package/components/Icon/icons/assets/Calendar.js +35 -0
  63. package/components/Icon/icons/assets/CaretDown.d.ts +8 -0
  64. package/components/Icon/icons/assets/CaretDown.d.ts.map +1 -0
  65. package/components/Icon/icons/assets/CaretDown.js +35 -0
  66. package/components/Icon/icons/assets/CaretLeft.d.ts +8 -0
  67. package/components/Icon/icons/assets/CaretLeft.d.ts.map +1 -0
  68. package/components/Icon/icons/assets/CaretLeft.js +35 -0
  69. package/components/Icon/icons/assets/CaretUp.d.ts +8 -0
  70. package/components/Icon/icons/assets/CaretUp.d.ts.map +1 -0
  71. package/components/Icon/icons/assets/CaretUp.js +35 -0
  72. package/components/Icon/icons/assets/ChevronDown.d.ts +8 -0
  73. package/components/Icon/icons/assets/ChevronDown.d.ts.map +1 -0
  74. package/components/Icon/icons/assets/ChevronDown.js +36 -0
  75. package/components/Icon/icons/assets/ChevronUp.d.ts +8 -0
  76. package/components/Icon/icons/assets/ChevronUp.d.ts.map +1 -0
  77. package/components/Icon/icons/assets/ChevronUp.js +35 -0
  78. package/components/Icon/icons/assets/Close.d.ts +8 -0
  79. package/components/Icon/icons/assets/Close.d.ts.map +1 -0
  80. package/components/Icon/icons/assets/Close.js +35 -0
  81. package/components/Icon/icons/assets/Critical.d.ts +8 -0
  82. package/components/Icon/icons/assets/Critical.d.ts.map +1 -0
  83. package/components/Icon/icons/assets/Critical.js +35 -0
  84. package/components/Icon/icons/assets/Edit.d.ts +8 -0
  85. package/components/Icon/icons/assets/Edit.d.ts.map +1 -0
  86. package/components/Icon/icons/assets/Edit.js +158 -0
  87. package/components/Icon/icons/assets/Error.d.ts +8 -0
  88. package/components/Icon/icons/assets/Error.d.ts.map +1 -0
  89. package/components/Icon/icons/assets/Error.js +35 -0
  90. package/components/Icon/icons/assets/Export.d.ts +8 -0
  91. package/components/Icon/icons/assets/Export.d.ts.map +1 -0
  92. package/components/Icon/icons/assets/Export.js +36 -0
  93. package/components/Icon/icons/assets/Filter.d.ts +8 -0
  94. package/components/Icon/icons/assets/Filter.d.ts.map +1 -0
  95. package/components/Icon/icons/assets/Filter.js +36 -0
  96. package/components/Icon/icons/assets/Folder.d.ts +8 -0
  97. package/components/Icon/icons/assets/Folder.d.ts.map +1 -0
  98. package/components/Icon/icons/assets/Folder.js +35 -0
  99. package/components/Icon/icons/assets/Help.d.ts +8 -0
  100. package/components/Icon/icons/assets/Help.d.ts.map +1 -0
  101. package/components/Icon/icons/assets/Help.js +35 -0
  102. package/components/Icon/icons/assets/Home.d.ts +8 -0
  103. package/components/Icon/icons/assets/Home.d.ts.map +1 -0
  104. package/components/Icon/icons/assets/Home.js +35 -0
  105. package/components/Icon/icons/assets/IconCancel.d.ts +8 -0
  106. package/components/Icon/icons/assets/IconCancel.d.ts.map +1 -0
  107. package/components/Icon/icons/assets/IconCancel.js +36 -0
  108. package/components/Icon/icons/assets/IconChargingBattery.d.ts +8 -0
  109. package/components/Icon/icons/assets/IconChargingBattery.d.ts.map +1 -0
  110. package/components/Icon/icons/assets/IconChargingBattery.js +36 -0
  111. package/components/Icon/icons/assets/IconCheckmark.d.ts +8 -0
  112. package/components/Icon/icons/assets/IconCheckmark.d.ts.map +1 -0
  113. package/components/Icon/icons/assets/IconCheckmark.js +36 -0
  114. package/components/Icon/icons/assets/IconDashboard.d.ts +8 -0
  115. package/components/Icon/icons/assets/IconDashboard.d.ts.map +1 -0
  116. package/components/Icon/icons/assets/IconDashboard.js +36 -0
  117. package/components/Icon/icons/assets/IconHeartMonitor.d.ts +8 -0
  118. package/components/Icon/icons/assets/IconHeartMonitor.d.ts.map +1 -0
  119. package/components/Icon/icons/assets/IconHeartMonitor.js +35 -0
  120. package/components/Icon/icons/assets/IconMail.d.ts +8 -0
  121. package/components/Icon/icons/assets/IconMail.d.ts.map +1 -0
  122. package/components/Icon/icons/assets/IconMail.js +36 -0
  123. package/components/Icon/icons/assets/IconManager.d.ts +8 -0
  124. package/components/Icon/icons/assets/IconManager.d.ts.map +1 -0
  125. package/components/Icon/icons/assets/IconManager.js +36 -0
  126. package/components/Icon/icons/assets/IconMenu.d.ts +8 -0
  127. package/components/Icon/icons/assets/IconMenu.d.ts.map +1 -0
  128. package/components/Icon/icons/assets/IconMenu.js +36 -0
  129. package/components/Icon/icons/assets/IconOrg.d.ts +8 -0
  130. package/components/Icon/icons/assets/IconOrg.d.ts.map +1 -0
  131. package/components/Icon/icons/assets/IconOrg.js +36 -0
  132. package/components/Icon/icons/assets/IconSeedBank.d.ts +8 -0
  133. package/components/Icon/icons/assets/IconSeedBank.d.ts.map +1 -0
  134. package/components/Icon/icons/assets/IconSeedBank.js +35 -0
  135. package/components/Icon/icons/assets/IconWifi.d.ts +8 -0
  136. package/components/Icon/icons/assets/IconWifi.d.ts.map +1 -0
  137. package/components/Icon/icons/assets/IconWifi.js +36 -0
  138. package/components/Icon/icons/assets/Info.d.ts +8 -0
  139. package/components/Icon/icons/assets/Info.d.ts.map +1 -0
  140. package/components/Icon/icons/assets/Info.js +35 -0
  141. package/components/Icon/icons/assets/Key.d.ts +8 -0
  142. package/components/Icon/icons/assets/Key.d.ts.map +1 -0
  143. package/components/Icon/icons/assets/Key.js +35 -0
  144. package/components/Icon/icons/assets/Leaf.d.ts +8 -0
  145. package/components/Icon/icons/assets/Leaf.d.ts.map +1 -0
  146. package/components/Icon/icons/assets/Leaf.js +35 -0
  147. package/components/Icon/icons/assets/Lock.d.ts +8 -0
  148. package/components/Icon/icons/assets/Lock.d.ts.map +1 -0
  149. package/components/Icon/icons/assets/Lock.js +34 -0
  150. package/components/Icon/icons/assets/MenuVertical.d.ts +8 -0
  151. package/components/Icon/icons/assets/MenuVertical.d.ts.map +1 -0
  152. package/components/Icon/icons/assets/MenuVertical.js +36 -0
  153. package/components/Icon/icons/assets/Notification.d.ts +8 -0
  154. package/components/Icon/icons/assets/Notification.d.ts.map +1 -0
  155. package/components/Icon/icons/assets/Notification.js +35 -0
  156. package/components/Icon/icons/assets/Person.d.ts +8 -0
  157. package/components/Icon/icons/assets/Person.d.ts.map +1 -0
  158. package/components/Icon/icons/assets/Person.js +35 -0
  159. package/components/Icon/icons/assets/Plus.d.ts +8 -0
  160. package/components/Icon/icons/assets/Plus.d.ts.map +1 -0
  161. package/components/Icon/icons/assets/Plus.js +35 -0
  162. package/components/Icon/icons/assets/RestorationSite.d.ts +8 -0
  163. package/components/Icon/icons/assets/RestorationSite.d.ts.map +1 -0
  164. package/components/Icon/icons/assets/RestorationSite.js +35 -0
  165. package/components/Icon/icons/assets/Search.d.ts +8 -0
  166. package/components/Icon/icons/assets/Search.d.ts.map +1 -0
  167. package/components/Icon/icons/assets/Search.js +35 -0
  168. package/components/Icon/icons/assets/Seeds.d.ts +8 -0
  169. package/components/Icon/icons/assets/Seeds.d.ts.map +1 -0
  170. package/components/Icon/icons/assets/Seeds.js +35 -0
  171. package/components/Icon/icons/assets/Site.d.ts +8 -0
  172. package/components/Icon/icons/assets/Site.d.ts.map +1 -0
  173. package/components/Icon/icons/assets/Site.js +35 -0
  174. package/components/Icon/icons/assets/Sparkles.d.ts +8 -0
  175. package/components/Icon/icons/assets/Sparkles.d.ts.map +1 -0
  176. package/components/Icon/icons/assets/Sparkles.js +36 -0
  177. package/components/Icon/icons/assets/Species.d.ts +8 -0
  178. package/components/Icon/icons/assets/Species.d.ts.map +1 -0
  179. package/components/Icon/icons/assets/Species.js +35 -0
  180. package/components/Icon/icons/assets/Species2.d.ts +8 -0
  181. package/components/Icon/icons/assets/Species2.d.ts.map +1 -0
  182. package/components/Icon/icons/assets/Species2.js +158 -0
  183. package/components/Icon/icons/assets/Spinner.d.ts +8 -0
  184. package/components/Icon/icons/assets/Spinner.d.ts.map +1 -0
  185. package/components/Icon/icons/assets/Spinner.js +61 -0
  186. package/components/Icon/icons/assets/Success.d.ts +8 -0
  187. package/components/Icon/icons/assets/Success.d.ts.map +1 -0
  188. package/components/Icon/icons/assets/Success.js +35 -0
  189. package/components/Icon/icons/assets/Touchscreen.d.ts +8 -0
  190. package/components/Icon/icons/assets/Touchscreen.d.ts.map +1 -0
  191. package/components/Icon/icons/assets/Touchscreen.js +36 -0
  192. package/components/Icon/icons/assets/UploadCloud.d.ts +8 -0
  193. package/components/Icon/icons/assets/UploadCloud.d.ts.map +1 -0
  194. package/components/Icon/icons/assets/UploadCloud.js +158 -0
  195. package/components/Icon/icons/assets/Warning.d.ts +8 -0
  196. package/components/Icon/icons/assets/Warning.d.ts.map +1 -0
  197. package/components/Icon/icons/assets/Warning.js +35 -0
  198. package/components/Icon/icons/assets/index.d.ts +57 -0
  199. package/components/Icon/icons/assets/index.d.ts.map +1 -0
  200. package/components/Icon/icons/assets/index.js +455 -0
  201. package/components/Icon/icons/index.d.ts +8 -0
  202. package/components/Icon/icons/index.d.ts.map +1 -0
  203. package/components/Icon/icons/index.js +179 -0
  204. package/components/Icon/styles.scss +43 -0
  205. package/components/Navbar/NavFooter.d.ts +7 -0
  206. package/components/Navbar/NavFooter.d.ts.map +1 -0
  207. package/components/Navbar/NavFooter.js +19 -0
  208. package/components/Navbar/NavItem.d.ts +13 -0
  209. package/components/Navbar/NavItem.d.ts.map +1 -0
  210. package/components/Navbar/NavItem.js +42 -0
  211. package/components/Navbar/NavSection.d.ts +7 -0
  212. package/components/Navbar/NavSection.d.ts.map +1 -0
  213. package/components/Navbar/NavSection.js +23 -0
  214. package/components/Navbar/Navbar.d.ts +8 -0
  215. package/components/Navbar/Navbar.d.ts.map +1 -0
  216. package/components/Navbar/Navbar.js +64 -0
  217. package/components/Navbar/logo.svg +25 -0
  218. package/components/Navbar/styles.scss +159 -0
  219. package/components/Note.d.ts +6 -0
  220. package/components/Note.d.ts.map +1 -0
  221. package/components/Note.js +35 -0
  222. package/components/ProgressCircle/ProgressCircle.d.ts +10 -0
  223. package/components/ProgressCircle/ProgressCircle.d.ts.map +1 -0
  224. package/components/ProgressCircle/ProgressCircle.js +37 -0
  225. package/components/ProgressCircle/styles.scss +84 -0
  226. package/components/RadioButton.d.ts +10 -0
  227. package/components/RadioButton.d.ts.map +1 -0
  228. package/components/RadioButton.js +31 -0
  229. package/components/Select/Select.d.ts +23 -0
  230. package/components/Select/Select.d.ts.map +1 -0
  231. package/components/Select/Select.js +248 -0
  232. package/components/Select/styles.scss +282 -0
  233. package/components/Size.d.ts +2 -0
  234. package/components/Size.d.ts.map +1 -0
  235. package/components/Size.js +5 -0
  236. package/components/SummaryBox.d.ts +11 -0
  237. package/components/SummaryBox.d.ts.map +1 -0
  238. package/components/SummaryBox.js +79 -0
  239. package/components/Textfield/Textfield.d.ts +27 -0
  240. package/components/Textfield/Textfield.d.ts.map +1 -0
  241. package/components/Textfield/Textfield.js +123 -0
  242. package/components/Textfield/styles.scss +216 -0
  243. package/components/table/EnhancedTableToolbar.d.ts +9 -0
  244. package/components/table/EnhancedTableToolbar.d.ts.map +1 -0
  245. package/components/table/EnhancedTableToolbar.js +53 -0
  246. package/components/table/TableCellRenderer.d.ts +26 -0
  247. package/components/table/TableCellRenderer.d.ts.map +1 -0
  248. package/components/table/TableCellRenderer.js +166 -0
  249. package/components/table/TableHeader.d.ts +16 -0
  250. package/components/table/TableHeader.d.ts.map +1 -0
  251. package/components/table/TableHeader.js +68 -0
  252. package/components/table/TableHeaderItem.d.ts +17 -0
  253. package/components/table/TableHeaderItem.d.ts.map +1 -0
  254. package/components/table/TableHeaderItem.js +77 -0
  255. package/components/table/index.d.ts +40 -0
  256. package/components/table/index.d.ts.map +1 -0
  257. package/components/table/index.js +322 -0
  258. package/components/table/sort.d.ts +9 -0
  259. package/components/table/sort.d.ts.map +1 -0
  260. package/components/table/sort.js +51 -0
  261. package/components/table/types.d.ts +34 -0
  262. package/components/table/types.d.ts.map +1 -0
  263. package/components/table/types.js +5 -0
  264. package/fonts/Inter.ttf +0 -0
  265. package/index.css +13 -0
  266. package/index.d.ts +26 -0
  267. package/index.d.ts.map +1 -0
  268. package/license-report.html +50 -0
  269. package/package.json +1 -77
  270. package/setupTests.d.ts +2 -0
  271. package/setupTests.d.ts.map +1 -0
  272. package/setupTests.js +5 -0
  273. package/stories/Autocomplete.stories.d.ts +9 -0
  274. package/stories/Autocomplete.stories.d.ts.map +1 -0
  275. package/stories/Button.stories.d.ts +35 -0
  276. package/stories/Button.stories.d.ts.map +1 -0
  277. package/stories/Checkbox.stories.d.ts +9 -0
  278. package/stories/Checkbox.stories.d.ts.map +1 -0
  279. package/stories/DatePicker.stories.d.ts +11 -0
  280. package/stories/DatePicker.stories.d.ts.map +1 -0
  281. package/stories/DialogBox.stories.d.ts +14 -0
  282. package/stories/DialogBox.stories.d.ts.map +1 -0
  283. package/stories/Divisor.stories.d.ts +20 -0
  284. package/stories/Divisor.stories.d.ts.map +1 -0
  285. package/stories/Dropdown.stories.d.ts +9 -0
  286. package/stories/Dropdown.stories.d.ts.map +1 -0
  287. package/stories/Icon.stories.d.ts +9 -0
  288. package/stories/Icon.stories.d.ts.map +1 -0
  289. package/stories/Navbar.stories.d.ts +10 -0
  290. package/stories/Navbar.stories.d.ts.map +1 -0
  291. package/stories/Note.stories.d.ts +9 -0
  292. package/stories/Note.stories.d.ts.map +1 -0
  293. package/stories/ProgressCircle.stories.d.ts +9 -0
  294. package/stories/ProgressCircle.stories.d.ts.map +1 -0
  295. package/stories/RadioButton.stories.d.ts +9 -0
  296. package/stories/RadioButton.stories.d.ts.map +1 -0
  297. package/stories/Select.stories.d.ts +9 -0
  298. package/stories/Select.stories.d.ts.map +1 -0
  299. package/stories/SummaryBox.stories.d.ts +11 -0
  300. package/stories/SummaryBox.stories.d.ts.map +1 -0
  301. package/stories/Table.stories.d.ts +12 -0
  302. package/stories/Table.stories.d.ts.map +1 -0
  303. package/stories/TextfieldNew.stories.d.ts +29 -0
  304. package/stories/TextfieldNew.stories.d.ts.map +1 -0
  305. package/style-dictionary-dist/button_variables.scss +299 -0
  306. package/style-dictionary-dist/dialogBox_variables.scss +251 -0
  307. package/style-dictionary-dist/navbar_variables.scss +257 -0
  308. package/style-dictionary-dist/progressCircle_variables.scss +251 -0
  309. package/style-dictionary-dist/textfield_variables.scss +297 -0
  310. package/theme.d.ts +60 -0
  311. package/theme.d.ts.map +1 -0
  312. package/theme.js +76 -0
  313. package/utils/date.d.ts +3 -0
  314. package/utils/date.d.ts.map +1 -0
  315. package/utils/date.js +13 -0
  316. package/utils/index.d.ts +6 -0
  317. package/utils/index.d.ts.map +1 -0
  318. package/utils/index.js +39 -0
  319. package/utils/preventDefaultEvent.d.ts +4 -0
  320. package/utils/preventDefaultEvent.d.ts.map +1 -0
  321. package/utils/preventDefaultEvent.js +13 -0
  322. package/utils/text.d.ts +3 -0
  323. package/utils/text.d.ts.map +1 -0
  324. package/utils/text.js +13 -0
  325. package/utils/useDeviceInfo.d.ts +42 -0
  326. package/utils/useDeviceInfo.d.ts.map +1 -0
  327. package/utils/useDeviceInfo.js +87 -0
@@ -0,0 +1,297 @@
1
+ $tw-clr-dvdr-fill: #A9B7B8;
2
+ $tw-clr-icon-fill-critical: #FE0003;
3
+ $tw-clr-icon-fill-passive: #708284;
4
+ $tw-clr-icon-fill-productive: #007DF2;
5
+ $tw-clr-icon-fill-success: #308F5F;
6
+ $tw-clr-icon-fill-text: #3A4445;
7
+ $tw-clr-icon-fill-text-inv: #FFFFFF;
8
+ $tw-clr-icon-fill-warning: #BD6931;
9
+ $tw-clr-base-black: #000000;
10
+ $tw-clr-base-gray-025: #F9FAFA;
11
+ $tw-clr-base-gray-050: #F2F4F5;
12
+ $tw-clr-base-gray-075: #EDF0F1;
13
+ $tw-clr-base-gray-100: #E5EAEA;
14
+ $tw-clr-base-gray-200: #CAD2D3;
15
+ $tw-clr-base-gray-300: #A9B7B8;
16
+ $tw-clr-base-gray-400: #859799;
17
+ $tw-clr-base-gray-500: #708284;
18
+ $tw-clr-base-gray-600: #5C6B6C;
19
+ $tw-clr-base-gray-700: #4B5758;
20
+ $tw-clr-base-gray-800: #3A4445;
21
+ $tw-clr-base-gray-900: #2B3233;
22
+ $tw-clr-base-transparent: #FFFFFF00;
23
+ $tw-clr-base-white: #FFFFFF;
24
+ $tw-clr-base-blue-primary: #0067C8;
25
+ $tw-clr-base-green-primary: #308F5F;
26
+ $tw-clr-base-orange-primary: #DE7935;
27
+ $tw-clr-base-teal-primary: #30C6D1;
28
+ $tw-clr-base-blue-050: #F0F4FF;
29
+ $tw-clr-base-blue-100: #E2E9FF;
30
+ $tw-clr-base-blue-200: #BED0FF;
31
+ $tw-clr-base-blue-300: #92B4FF;
32
+ $tw-clr-base-blue-400: #4E92FF;
33
+ $tw-clr-base-blue-500: #007DF2;
34
+ $tw-clr-base-blue-600: #0067C8;
35
+ $tw-clr-base-blue-700: #0053A5;
36
+ $tw-clr-base-blue-800: #004184;
37
+ $tw-clr-base-green-050: #D6FDE5;
38
+ $tw-clr-base-green-100: #A6FCCA;
39
+ $tw-clr-base-green-200: #53EA9F;
40
+ $tw-clr-base-green-300: #46CB89;
41
+ $tw-clr-base-green-400: #38A76F;
42
+ $tw-clr-base-green-500: #308F5F;
43
+ $tw-clr-base-green-600: #27764E;
44
+ $tw-clr-base-green-700: #1F6040;
45
+ $tw-clr-base-green-800: #164B34;
46
+ $tw-clr-base-orange-050: #FEF2EE;
47
+ $tw-clr-base-orange-100: #FCE5DE;
48
+ $tw-clr-base-orange-200: #FAC4B1;
49
+ $tw-clr-base-orange-300: #F89E74;
50
+ $tw-clr-base-orange-400: #DE7935;
51
+ $tw-clr-base-orange-500: #BD6931;
52
+ $tw-clr-base-orange-600: #9A572B;
53
+ $tw-clr-base-orange-700: #7E4622;
54
+ $tw-clr-base-orange-800: #643719;
55
+ $tw-clr-base-pink-050: #FFF1F4;
56
+ $tw-clr-base-pink-100: #FFE2E9;
57
+ $tw-clr-base-pink-200: #FFBFD0;
58
+ $tw-clr-base-pink-300: #FF94B4;
59
+ $tw-clr-base-pink-400: #FF5294;
60
+ $tw-clr-base-pink-500: #F6007F;
61
+ $tw-clr-base-pink-600: #CD0069;
62
+ $tw-clr-base-pink-700: #A80055;
63
+ $tw-clr-base-pink-800: #860043;
64
+ $tw-clr-base-purple-050: #F6F2FE;
65
+ $tw-clr-base-purple-100: #EEE6FD;
66
+ $tw-clr-base-purple-200: #DBC8FC;
67
+ $tw-clr-base-purple-300: #C7A4FA;
68
+ $tw-clr-base-purple-400: #B178F7;
69
+ $tw-clr-base-purple-500: #A456F5;
70
+ $tw-clr-base-purple-600: #9525EE;
71
+ $tw-clr-base-purple-700: #7A1CC3;
72
+ $tw-clr-base-purple-800: #61159D;
73
+ $tw-clr-base-red-050: #FFF1F1;
74
+ $tw-clr-base-red-100: #FFE3E3;
75
+ $tw-clr-base-red-200: #FFC1C1;
76
+ $tw-clr-base-red-300: #FF9797;
77
+ $tw-clr-base-red-400: #FF5A5B;
78
+ $tw-clr-base-red-500: #FE0003;
79
+ $tw-clr-base-red-600: #D40002;
80
+ $tw-clr-base-red-700: #AD0001;
81
+ $tw-clr-base-red-800: #8B0001;
82
+ $tw-clr-base-teal-050: #D8FAFE;
83
+ $tw-clr-base-teal-100: #ADF6FE;
84
+ $tw-clr-base-teal-200: #39E5F1;
85
+ $tw-clr-base-teal-300: #30C6D1;
86
+ $tw-clr-base-teal-400: #2EA2AB;
87
+ $tw-clr-base-teal-500: #288B93;
88
+ $tw-clr-base-teal-600: #1F7278;
89
+ $tw-clr-base-teal-700: #175D62;
90
+ $tw-clr-base-teal-800: #114A4E;
91
+ $tw-clr-base-yellow-050: #FEF3E1;
92
+ $tw-clr-base-yellow-100: #FDE7C3;
93
+ $tw-clr-base-yellow-200: #FBCA47;
94
+ $tw-clr-base-yellow-300: #DAAF38;
95
+ $tw-clr-base-yellow-400: #B38F2C;
96
+ $tw-clr-base-yellow-500: #9A7B25;
97
+ $tw-clr-base-yellow-600: #7F641C;
98
+ $tw-clr-base-yellow-700: #685215;
99
+ $tw-clr-base-yellow-800: #52400F;
100
+ $tw-clr-base-semantic-critical: #FE0003;
101
+ $tw-clr-base-semantic-critical-bg: #FFF1F1;
102
+ $tw-clr-base-semantic-critical-text: #D40002;
103
+ $tw-clr-base-semantic-passive: #708284;
104
+ $tw-clr-base-semantic-passive-bg: #F2F4F5;
105
+ $tw-clr-base-semantic-passive-text: #5C6B6C;
106
+ $tw-clr-base-semantic-productive: #007DF2;
107
+ $tw-clr-base-semantic-productive-bg: #F0F4FF;
108
+ $tw-clr-base-semantic-productive-text: #0067C8;
109
+ $tw-clr-base-semantic-success: #308F5F;
110
+ $tw-clr-base-semantic-success-bg: #D6FDE5;
111
+ $tw-clr-base-semantic-success-text: #27764E;
112
+ $tw-clr-base-semantic-warning: #BD6931;
113
+ $tw-clr-base-semantic-warning-bg: #FEF2EE;
114
+ $tw-clr-base-semantic-warning-text: #9A572B;
115
+ $tw-clr-text-fill: #3A4445;
116
+ $tw-clr-text-fill-inv: #FFFFFF;
117
+ $tw-clr-text-fill-productive: #0067C8;
118
+ $tw-opcty-base-000: 0;
119
+ $tw-opcty-base-010: 0.1;
120
+ $tw-opcty-base-020: 0.2;
121
+ $tw-opcty-base-030: 0.3;
122
+ $tw-opcty-base-040: 0.4;
123
+ $tw-opcty-base-050: 0.5;
124
+ $tw-opcty-base-060: 0.6;
125
+ $tw-opcty-base-070: 0.7;
126
+ $tw-opcty-base-080: 0.8;
127
+ $tw-opcty-base-090: 0.9;
128
+ $tw-opcty-base-100: 1;
129
+ $tw-opcty-semantic-off: 0.5;
130
+ $tw-spc-base-large: 32px;
131
+ $tw-spc-base-medium: 24px;
132
+ $tw-spc-base-none: 0;
133
+ $tw-spc-base-small: 16px;
134
+ $tw-spc-base-x-large: 48px;
135
+ $tw-spc-base-x-small: 8px;
136
+ $tw-spc-base-xx-large: 64px;
137
+ $tw-spc-base-xx-small: 4px;
138
+ $tw-sz-base-large: 32px;
139
+ $tw-sz-base-medium: 24px;
140
+ $tw-sz-base-none: 0;
141
+ $tw-sz-base-small: 16px;
142
+ $tw-sz-base-x-large: 48px;
143
+ $tw-sz-base-x-small: 8px;
144
+ $tw-sz-base-xx-large: 64px;
145
+ $tw-sz-base-xx-small: 4px;
146
+ $tw-sz-dvdr-stroke: 1px;
147
+ $tw-sz-icon-large: 32px;
148
+ $tw-sz-icon-medium: 24px;
149
+ $tw-sz-icon-small: 16px;
150
+ $tw-sz-icon-x-large: 48px;
151
+ $tw-fnt-base-body-01-regular-font-family: 'Inter', sans-serif;
152
+ $tw-fnt-base-body-01-regular-font-size: 20px;
153
+ $tw-fnt-base-body-01-regular-font-weight: 400;
154
+ $tw-fnt-base-body-01-regular-line-height: 28px;
155
+ $tw-fnt-base-body-02-regular-font-family: 'Inter', sans-serif;
156
+ $tw-fnt-base-body-02-regular-font-size: 16px;
157
+ $tw-fnt-base-body-02-regular-font-weight: 400;
158
+ $tw-fnt-base-body-02-regular-line-height: 24px;
159
+ $tw-fnt-base-body-03-regular-font-family: 'Inter', sans-serif;
160
+ $tw-fnt-base-body-03-regular-font-size: 14px;
161
+ $tw-fnt-base-body-03-regular-font-weight: 400;
162
+ $tw-fnt-base-body-03-regular-line-height: 20px;
163
+ $tw-fnt-base-body-04-regular-font-family: 'Inter', sans-serif;
164
+ $tw-fnt-base-body-04-regular-font-size: 12px;
165
+ $tw-fnt-base-body-04-regular-font-weight: 400;
166
+ $tw-fnt-base-body-04-regular-line-height: 16px;
167
+ $tw-fnt-base-display-01-bold-font-family: 'Inter', sans-serif;
168
+ $tw-fnt-base-display-01-bold-font-size: 84px;
169
+ $tw-fnt-base-display-01-bold-font-weight: 700;
170
+ $tw-fnt-base-display-01-bold-line-height: 108px;
171
+ $tw-fnt-base-display-02-bold-font-family: 'Inter', sans-serif;
172
+ $tw-fnt-base-display-02-bold-font-size: 72px;
173
+ $tw-fnt-base-display-02-bold-font-weight: 700;
174
+ $tw-fnt-base-display-02-bold-line-height: 92px;
175
+ $tw-fnt-base-display-03-bold-font-family: 'Inter', sans-serif;
176
+ $tw-fnt-base-display-03-bold-font-size: 60px;
177
+ $tw-fnt-base-display-03-bold-font-weight: 700;
178
+ $tw-fnt-base-display-03-bold-line-height: 76px;
179
+ $tw-fnt-base-display-04-bold-font-family: 'Inter', sans-serif;
180
+ $tw-fnt-base-display-04-bold-font-size: 48px;
181
+ $tw-fnt-base-display-04-bold-font-weight: 700;
182
+ $tw-fnt-base-display-04-bold-line-height: 60px;
183
+ $tw-fnt-base-headline-01-semi-bold-font-family: 'Inter', sans-serif;
184
+ $tw-fnt-base-headline-01-semi-bold-font-size: 48px;
185
+ $tw-fnt-base-headline-01-semi-bold-font-weight: 600;
186
+ $tw-fnt-base-headline-01-semi-bold-line-height: 60px;
187
+ $tw-fnt-base-headline-02-semi-bold-font-family: 'Inter', sans-serif;
188
+ $tw-fnt-base-headline-02-semi-bold-font-size: 40px;
189
+ $tw-fnt-base-headline-02-semi-bold-font-weight: 600;
190
+ $tw-fnt-base-headline-02-semi-bold-line-height: 52px;
191
+ $tw-fnt-base-headline-03-semi-bold-font-family: 'Inter', sans-serif;
192
+ $tw-fnt-base-headline-03-semi-bold-font-size: 34px;
193
+ $tw-fnt-base-headline-03-semi-bold-font-weight: 600;
194
+ $tw-fnt-base-headline-03-semi-bold-line-height: 44px;
195
+ $tw-fnt-base-headline-04-semi-bold-font-family: 'Inter', sans-serif;
196
+ $tw-fnt-base-headline-04-semi-bold-font-size: 28px;
197
+ $tw-fnt-base-headline-04-semi-bold-font-weight: 600;
198
+ $tw-fnt-base-headline-04-semi-bold-line-height: 36px;
199
+ $tw-fnt-base-headline-05-semi-bold-font-family: 'Inter', sans-serif;
200
+ $tw-fnt-base-headline-05-semi-bold-font-size: 24px;
201
+ $tw-fnt-base-headline-05-semi-bold-font-weight: 600;
202
+ $tw-fnt-base-headline-05-semi-bold-line-height: 32px;
203
+ $tw-fnt-base-headline-06-semi-bold-font-family: 'Inter', sans-serif;
204
+ $tw-fnt-base-headline-06-semi-bold-font-size: 20px;
205
+ $tw-fnt-base-headline-06-semi-bold-font-weight: 600;
206
+ $tw-fnt-base-headline-06-semi-bold-line-height: 28px;
207
+ $tw-fnt-base-font-family: 'Inter', sans-serif;
208
+ $tw-fnt-base-font-size-body-01: 20px;
209
+ $tw-fnt-base-font-size-body-02: 16px;
210
+ $tw-fnt-base-font-size-body-03: 14px;
211
+ $tw-fnt-base-font-size-body-04: 12px;
212
+ $tw-fnt-base-font-size-display-01: 84px;
213
+ $tw-fnt-base-font-size-display-02: 72px;
214
+ $tw-fnt-base-font-size-display-03: 60px;
215
+ $tw-fnt-base-font-size-display-04: 48px;
216
+ $tw-fnt-base-font-size-headline-01: 48px;
217
+ $tw-fnt-base-font-size-headline-02: 40px;
218
+ $tw-fnt-base-font-size-headline-03: 34px;
219
+ $tw-fnt-base-font-size-headline-04: 28px;
220
+ $tw-fnt-base-font-size-headline-05: 24px;
221
+ $tw-fnt-base-font-size-headline-06: 20px;
222
+ $tw-fnt-base-font-weight: 400;
223
+ $tw-fnt-base-font-weight-bold: 700;
224
+ $tw-fnt-base-font-weight-medium: 500;
225
+ $tw-fnt-base-font-weight-semi-bold: 600;
226
+ $tw-fnt-base-line-height-body-01: 28px;
227
+ $tw-fnt-base-line-height-body-02: 24px;
228
+ $tw-fnt-base-line-height-body-03: 20px;
229
+ $tw-fnt-base-line-height-body-04: 16px;
230
+ $tw-fnt-base-line-height-display-01: 108px;
231
+ $tw-fnt-base-line-height-display-02: 92px;
232
+ $tw-fnt-base-line-height-display-03: 76px;
233
+ $tw-fnt-base-line-height-display-04: 60px;
234
+ $tw-fnt-base-line-height-headline-01: 60px;
235
+ $tw-fnt-base-line-height-headline-02: 52px;
236
+ $tw-fnt-base-line-height-headline-03: 44px;
237
+ $tw-fnt-base-line-height-headline-04: 36px;
238
+ $tw-fnt-base-line-height-headline-05: 32px;
239
+ $tw-fnt-base-line-height-headline-06: 28px;
240
+ $tw-clr-frm-fld-error-text: #D40002;
241
+ $tw-clr-frm-fld-help-text: #5C6B6C;
242
+ $tw-clr-frm-fld-label: #5C6B6C;
243
+ $tw-clr-frm-fld-placeholder: #A9B7B8;
244
+ $tw-clr-frm-fld-radio-button-checkbox-fill-checked: #0067C8;
245
+ $tw-clr-frm-fld-radio-button-checkbox-selection-label: #3A4445;
246
+ $tw-clr-frm-fld-select-menu-fill: #FFFFFF;
247
+ $tw-clr-frm-fld-select-menu-item-fill-active: #0067C833;
248
+ $tw-clr-frm-fld-select-menu-item-fill-hover: #0067C81A;
249
+ $tw-clr-frm-fld-select-menu-item-fill-selected: #0067C8;
250
+ $tw-clr-frm-fld-select-menu-stroke: #708284;
251
+ $tw-clr-frm-fld-select-value-selected: #FFFFFF;
252
+ $tw-clr-frm-fld-text-input-fill: #FFFFFF;
253
+ $tw-clr-frm-fld-text-input-fill-error: #FFF1F1;
254
+ $tw-clr-frm-fld-text-input-fill-read-only: #F2F4F5;
255
+ $tw-clr-frm-fld-text-input-fill-warning: #FEF2EE;
256
+ $tw-clr-frm-fld-text-input-stroke: #708284;
257
+ $tw-clr-frm-fld-text-input-stroke-error: #FE0003;
258
+ $tw-clr-frm-fld-text-input-stroke-hover: #0067C8;
259
+ $tw-clr-frm-fld-text-input-stroke-warning: #BD6931;
260
+ $tw-clr-frm-fld-value: #3A4445;
261
+ $tw-clr-frm-fld-warning-text: #9A572B;
262
+ $tw-rds-frm-fld-text-input: 4px;
263
+ $tw-sz-frm-fld-text-input-stroke: 1px;
264
+ $tw-sz-frm-fld-text-input-stroke-active: 2px;
265
+ $tw-sz-frm-fld-textarea-input-height: 24px * 2.5;
266
+ $tw-fnt-frm-fld-error-text-font-family: 'Inter', sans-serif;
267
+ $tw-fnt-frm-fld-error-text-font-size: 14px;
268
+ $tw-fnt-frm-fld-error-text-font-weight: 500;
269
+ $tw-fnt-frm-fld-error-text-line-height: 20px;
270
+ $tw-fnt-frm-fld-help-text-font-family: 'Inter', sans-serif;
271
+ $tw-fnt-frm-fld-help-text-font-size: 14px;
272
+ $tw-fnt-frm-fld-help-text-font-weight: 400;
273
+ $tw-fnt-frm-fld-help-text-line-height: 20px;
274
+ $tw-fnt-frm-fld-label-font-family: 'Inter', sans-serif;
275
+ $tw-fnt-frm-fld-label-font-size: 14px;
276
+ $tw-fnt-frm-fld-label-font-weight: 400;
277
+ $tw-fnt-frm-fld-label-line-height: 20px;
278
+ $tw-fnt-frm-fld-radio-button-checkbox-selection-label-font-family: 'Inter', sans-serif;
279
+ $tw-fnt-frm-fld-radio-button-checkbox-selection-label-font-size: 16px;
280
+ $tw-fnt-frm-fld-radio-button-checkbox-selection-label-font-weight: 500;
281
+ $tw-fnt-frm-fld-radio-button-checkbox-selection-label-line-height: 24px;
282
+ $tw-fnt-frm-fld-select-value-font-family: 'Inter', sans-serif;
283
+ $tw-fnt-frm-fld-select-value-font-size: 16px;
284
+ $tw-fnt-frm-fld-select-value-font-weight: 500;
285
+ $tw-fnt-frm-fld-select-value-line-height: 24px;
286
+ $tw-fnt-frm-fld-text-placeholder-font-family: 'Inter', sans-serif;
287
+ $tw-fnt-frm-fld-text-placeholder-font-size: 16px;
288
+ $tw-fnt-frm-fld-text-placeholder-font-weight: 500;
289
+ $tw-fnt-frm-fld-text-placeholder-line-height: 24px;
290
+ $tw-fnt-frm-fld-text-value-font-family: 'Inter', sans-serif;
291
+ $tw-fnt-frm-fld-text-value-font-size: 16px;
292
+ $tw-fnt-frm-fld-text-value-font-weight: 500;
293
+ $tw-fnt-frm-fld-text-value-line-height: 24px;
294
+ $tw-fnt-frm-fld-warning-text-font-family: 'Inter', sans-serif;
295
+ $tw-fnt-frm-fld-warning-text-font-size: 14px;
296
+ $tw-fnt-frm-fld-warning-text-font-weight: 500;
297
+ $tw-fnt-frm-fld-warning-text-line-height: 20px;
package/theme.d.ts ADDED
@@ -0,0 +1,60 @@
1
+ /// <reference types="react" />
2
+ declare module '@mui/material/styles/createPalette' {
3
+ interface Palette {
4
+ neutral: Palette['grey'];
5
+ state: {
6
+ 5: React.CSSProperties['color'];
7
+ };
8
+ accent: {
9
+ 1: React.CSSProperties['color'];
10
+ 2: React.CSSProperties['color'];
11
+ 3: React.CSSProperties['color'];
12
+ 4: React.CSSProperties['color'];
13
+ };
14
+ blue: {
15
+ 600: React.CSSProperties['color'];
16
+ };
17
+ red: {
18
+ 50: React.CSSProperties['color'];
19
+ 600: React.CSSProperties['color'];
20
+ };
21
+ green: {
22
+ 50: React.CSSProperties['color'];
23
+ 600: React.CSSProperties['color'];
24
+ };
25
+ gray: {
26
+ 200: React.CSSProperties['color'];
27
+ 800: React.CSSProperties['color'];
28
+ };
29
+ }
30
+ interface PaletteOptions {
31
+ neutral: PaletteOptions['grey'];
32
+ state: {
33
+ 5: React.CSSProperties['color'];
34
+ };
35
+ accent: {
36
+ 1: React.CSSProperties['color'];
37
+ 2: React.CSSProperties['color'];
38
+ 3: React.CSSProperties['color'];
39
+ 4: React.CSSProperties['color'];
40
+ };
41
+ blue: {
42
+ 600: React.CSSProperties['color'];
43
+ };
44
+ red: {
45
+ 50: React.CSSProperties['color'];
46
+ 600: React.CSSProperties['color'];
47
+ };
48
+ green: {
49
+ 50: React.CSSProperties['color'];
50
+ 600: React.CSSProperties['color'];
51
+ };
52
+ gray: {
53
+ 200: React.CSSProperties['color'];
54
+ 800: React.CSSProperties['color'];
55
+ };
56
+ }
57
+ }
58
+ declare const _default: import("@mui/material/styles").Theme;
59
+ export default _default;
60
+ //# sourceMappingURL=theme.d.ts.map
package/theme.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";AAEA,OAAO,QAAQ,oCAAoC,CAAC;IAClD,UAAU,OAAO;QACf,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;QACzB,KAAK,EAAE;YACL,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACjC,CAAC;QACF,MAAM,EAAE;YACN,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACjC,CAAC;QACF,IAAI,EAAE;YACJ,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACnC,CAAC;QACF,GAAG,EAAE;YACH,EAAE,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACjC,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACnC,CAAC;QACF,KAAK,EAAE;YACL,EAAE,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACjC,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACnC,CAAC;QACF,IAAI,EAAE;YACJ,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAClC,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACnC,CAAC;KACH;IACD,UAAU,cAAc;QACtB,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;QAChC,KAAK,EAAE;YACL,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACjC,CAAC;QACF,MAAM,EAAE;YACN,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACjC,CAAC;QACF,IAAI,EAAE;YACJ,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACnC,CAAC;QACF,GAAG,EAAE;YACH,EAAE,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACjC,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACnC,CAAC;QACF,KAAK,EAAE;YACL,EAAE,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACjC,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACnC,CAAC;QACF,IAAI,EAAE;YACJ,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAClC,GAAG,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACnC,CAAC;KACH;CACF;;AAED,wBAgEG"}
package/theme.js ADDED
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _styles = require("@mui/material/styles");
9
+
10
+ var _default = (0, _styles.createTheme)({
11
+ typography: {
12
+ fontFamily: 'Inter'
13
+ },
14
+ components: {
15
+ MuiCssBaseline: {
16
+ styleOverrides: {
17
+ '*::-webkit-scrollbar': {
18
+ WebkitAppearance: 'none',
19
+ width: '7px',
20
+ height: '7px'
21
+ },
22
+ '*::-webkit-scrollbar-thumb': {
23
+ borderRadius: '4px',
24
+ backgroundColor: '#6C757D'
25
+ },
26
+ body: {
27
+ color: '#3a4445'
28
+ }
29
+ }
30
+ }
31
+ },
32
+ palette: {
33
+ primary: {
34
+ main: '#0067C8'
35
+ },
36
+ secondary: {
37
+ main: '#D40002'
38
+ },
39
+ state: {
40
+ 5: '#CD5B38'
41
+ },
42
+ accent: {
43
+ 1: '#315CAF',
44
+ 2: '#EF9644',
45
+ 3: '#CD5B38',
46
+ 4: '#3F96E6'
47
+ },
48
+ neutral: {
49
+ 50: '#F8F9FA',
50
+ 100: '#F3F4F6',
51
+ 200: '#E9ECEF',
52
+ 400: '#CED4DA',
53
+ 500: '#ADB5BD',
54
+ 600: '#6C757D',
55
+ 700: '#495057',
56
+ 800: '#343A40'
57
+ },
58
+ blue: {
59
+ 600: '#0067C8'
60
+ },
61
+ red: {
62
+ 50: '#FFF1F1',
63
+ 600: '#D40002'
64
+ },
65
+ green: {
66
+ 50: '#D6FDE5',
67
+ 600: '#27764E'
68
+ },
69
+ gray: {
70
+ 200: '#CAD2D3',
71
+ 800: '#3A4445'
72
+ }
73
+ }
74
+ });
75
+
76
+ exports.default = _default;
@@ -0,0 +1,3 @@
1
+ declare const getDateDisplayValue: (date: string | number) => string;
2
+ export default getDateDisplayValue;
3
+ //# sourceMappingURL=date.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../src/utils/date.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,mBAAmB,SAAU,MAAM,GAAG,MAAM,WAA+C,CAAC;AAClG,eAAe,mBAAmB,CAAC"}
package/utils/date.js ADDED
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var getDateDisplayValue = function getDateDisplayValue(date) {
9
+ return new Date(date).toISOString().split('T')[0];
10
+ };
11
+
12
+ var _default = getDateDisplayValue;
13
+ exports.default = _default;
@@ -0,0 +1,6 @@
1
+ import getDateDisplayValue from './date';
2
+ import isWhitespaces from './text';
3
+ import preventDefaultEvent from './preventDefaultEvent';
4
+ import useDeviceInfo from './useDeviceInfo';
5
+ export { getDateDisplayValue, isWhitespaces, preventDefaultEvent, useDeviceInfo, };
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,QAAQ,CAAC;AACzC,OAAO,aAAa,MAAM,QAAQ,CAAC;AACnC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACnB,aAAa,GACd,CAAC"}
package/utils/index.js ADDED
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ Object.defineProperty(exports, "getDateDisplayValue", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _date.default;
12
+ }
13
+ });
14
+ Object.defineProperty(exports, "isWhitespaces", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _text.default;
18
+ }
19
+ });
20
+ Object.defineProperty(exports, "preventDefaultEvent", {
21
+ enumerable: true,
22
+ get: function get() {
23
+ return _preventDefaultEvent.default;
24
+ }
25
+ });
26
+ Object.defineProperty(exports, "useDeviceInfo", {
27
+ enumerable: true,
28
+ get: function get() {
29
+ return _useDeviceInfo.default;
30
+ }
31
+ });
32
+
33
+ var _date = _interopRequireDefault(require("./date"));
34
+
35
+ var _text = _interopRequireDefault(require("./text"));
36
+
37
+ var _preventDefaultEvent = _interopRequireDefault(require("./preventDefaultEvent"));
38
+
39
+ var _useDeviceInfo = _interopRequireDefault(require("./useDeviceInfo"));
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ declare const preventDefault: (event: React.SyntheticEvent) => void;
3
+ export default preventDefault;
4
+ //# sourceMappingURL=preventDefaultEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preventDefaultEvent.d.ts","sourceRoot":"","sources":["../../src/utils/preventDefaultEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,QAAA,MAAM,cAAc,UAAW,MAAM,cAAc,KAAG,IAA8B,CAAC;AAErF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var preventDefault = function preventDefault(event) {
9
+ return event.preventDefault();
10
+ };
11
+
12
+ var _default = preventDefault;
13
+ exports.default = _default;
@@ -0,0 +1,3 @@
1
+ declare const isWhitespaces: (str: string) => RegExpMatchArray | null;
2
+ export default isWhitespaces;
3
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/utils/text.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa,QAAS,MAAM,4BAAuB,CAAC;AAC1D,eAAe,aAAa,CAAC"}
package/utils/text.js ADDED
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var isWhitespaces = function isWhitespaces(str) {
9
+ return str.match(/^\s+$/);
10
+ };
11
+
12
+ var _default = isWhitespaces;
13
+ exports.default = _default;
@@ -0,0 +1,42 @@
1
+ export declare type DeviceType = 'desktop' | 'tablet' | 'mobile';
2
+ export declare type DeviceOrientation = 'portrait' | 'landscape';
3
+ /**
4
+ * Device widths categorized for our purposes.
5
+ * Device widths
6
+ * desktop width > 1023
7
+ * tablet width = 1023 - 768
8
+ * mobile width = < 768
9
+ */
10
+ declare type DeviceChangeCallback = () => void;
11
+ declare type DeviceInfoProps = {
12
+ onChange?: DeviceChangeCallback;
13
+ };
14
+ /**
15
+ * This function returns properties on device type.
16
+ *
17
+ * {
18
+ * type: 'desktop' | 'tablet' | 'mobile',
19
+ * orientation: 'portrait' | 'landscape',
20
+ * isDesktop: <boolean>,
21
+ * isTablet: <boolean>,
22
+ * isMobile: <boolean>,
23
+ * isRetina: <boolean>,
24
+ * }
25
+ *
26
+ * Clients can use whichever properties they see fit.
27
+ *
28
+ * This function also acceps a callback function to be called
29
+ * if there's a change in any of our interested device properties.
30
+ */
31
+ declare const useDeviceInfo: ({ onChange }?: DeviceInfoProps) => {
32
+ type: DeviceType;
33
+ orientation: DeviceOrientation;
34
+ isRetina: boolean;
35
+ isDesktop: boolean;
36
+ isTablet: boolean;
37
+ isMobile: boolean;
38
+ isPortrait: boolean;
39
+ isLandscape: boolean;
40
+ };
41
+ export default useDeviceInfo;
42
+ //# sourceMappingURL=useDeviceInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeviceInfo.d.ts","sourceRoot":"","sources":["../../src/utils/useDeviceInfo.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACzD,oBAAY,iBAAiB,GAAG,UAAU,GAAG,WAAW,CAAC;AAEzD;;;;;;GAMG;AAEH,aAAK,oBAAoB,GAAG,MAAM,IAAI,CAAC;AAEvC,aAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,oBAAoB,CAAC;CACjC,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AAEH,QAAA,MAAM,aAAa,kBAAkB,eAAe;;;;;;;;;CA+CnD,CAAC;AAEF,eAAe,aAAa,CAAC"}