goobs-frontend 0.9.35 → 0.122.0

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 (562) hide show
  1. package/README.md +136 -335
  2. package/package.json +36 -26
  3. package/src/components/Accordion/accordion.stories.tsx +1150 -239
  4. package/src/components/Accordion/index.tsx +350 -610
  5. package/src/components/Alert/alert.stories.tsx +238 -0
  6. package/src/components/Alert/index.tsx +143 -0
  7. package/src/components/AppBar/index.tsx +285 -0
  8. package/src/components/Avatar/index.tsx +48 -0
  9. package/src/components/Badge/badge.stories.tsx +1020 -0
  10. package/src/components/Badge/index.tsx +23 -0
  11. package/src/components/Breadcrumb/breadcrumb.stories.tsx +83 -0
  12. package/src/components/Breadcrumb/index.tsx +220 -0
  13. package/src/components/Button/button.stories.tsx +331 -108
  14. package/src/components/Button/index.tsx +290 -367
  15. package/src/components/Card/index.tsx +316 -322
  16. package/src/components/Checkbox/checkbox.stories.tsx +71 -93
  17. package/src/components/Checkbox/index.tsx +256 -237
  18. package/src/components/Chip/chip.stories.tsx +180 -0
  19. package/src/components/Chip/index.tsx +105 -0
  20. package/src/components/CodeCopy/codecopy.stories.tsx +217 -124
  21. package/src/components/CodeCopy/index.tsx +232 -345
  22. package/src/components/ComplexTextEditor/MarkdownEditor/index.tsx +113 -130
  23. package/src/components/ComplexTextEditor/RichEditor/index.tsx +134 -327
  24. package/src/components/ComplexTextEditor/SimpleEditor/index.tsx +152 -141
  25. package/src/components/ComplexTextEditor/Toolbars/Complex/index.tsx +56 -175
  26. package/src/components/ComplexTextEditor/Toolbars/Editor/index.tsx +385 -425
  27. package/src/components/ComplexTextEditor/editor.stories.tsx +692 -198
  28. package/src/components/ComplexTextEditor/index.tsx +184 -237
  29. package/src/components/ComplexTextEditor/theme.ts +410 -0
  30. package/src/components/ComplexTextEditor/utils/conversion.ts +83 -0
  31. package/src/components/ComplexTextEditor/utils/useMarkdownEditor.tsx +23 -8
  32. package/src/components/ConfirmationCodeInput/codeinput.stories.tsx +306 -562
  33. package/src/components/ConfirmationCodeInput/index.tsx +279 -531
  34. package/src/components/Container/index.tsx +48 -0
  35. package/src/components/Content/Structure/CVV/useCVV.tsx +13 -25
  36. package/src/components/Content/Structure/CreditCardNumber/useCreditCardNumber.tsx +13 -25
  37. package/src/components/Content/Structure/DateRange/useDateRange.tsx +5 -8
  38. package/src/components/Content/Structure/USD/useUSD.tsx +18 -30
  39. package/src/components/Content/Structure/animations.tsx +78 -57
  40. package/src/components/Content/Structure/button/useButton.tsx +3 -3
  41. package/src/components/Content/Structure/checkbox/useCheckbox.tsx +3 -9
  42. package/src/components/Content/Structure/datefield/useDateField.tsx +9 -19
  43. package/src/components/Content/Structure/externalIncremementNumberField/useIncremementNumberField.tsx +30 -0
  44. package/src/components/Content/Structure/link/useLink.tsx +9 -4
  45. package/src/components/Content/Structure/phoneNumber/usePhoneNumber.tsx +5 -4
  46. package/src/components/Content/Structure/searchableDropdown/useSearchableDropdown.tsx +6 -6
  47. package/src/components/Content/Structure/searchableHistory/useSearchableHistory.tsx +33 -0
  48. package/src/components/Content/Structure/stepper/useStepper.tsx +4 -4
  49. package/src/components/Content/Structure/typography/useTypography.tsx +3 -13
  50. package/src/components/Content/index.tsx +28 -31
  51. package/src/components/DataGrid/FilterSection/index.tsx +338 -180
  52. package/src/components/DataGrid/Footer/index.tsx +376 -216
  53. package/src/components/DataGrid/ManageColumnsSimple/index.tsx +152 -0
  54. package/src/components/DataGrid/ManageRow/index.tsx +301 -319
  55. package/src/components/DataGrid/MetricCard/index.tsx +384 -328
  56. package/src/components/DataGrid/MetricSection/index.tsx +104 -39
  57. package/src/components/DataGrid/Table/ColumnHeaderRow/index.tsx +349 -228
  58. package/src/components/DataGrid/Table/CreationRow/index.tsx +452 -0
  59. package/src/components/DataGrid/Table/Rows/index.tsx +516 -932
  60. package/src/components/DataGrid/Table/index.tsx +194 -182
  61. package/src/components/DataGrid/VerticalDivider/index.tsx +21 -13
  62. package/src/components/DataGrid/datagrid.stories.tsx +1511 -387
  63. package/src/components/DataGrid/index.tsx +571 -348
  64. package/src/components/DataGrid/types/index.ts +120 -9
  65. package/src/components/DataGrid/utils/useColumnResize.tsx +137 -0
  66. package/src/components/DataGrid/utils/useComputeTableResize.tsx +11 -5
  67. package/src/components/DataGrid/utils/useIsMobile.tsx +16 -0
  68. package/src/components/DataGrid/utils/useToolbarSearchbar.tsx +0 -5
  69. package/src/components/Dialog/dialog.stories.tsx +1196 -0
  70. package/src/components/Dialog/index.tsx +120 -0
  71. package/src/components/Divider/index.tsx +56 -0
  72. package/src/components/Drawer/index.tsx +350 -0
  73. package/src/components/Fade/index.tsx +48 -0
  74. package/src/components/Field/Date/DateField/DateField.stories.tsx +171 -0
  75. package/src/components/Field/Date/DateField/index.tsx +563 -714
  76. package/src/components/Field/Date/DateRange/DateRange.stories.tsx +606 -0
  77. package/src/components/Field/Date/DateRange/index.tsx +666 -812
  78. package/src/components/Field/Dropdown/MultiSelect/index.tsx +245 -512
  79. package/src/components/Field/Dropdown/MultiSelect/multiselect.stories.tsx +480 -96
  80. package/src/components/Field/Dropdown/Regular/dropdown.stories.tsx +614 -210
  81. package/src/components/Field/Dropdown/Regular/index.tsx +336 -489
  82. package/src/components/Field/Dropdown/SearchableHistory/index.tsx +443 -0
  83. package/src/components/Field/Dropdown/SearchableHistory/searchablehistory.stories.tsx +894 -0
  84. package/src/components/Field/Dropdown/SearchableSimple/index.tsx +212 -0
  85. package/src/components/Field/Dropdown/SearchableSimple/searchablesimple.stories.tsx +680 -0
  86. package/src/components/Field/IPAM/Address/Address.stories.tsx +265 -102
  87. package/src/components/Field/IPAM/Address/index.tsx +353 -846
  88. package/src/components/Field/IPAM/CIDR/CIDR.stories.tsx +254 -154
  89. package/src/components/Field/IPAM/CIDR/index.tsx +231 -144
  90. package/src/components/Field/IPAM/MACAddress/Address.stories.tsx +268 -33
  91. package/src/components/Field/IPAM/MACAddress/index.tsx +118 -44
  92. package/src/components/Field/IPAM/Subnet/Subnet.stories.tsx +259 -101
  93. package/src/components/Field/IPAM/Subnet/index.tsx +276 -312
  94. package/src/components/Field/IPAM/Supernet/Supernet.stories.tsx +273 -111
  95. package/src/components/Field/IPAM/Supernet/index.tsx +4 -0
  96. package/src/components/Field/IPAM/VLAN/VLAN.stories.tsx +283 -93
  97. package/src/components/Field/IPAM/VLAN/index.tsx +7 -1
  98. package/src/components/Field/Number/AccountNumber/AccountNumber.stories.tsx +313 -0
  99. package/src/components/Field/Number/AccountNumber/index.tsx +137 -151
  100. package/src/components/Field/Number/CVV/CVV.stories.tsx +320 -0
  101. package/src/components/Field/Number/CVV/index.tsx +147 -164
  102. package/src/components/Field/Number/CreditCardNumber/CreditCardNumber.stories.tsx +358 -0
  103. package/src/components/Field/Number/CreditCardNumber/index.tsx +157 -240
  104. package/src/components/Field/Number/ExternalIncrement/ExternalIncrement.stories.tsx +188 -0
  105. package/src/components/Field/Number/ExternalIncrement/index.tsx +143 -88
  106. package/src/components/Field/Number/InternalIncrement/InternalIncrement.stories.tsx +326 -0
  107. package/src/components/Field/Number/InternalIncrement/index.tsx +225 -240
  108. package/src/components/Field/Number/RoutingNumber/RoutingNumber.stories.tsx +349 -0
  109. package/src/components/Field/Number/RoutingNumber/index.tsx +155 -182
  110. package/src/components/Field/Password/index.tsx +149 -176
  111. package/src/components/Field/Password/passwordfield.stories.tsx +601 -88
  112. package/src/components/Field/Percentage/index.tsx +256 -237
  113. package/src/components/Field/Percentage/percentagefield.stories.tsx +579 -141
  114. package/src/components/Field/PhoneNumber/index.tsx +172 -140
  115. package/src/components/Field/PhoneNumber/phonenumberfield.stories.tsx +575 -103
  116. package/src/components/Field/Search/index.tsx +170 -248
  117. package/src/components/Field/Search/searchbar.stories.tsx +616 -114
  118. package/src/components/Field/Slider/index.tsx +76 -0
  119. package/src/components/Field/Text/index.tsx +201 -301
  120. package/src/components/Field/Text/textfield.stories.tsx +915 -176
  121. package/src/components/Field/Time/TimeRange/TimeRange.stories.tsx +369 -0
  122. package/src/components/Field/Time/TimeRange/index.tsx +609 -1269
  123. package/src/components/Field/USD/index.tsx +262 -290
  124. package/src/components/Field/USD/usd.stories.tsx +453 -144
  125. package/src/components/Form/DataGrid/index.tsx +187 -493
  126. package/src/components/Form/Dialog/index.tsx +140 -296
  127. package/src/components/Form/Popup/index.tsx +256 -476
  128. package/src/components/Form/ProjectBoard/index.tsx +260 -349
  129. package/src/components/FormControl/index.tsx +95 -0
  130. package/src/components/FormControlLabel/index.tsx +168 -0
  131. package/src/components/Grid/Grid.tsx +118 -0
  132. package/src/components/Grid/index.ts +2 -0
  133. package/src/components/IconButton/index.tsx +85 -0
  134. package/src/components/Icons/AccessTime.tsx +67 -0
  135. package/src/components/Icons/AccountBalance.tsx +67 -0
  136. package/src/components/Icons/AccountBalanceWallet.tsx +67 -0
  137. package/src/components/Icons/AccountTree.tsx +67 -0
  138. package/src/components/Icons/Add.tsx +63 -0
  139. package/src/components/Icons/AddCircle.tsx +67 -0
  140. package/src/components/Icons/AddCircleOutline.tsx +67 -0
  141. package/src/components/Icons/AddPhotoAlternate.tsx +72 -0
  142. package/src/components/Icons/AddShoppingCart.tsx +67 -0
  143. package/src/components/Icons/AddTask.tsx +67 -0
  144. package/src/components/Icons/AdminPanelSettings.tsx +67 -0
  145. package/src/components/Icons/AllIcons.stories.tsx +778 -0
  146. package/src/components/Icons/Analytics.tsx +67 -0
  147. package/src/components/Icons/Animation.tsx +60 -0
  148. package/src/components/Icons/Apartment.tsx +67 -0
  149. package/src/components/Icons/Apple.tsx +60 -0
  150. package/src/components/Icons/ArrowBack.tsx +67 -0
  151. package/src/components/Icons/ArrowDropDown.tsx +67 -0
  152. package/src/components/Icons/ArrowDropDownCircle.tsx +67 -0
  153. package/src/components/Icons/ArrowDropUp.tsx +67 -0
  154. package/src/components/Icons/ArrowForward.tsx +67 -0
  155. package/src/components/Icons/Article.tsx +67 -0
  156. package/src/components/Icons/Assessment.tsx +67 -0
  157. package/src/components/Icons/Assignment.tsx +67 -0
  158. package/src/components/Icons/AttachFile.tsx +60 -0
  159. package/src/components/Icons/AttachMoney.tsx +60 -0
  160. package/src/components/Icons/Attachment.tsx +60 -0
  161. package/src/components/Icons/AutoAwesome.tsx +60 -0
  162. package/src/components/Icons/AutoGraph.tsx +67 -0
  163. package/src/components/Icons/Autorenew.tsx +67 -0
  164. package/src/components/Icons/Bank.tsx +60 -0
  165. package/src/components/Icons/BarChart.tsx +60 -0
  166. package/src/components/Icons/Block.tsx +60 -0
  167. package/src/components/Icons/BugReport.tsx +60 -0
  168. package/src/components/Icons/Build.tsx +67 -0
  169. package/src/components/Icons/Business.tsx +67 -0
  170. package/src/components/Icons/BusinessCenter.tsx +67 -0
  171. package/src/components/Icons/Calculate.tsx +67 -0
  172. package/src/components/Icons/Calendar.tsx +56 -28
  173. package/src/components/Icons/CalendarMonth.tsx +67 -0
  174. package/src/components/Icons/CalendarToday.tsx +67 -0
  175. package/src/components/Icons/Campaign.tsx +67 -0
  176. package/src/components/Icons/Cancel.tsx +67 -0
  177. package/src/components/Icons/CardGiftcard.tsx +67 -0
  178. package/src/components/Icons/CardMembership.tsx +67 -0
  179. package/src/components/Icons/Category.tsx +70 -0
  180. package/src/components/Icons/Chat.tsx +67 -0
  181. package/src/components/Icons/Check.tsx +67 -0
  182. package/src/components/Icons/CheckBoxIcon.tsx +67 -0
  183. package/src/components/Icons/CheckCircle.tsx +67 -0
  184. package/src/components/Icons/CheckCircleOutline.tsx +67 -0
  185. package/src/components/Icons/ChevronLeft.tsx +67 -0
  186. package/src/components/Icons/ChevronRight.tsx +67 -0
  187. package/src/components/Icons/CircleOutline.tsx +67 -0
  188. package/src/components/Icons/Clear.tsx +67 -0
  189. package/src/components/Icons/Close.tsx +67 -0
  190. package/src/components/Icons/CloudSync.tsx +67 -0
  191. package/src/components/Icons/CloudUpload.tsx +67 -0
  192. package/src/components/Icons/Code.tsx +67 -0
  193. package/src/components/Icons/CompareArrows.tsx +67 -0
  194. package/src/components/Icons/Construction.tsx +67 -0
  195. package/src/components/Icons/Contacts.tsx +67 -0
  196. package/src/components/Icons/ContentCopy.tsx +67 -0
  197. package/src/components/Icons/ContractIcon.tsx +67 -0
  198. package/src/components/Icons/Create.tsx +67 -0
  199. package/src/components/Icons/CreateNewFolder.tsx +67 -0
  200. package/src/components/Icons/CreditCard.tsx +67 -0
  201. package/src/components/Icons/CreditCardOff.tsx +67 -0
  202. package/src/components/Icons/CurrencyExchange.tsx +67 -0
  203. package/src/components/Icons/Dashboard.tsx +67 -0
  204. package/src/components/Icons/DateRange.tsx +67 -0
  205. package/src/components/Icons/Delete.tsx +67 -0
  206. package/src/components/Icons/Description.tsx +67 -0
  207. package/src/components/Icons/DesktopWindows.tsx +67 -0
  208. package/src/components/Icons/DeviceHub.tsx +67 -0
  209. package/src/components/Icons/Devices.tsx +67 -0
  210. package/src/components/Icons/Dns.tsx +63 -0
  211. package/src/components/Icons/Domain.tsx +67 -0
  212. package/src/components/Icons/Download.tsx +67 -0
  213. package/src/components/Icons/Drag.tsx +60 -19
  214. package/src/components/Icons/DragIndicator.tsx +67 -0
  215. package/src/components/Icons/DuplicateIcon.tsx +67 -0
  216. package/src/components/Icons/Edit.tsx +67 -0
  217. package/src/components/Icons/Email.tsx +67 -0
  218. package/src/components/Icons/EmojiEvents.tsx +67 -0
  219. package/src/components/Icons/Engineering.tsx +75 -0
  220. package/src/components/Icons/Error.tsx +67 -0
  221. package/src/components/Icons/ErrorOutline.tsx +67 -0
  222. package/src/components/Icons/Event.tsx +67 -0
  223. package/src/components/Icons/EventAvailable.tsx +67 -0
  224. package/src/components/Icons/EventBusy.tsx +67 -0
  225. package/src/components/Icons/ExpandLess.tsx +67 -0
  226. package/src/components/Icons/ExpandMore.tsx +67 -0
  227. package/src/components/Icons/Extension.tsx +67 -0
  228. package/src/components/Icons/Favorite.tsx +67 -0
  229. package/src/components/Icons/FavoriteBorder.tsx +67 -0
  230. package/src/components/Icons/FavoriteBorderIcon.tsx +67 -0
  231. package/src/components/Icons/FavoriteIcon.tsx +50 -56
  232. package/src/components/Icons/Feedback.tsx +67 -0
  233. package/src/components/Icons/FileCopy.tsx +67 -0
  234. package/src/components/Icons/Filing.tsx +67 -0
  235. package/src/components/Icons/FilterList.tsx +67 -0
  236. package/src/components/Icons/Fingerprint.tsx +67 -0
  237. package/src/components/Icons/FirstPage.tsx +67 -0
  238. package/src/components/Icons/FormatAlignCenter.tsx +67 -0
  239. package/src/components/Icons/FormatAlignLeft.tsx +67 -0
  240. package/src/components/Icons/FormatAlignRight.tsx +67 -0
  241. package/src/components/Icons/FormatBold.tsx +67 -0
  242. package/src/components/Icons/FormatItalic.tsx +67 -0
  243. package/src/components/Icons/FormatListBulleted.tsx +72 -0
  244. package/src/components/Icons/FormatListNumbered.tsx +85 -0
  245. package/src/components/Icons/FormatUnderlined.tsx +67 -0
  246. package/src/components/Icons/Gavel.tsx +67 -0
  247. package/src/components/Icons/Gesture.tsx +67 -0
  248. package/src/components/Icons/Google.tsx +67 -0
  249. package/src/components/Icons/GridView.tsx +67 -0
  250. package/src/components/Icons/GridViewIcon.tsx +67 -0
  251. package/src/components/Icons/Group.tsx +67 -0
  252. package/src/components/Icons/GroupWork.tsx +67 -0
  253. package/src/components/Icons/Groups.tsx +67 -0
  254. package/src/components/Icons/Handshake.tsx +67 -0
  255. package/src/components/Icons/Help.tsx +67 -0
  256. package/src/components/Icons/History.tsx +67 -0
  257. package/src/components/Icons/Home.tsx +67 -0
  258. package/src/components/Icons/HomeWork.tsx +67 -0
  259. package/src/components/Icons/HourglassEmpty.tsx +67 -0
  260. package/src/components/Icons/Hub.tsx +65 -0
  261. package/src/components/Icons/ICON_THEME_MIGRATION.md +383 -0
  262. package/src/components/Icons/ImageIcon.tsx +67 -0
  263. package/src/components/Icons/IndeterminateCheckBox.tsx +67 -0
  264. package/src/components/Icons/Info.tsx +76 -22
  265. package/src/components/Icons/InfoOutline.tsx +67 -0
  266. package/src/components/Icons/Insights.tsx +67 -0
  267. package/src/components/Icons/IntegrationInstructions.tsx +66 -0
  268. package/src/components/Icons/Inventory.tsx +67 -0
  269. package/src/components/Icons/KeyboardArrowDown.tsx +67 -0
  270. package/src/components/Icons/KeyboardArrowLeft.tsx +67 -0
  271. package/src/components/Icons/KeyboardArrowRight.tsx +67 -0
  272. package/src/components/Icons/KeyboardReturn.tsx +67 -0
  273. package/src/components/Icons/Lan.tsx +66 -0
  274. package/src/components/Icons/LastPage.tsx +67 -0
  275. package/src/components/Icons/Launch.tsx +67 -0
  276. package/src/components/Icons/Layers.tsx +67 -0
  277. package/src/components/Icons/Link.tsx +67 -0
  278. package/src/components/Icons/ListAlt.tsx +67 -0
  279. package/src/components/Icons/LocalGasStation.tsx +67 -0
  280. package/src/components/Icons/LocalOffer.tsx +67 -0
  281. package/src/components/Icons/LocalShipping.tsx +67 -0
  282. package/src/components/Icons/LocationCity.tsx +67 -0
  283. package/src/components/Icons/LocationIcon.tsx +67 -0
  284. package/src/components/Icons/LocationOn.tsx +66 -0
  285. package/src/components/Icons/LocationSearching.tsx +67 -0
  286. package/src/components/Icons/Lock.tsx +67 -0
  287. package/src/components/Icons/Login.tsx +67 -0
  288. package/src/components/Icons/LogoutRounded.tsx +67 -0
  289. package/src/components/Icons/LooksFour.tsx +67 -0
  290. package/src/components/Icons/LooksOne.tsx +67 -0
  291. package/src/components/Icons/LooksThree.tsx +67 -0
  292. package/src/components/Icons/LooksTwo.tsx +67 -0
  293. package/src/components/Icons/Loop.tsx +67 -0
  294. package/src/components/Icons/LowPriority.tsx +70 -0
  295. package/src/components/Icons/Loyalty.tsx +67 -0
  296. package/src/components/Icons/Map.tsx +63 -0
  297. package/src/components/Icons/Menu.tsx +67 -0
  298. package/src/components/Icons/MenuBook.tsx +60 -0
  299. package/src/components/Icons/MonetizationOn.tsx +60 -0
  300. package/src/components/Icons/Money.tsx +60 -0
  301. package/src/components/Icons/MoreHoriz.tsx +67 -0
  302. package/src/components/Icons/MoreVert.tsx +60 -0
  303. package/src/components/Icons/Mouse.tsx +62 -0
  304. package/src/components/Icons/Navigation.tsx +60 -0
  305. package/src/components/Icons/NetworkCheck.tsx +64 -0
  306. package/src/components/Icons/NotificationActive.tsx +60 -0
  307. package/src/components/Icons/NotificationImportant.tsx +60 -0
  308. package/src/components/Icons/Notifications.tsx +60 -0
  309. package/src/components/Icons/Outlook.tsx +60 -0
  310. package/src/components/Icons/Pause.tsx +60 -0
  311. package/src/components/Icons/Payment.tsx +60 -0
  312. package/src/components/Icons/PdfIcon.tsx +56 -0
  313. package/src/components/Icons/PendingActions.tsx +60 -0
  314. package/src/components/Icons/People.tsx +65 -0
  315. package/src/components/Icons/Person.tsx +67 -0
  316. package/src/components/Icons/PersonAdd.tsx +67 -0
  317. package/src/components/Icons/PersonOutline.tsx +60 -0
  318. package/src/components/Icons/Phone.tsx +60 -0
  319. package/src/components/Icons/PlayArrow.tsx +60 -0
  320. package/src/components/Icons/PlaylistAddCheck.tsx +60 -0
  321. package/src/components/Icons/PointOfSale.tsx +60 -0
  322. package/src/components/Icons/Policy.tsx +60 -0
  323. package/src/components/Icons/PostAdd.tsx +61 -0
  324. package/src/components/Icons/PrecisionManufacturing.tsx +68 -0
  325. package/src/components/Icons/Preview.tsx +60 -0
  326. package/src/components/Icons/Print.tsx +60 -0
  327. package/src/components/Icons/PriorityHigh.tsx +62 -0
  328. package/src/components/Icons/Psychology.tsx +60 -0
  329. package/src/components/Icons/Public.tsx +60 -0
  330. package/src/components/Icons/QrCode.tsx +76 -0
  331. package/src/components/Icons/QrCodeScanner.tsx +67 -0
  332. package/src/components/Icons/RadioButtonChecked.tsx +60 -0
  333. package/src/components/Icons/RateReview.tsx +60 -0
  334. package/src/components/Icons/Receipt.tsx +60 -0
  335. package/src/components/Icons/Redo.tsx +60 -0
  336. package/src/components/Icons/Refresh.tsx +67 -0
  337. package/src/components/Icons/Remove.tsx +60 -0
  338. package/src/components/Icons/Repeat.tsx +60 -0
  339. package/src/components/Icons/ReportProblem.tsx +61 -0
  340. package/src/components/Icons/RequestQuote.tsx +62 -0
  341. package/src/components/Icons/Restore.tsx +59 -0
  342. package/src/components/Icons/Router.tsx +60 -0
  343. package/src/components/Icons/Save.tsx +67 -0
  344. package/src/components/Icons/Schedule.tsx +60 -0
  345. package/src/components/Icons/School.tsx +60 -0
  346. package/src/components/Icons/ScreenRotation.tsx +60 -0
  347. package/src/components/Icons/Search.tsx +59 -39
  348. package/src/components/Icons/Security.tsx +60 -0
  349. package/src/components/Icons/Send.tsx +60 -0
  350. package/src/components/Icons/Settings.tsx +67 -0
  351. package/src/components/Icons/Shield.tsx +60 -0
  352. package/src/components/Icons/ShoppingBasket.tsx +67 -0
  353. package/src/components/Icons/ShowChart.tsx +60 -0
  354. package/src/components/Icons/ShowHideEye.tsx +117 -22
  355. package/src/components/Icons/SkipNext.tsx +60 -0
  356. package/src/components/Icons/SmartButtonIcon.tsx +67 -0
  357. package/src/components/Icons/Smartphone.tsx +60 -0
  358. package/src/components/Icons/Sms.tsx +56 -0
  359. package/src/components/Icons/Sort.tsx +65 -0
  360. package/src/components/Icons/Spa.tsx +63 -0
  361. package/src/components/Icons/Speed.tsx +66 -0
  362. package/src/components/Icons/Star.tsx +65 -0
  363. package/src/components/Icons/StarBorder.tsx +65 -0
  364. package/src/components/Icons/StarIcon.tsx +65 -0
  365. package/src/components/Icons/Stop.tsx +67 -0
  366. package/src/components/Icons/Storage.tsx +65 -0
  367. package/src/components/Icons/Store.tsx +65 -0
  368. package/src/components/Icons/StoreMallDirectory.tsx +65 -0
  369. package/src/components/Icons/StrikethroughS.tsx +65 -0
  370. package/src/components/Icons/SupervisedUserCircle.tsx +65 -0
  371. package/src/components/Icons/Support.tsx +65 -0
  372. package/src/components/Icons/Sync.tsx +65 -0
  373. package/src/components/Icons/TableIcon.tsx +65 -0
  374. package/src/components/Icons/Tablet.tsx +65 -0
  375. package/src/components/Icons/TemplateIcon.tsx +65 -0
  376. package/src/components/Icons/TextFieldsIcon.tsx +67 -0
  377. package/src/components/Icons/ThumbUp.tsx +65 -0
  378. package/src/components/Icons/Timeline.tsx +65 -0
  379. package/src/components/Icons/Timer.tsx +65 -0
  380. package/src/components/Icons/Transfer.tsx +65 -0
  381. package/src/components/Icons/TrendingDown.tsx +65 -0
  382. package/src/components/Icons/TrendingUp.tsx +65 -0
  383. package/src/components/Icons/Undo.tsx +65 -0
  384. package/src/components/Icons/VerifiedUser.tsx +65 -0
  385. package/src/components/Icons/VideoLibraryIcon.tsx +67 -0
  386. package/src/components/Icons/Videocam.tsx +66 -0
  387. package/src/components/Icons/ViewCompact.tsx +67 -0
  388. package/src/components/Icons/ViewCompactIcon.tsx +65 -0
  389. package/src/components/Icons/ViewHeadlineIcon.tsx +67 -0
  390. package/src/components/Icons/ViewIcon.tsx +65 -0
  391. package/src/components/Icons/ViewList.tsx +65 -0
  392. package/src/components/Icons/ViewModule.tsx +65 -0
  393. package/src/components/Icons/ViewSidebar.tsx +65 -0
  394. package/src/components/Icons/Visibility.tsx +65 -0
  395. package/src/components/Icons/VisibilityOff.tsx +65 -0
  396. package/src/components/Icons/VpnKey.tsx +65 -0
  397. package/src/components/Icons/VpnLock.tsx +65 -0
  398. package/src/components/Icons/Warning.tsx +65 -0
  399. package/src/components/Icons/WarningAmber.tsx +69 -0
  400. package/src/components/Icons/WaterDrop.tsx +67 -0
  401. package/src/components/Icons/Web.tsx +61 -0
  402. package/src/components/Icons/Widgets.tsx +65 -0
  403. package/src/components/Icons/Wifi.tsx +67 -0
  404. package/src/components/Icons/WifiOff.tsx +67 -0
  405. package/src/components/Icons/Work.tsx +67 -0
  406. package/src/components/Icons/WorkspacePremium.tsx +67 -0
  407. package/src/components/Icons/index.ts +261 -0
  408. package/src/components/InputLabel/index.tsx +137 -0
  409. package/src/components/List/index.tsx +77 -0
  410. package/src/components/MenuItem/index.tsx +147 -0
  411. package/src/components/Pagination/index.tsx +455 -0
  412. package/src/components/Paper/index.tsx +93 -0
  413. package/src/components/Popover/index.tsx +65 -0
  414. package/src/components/Popover/popover.stories.tsx +455 -0
  415. package/src/components/PricingTable/index.tsx +488 -337
  416. package/src/components/PricingTable/pricingtable.stories.tsx +66 -130
  417. package/src/components/ProgressBar/index.tsx +104 -0
  418. package/src/components/ProgressBar/progressbar.stories.tsx +641 -0
  419. package/src/components/ProjectBoard/ShowTask.stories.tsx +218 -0
  420. package/src/components/ProjectBoard/administratorCompanyDropdown.stories.tsx +213 -0
  421. package/src/components/ProjectBoard/administratorCompanyProvided.stories.tsx +205 -0
  422. package/src/components/ProjectBoard/board/board.stories.tsx +516 -0
  423. package/src/components/ProjectBoard/board/index.tsx +836 -41
  424. package/src/components/ProjectBoard/companyCustomerDropdown.stories.tsx +228 -0
  425. package/src/components/ProjectBoard/companyCustomerProvided.stories.tsx +206 -0
  426. package/src/components/ProjectBoard/customer.stories.tsx +154 -0
  427. package/src/components/ProjectBoard/forms/AddTask/administrator/companyDropdown/index.tsx +346 -450
  428. package/src/components/ProjectBoard/forms/AddTask/administrator/companyProvided/index.tsx +337 -432
  429. package/src/components/ProjectBoard/forms/AddTask/company/customerDropdown/index.tsx +363 -471
  430. package/src/components/ProjectBoard/forms/AddTask/company/customerProvided/index.tsx +336 -436
  431. package/src/components/ProjectBoard/forms/AddTask/customer/index.tsx +238 -314
  432. package/src/components/ProjectBoard/forms/AddTask/noUser/index.tsx +71 -147
  433. package/src/components/ProjectBoard/forms/ShowTask/client.tsx +639 -974
  434. package/src/components/ProjectBoard/index.tsx +193 -365
  435. package/src/components/ProjectBoard/noUser.stories.tsx +141 -0
  436. package/src/components/ProjectBoard/types/index.tsx +5 -2
  437. package/src/components/ProjectBoard/utils/useDragandDrop/columns.tsx +115 -42
  438. package/src/components/ProjectBoard/utils/useDragandDrop/tasks.tsx +146 -56
  439. package/src/components/QRCode/index.tsx +97 -262
  440. package/src/components/QRCode/qrcode.stories.tsx +510 -79
  441. package/src/components/RadioGroup/index.tsx +74 -125
  442. package/src/components/RadioGroup/radiogroup.stories.tsx +456 -66
  443. package/src/components/Select/index.tsx +183 -0
  444. package/src/components/Slide/index.tsx +49 -0
  445. package/src/components/Slide/slide.stories.tsx +327 -0
  446. package/src/components/Snackbar/index.tsx +65 -0
  447. package/src/components/Snackbar/snackbar.stories.tsx +834 -0
  448. package/src/components/Stack/index.tsx +162 -0
  449. package/src/components/Stepper/index.tsx +371 -245
  450. package/src/components/Stepper/stepper.stories.tsx +792 -215
  451. package/src/components/Switch/index.tsx +138 -0
  452. package/src/components/Switch/switch.stories.tsx +1000 -0
  453. package/src/components/Table/Table.stories.tsx +123 -0
  454. package/src/components/Table/index.tsx +262 -0
  455. package/src/components/Tabs/index.tsx +112 -172
  456. package/src/components/Tabs/tabs.stories.tsx +131 -158
  457. package/src/components/ToggleButton/index.tsx +267 -0
  458. package/src/components/ToggleButton/togglebutton.stories.tsx +637 -0
  459. package/src/components/Toolbar/index.tsx +156 -156
  460. package/src/components/Toolbar/left/index.tsx +52 -47
  461. package/src/components/Toolbar/leftCenter/index.tsx +109 -71
  462. package/src/components/Toolbar/right/index.tsx +29 -29
  463. package/src/components/Toolbar/rightCenter/index.tsx +22 -17
  464. package/src/components/Toolbar/toolbar.stories.tsx +134 -71
  465. package/src/components/Tooltip/index.tsx +224 -76
  466. package/src/components/Tooltip/tooltip.stories.tsx +97 -137
  467. package/src/components/TransferList/index.tsx +313 -354
  468. package/src/components/TransferList/transferlist.stories.tsx +191 -157
  469. package/src/components/TreeView/index.tsx +1205 -0
  470. package/src/components/TreeView/treeview.stories.tsx +788 -0
  471. package/src/components/Typography/index.tsx +53 -390
  472. package/src/components/Typography/typography.stories.tsx +260 -101
  473. package/src/components/Zoom/index.tsx +48 -0
  474. package/src/index.ts +194 -40
  475. package/src/stories/Button.stories.ts +1 -1
  476. package/src/stories/Header.stories.ts +1 -1
  477. package/src/stories/Page.stories.ts +1 -1
  478. package/src/theme/accordion.ts +784 -0
  479. package/src/theme/alert.ts +619 -0
  480. package/src/theme/appbar.ts +297 -0
  481. package/src/theme/avatar.ts +188 -0
  482. package/src/theme/badge.ts +166 -0
  483. package/src/theme/breadcrumb.ts +315 -0
  484. package/src/theme/button.ts +403 -0
  485. package/src/theme/card.ts +382 -0
  486. package/src/theme/checkbox.ts +538 -0
  487. package/src/theme/chip.ts +656 -0
  488. package/src/theme/codecopy.ts +427 -0
  489. package/src/theme/complextexteditor.ts +508 -0
  490. package/src/theme/confirmationcodeinput.ts +687 -0
  491. package/src/theme/container.ts +175 -0
  492. package/src/theme/datagrid.ts +784 -0
  493. package/src/theme/dialog.ts +465 -0
  494. package/src/theme/divider.ts +205 -0
  495. package/src/theme/drawer.ts +358 -0
  496. package/src/theme/dropdown.ts +733 -0
  497. package/src/theme/fade.ts +132 -0
  498. package/src/theme/formField.ts +388 -0
  499. package/src/theme/icon.ts +308 -0
  500. package/src/theme/index.ts +558 -0
  501. package/src/theme/list.ts +160 -0
  502. package/src/theme/nav.ts +1111 -0
  503. package/src/theme/pagination.ts +368 -0
  504. package/src/theme/paper.ts +269 -0
  505. package/src/theme/popover.ts +178 -0
  506. package/src/theme/pricingtable.ts +693 -0
  507. package/src/theme/progressbar.ts +433 -0
  508. package/src/theme/projectboard.ts +291 -0
  509. package/src/theme/qrcode.ts +485 -0
  510. package/src/theme/radiogroup.ts +424 -0
  511. package/src/theme/shared.ts +222 -0
  512. package/src/theme/slide.ts +161 -0
  513. package/src/theme/stepper.ts +849 -0
  514. package/src/theme/switch.ts +567 -0
  515. package/src/theme/tabs.ts +552 -0
  516. package/src/theme/toolbar.ts +238 -0
  517. package/src/theme/tooltip.ts +232 -0
  518. package/src/theme/treeview.ts +1239 -0
  519. package/src/theme/typography.ts +812 -0
  520. package/src/theme/zoom.ts +166 -0
  521. package/src/utils/alpha.ts +34 -0
  522. package/src/utils/keyframes.ts +81 -0
  523. package/src/components/Card/card.stories.tsx +0 -337
  524. package/src/components/Card/variants/defaultconfig/index.tsx +0 -236
  525. package/src/components/Card/variants/detailedpricingsummary/index.tsx +0 -270
  526. package/src/components/Card/variants/inventory/index.tsx +0 -289
  527. package/src/components/Card/variants/product/index.tsx +0 -378
  528. package/src/components/Card/variants/productsummary/index.tsx +0 -274
  529. package/src/components/Card/variants/simplepricingsummary/index.tsx +0 -215
  530. package/src/components/Card/variants/task/index.tsx +0 -197
  531. package/src/components/ComplexTextEditor/utils/useRichtextEditor.tsx +0 -440
  532. package/src/components/Content/Structure/CreditCardExpiration/useCreditCardExpiration.tsx +0 -62
  533. package/src/components/Content/Structure/card/useCard.tsx +0 -24
  534. package/src/components/Content/Structure/incremementNumberField/useIncremementNumberField.tsx +0 -33
  535. package/src/components/DataGrid/ManageColumn/index.tsx +0 -331
  536. package/src/components/Field/Date/CreditCardExpiration/index.tsx +0 -1304
  537. package/src/components/Field/Dropdown/Searchable/index.tsx +0 -1711
  538. package/src/components/Field/Dropdown/Searchable/searchabledropdown.stories.tsx +0 -746
  539. package/src/components/Field/IPAM/NetworkAddress/index.tsx +0 -499
  540. package/src/components/Field/Number/ExternalIncrement/incrementnumberfield.stories.tsx +0 -152
  541. package/src/components/Field/Number/InternalIncrement/numberfield.stories.tsx +0 -228
  542. package/src/components/Nav/VerticalVariant/mainNav/expanding.tsx +0 -168
  543. package/src/components/Nav/VerticalVariant/mainNav/list.tsx +0 -160
  544. package/src/components/Nav/VerticalVariant/subNav/expanding.tsx +0 -159
  545. package/src/components/Nav/VerticalVariant/subNav/list.tsx +0 -120
  546. package/src/components/Nav/VerticalVariant/subSubViewNav/list.tsx +0 -133
  547. package/src/components/Nav/VerticalVariant/subViewNav/expanding.tsx +0 -175
  548. package/src/components/Nav/VerticalVariant/subViewNav/list.tsx +0 -133
  549. package/src/components/Nav/VerticalVariant/viewNav/expanding.tsx +0 -164
  550. package/src/components/Nav/VerticalVariant/viewNav/index.tsx +0 -124
  551. package/src/components/Nav/index.tsx +0 -1056
  552. package/src/components/Nav/nav.stories.tsx +0 -473
  553. package/src/components/ProjectBoard/board/desktop/index.tsx +0 -487
  554. package/src/components/ProjectBoard/board/mobile/index.tsx +0 -515
  555. package/src/components/ProjectBoard/board/tablet/index.tsx +0 -496
  556. package/src/components/ProjectBoard/projectboard.stories.tsx +0 -881
  557. package/src/components/Widget/index.tsx +0 -343
  558. package/src/stories/Configure.mdx +0 -451
  559. package/src/styles/Form/index.ts +0 -7
  560. package/src/styles/palette.ts +0 -143
  561. package/src/styles/typography.ts +0 -185
  562. package/src/types/react-datepicker.d.ts +0 -75
@@ -0,0 +1,358 @@
1
+ // --------------------------------------------------------------------------
2
+ // DRAWER THEME SYSTEM
3
+ // --------------------------------------------------------------------------
4
+ import React from 'react'
5
+ import { TRANSITIONS, SHADOWS } from './shared'
6
+
7
+ export interface DrawerTheme {
8
+ permanent: {
9
+ background: string
10
+ borderRight: string
11
+ borderLeft: string
12
+ boxShadow: string
13
+ backdropFilter: string
14
+ backgroundImage?: string
15
+ }
16
+ temporary: {
17
+ background: string
18
+ borderRight: string
19
+ borderLeft: string
20
+ boxShadow: string
21
+ backdropFilter: string
22
+ backgroundImage?: string
23
+ }
24
+ backdrop: {
25
+ backgroundColor: string
26
+ backdropFilter: string
27
+ }
28
+ transition: string
29
+ }
30
+
31
+ export interface DrawerStyles {
32
+ // Theme selection
33
+ theme?: 'light' | 'dark' | 'sacred'
34
+
35
+ // Permanent drawer styling
36
+ permanentBackground?: string
37
+ permanentBorderRight?: string
38
+ permanentBorderLeft?: string
39
+ permanentBoxShadow?: string
40
+ permanentBackdropFilter?: string
41
+ permanentBackgroundImage?: string
42
+
43
+ // Temporary drawer styling
44
+ temporaryBackground?: string
45
+ temporaryBorderRight?: string
46
+ temporaryBorderLeft?: string
47
+ temporaryBoxShadow?: string
48
+ temporaryBackdropFilter?: string
49
+ temporaryBackgroundImage?: string
50
+
51
+ // Backdrop styling
52
+ backdropBackgroundColor?: string
53
+ backdropBackdropFilter?: string
54
+
55
+ // Layout and spacing
56
+ width?: string
57
+ height?: string
58
+ top?: string | number
59
+ padding?: string
60
+ margin?: string
61
+ zIndex?: number
62
+ backdropZIndex?: number
63
+
64
+ // Transitions
65
+ transitionDuration?: string
66
+ transitionEasing?: string
67
+
68
+ // States
69
+ disabled?: boolean
70
+ outline?: boolean
71
+
72
+ // Dimensions
73
+ maxWidth?: string
74
+ minWidth?: string
75
+ maxHeight?: string
76
+ minHeight?: string
77
+
78
+ // Force positioning
79
+ forceLeft?: boolean
80
+ forceRight?: boolean
81
+ }
82
+
83
+ export const drawerThemes: Record<'light' | 'dark' | 'sacred', DrawerTheme> = {
84
+ light: {
85
+ permanent: {
86
+ background: 'rgba(255, 255, 255, 0.95)',
87
+ borderRight: '1px solid rgba(226, 232, 240, 0.8)',
88
+ borderLeft: 'none',
89
+ boxShadow: SHADOWS.light.medium,
90
+ backdropFilter: 'blur(8px)',
91
+ },
92
+ temporary: {
93
+ background: 'rgba(255, 255, 255, 0.95)',
94
+ borderRight: '1px solid rgba(226, 232, 240, 0.8)',
95
+ borderLeft: 'none',
96
+ boxShadow: SHADOWS.light.large,
97
+ backdropFilter: 'blur(8px)',
98
+ },
99
+ backdrop: {
100
+ backgroundColor: 'rgba(0, 0, 0, 0.5)',
101
+ backdropFilter: 'blur(2px)',
102
+ },
103
+ transition: TRANSITIONS.medium,
104
+ },
105
+ dark: {
106
+ permanent: {
107
+ background: 'rgba(31, 41, 55, 0.95)',
108
+ borderRight: '1px solid rgba(75, 85, 99, 0.8)',
109
+ borderLeft: 'none',
110
+ boxShadow: '0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3)',
111
+ backdropFilter: 'blur(8px)',
112
+ },
113
+ temporary: {
114
+ background: 'rgba(31, 41, 55, 0.95)',
115
+ borderRight: '1px solid rgba(75, 85, 99, 0.8)',
116
+ borderLeft: 'none',
117
+ boxShadow: '0 8px 25px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4)',
118
+ backdropFilter: 'blur(8px)',
119
+ },
120
+ backdrop: {
121
+ backgroundColor: 'rgba(0, 0, 0, 0.7)',
122
+ backdropFilter: 'blur(2px)',
123
+ },
124
+ transition: TRANSITIONS.medium,
125
+ },
126
+ sacred: {
127
+ permanent: {
128
+ background: 'rgba(10, 10, 10, 0.95)',
129
+ borderRight: '2px solid rgba(255, 215, 0, 0.4)',
130
+ borderLeft: 'none',
131
+ boxShadow: SHADOWS.sacred.large,
132
+ backdropFilter: 'blur(8px)',
133
+ backgroundImage: `
134
+ radial-gradient(circle at top right, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
135
+ radial-gradient(circle at bottom left, rgba(255, 215, 0, 0.03) 0%, transparent 50%)
136
+ `,
137
+ },
138
+ temporary: {
139
+ background: 'rgba(10, 10, 10, 0.95)',
140
+ borderRight: '2px solid rgba(255, 215, 0, 0.6)',
141
+ borderLeft: 'none',
142
+ boxShadow: SHADOWS.sacred.large,
143
+ backdropFilter: 'blur(8px)',
144
+ backgroundImage: `
145
+ radial-gradient(circle at top right, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
146
+ radial-gradient(circle at bottom left, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
147
+ linear-gradient(135deg, rgba(255, 215, 0, 0.02) 0%, transparent 50%)
148
+ `,
149
+ },
150
+ backdrop: {
151
+ backgroundColor: 'rgba(0, 0, 0, 0.8)',
152
+ backdropFilter: 'blur(4px)',
153
+ },
154
+ transition: TRANSITIONS.slow,
155
+ },
156
+ }
157
+
158
+ // Helper function to get computed theme with custom style overrides
159
+ export const getDrawerTheme = (styles?: DrawerStyles): DrawerTheme => {
160
+ const theme = styles?.theme || 'light'
161
+ const baseTheme = drawerThemes[theme]
162
+
163
+ if (!styles) {
164
+ return baseTheme
165
+ }
166
+
167
+ return {
168
+ permanent: {
169
+ background: styles.permanentBackground || baseTheme.permanent.background,
170
+ borderRight:
171
+ styles.permanentBorderRight || baseTheme.permanent.borderRight,
172
+ borderLeft: styles.permanentBorderLeft || baseTheme.permanent.borderLeft,
173
+ boxShadow: styles.permanentBoxShadow || baseTheme.permanent.boxShadow,
174
+ backdropFilter:
175
+ styles.permanentBackdropFilter || baseTheme.permanent.backdropFilter,
176
+ backgroundImage:
177
+ styles.permanentBackgroundImage || baseTheme.permanent.backgroundImage,
178
+ },
179
+ temporary: {
180
+ background: styles.temporaryBackground || baseTheme.temporary.background,
181
+ borderRight:
182
+ styles.temporaryBorderRight || baseTheme.temporary.borderRight,
183
+ borderLeft: styles.temporaryBorderLeft || baseTheme.temporary.borderLeft,
184
+ boxShadow: styles.temporaryBoxShadow || baseTheme.temporary.boxShadow,
185
+ backdropFilter:
186
+ styles.temporaryBackdropFilter || baseTheme.temporary.backdropFilter,
187
+ backgroundImage:
188
+ styles.temporaryBackgroundImage || baseTheme.temporary.backgroundImage,
189
+ },
190
+ backdrop: {
191
+ backgroundColor:
192
+ styles.backdropBackgroundColor || baseTheme.backdrop.backgroundColor,
193
+ backdropFilter:
194
+ styles.backdropBackdropFilter || baseTheme.backdrop.backdropFilter,
195
+ },
196
+ transition: styles.transitionDuration
197
+ ? `transform ${styles.transitionDuration} ${styles.transitionEasing || 'ease-in-out'}`
198
+ : baseTheme.transition,
199
+ }
200
+ }
201
+
202
+ // Main style generator function
203
+ export const getDrawerStyles = (
204
+ styles?: DrawerStyles,
205
+ open?: boolean,
206
+ anchor?: 'left' | 'right' | 'top' | 'bottom',
207
+ _variant?: 'permanent' | 'temporary'
208
+ ) => {
209
+ const themeConfig = getDrawerTheme(styles)
210
+ const anchorSide = anchor || 'left'
211
+ const isHorizontal = anchorSide === 'top' || anchorSide === 'bottom'
212
+
213
+ // Determine actual anchor side (allow force overrides)
214
+ const effectiveAnchor = styles?.forceLeft
215
+ ? 'left'
216
+ : styles?.forceRight
217
+ ? 'right'
218
+ : anchorSide
219
+
220
+ const permanentStyle: React.CSSProperties = {
221
+ height: isHorizontal ? styles?.height || '240px' : styles?.height || '100%',
222
+ width: isHorizontal ? styles?.width || '100%' : styles?.width || '240px',
223
+ position: 'fixed',
224
+ top: isHorizontal
225
+ ? effectiveAnchor === 'top'
226
+ ? 0
227
+ : 'auto'
228
+ : styles?.top || 0,
229
+ bottom: effectiveAnchor === 'bottom' ? 0 : 'auto',
230
+ left: effectiveAnchor === 'left' ? 0 : 'auto',
231
+ right: effectiveAnchor === 'right' ? 0 : 'auto',
232
+ maxWidth: styles?.maxWidth,
233
+ minWidth: styles?.minWidth,
234
+ maxHeight: styles?.maxHeight,
235
+ minHeight: styles?.minHeight,
236
+ padding: styles?.padding,
237
+ margin: styles?.margin,
238
+ background: themeConfig.permanent.background,
239
+ ...(effectiveAnchor === 'left' && {
240
+ borderRight: themeConfig.permanent.borderRight,
241
+ }),
242
+ ...(effectiveAnchor === 'right' && {
243
+ borderLeft: themeConfig.permanent.borderLeft,
244
+ }),
245
+ ...(effectiveAnchor === 'top' && {
246
+ borderBottom: themeConfig.permanent.borderRight,
247
+ }),
248
+ ...(effectiveAnchor === 'bottom' && {
249
+ borderTop: themeConfig.permanent.borderLeft,
250
+ }),
251
+ boxShadow: themeConfig.permanent.boxShadow,
252
+ backdropFilter: themeConfig.permanent.backdropFilter,
253
+ backgroundImage: themeConfig.permanent.backgroundImage,
254
+ zIndex: styles?.zIndex || 30,
255
+ opacity: styles?.disabled ? 0.5 : 1,
256
+ pointerEvents: styles?.disabled ? 'none' : 'auto',
257
+ }
258
+
259
+ const temporaryBackdropStyle: React.CSSProperties = {
260
+ position: 'fixed',
261
+ inset: 0,
262
+ backgroundColor: themeConfig.backdrop.backgroundColor,
263
+ backdropFilter: themeConfig.backdrop.backdropFilter,
264
+ zIndex: styles?.backdropZIndex || 40,
265
+ }
266
+
267
+ const temporaryDrawerStyle: React.CSSProperties = {
268
+ position: 'fixed',
269
+ top: 0,
270
+ height: styles?.height || '100%',
271
+ width: styles?.width || '240px',
272
+ maxWidth: styles?.maxWidth,
273
+ minWidth: styles?.minWidth,
274
+ maxHeight: styles?.maxHeight,
275
+ minHeight: styles?.minHeight,
276
+ padding: styles?.padding,
277
+ margin: styles?.margin,
278
+ background: themeConfig.temporary.background,
279
+ [effectiveAnchor === 'left' ? 'borderRight' : 'borderLeft']:
280
+ effectiveAnchor === 'left'
281
+ ? themeConfig.temporary.borderRight
282
+ : themeConfig.temporary.borderLeft,
283
+ boxShadow: themeConfig.temporary.boxShadow,
284
+ backdropFilter: themeConfig.temporary.backdropFilter,
285
+ backgroundImage: themeConfig.temporary.backgroundImage,
286
+ zIndex: styles?.zIndex || 50,
287
+ transition: themeConfig.transition,
288
+ [effectiveAnchor]: 0,
289
+ transform: open
290
+ ? 'translateX(0)'
291
+ : effectiveAnchor === 'left'
292
+ ? 'translateX(-100%)'
293
+ : 'translateX(100%)',
294
+ opacity: styles?.disabled ? 0.5 : 1,
295
+ pointerEvents: styles?.disabled ? 'none' : 'auto',
296
+ }
297
+
298
+ // Paper style (main content area)
299
+ const paperStyle: React.CSSProperties = {
300
+ position: 'fixed',
301
+ height: isHorizontal ? styles?.height || '240px' : styles?.height || '100%',
302
+ width: isHorizontal ? styles?.width || '100%' : styles?.width || '280px',
303
+ top: isHorizontal
304
+ ? effectiveAnchor === 'top'
305
+ ? 0
306
+ : 'auto'
307
+ : styles?.top || 0,
308
+ bottom: effectiveAnchor === 'bottom' ? 0 : 'auto',
309
+ left: effectiveAnchor === 'left' ? 0 : 'auto',
310
+ right: effectiveAnchor === 'right' ? 0 : 'auto',
311
+ maxWidth: styles?.maxWidth,
312
+ minWidth: styles?.minWidth,
313
+ maxHeight: styles?.maxHeight,
314
+ minHeight: styles?.minHeight,
315
+ padding: styles?.padding,
316
+ margin: styles?.margin,
317
+ background: themeConfig.temporary.background,
318
+ ...(effectiveAnchor === 'left' && {
319
+ borderRight: themeConfig.temporary.borderRight,
320
+ }),
321
+ ...(effectiveAnchor === 'right' && {
322
+ borderLeft: themeConfig.temporary.borderLeft,
323
+ }),
324
+ ...(effectiveAnchor === 'top' && {
325
+ borderBottom: themeConfig.temporary.borderRight,
326
+ }),
327
+ ...(effectiveAnchor === 'bottom' && {
328
+ borderTop: themeConfig.temporary.borderLeft,
329
+ }),
330
+ boxShadow: themeConfig.temporary.boxShadow,
331
+ backdropFilter: themeConfig.temporary.backdropFilter,
332
+ backgroundImage: themeConfig.temporary.backgroundImage,
333
+ zIndex: styles?.zIndex || 50,
334
+ transition: themeConfig.transition,
335
+ transform: open
336
+ ? isHorizontal
337
+ ? 'translateY(0)'
338
+ : 'translateX(0)'
339
+ : isHorizontal
340
+ ? effectiveAnchor === 'top'
341
+ ? 'translateY(-100%)'
342
+ : 'translateY(100%)'
343
+ : effectiveAnchor === 'left'
344
+ ? 'translateX(-100%)'
345
+ : 'translateX(100%)',
346
+ opacity: styles?.disabled ? 0.5 : 1,
347
+ pointerEvents: styles?.disabled ? 'none' : 'auto',
348
+ overflow: 'auto',
349
+ }
350
+
351
+ return {
352
+ permanent: permanentStyle,
353
+ temporaryBackdrop: temporaryBackdropStyle,
354
+ temporaryDrawer: temporaryDrawerStyle,
355
+ paper: paperStyle,
356
+ backdrop: temporaryBackdropStyle,
357
+ }
358
+ }