@zidsa/zidmui 2.1.8 → 2.3.0-beta.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 (320) hide show
  1. package/dist/illustrations/404.svg +39 -0
  2. package/dist/illustrations/abandoned-cart.svg +23 -0
  3. package/dist/illustrations/add-ons.svg +15 -0
  4. package/dist/illustrations/announcement.svg +31 -0
  5. package/dist/illustrations/barcode-with-code.svg +49 -0
  6. package/dist/illustrations/barcode-with-sku.svg +26 -0
  7. package/dist/illustrations/barcode.svg +43 -0
  8. package/dist/illustrations/cards-stack-notification.svg +43 -0
  9. package/dist/illustrations/chat-bubble-plus.svg +30 -0
  10. package/dist/illustrations/coins-stack-shopping-cart.svg +22 -0
  11. package/dist/illustrations/coins-stack.svg +20 -0
  12. package/dist/illustrations/congrats.svg +108 -0
  13. package/dist/illustrations/congratulations-rocket.svg +36 -0
  14. package/dist/illustrations/country-bahrain.svg +78 -0
  15. package/dist/illustrations/country-egypt.svg +78 -0
  16. package/dist/illustrations/country-iraq.svg +78 -0
  17. package/dist/illustrations/country-kuwait.svg +78 -0
  18. package/dist/illustrations/country-oman.svg +78 -0
  19. package/dist/illustrations/country-qatar.svg +78 -0
  20. package/dist/illustrations/country-saudi-arabia.svg +78 -0
  21. package/dist/illustrations/country-saudi-regions.svg +17 -0
  22. package/dist/illustrations/country-uae.svg +78 -0
  23. package/dist/illustrations/custom-themes.svg +95 -0
  24. package/dist/illustrations/customers-empty-state.svg +38 -0
  25. package/dist/illustrations/customers-groups-add.svg +13 -0
  26. package/dist/illustrations/customers-groups.svg +23 -0
  27. package/dist/illustrations/draft-empty.svg +48 -0
  28. package/dist/illustrations/empty-draft-orders.svg +55 -0
  29. package/dist/illustrations/empty-order.svg +58 -0
  30. package/dist/illustrations/empty-state-discount-coupon.svg +27 -0
  31. package/dist/illustrations/empty-state-page-tag.svg +15 -0
  32. package/dist/illustrations/empty-state-page-url.svg +10 -0
  33. package/dist/illustrations/empty-state-page.svg +20 -0
  34. package/dist/illustrations/empty-state-payout.svg +35 -0
  35. package/dist/illustrations/empty-state-review.svg +29 -0
  36. package/dist/illustrations/empty-state-trash-bin.svg +60 -0
  37. package/dist/illustrations/faq-no-results.svg +43 -0
  38. package/dist/illustrations/fire-badge.svg +14 -0
  39. package/dist/illustrations/inactive-shop.svg +98 -0
  40. package/dist/illustrations/inventory-empty-state.svg +38 -0
  41. package/dist/illustrations/item-list.svg +40 -0
  42. package/dist/illustrations/items-add.svg +38 -0
  43. package/dist/illustrations/opened-box-empty.svg +33 -0
  44. package/dist/illustrations/opened-box-zid-location.svg +64 -0
  45. package/dist/illustrations/page-error.svg +34 -0
  46. package/dist/illustrations/payment-card-add-2.svg +14 -0
  47. package/dist/illustrations/payment-card-add.svg +14 -0
  48. package/dist/illustrations/payment-card.svg +12 -0
  49. package/dist/illustrations/payments-links-empty-state.svg +43 -0
  50. package/dist/illustrations/plan-activation.svg +29 -0
  51. package/dist/illustrations/plan-changed.svg +32 -0
  52. package/dist/illustrations/plan-downgrade.svg +28 -0
  53. package/dist/illustrations/product-card-options.svg +55 -0
  54. package/dist/illustrations/product-stacked-cards.svg +46 -0
  55. package/dist/illustrations/raising-start.svg +14 -0
  56. package/dist/illustrations/raising-starter.svg +14 -0
  57. package/dist/illustrations/sad-icon.svg +100 -0
  58. package/dist/illustrations/stacked-messages-sms.svg +41 -0
  59. package/dist/illustrations/stacked-messages-whatsapp.svg +42 -0
  60. package/dist/illustrations/step-diamond-01.svg +39 -0
  61. package/dist/illustrations/step-heptagon-02.svg +44 -0
  62. package/dist/illustrations/step-heptagon-04.svg +49 -0
  63. package/dist/illustrations/step-heptagon-06.svg +44 -0
  64. package/dist/illustrations/step-heptagon-red-04.svg +44 -0
  65. package/dist/illustrations/step-hexagon-02.svg +44 -0
  66. package/dist/illustrations/step-pentagon-03.svg +39 -0
  67. package/dist/illustrations/step-pentagon-05.svg +39 -0
  68. package/dist/illustrations/step-shield-like-03.svg +44 -0
  69. package/dist/illustrations/vehicle.svg +80 -0
  70. package/dist/illustrations/whatsapp-tier1.svg +80 -0
  71. package/dist/illustrations/whatsapp-tier2.svg +80 -0
  72. package/dist/illustrations/whatsapp-tier3.svg +89 -0
  73. package/dist/illustrations/whatsapp-tier4.svg +80 -0
  74. package/dist/illustrations/whatsapp-tier5.svg +174 -0
  75. package/dist/illustrations/wishlist-empty.svg +48 -0
  76. package/dist/illustrations/zid-logo-glass-reversed.svg +26 -0
  77. package/dist/illustrations/zid-logo-glass.svg +26 -0
  78. package/dist/illustrations/zid-logo-star.svg +4 -0
  79. package/dist/logos/delivery/aramex.svg +14 -0
  80. package/dist/logos/delivery/barq.svg +14 -0
  81. package/dist/logos/delivery/careem.svg +14 -0
  82. package/dist/logos/delivery/dhl.svg +14 -0
  83. package/dist/logos/delivery/fedex.svg +20 -0
  84. package/dist/logos/delivery/imile.svg +14 -0
  85. package/dist/logos/delivery/parcelat.svg +14 -0
  86. package/dist/logos/delivery/redbox.svg +14 -0
  87. package/dist/logos/delivery/smsa.svg +14 -0
  88. package/dist/logos/delivery/spl.svg +19 -0
  89. package/dist/logos/delivery/zid.svg +14 -0
  90. package/dist/logos/payments/amex.svg +12 -0
  91. package/dist/logos/payments/apple-pay.svg +7 -0
  92. package/dist/logos/payments/google-pay.svg +7 -0
  93. package/dist/logos/payments/knet.svg +5 -0
  94. package/dist/logos/payments/mada.svg +5 -0
  95. package/dist/logos/payments/mastercard.svg +5 -0
  96. package/dist/logos/payments/mispay.svg +10 -0
  97. package/dist/logos/payments/samsung-pay-icon.svg +13 -0
  98. package/dist/logos/payments/samsung-pay-text.svg +19 -0
  99. package/dist/logos/payments/stc-pay.svg +6 -0
  100. package/dist/logos/payments/tabby.svg +12 -0
  101. package/dist/logos/payments/tamara-secondary.svg +10 -0
  102. package/dist/logos/payments/tamara.svg +63 -0
  103. package/dist/logos/payments/visa.svg +3 -0
  104. package/dist/react/cjs/components/app-dialog.js +3 -2
  105. package/dist/react/cjs/components/app-dialog.js.map +1 -1
  106. package/dist/react/cjs/components/app-list-item.js +3 -0
  107. package/dist/react/cjs/components/app-list-item.js.map +1 -1
  108. package/dist/react/cjs/theme/components/alert.js +16 -16
  109. package/dist/react/cjs/theme/components/alert.js.map +1 -1
  110. package/dist/react/cjs/theme/components/app-bar.js +3 -5
  111. package/dist/react/cjs/theme/components/app-bar.js.map +1 -1
  112. package/dist/react/cjs/theme/components/card.js +3 -3
  113. package/dist/react/cjs/theme/components/card.js.map +1 -1
  114. package/dist/react/cjs/theme/components/paper.js +3 -3
  115. package/dist/react/cjs/theme/components/paper.js.map +1 -1
  116. package/dist/react/cjs/theme/components/table.js +2 -2
  117. package/dist/react/cjs/theme/components/table.js.map +1 -1
  118. package/dist/react/cjs/theme/palette.dark.js +343 -0
  119. package/dist/react/cjs/theme/palette.dark.js.map +1 -0
  120. package/dist/react/cjs/theme/palette.js +11 -5
  121. package/dist/react/cjs/theme/palette.js.map +1 -1
  122. package/dist/react/cjs/theme/shadows.dark.js +32 -0
  123. package/dist/react/cjs/theme/shadows.dark.js.map +1 -0
  124. package/dist/react/cjs/theme/theme.dark.js +19 -0
  125. package/dist/react/cjs/theme/theme.dark.js.map +1 -0
  126. package/dist/react/es/components/app-dialog.js +3 -2
  127. package/dist/react/es/components/app-dialog.js.map +1 -1
  128. package/dist/react/es/components/app-list-item.js +3 -0
  129. package/dist/react/es/components/app-list-item.js.map +1 -1
  130. package/dist/react/es/theme/components/alert.js +16 -16
  131. package/dist/react/es/theme/components/alert.js.map +1 -1
  132. package/dist/react/es/theme/components/app-bar.js +3 -5
  133. package/dist/react/es/theme/components/app-bar.js.map +1 -1
  134. package/dist/react/es/theme/components/card.js +3 -3
  135. package/dist/react/es/theme/components/card.js.map +1 -1
  136. package/dist/react/es/theme/components/paper.js +3 -3
  137. package/dist/react/es/theme/components/paper.js.map +1 -1
  138. package/dist/react/es/theme/components/table.js +2 -2
  139. package/dist/react/es/theme/components/table.js.map +1 -1
  140. package/dist/react/es/theme/palette.dark.js +343 -0
  141. package/dist/react/es/theme/palette.dark.js.map +1 -0
  142. package/dist/react/es/theme/palette.js +11 -5
  143. package/dist/react/es/theme/palette.js.map +1 -1
  144. package/dist/react/es/theme/shadows.dark.js +32 -0
  145. package/dist/react/es/theme/shadows.dark.js.map +1 -0
  146. package/dist/react/es/theme/theme.dark.js +19 -0
  147. package/dist/react/es/theme/theme.dark.js.map +1 -0
  148. package/dist/react/types/stories/design/DeliveryLogos.stories.d.ts +12 -0
  149. package/dist/react/types/stories/design/Illustrations.stories.d.ts +12 -0
  150. package/dist/react/types/stories/design/PaymentLogos.stories.d.ts +12 -0
  151. package/dist/react/types/theme/palette.dark.d.ts +2 -0
  152. package/dist/react/types/theme/shadows.dark.d.ts +2 -0
  153. package/dist/react/types/theme/theme.dark.d.ts +1 -0
  154. package/dist/react/types/theme/types.d.ts +8 -2
  155. package/dist/styles/colors.css +33 -0
  156. package/dist/styles/root.css +10 -0
  157. package/dist/styles/states.css +47 -0
  158. package/dist/tsconfig.tsbuildinfo +1 -1
  159. package/package.json +5 -2
  160. package/dist/react/cjs/stories/css/Alert.stories.js +0 -69
  161. package/dist/react/cjs/stories/css/Alert.stories.js.map +0 -1
  162. package/dist/react/cjs/stories/css/Button.stories.js +0 -133
  163. package/dist/react/cjs/stories/css/Button.stories.js.map +0 -1
  164. package/dist/react/cjs/stories/css/Card.stories.js +0 -145
  165. package/dist/react/cjs/stories/css/Card.stories.js.map +0 -1
  166. package/dist/react/cjs/stories/css/Checkbox.stories.js +0 -138
  167. package/dist/react/cjs/stories/css/Checkbox.stories.js.map +0 -1
  168. package/dist/react/cjs/stories/css/ComponentReference.stories.js +0 -139
  169. package/dist/react/cjs/stories/css/ComponentReference.stories.js.map +0 -1
  170. package/dist/react/cjs/stories/css/Input.stories.js +0 -162
  171. package/dist/react/cjs/stories/css/Input.stories.js.map +0 -1
  172. package/dist/react/cjs/stories/css/ListItem.stories.js +0 -166
  173. package/dist/react/cjs/stories/css/ListItem.stories.js.map +0 -1
  174. package/dist/react/cjs/stories/css/Modal.stories.js +0 -121
  175. package/dist/react/cjs/stories/css/Modal.stories.js.map +0 -1
  176. package/dist/react/cjs/stories/css/Radio.stories.js +0 -118
  177. package/dist/react/cjs/stories/css/Radio.stories.js.map +0 -1
  178. package/dist/react/cjs/stories/css/Select.stories.js +0 -187
  179. package/dist/react/cjs/stories/css/Select.stories.js.map +0 -1
  180. package/dist/react/cjs/stories/css/Status.stories.js +0 -59
  181. package/dist/react/cjs/stories/css/Status.stories.js.map +0 -1
  182. package/dist/react/cjs/stories/css/Switch.stories.js +0 -136
  183. package/dist/react/cjs/stories/css/Switch.stories.js.map +0 -1
  184. package/dist/react/cjs/stories/css/Table.stories.js +0 -171
  185. package/dist/react/cjs/stories/css/Table.stories.js.map +0 -1
  186. package/dist/react/cjs/stories/css/Tooltip.stories.js +0 -99
  187. package/dist/react/cjs/stories/css/Tooltip.stories.js.map +0 -1
  188. package/dist/react/cjs/stories/css/Utilities.stories.js +0 -136
  189. package/dist/react/cjs/stories/css/Utilities.stories.js.map +0 -1
  190. package/dist/react/cjs/stories/design/Colors.stories.js +0 -142
  191. package/dist/react/cjs/stories/design/Colors.stories.js.map +0 -1
  192. package/dist/react/cjs/stories/design/Typography.stories.js +0 -116
  193. package/dist/react/cjs/stories/design/Typography.stories.js.map +0 -1
  194. package/dist/react/cjs/stories/design/spacing/CSS.stories.js +0 -61
  195. package/dist/react/cjs/stories/design/spacing/CSS.stories.js.map +0 -1
  196. package/dist/react/cjs/stories/design/spacing/React.stories.js +0 -102
  197. package/dist/react/cjs/stories/design/spacing/React.stories.js.map +0 -1
  198. package/dist/react/cjs/stories/react/AppAlert.stories.js +0 -149
  199. package/dist/react/cjs/stories/react/AppAlert.stories.js.map +0 -1
  200. package/dist/react/cjs/stories/react/AppButton.stories.js +0 -93
  201. package/dist/react/cjs/stories/react/AppButton.stories.js.map +0 -1
  202. package/dist/react/cjs/stories/react/AppCheckbox.stories.js +0 -67
  203. package/dist/react/cjs/stories/react/AppCheckbox.stories.js.map +0 -1
  204. package/dist/react/cjs/stories/react/AppDialog.stories.js +0 -129
  205. package/dist/react/cjs/stories/react/AppDialog.stories.js.map +0 -1
  206. package/dist/react/cjs/stories/react/AppDialogWithFeatures.stories.js +0 -127
  207. package/dist/react/cjs/stories/react/AppDialogWithFeatures.stories.js.map +0 -1
  208. package/dist/react/cjs/stories/react/AppEmptyState.stories.js +0 -157
  209. package/dist/react/cjs/stories/react/AppEmptyState.stories.js.map +0 -1
  210. package/dist/react/cjs/stories/react/AppIconButton.stories.js +0 -53
  211. package/dist/react/cjs/stories/react/AppIconButton.stories.js.map +0 -1
  212. package/dist/react/cjs/stories/react/AppIconWithTooltip.stories.js +0 -36
  213. package/dist/react/cjs/stories/react/AppIconWithTooltip.stories.js.map +0 -1
  214. package/dist/react/cjs/stories/react/AppInputBase.stories.js +0 -158
  215. package/dist/react/cjs/stories/react/AppInputBase.stories.js.map +0 -1
  216. package/dist/react/cjs/stories/react/AppInputBaseSearch.stories.js +0 -87
  217. package/dist/react/cjs/stories/react/AppInputBaseSearch.stories.js.map +0 -1
  218. package/dist/react/cjs/stories/react/AppInputRadio.stories.js +0 -262
  219. package/dist/react/cjs/stories/react/AppInputRadio.stories.js.map +0 -1
  220. package/dist/react/cjs/stories/react/AppInputRadioCard.stories.js +0 -126
  221. package/dist/react/cjs/stories/react/AppInputRadioCard.stories.js.map +0 -1
  222. package/dist/react/cjs/stories/react/AppListItem.stories.js +0 -123
  223. package/dist/react/cjs/stories/react/AppListItem.stories.js.map +0 -1
  224. package/dist/react/cjs/stories/react/AppOverflownTextWithTooltip.stories.js +0 -41
  225. package/dist/react/cjs/stories/react/AppOverflownTextWithTooltip.stories.js.map +0 -1
  226. package/dist/react/cjs/stories/react/AppPagination.stories.js +0 -71
  227. package/dist/react/cjs/stories/react/AppPagination.stories.js.map +0 -1
  228. package/dist/react/cjs/stories/react/AppRadioGroup.stories.js +0 -145
  229. package/dist/react/cjs/stories/react/AppRadioGroup.stories.js.map +0 -1
  230. package/dist/react/cjs/stories/react/AppStatus.stories.js +0 -68
  231. package/dist/react/cjs/stories/react/AppStatus.stories.js.map +0 -1
  232. package/dist/react/cjs/stories/react/AppSwitch.stories.js +0 -138
  233. package/dist/react/cjs/stories/react/AppSwitch.stories.js.map +0 -1
  234. package/dist/react/cjs/stories/react/AppTabs.stories.js +0 -100
  235. package/dist/react/cjs/stories/react/AppTabs.stories.js.map +0 -1
  236. package/dist/react/cjs/stories/react/AppTooltip.stories.js +0 -119
  237. package/dist/react/cjs/stories/react/AppTooltip.stories.js.map +0 -1
  238. package/dist/react/cjs/stories/react/AppTypography.stories.js +0 -172
  239. package/dist/react/cjs/stories/react/AppTypography.stories.js.map +0 -1
  240. package/dist/react/es/stories/css/Alert.stories.js +0 -69
  241. package/dist/react/es/stories/css/Alert.stories.js.map +0 -1
  242. package/dist/react/es/stories/css/Button.stories.js +0 -133
  243. package/dist/react/es/stories/css/Button.stories.js.map +0 -1
  244. package/dist/react/es/stories/css/Card.stories.js +0 -145
  245. package/dist/react/es/stories/css/Card.stories.js.map +0 -1
  246. package/dist/react/es/stories/css/Checkbox.stories.js +0 -138
  247. package/dist/react/es/stories/css/Checkbox.stories.js.map +0 -1
  248. package/dist/react/es/stories/css/ComponentReference.stories.js +0 -139
  249. package/dist/react/es/stories/css/ComponentReference.stories.js.map +0 -1
  250. package/dist/react/es/stories/css/Input.stories.js +0 -162
  251. package/dist/react/es/stories/css/Input.stories.js.map +0 -1
  252. package/dist/react/es/stories/css/ListItem.stories.js +0 -166
  253. package/dist/react/es/stories/css/ListItem.stories.js.map +0 -1
  254. package/dist/react/es/stories/css/Modal.stories.js +0 -121
  255. package/dist/react/es/stories/css/Modal.stories.js.map +0 -1
  256. package/dist/react/es/stories/css/Radio.stories.js +0 -118
  257. package/dist/react/es/stories/css/Radio.stories.js.map +0 -1
  258. package/dist/react/es/stories/css/Select.stories.js +0 -187
  259. package/dist/react/es/stories/css/Select.stories.js.map +0 -1
  260. package/dist/react/es/stories/css/Status.stories.js +0 -59
  261. package/dist/react/es/stories/css/Status.stories.js.map +0 -1
  262. package/dist/react/es/stories/css/Switch.stories.js +0 -136
  263. package/dist/react/es/stories/css/Switch.stories.js.map +0 -1
  264. package/dist/react/es/stories/css/Table.stories.js +0 -171
  265. package/dist/react/es/stories/css/Table.stories.js.map +0 -1
  266. package/dist/react/es/stories/css/Tooltip.stories.js +0 -99
  267. package/dist/react/es/stories/css/Tooltip.stories.js.map +0 -1
  268. package/dist/react/es/stories/css/Utilities.stories.js +0 -136
  269. package/dist/react/es/stories/css/Utilities.stories.js.map +0 -1
  270. package/dist/react/es/stories/design/Colors.stories.js +0 -142
  271. package/dist/react/es/stories/design/Colors.stories.js.map +0 -1
  272. package/dist/react/es/stories/design/Typography.stories.js +0 -116
  273. package/dist/react/es/stories/design/Typography.stories.js.map +0 -1
  274. package/dist/react/es/stories/design/spacing/CSS.stories.js +0 -61
  275. package/dist/react/es/stories/design/spacing/CSS.stories.js.map +0 -1
  276. package/dist/react/es/stories/design/spacing/React.stories.js +0 -102
  277. package/dist/react/es/stories/design/spacing/React.stories.js.map +0 -1
  278. package/dist/react/es/stories/react/AppAlert.stories.js +0 -149
  279. package/dist/react/es/stories/react/AppAlert.stories.js.map +0 -1
  280. package/dist/react/es/stories/react/AppButton.stories.js +0 -93
  281. package/dist/react/es/stories/react/AppButton.stories.js.map +0 -1
  282. package/dist/react/es/stories/react/AppCheckbox.stories.js +0 -67
  283. package/dist/react/es/stories/react/AppCheckbox.stories.js.map +0 -1
  284. package/dist/react/es/stories/react/AppDialog.stories.js +0 -129
  285. package/dist/react/es/stories/react/AppDialog.stories.js.map +0 -1
  286. package/dist/react/es/stories/react/AppDialogWithFeatures.stories.js +0 -127
  287. package/dist/react/es/stories/react/AppDialogWithFeatures.stories.js.map +0 -1
  288. package/dist/react/es/stories/react/AppEmptyState.stories.js +0 -157
  289. package/dist/react/es/stories/react/AppEmptyState.stories.js.map +0 -1
  290. package/dist/react/es/stories/react/AppIconButton.stories.js +0 -53
  291. package/dist/react/es/stories/react/AppIconButton.stories.js.map +0 -1
  292. package/dist/react/es/stories/react/AppIconWithTooltip.stories.js +0 -36
  293. package/dist/react/es/stories/react/AppIconWithTooltip.stories.js.map +0 -1
  294. package/dist/react/es/stories/react/AppInputBase.stories.js +0 -158
  295. package/dist/react/es/stories/react/AppInputBase.stories.js.map +0 -1
  296. package/dist/react/es/stories/react/AppInputBaseSearch.stories.js +0 -87
  297. package/dist/react/es/stories/react/AppInputBaseSearch.stories.js.map +0 -1
  298. package/dist/react/es/stories/react/AppInputRadio.stories.js +0 -262
  299. package/dist/react/es/stories/react/AppInputRadio.stories.js.map +0 -1
  300. package/dist/react/es/stories/react/AppInputRadioCard.stories.js +0 -126
  301. package/dist/react/es/stories/react/AppInputRadioCard.stories.js.map +0 -1
  302. package/dist/react/es/stories/react/AppListItem.stories.js +0 -123
  303. package/dist/react/es/stories/react/AppListItem.stories.js.map +0 -1
  304. package/dist/react/es/stories/react/AppOverflownTextWithTooltip.stories.js +0 -41
  305. package/dist/react/es/stories/react/AppOverflownTextWithTooltip.stories.js.map +0 -1
  306. package/dist/react/es/stories/react/AppPagination.stories.js +0 -71
  307. package/dist/react/es/stories/react/AppPagination.stories.js.map +0 -1
  308. package/dist/react/es/stories/react/AppRadioGroup.stories.js +0 -145
  309. package/dist/react/es/stories/react/AppRadioGroup.stories.js.map +0 -1
  310. package/dist/react/es/stories/react/AppStatus.stories.js +0 -68
  311. package/dist/react/es/stories/react/AppStatus.stories.js.map +0 -1
  312. package/dist/react/es/stories/react/AppSwitch.stories.js +0 -138
  313. package/dist/react/es/stories/react/AppSwitch.stories.js.map +0 -1
  314. package/dist/react/es/stories/react/AppTabs.stories.js +0 -100
  315. package/dist/react/es/stories/react/AppTabs.stories.js.map +0 -1
  316. package/dist/react/es/stories/react/AppTooltip.stories.js +0 -119
  317. package/dist/react/es/stories/react/AppTooltip.stories.js.map +0 -1
  318. package/dist/react/es/stories/react/AppTypography.stories.js +0 -172
  319. package/dist/react/es/stories/react/AppTypography.stories.js.map +0 -1
  320. package/dist/react/zidmui.css +0 -3062
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const shadowsDark = [
4
+ "none",
5
+ "0px 1px 2px 0px rgba(0, 0, 0, 0.40)",
6
+ "0px 1px 2px 0px rgba(0, 0, 0, 0.40), 0px 1px 3px 0px rgba(0, 0, 0, 0.45)",
7
+ "0px 2px 4px -2px rgba(0, 0, 0, 0.40), 0px 4px 8px -2px rgba(0, 0, 0, 0.50)",
8
+ "0px 2px 6px -2px rgba(0, 0, 0, 0.35), 0px 12px 16px -4px rgba(0, 0, 0, 0.50)",
9
+ "0px 3px 5px -1px rgba(0, 0, 0, 0.20), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12)",
10
+ "0px 3px 5px -1px rgba(0, 0, 0, 0.20), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)",
11
+ "0px 4px 5px -2px rgba(0, 0, 0, 0.20), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)",
12
+ "0px 4px 5px -2px rgba(0, 0, 0, 0.20), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)",
13
+ // Additional shadows for MUI compatibility (9-24)
14
+ "0px 5px 5px -3px rgba(0, 0, 0, 0.20), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)",
15
+ "0px 5px 6px -3px rgba(0, 0, 0, 0.20), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12)",
16
+ "0px 6px 6px -3px rgba(0, 0, 0, 0.20), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12)",
17
+ "0px 6px 7px -4px rgba(0, 0, 0, 0.20), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12)",
18
+ "0px 7px 8px -4px rgba(0, 0, 0, 0.20), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)",
19
+ "0px 7px 8px -4px rgba(0, 0, 0, 0.20), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12)",
20
+ "0px 7px 9px -4px rgba(0, 0, 0, 0.20), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12)",
21
+ "0px 8px 9px -5px rgba(0, 0, 0, 0.20), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12)",
22
+ "0px 8px 10px -5px rgba(0, 0, 0, 0.20), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)",
23
+ "0px 8px 11px -5px rgba(0, 0, 0, 0.20), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12)",
24
+ "0px 9px 11px -5px rgba(0, 0, 0, 0.20), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12)",
25
+ "0px 9px 12px -6px rgba(0, 0, 0, 0.20), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12)",
26
+ "0px 10px 13px -6px rgba(0, 0, 0, 0.20), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12)",
27
+ "0px 10px 13px -6px rgba(0, 0, 0, 0.20), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12)",
28
+ "0px 10px 14px -6px rgba(0, 0, 0, 0.20), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12)",
29
+ "0px 11px 14px -7px rgba(0, 0, 0, 0.20), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12)"
30
+ ];
31
+ exports.shadowsDark = shadowsDark;
32
+ //# sourceMappingURL=shadows.dark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.dark.js","sources":["../../../../src/theme/shadows.dark.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { ThemeOptions } from '@mui/material';\n\n//\n//\n\nexport const shadowsDark: ThemeOptions['shadows'] = [\n 'none',\n '0px 1px 2px 0px rgba(0, 0, 0, 0.40)',\n '0px 1px 2px 0px rgba(0, 0, 0, 0.40), 0px 1px 3px 0px rgba(0, 0, 0, 0.45)',\n '0px 2px 4px -2px rgba(0, 0, 0, 0.40), 0px 4px 8px -2px rgba(0, 0, 0, 0.50)',\n '0px 2px 6px -2px rgba(0, 0, 0, 0.35), 0px 12px 16px -4px rgba(0, 0, 0, 0.50)',\n '0px 3px 5px -1px rgba(0, 0, 0, 0.20), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12)',\n '0px 3px 5px -1px rgba(0, 0, 0, 0.20), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)',\n '0px 4px 5px -2px rgba(0, 0, 0, 0.20), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)',\n '0px 4px 5px -2px rgba(0, 0, 0, 0.20), 0px 7px 10px 1px rgba(0, 0, 0, 0.14), 0px 2px 16px 1px rgba(0, 0, 0, 0.12)',\n // Additional shadows for MUI compatibility (9-24)\n '0px 5px 5px -3px rgba(0, 0, 0, 0.20), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)',\n '0px 5px 6px -3px rgba(0, 0, 0, 0.20), 0px 9px 12px 1px rgba(0, 0, 0, 0.14), 0px 3px 16px 2px rgba(0, 0, 0, 0.12)',\n '0px 6px 6px -3px rgba(0, 0, 0, 0.20), 0px 10px 14px 1px rgba(0, 0, 0, 0.14), 0px 4px 18px 3px rgba(0, 0, 0, 0.12)',\n '0px 6px 7px -4px rgba(0, 0, 0, 0.20), 0px 11px 15px 1px rgba(0, 0, 0, 0.14), 0px 4px 20px 3px rgba(0, 0, 0, 0.12)',\n '0px 7px 8px -4px rgba(0, 0, 0, 0.20), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)',\n '0px 7px 8px -4px rgba(0, 0, 0, 0.20), 0px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px 4px rgba(0, 0, 0, 0.12)',\n '0px 7px 9px -4px rgba(0, 0, 0, 0.20), 0px 14px 21px 2px rgba(0, 0, 0, 0.14), 0px 5px 26px 4px rgba(0, 0, 0, 0.12)',\n '0px 8px 9px -5px rgba(0, 0, 0, 0.20), 0px 15px 22px 2px rgba(0, 0, 0, 0.14), 0px 6px 28px 5px rgba(0, 0, 0, 0.12)',\n '0px 8px 10px -5px rgba(0, 0, 0, 0.20), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12)',\n '0px 8px 11px -5px rgba(0, 0, 0, 0.20), 0px 17px 26px 2px rgba(0, 0, 0, 0.14), 0px 6px 32px 5px rgba(0, 0, 0, 0.12)',\n '0px 9px 11px -5px rgba(0, 0, 0, 0.20), 0px 18px 28px 2px rgba(0, 0, 0, 0.14), 0px 7px 34px 6px rgba(0, 0, 0, 0.12)',\n '0px 9px 12px -6px rgba(0, 0, 0, 0.20), 0px 19px 29px 2px rgba(0, 0, 0, 0.14), 0px 7px 36px 6px rgba(0, 0, 0, 0.12)',\n '0px 10px 13px -6px rgba(0, 0, 0, 0.20), 0px 20px 31px 3px rgba(0, 0, 0, 0.14), 0px 8px 38px 7px rgba(0, 0, 0, 0.12)',\n '0px 10px 13px -6px rgba(0, 0, 0, 0.20), 0px 21px 33px 3px rgba(0, 0, 0, 0.14), 0px 8px 40px 7px rgba(0, 0, 0, 0.12)',\n '0px 10px 14px -6px rgba(0, 0, 0, 0.20), 0px 22px 35px 3px rgba(0, 0, 0, 0.14), 0px 8px 42px 7px rgba(0, 0, 0, 0.12)',\n '0px 11px 14px -7px rgba(0, 0, 0, 0.20), 0px 23px 36px 3px rgba(0, 0, 0, 0.14), 0px 9px 44px 8px rgba(0, 0, 0, 0.12)',\n] as unknown as ThemeOptions['shadows'];\n"],"names":[],"mappings":";;AAMO,MAAM,cAAuC;AAAA,EAClD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const material = require("@mui/material");
4
+ const components = require("./components.js");
5
+ const palette_dark = require("./palette.dark.js");
6
+ const shadows_dark = require("./shadows.dark.js");
7
+ const typography = require("./typography.js");
8
+ const themeParcelDark = material.createTheme({
9
+ shape: {
10
+ borderRadius: 8,
11
+ standardBorderRadius: 12
12
+ },
13
+ typography: typography.typography,
14
+ components: components.components,
15
+ palette: palette_dark.paletteDark,
16
+ shadows: shadows_dark.shadowsDark
17
+ });
18
+ exports.themeParcelDark = themeParcelDark;
19
+ //# sourceMappingURL=theme.dark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.dark.js","sources":["../../../../src/theme/theme.dark.ts"],"sourcesContent":["import { createTheme } from '@mui/material';\n\nimport { components } from './components';\nimport { paletteDark } from './palette.dark';\nimport { shadowsDark } from './shadows.dark';\nimport { typography } from './typography';\n\n//\n//\n\nexport const themeParcelDark = createTheme({\n shape: {\n borderRadius: 8,\n standardBorderRadius: 12,\n },\n typography,\n components,\n palette: paletteDark,\n shadows: shadowsDark,\n});\n"],"names":["createTheme","typography","components","paletteDark","shadowsDark"],"mappings":";;;;;;;AAUO,MAAM,kBAAkBA,SAAAA,YAAY;AAAA,EACzC,OAAO;AAAA,IACL,cAAc;AAAA,IACd,sBAAsB;AAAA,EAAA;AAAA,EACxB,YACAC,WAAAA;AAAAA,EAAA,YACAC,WAAAA;AAAAA,EACA,SAASC,aAAAA;AAAAA,EACT,SAASC,aAAAA;AACX,CAAC;;"}
@@ -2,6 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useTheme, Dialog, DialogTitle, DialogContent, DialogActions } from "@mui/material";
3
3
  import { AppTypography } from "./app-typography.js";
4
4
  import { StackColumn } from "./stack-column.js";
5
+ const resolveSlotProps = (slot) => typeof slot === "function" ? {} : slot ?? {};
5
6
  const AppDialog = ({
6
7
  title,
7
8
  description,
@@ -25,13 +26,13 @@ const AppDialog = ({
25
26
  slotProps: {
26
27
  paper: {
27
28
  elevation: 4,
28
- ...slotProps?.paper
29
+ ...resolveSlotProps(slotProps?.paper)
29
30
  },
30
31
  backdrop: {
31
32
  sx: {
32
33
  backgroundColor: darkerBackdrop ? theme.palette.background.darkBackdrop : ""
33
34
  },
34
- ...slotProps?.backdrop
35
+ ...resolveSlotProps(slotProps?.backdrop)
35
36
  }
36
37
  },
37
38
  ...props,
@@ -1 +1 @@
1
- {"version":3,"file":"app-dialog.js","sources":["../../../../src/components/app-dialog.tsx"],"sourcesContent":["import {\n Dialog,\n DialogProps,\n DialogActions,\n DialogActionsProps,\n DialogContent,\n DialogContentProps,\n DialogTitle,\n DialogTitleProps,\n StackProps,\n useTheme,\n} from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\n\n//\n//\n\nexport type AppDialogProps = DialogProps & {\n title?: React.ReactNode;\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n titleStackProps?: StackProps;\n titleProps?: DialogTitleProps;\n actions?: React.ReactNode;\n actionsProps?: DialogActionsProps;\n children?: React.ReactNode;\n dialogContentProps?: DialogContentProps;\n darkerBackdrop?: boolean;\n};\n\nexport const AppDialog = ({\n title,\n description,\n descriptionProps,\n children,\n titleStackProps,\n actions,\n titleProps,\n actionsProps,\n darkerBackdrop,\n dialogContentProps,\n slotProps,\n ...props\n}: AppDialogProps) => {\n const theme = useTheme();\n\n return (\n <Dialog\n fullWidth\n maxWidth=\"sm\"\n slotProps={{\n paper: {\n elevation: 4,\n ...slotProps?.paper,\n },\n backdrop: {\n sx: {\n backgroundColor: darkerBackdrop ? theme.palette.background.darkBackdrop : '',\n },\n ...slotProps?.backdrop,\n },\n }}\n {...props}\n >\n {(title || description) && (\n <DialogTitle {...titleProps}>\n <StackColumn {...titleStackProps} gap={3}>\n {title}\n {description && (\n <AppTypography variant=\"body2\" {...descriptionProps}>\n {description}\n </AppTypography>\n )}\n </StackColumn>\n </DialogTitle>\n )}\n <DialogContent {...dialogContentProps}>{children}</DialogContent>\n\n {actions && <DialogActions {...actionsProps}>{actions}</DialogActions>}\n </Dialog>\n );\n};\n"],"names":[],"mappings":";;;;AA+BO,MAAM,YAAY,CAAC;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAsB;AACpB,QAAM,QAAQ,SAAA;AAEd,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAS;AAAA,MACT,UAAS;AAAA,MACT,WAAW;AAAA,QACT,OAAO;AAAA,UACL,WAAW;AAAA,UACX,GAAG,WAAW;AAAA,QAAA;AAAA,QAEhB,UAAU;AAAA,UACR,IAAI;AAAA,YACF,iBAAiB,iBAAiB,MAAM,QAAQ,WAAW,eAAe;AAAA,UAAA;AAAA,UAE5E,GAAG,WAAW;AAAA,QAAA;AAAA,MAChB;AAAA,MAED,GAAG;AAAA,MAEF,UAAA;AAAA,SAAA,SAAS,gBACT,oBAAC,aAAA,EAAa,GAAG,YACf,+BAAC,aAAA,EAAa,GAAG,iBAAiB,KAAK,GACpC,UAAA;AAAA,UAAA;AAAA,UACA,eACC,oBAAC,eAAA,EAAc,SAAQ,SAAS,GAAG,kBAChC,UAAA,YAAA,CACH;AAAA,QAAA,EAAA,CAEJ,EAAA,CACF;AAAA,QAEF,oBAAC,eAAA,EAAe,GAAG,oBAAqB,SAAA,CAAS;AAAA,QAEhD,WAAW,oBAAC,eAAA,EAAe,GAAG,cAAe,UAAA,QAAA,CAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG5D;"}
1
+ {"version":3,"file":"app-dialog.js","sources":["../../../../src/components/app-dialog.tsx"],"sourcesContent":["import {\n Dialog,\n DialogProps,\n DialogActions,\n DialogActionsProps,\n DialogContent,\n DialogContentProps,\n DialogTitle,\n DialogTitleProps,\n StackProps,\n useTheme,\n} from '@mui/material';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackColumn } from './stack-column';\n\n//\n//\n\nconst resolveSlotProps = <T,>(slot: T | ((...args: unknown[]) => T) | undefined): Partial<T> =>\n typeof slot === 'function' ? {} : ((slot ?? {}) as Partial<T>);\n\nexport type AppDialogProps = DialogProps & {\n title?: React.ReactNode;\n description?: React.ReactNode;\n descriptionProps?: AppTypographyProps;\n titleStackProps?: StackProps;\n titleProps?: DialogTitleProps;\n actions?: React.ReactNode;\n actionsProps?: DialogActionsProps;\n children?: React.ReactNode;\n dialogContentProps?: DialogContentProps;\n darkerBackdrop?: boolean;\n};\n\nexport const AppDialog = ({\n title,\n description,\n descriptionProps,\n children,\n titleStackProps,\n actions,\n titleProps,\n actionsProps,\n darkerBackdrop,\n dialogContentProps,\n slotProps,\n ...props\n}: AppDialogProps) => {\n const theme = useTheme();\n\n return (\n <Dialog\n fullWidth\n maxWidth=\"sm\"\n slotProps={{\n paper: {\n elevation: 4,\n ...resolveSlotProps(slotProps?.paper),\n },\n backdrop: {\n sx: {\n backgroundColor: darkerBackdrop ? theme.palette.background.darkBackdrop : '',\n },\n ...resolveSlotProps(slotProps?.backdrop),\n },\n }}\n {...props}\n >\n {(title || description) && (\n <DialogTitle {...titleProps}>\n <StackColumn {...titleStackProps} gap={3}>\n {title}\n {description && (\n <AppTypography variant=\"body2\" {...descriptionProps}>\n {description}\n </AppTypography>\n )}\n </StackColumn>\n </DialogTitle>\n )}\n <DialogContent {...dialogContentProps}>{children}</DialogContent>\n\n {actions && <DialogActions {...actionsProps}>{actions}</DialogActions>}\n </Dialog>\n );\n};\n"],"names":[],"mappings":";;;;AAkBA,MAAM,mBAAmB,CAAK,SAC5B,OAAO,SAAS,aAAa,CAAA,IAAO,QAAQ,CAAA;AAevC,MAAM,YAAY,CAAC;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAsB;AACpB,QAAM,QAAQ,SAAA;AAEd,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAS;AAAA,MACT,UAAS;AAAA,MACT,WAAW;AAAA,QACT,OAAO;AAAA,UACL,WAAW;AAAA,UACX,GAAG,iBAAiB,WAAW,KAAK;AAAA,QAAA;AAAA,QAEtC,UAAU;AAAA,UACR,IAAI;AAAA,YACF,iBAAiB,iBAAiB,MAAM,QAAQ,WAAW,eAAe;AAAA,UAAA;AAAA,UAE5E,GAAG,iBAAiB,WAAW,QAAQ;AAAA,QAAA;AAAA,MACzC;AAAA,MAED,GAAG;AAAA,MAEF,UAAA;AAAA,SAAA,SAAS,gBACT,oBAAC,aAAA,EAAa,GAAG,YACf,+BAAC,aAAA,EAAa,GAAG,iBAAiB,KAAK,GACpC,UAAA;AAAA,UAAA;AAAA,UACA,eACC,oBAAC,eAAA,EAAc,SAAQ,SAAS,GAAG,kBAChC,UAAA,YAAA,CACH;AAAA,QAAA,EAAA,CAEJ,EAAA,CACF;AAAA,QAEF,oBAAC,eAAA,EAAe,GAAG,oBAAqB,SAAA,CAAS;AAAA,QAEhD,WAAW,oBAAC,eAAA,EAAe,GAAG,cAAe,UAAA,QAAA,CAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG5D;"}
@@ -67,6 +67,9 @@ const AppListItem = ({
67
67
  textLabel,
68
68
  tooltip && /* @__PURE__ */ jsx(AppIconWithTooltip, { tooltip, iconProps: { sx: { fontSize: 16 } } })
69
69
  ] }),
70
+ slotProps: textLabelProps?.primary ? textLabelProps.slotProps : {
71
+ primary: { component: "div" }
72
+ },
70
73
  ...textLabelProps
71
74
  }
72
75
  ),
@@ -1 +1 @@
1
- {"version":3,"file":"app-list-item.js","sources":["../../../../src/components/app-list-item.tsx"],"sourcesContent":["import React from 'react';\n\nimport {\n ListItem,\n ListItemIcon,\n ListItemIconProps,\n ListItemProps,\n ListItemText,\n ListItemTextProps,\n styled,\n} from '@mui/material';\n\nimport { AppIconWithTooltip } from './app-icon-with-tooltip';\nimport { AppOverflownTextWithTooltip } from './app-overflown-text-with-tooltip';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppListItemProps = {\n icon?: React.ReactNode;\n iconProps?: ListItemIconProps;\n textLabel?: React.ReactNode;\n textLabelProps?: ListItemTextProps;\n textDescription?: React.ReactNode;\n textContent?: React.ReactNode;\n textContentProps?: AppTypographyProps;\n children?: React.ReactNode;\n labelSuffix?: React.ReactNode;\n tooltip?: string;\n} & Omit<ListItemProps, 'value'>;\n\nexport const AppListItem = ({\n icon,\n iconProps,\n textLabel,\n textDescription,\n textLabelProps = {},\n textContent,\n textContentProps,\n children,\n labelSuffix,\n tooltip,\n ...props\n}: AppListItemProps) => {\n if (typeof textDescription === 'string') {\n textLabelProps.secondary = (\n <AppOverflownTextWithTooltip\n title={textDescription}\n typographyProps={{ variant: 'body2', color: 'text.tertiary' }}\n twoLines\n />\n );\n } else if (textDescription) {\n textLabelProps.secondary = (\n <AppTypography variant=\"caption\" color=\"text.tertiary\">\n {textDescription}\n </AppTypography>\n );\n }\n\n //\n\n if (typeof textLabel === 'string') {\n textLabel = (\n <AppOverflownTextWithTooltip\n title={textLabel}\n typographyProps={{ variant: 'body2', color: 'text.secondary' }}\n />\n );\n } else {\n textLabel = (\n <AppTypography variant=\"body2\" color=\"text.secondary\">\n {textLabel}\n </AppTypography>\n );\n }\n\n if (labelSuffix) {\n textLabel = (\n <StackRow overflow=\"hidden\">\n {textLabel}\n {labelSuffix}\n </StackRow>\n );\n }\n\n //\n\n if (typeof textContent === 'string') {\n textContent = (\n <AppOverflownTextWithTooltip\n title={textContent}\n typographyProps={{ variant: 'body2', color: 'text.secondary' }}\n twoLines\n />\n );\n } else if (textContent) {\n textContent = (\n <AppTypography variant=\"body2\" color=\"text.secondary\">\n {textContent}\n </AppTypography>\n );\n }\n\n return (\n <ListItemStyled {...props}>\n {icon && <ListItemIcon {...iconProps}>{icon}</ListItemIcon>}\n {(textLabel || textLabelProps) && (\n <ListItemText\n primary={\n <StackRow gap={0.75}>\n {textLabel}\n\n {tooltip && (\n <AppIconWithTooltip tooltip={tooltip} iconProps={{ sx: { fontSize: 16 } }} />\n )}\n </StackRow>\n }\n {...textLabelProps}\n />\n )}\n {textContent && (\n <AppTypography variant=\"body2\" color=\"text.secondary\" {...textContentProps}>\n {textContent}\n </AppTypography>\n )}\n {children}\n </ListItemStyled>\n );\n};\n\ntype AppListItemContentProps = AppTypographyProps;\n\nexport const AppListItemContent: React.FC<AppListItemContentProps> = ({ children, ...props }) => {\n return (\n <AppTypography variant=\"body2\" color=\"text.secondary\" {...props}>\n {children}\n </AppTypography>\n );\n};\n\n//\n\nconst ListItemStyled = styled(ListItem)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(1.5),\n '.MuiListItemText-root': {\n minWidth: 200,\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(0.5),\n margin: theme.spacing(0.125),\n },\n}));\n"],"names":[],"mappings":";;;;;;AAiCO,MAAM,cAAc,CAAC;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB,CAAA;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAwB;AACtB,MAAI,OAAO,oBAAoB,UAAU;AACvC,mBAAe,YACb;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,gBAAA;AAAA,QAC5C,UAAQ;AAAA,MAAA;AAAA,IAAA;AAAA,EAGd,WAAW,iBAAiB;AAC1B,mBAAe,YACb,oBAAC,eAAA,EAAc,SAAQ,WAAU,OAAM,iBACpC,UAAA,gBAAA,CACH;AAAA,EAEJ;AAIA,MAAI,OAAO,cAAc,UAAU;AACjC,gBACE;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,iBAAA;AAAA,MAAiB;AAAA,IAAA;AAAA,EAGnE,OAAO;AACL,oCACG,eAAA,EAAc,SAAQ,SAAQ,OAAM,kBAClC,UAAA,WACH;AAAA,EAEJ;AAEA,MAAI,aAAa;AACf,gBACE,qBAAC,UAAA,EAAS,UAAS,UAChB,UAAA;AAAA,MAAA;AAAA,MACA;AAAA,IAAA,GACH;AAAA,EAEJ;AAIA,M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src/components/app-list-item.tsx"],"sourcesContent":["import React from 'react';\n\nimport {\n ListItem,\n ListItemIcon,\n ListItemIconProps,\n ListItemProps,\n ListItemText,\n ListItemTextProps,\n styled,\n} from '@mui/material';\n\nimport { AppIconWithTooltip } from './app-icon-with-tooltip';\nimport { AppOverflownTextWithTooltip } from './app-overflown-text-with-tooltip';\nimport { AppTypographyProps, AppTypography } from './app-typography';\nimport { StackRow } from './stack-row';\n\n//\n//\n\nexport type AppListItemProps = {\n icon?: React.ReactNode;\n iconProps?: ListItemIconProps;\n textLabel?: React.ReactNode;\n textLabelProps?: ListItemTextProps;\n textDescription?: React.ReactNode;\n textContent?: React.ReactNode;\n textContentProps?: AppTypographyProps;\n children?: React.ReactNode;\n labelSuffix?: React.ReactNode;\n tooltip?: string;\n} & Omit<ListItemProps, 'value'>;\n\nexport const AppListItem = ({\n icon,\n iconProps,\n textLabel,\n textDescription,\n textLabelProps = {},\n textContent,\n textContentProps,\n children,\n labelSuffix,\n tooltip,\n ...props\n}: AppListItemProps) => {\n if (typeof textDescription === 'string') {\n textLabelProps.secondary = (\n <AppOverflownTextWithTooltip\n title={textDescription}\n typographyProps={{ variant: 'body2', color: 'text.tertiary' }}\n twoLines\n />\n );\n } else if (textDescription) {\n textLabelProps.secondary = (\n <AppTypography variant=\"caption\" color=\"text.tertiary\">\n {textDescription}\n </AppTypography>\n );\n }\n\n //\n\n if (typeof textLabel === 'string') {\n textLabel = (\n <AppOverflownTextWithTooltip\n title={textLabel}\n typographyProps={{ variant: 'body2', color: 'text.secondary' }}\n />\n );\n } else {\n textLabel = (\n <AppTypography variant=\"body2\" color=\"text.secondary\">\n {textLabel}\n </AppTypography>\n );\n }\n\n if (labelSuffix) {\n textLabel = (\n <StackRow overflow=\"hidden\">\n {textLabel}\n {labelSuffix}\n </StackRow>\n );\n }\n\n //\n\n if (typeof textContent === 'string') {\n textContent = (\n <AppOverflownTextWithTooltip\n title={textContent}\n typographyProps={{ variant: 'body2', color: 'text.secondary' }}\n twoLines\n />\n );\n } else if (textContent) {\n textContent = (\n <AppTypography variant=\"body2\" color=\"text.secondary\">\n {textContent}\n </AppTypography>\n );\n }\n\n return (\n <ListItemStyled {...props}>\n {icon && <ListItemIcon {...iconProps}>{icon}</ListItemIcon>}\n {(textLabel || textLabelProps) && (\n <ListItemText\n primary={\n <StackRow gap={0.75}>\n {textLabel}\n\n {tooltip && (\n <AppIconWithTooltip tooltip={tooltip} iconProps={{ sx: { fontSize: 16 } }} />\n )}\n </StackRow>\n }\n slotProps={\n textLabelProps?.primary\n ? textLabelProps.slotProps\n : {\n primary: { component: 'div' },\n }\n }\n {...textLabelProps}\n />\n )}\n {textContent && (\n <AppTypography variant=\"body2\" color=\"text.secondary\" {...textContentProps}>\n {textContent}\n </AppTypography>\n )}\n {children}\n </ListItemStyled>\n );\n};\n\ntype AppListItemContentProps = AppTypographyProps;\n\nexport const AppListItemContent: React.FC<AppListItemContentProps> = ({ children, ...props }) => {\n return (\n <AppTypography variant=\"body2\" color=\"text.secondary\" {...props}>\n {children}\n </AppTypography>\n );\n};\n\n//\n\nconst ListItemStyled = styled(ListItem)(({ theme }) => ({\n display: 'flex',\n gap: theme.spacing(1.5),\n '.MuiListItemText-root': {\n minWidth: 200,\n display: 'flex',\n flexDirection: 'column',\n gap: theme.spacing(0.5),\n margin: theme.spacing(0.125),\n },\n}));\n"],"names":[],"mappings":";;;;;;AAiCO,MAAM,cAAc,CAAC;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB,CAAA;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAwB;AACtB,MAAI,OAAO,oBAAoB,UAAU;AACvC,mBAAe,YACb;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,OAAO;AAAA,QACP,iBAAiB,EAAE,SAAS,SAAS,OAAO,gBAAA;AAAA,QAC5C,UAAQ;AAAA,MAAA;AAAA,IAAA;AAAA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AAA,IAAA;AAAA,IAGP,mCACE,eAAA,EAAc,SAAQ,SAAQ,OAAM,kBAAkB,GAAG,kBACvD,UAAA,YAAA,CACH;AAAA,IAED;AAAA,EAAA,GACH;AAEJ;AAIO,MAAM,qBAAwD,CAAC,EAAE,UAAU,GAAG,YAAY;AAC/F,SACE,oBAAC,iBAAc,SAAQ,SAAQ,OAAM,kBAAkB,GAAG,OACvD,UACH;AAEJ;AAIA,MAAM,iBAAiB,OAAO,QAAQ,EAAE,CAAC,EAAE,aAAa;AAAA,EACtD,SAAS;AAAA,EACT,KAAK,MAAM,QAAQ,GAAG;AAAA,EACtB,yBAAyB;AAAA,IACvB,UAAU;AAAA,IACV,SAAS;AAAA,IACT,eAAe;AAAA,IACf,KAAK,MAAM,QAAQ,GAAG;AAAA,IACtB,QAAQ,MAAM,QAAQ,KAAK;AAAA,EAAA;AAE/B,EAAE;"}
@@ -10,13 +10,13 @@ const MuiAlert = {
10
10
  },
11
11
  "&.MuiAlert-colorError": {
12
12
  color: "inherit",
13
- borderColor: theme.palette.colors.red[300],
14
- background: theme.palette.colors.red[100],
13
+ borderColor: theme.palette._components.alert.error.border,
14
+ background: theme.palette._components.alert.error.background,
15
15
  ".MuiAlert-icon": {
16
- color: theme.palette.colors.red[400]
16
+ color: theme.palette._components.alert.error.icon
17
17
  },
18
18
  ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
19
- fill: theme.palette.colors.red[1e3]
19
+ fill: theme.palette._components.alert.error.color
20
20
  }
21
21
  },
22
22
  ".MuiTypography-root.MuiAlertTitle-root": {
@@ -43,35 +43,35 @@ const MuiAlert = {
43
43
  },
44
44
  "&.MuiAlert-colorWarning": {
45
45
  color: "inherit",
46
- borderColor: theme.palette.colors.yellow[500],
47
- background: theme.palette.colors.yellow[100],
46
+ borderColor: theme.palette._components.alert.warning.border,
47
+ background: theme.palette._components.alert.warning.background,
48
48
  ".MuiAlert-icon": {
49
- color: theme.palette.colors.yellow[700]
49
+ color: theme.palette._components.alert.warning.icon
50
50
  },
51
51
  ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
52
- fill: "#6F673B"
52
+ fill: theme.palette._components.alert.warning.color
53
53
  }
54
54
  },
55
55
  "&.MuiAlert-colorInfo": {
56
56
  color: "inherit",
57
- borderColor: theme.palette.colors.blue[400],
58
- background: theme.palette.colors.blue[100],
57
+ borderColor: theme.palette._components.alert.info.border,
58
+ background: theme.palette._components.alert.info.background,
59
59
  ".MuiAlert-icon": {
60
- color: theme.palette.colors.blue[900]
60
+ color: theme.palette._components.alert.info.icon
61
61
  },
62
62
  ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
63
- fill: theme.palette.colors.blue[1e3]
63
+ fill: theme.palette._components.alert.info.color
64
64
  }
65
65
  },
66
66
  "&.MuiAlert-colorSuccess": {
67
67
  color: "inherit",
68
- borderColor: theme.palette.colors.green[400],
69
- background: theme.palette.colors.green[100],
68
+ borderColor: theme.palette._components.alert.success.border,
69
+ background: theme.palette._components.alert.success.background,
70
70
  ".MuiAlert-icon": {
71
- color: theme.palette.colors.green[600]
71
+ color: theme.palette._components.alert.success.icon
72
72
  },
73
73
  ".MuiAlert-action .MuiSvgIcon-fontSizeSmall": {
74
- fill: theme.palette.colors.green[1e3]
74
+ fill: theme.palette._components.alert.success.color
75
75
  }
76
76
  }
77
77
  })
@@ -1 +1 @@
1
- {"version":3,"file":"alert.js","sources":["../../../../../src/theme/components/alert.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\n//\n\nexport const MuiAlert: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiAlert'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n borderStyle: 'solid',\n borderWidth: 1,\n borderRadius: 12,\n flexWrap: 'wrap',\n [theme.breakpoints.down('md')]: {\n paddingInline: theme.spacing(1),\n },\n '&.MuiAlert-colorError': {\n color: 'inherit',\n borderColor: theme.palette.colors.red[300],\n background: theme.palette.colors.red[100],\n '.MuiAlert-icon': {\n color: theme.palette.colors.red[400],\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette.colors.red[1000],\n },\n },\n '.MuiTypography-root.MuiAlertTitle-root': {\n margin: 0,\n },\n '.MuiAlert-icon': {\n flex: 0,\n paddingBlock: theme.spacing(0.75),\n alignItems: 'flex-start',\n },\n '.MuiAlert-message': {\n flex: 1,\n paddingBlock: theme.spacing(0.75),\n display: 'flex',\n alignItems: 'center',\n },\n '.MuiAlert-action': {\n paddingTop: theme.spacing(0.25),\n marginRight: 0,\n alignItems: 'flex-start',\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(0.5),\n },\n },\n '&.MuiAlert-colorWarning': {\n color: 'inherit',\n borderColor: theme.palette.colors.yellow[500],\n background: theme.palette.colors.yellow[100],\n '.MuiAlert-icon': {\n color: theme.palette.colors.yellow[700],\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: '#6F673B',\n },\n },\n '&.MuiAlert-colorInfo': {\n color: 'inherit',\n borderColor: theme.palette.colors.blue[400],\n background: theme.palette.colors.blue[100],\n '.MuiAlert-icon': {\n color: theme.palette.colors.blue[900],\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette.colors.blue[1000],\n },\n },\n '&.MuiAlert-colorSuccess': {\n color: 'inherit',\n borderColor: theme.palette.colors.green[400],\n background: theme.palette.colors.green[100],\n '.MuiAlert-icon': {\n color: theme.palette.colors.green[600],\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette.colors.green[1000],\n },\n },\n }),\n },\n};\n"],"names":[],"mappings":"AAOO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,aAAa;AAAA,MACb,aAAa;AAAA,MACb,cAAc;AAAA,MACd,UAAU;AAAA,MACV,CAAC,MAAM,YAAY,KAAK,IAAI,CAAC,GAAG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C1C,YAAY,MAAM,QAAQ,OAAO,KAAK,GAAG;AAAA,QACzC,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,OAAO,KAAK,GAAG;AAAA,QAAA;AAAA,QAEtC,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,OAAO,KAAK,GAAI;AAAA,QAAA;AAAA,MACtC;AAAA,MAEF,2BAA2B;AAAA,QACzB,OAAO;AAAA,QACP,aAAa,MAAM,QAAQ,OAAO,MAAM,GAAG;AAAA,QAC3C,YAAY,MAAM,QAAQ,OAAO,MAAM,GAAG;AAAA,QAC1C,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,OAAO,MAAM,GAAG;AAAA,QAAA;AAAA,QAEvC,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,OAAO,MAAM,GAAI;AAAA,QAAA;AAAA,MACvC;AAAA,IACF;AAAA,EACF;AAEJ;"}
1
+ {"version":3,"file":"alert.js","sources":["../../../../../src/theme/components/alert.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material';\n\n//\n//\n\n//\n\nexport const MuiAlert: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiAlert'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n borderStyle: 'solid',\n borderWidth: 1,\n borderRadius: 12,\n flexWrap: 'wrap',\n [theme.breakpoints.down('md')]: {\n paddingInline: theme.spacing(1),\n },\n '&.MuiAlert-colorError': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.error.border,\n background: theme.palette._components.alert.error.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.error.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.error.color,\n },\n },\n '.MuiTypography-root.MuiAlertTitle-root': {\n margin: 0,\n },\n '.MuiAlert-icon': {\n flex: 0,\n paddingBlock: theme.spacing(0.75),\n alignItems: 'flex-start',\n },\n '.MuiAlert-message': {\n flex: 1,\n paddingBlock: theme.spacing(0.75),\n display: 'flex',\n alignItems: 'center',\n },\n '.MuiAlert-action': {\n paddingTop: theme.spacing(0.25),\n marginRight: 0,\n alignItems: 'flex-start',\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(0.5),\n },\n },\n '&.MuiAlert-colorWarning': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.warning.border,\n background: theme.palette._components.alert.warning.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.warning.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.warning.color,\n },\n },\n '&.MuiAlert-colorInfo': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.info.border,\n background: theme.palette._components.alert.info.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.info.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.info.color,\n },\n },\n '&.MuiAlert-colorSuccess': {\n color: 'inherit',\n borderColor: theme.palette._components.alert.success.border,\n background: theme.palette._components.alert.success.background,\n '.MuiAlert-icon': {\n color: theme.palette._components.alert.success.icon,\n },\n '.MuiAlert-action .MuiSvgIcon-fontSizeSmall': {\n fill: theme.palette._components.alert.success.color,\n },\n },\n }),\n },\n};\n"],"names":[],"mappings":"AAOO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,aAAa;AAAA,MACb,aAAa;AAAA,MACb,cAAc;AAAA,MACd,UAAU;AAAA,MACV,CAAC,MAAM,YAAY,KAAK,IAAI,CAAC,GAAG;AAAA,QAC9B,eAAe,MAAM,QAAQ,CAAC;AAAA,MAAA;AAAA,MAEhC,yBAAyB;AAAA,QACvB,OAAO;AAAA,QACP,aAAa,MAAM,QAAQ,YAAY,MAAM,MAAM;AAAA,QACnD,YAAY,MAAM,QAAQ,YAAY,MAAM,MAAM;AAAA,QAClD,kBAAkB;AAAA,UAChB,OAAO,MAA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K;AAAA,QAAA;AAAA,MAC7C;AAAA,MAEF,2BAA2B;AAAA,QACzB,OAAO;AAAA,QACP,aAAa,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QACrD,YAAY,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QACpD,kBAAkB;AAAA,UAChB,OAAO,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QAAA;AAAA,QAEjD,8CAA8C;AAAA,UAC5C,MAAM,MAAM,QAAQ,YAAY,MAAM,QAAQ;AAAA,QAAA;AAAA,MAChD;AAAA,IACF;AAAA,EACF;AAEJ;"}
@@ -1,9 +1,7 @@
1
- import { palette } from "../palette.js";
2
- import { shadows } from "../shadows.js";
3
1
  const MuiAppBar = {
4
2
  styleOverrides: {
5
3
  root: ({ theme }) => ({
6
- boxShadow: shadows?.[4],
4
+ boxShadow: theme.shadows[4],
7
5
  input: {
8
6
  fontSize: 14,
9
7
  "&:-webkit-autofill": {
@@ -124,8 +122,8 @@ const MuiAppBar = {
124
122
  {
125
123
  props: { color: "transparent" },
126
124
  style: ({ theme: theme2 }) => ({
127
- backgroundColor: palette?.background?.default,
128
- boxShadow: shadows?.[0],
125
+ backgroundColor: theme2.palette.background.default,
126
+ boxShadow: theme2.shadows[0],
129
127
  borderBottom: `1px solid ${theme2.palette?.outlined?.outlined_2}`,
130
128
  "& .MuiTextField-root": {
131
129
  "& .MuiOutlinedInput-root": {
@@ -1 +1 @@
1
- {"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nimport { palette } from '../palette';\nimport { shadows } from '../shadows';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: shadows?.[4],\n input: {\n fontSize: 14,\n '&:-webkit-autofill': {\n transitionDelay: '9999s !important',\n },\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n },\n '& form': {\n margin: 0,\n maxWidth: 564,\n width: '100%',\n '& .MuiFormControl-root': {\n marginTop: 0,\n },\n },\n //\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focusVisible,\n },\n },\n },\n }),\n },\n {\n props: { color: 'default' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.selected,\n },\n },\n },\n }),\n },\n {\n props: { color: 'secondary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder, &:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focus,\n },\n },\n },\n }),\n },\n {\n props: { color: 'inherit' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.hover,\n },\n },\n },\n }),\n },\n {\n props: { color: 'transparent' },\n style: ({ theme }) => ({\n backgroundColor: palette?.background?.default,\n boxShadow: shadows?.[0],\n borderBottom: `1px solid ${theme.palette?.outlined?.outlined_2}`,\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n borderColor: theme.palette?.outlined?.outlined,\n background: theme.palette?.common?.black_states?.hover,\n },\n '&.Mui-focused fieldset': {\n borderColor: theme.palette.primary.main,\n },\n '&:active fieldset': {\n borderColor: theme.palette.primary.main,\n },\n },\n },\n }),\n },\n ],\n }),\n },\n};\n"],"names":["theme"],"mappings":";;AAQO,MAAM,YAA2D;AAAA,EACtE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,WAAW,UAAU,CAAC;AAAA,MACtB,OAAO;AAAA,QACL,UAAU;AAAA,QACV,sBAAsB;AAAA,UACpB,iBAAiB;AAAA,QAAA;AAAA,QAEnB,gCAAgC;AAAA,UAC9B,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,QAE5B,uBAAuB;AAAA,UACrB,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,QAE5B,2BAA2B;AAAA,UACzB,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA;AAAA,MAC5B;AAAA,MAEF,UAAU;AAAA,QACR,QAAQ;AAAA,QACR,UAAU;AAAA,QACV,OAAO;AAAA,QACP,0BAA0B;AAAA,UACxB,WAAW;AAAA,QAAA;AAAA,MACb;AAAA;AAAA,MAGF,UAAU;AAAA,QACR;AAAA,UACE,OAAO,EAAE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F;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;"}
1
+ {"version":3,"file":"app-bar.js","sources":["../../../../../src/theme/components/app-bar.ts"],"sourcesContent":["import { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiAppBar: Components<Theme & CssVarsTheme>['MuiAppBar'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n boxShadow: theme.shadows[4],\n input: {\n fontSize: 14,\n '&:-webkit-autofill': {\n transitionDelay: '9999s !important',\n },\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.text.secondary,\n },\n },\n '& form': {\n margin: 0,\n maxWidth: 564,\n width: '100%',\n '& .MuiFormControl-root': {\n marginTop: 0,\n },\n },\n //\n variants: [\n {\n props: { color: 'primary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focusVisible,\n },\n },\n },\n }),\n },\n {\n props: { color: 'default' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.selected,\n },\n },\n },\n }),\n },\n {\n props: { color: 'secondary' },\n style: ({ theme }) => ({\n '& .MuiButtonBase-root.menuIcon > .MuiSvgIcon-root, .MuiButtonBase-root.searchIcon > .MuiSvgIcon-root':\n {\n color: theme.palette.common.white_states.main,\n },\n input: {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n '&::-webkit-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&::-moz-placeholder, &:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n '&:-ms-input-placeholder': {\n opacity: 1,\n color: theme.palette.primary.contrastText,\n },\n },\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.white_states.focus,\n },\n },\n },\n }),\n },\n {\n props: { color: 'inherit' },\n style: ({ theme }) => ({\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n border: 'none',\n background: theme.palette.common.black_states.hover,\n },\n },\n },\n }),\n },\n {\n props: { color: 'transparent' },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.background.default,\n boxShadow: theme.shadows[0],\n borderBottom: `1px solid ${theme.palette?.outlined?.outlined_2}`,\n '& .MuiTextField-root': {\n '& .MuiOutlinedInput-root': {\n '& fieldset': {\n borderColor: theme.palette?.outlined?.outlined,\n background: theme.palette?.common?.black_states?.hover,\n },\n '&.Mui-focused fieldset': {\n borderColor: theme.palette.primary.main,\n },\n '&:active fieldset': {\n borderColor: theme.palette.primary.main,\n },\n },\n },\n }),\n },\n ],\n }),\n },\n};\n"],"names":["theme"],"mappings":"AAKO,MAAM,YAA2D;AAAA,EACtE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,WAAW,MAAM,QAAQ,CAAC;AAAA,MAC1B,OAAO;AAAA,QACL,UAAU;AAAA,QACV,sBAAsB;AAAA,UACpB,iBAAiB;AAAA,QAAA;AAAA,QAEnB,gCAAgC;AAAA,UAC9B,SAAS;AAAA,UACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAAA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AAQ,CAAC;AAAA,YAC1B,cAAc,aAAaA,OAAM,SAAS,UAAU,UAAU;AAAA,YAC9D,wBAAwB;AAAA,cACtB,4BAA4B;AAAA,gBAC1B,cAAc;AAAA,kBACZ,aAAaA,OAAM,SAAS,UAAU;AAAA,kBACtC,YAAYA,OAAM,SAAS,QAAQ,cAAc;AAAA,gBAAA;AAAA,gBAEnD,0BAA0B;AAAA,kBACxB,aAAaA,OAAM,QAAQ,QAAQ;AAAA,gBAAA;AAAA,gBAErC,qBAAqB;AAAA,kBACnB,aAAaA,OAAM,QAAQ,QAAQ;AAAA,gBAAA;AAAA,cACrC;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;"}
@@ -1,18 +1,18 @@
1
1
  const MuiCard = {
2
2
  styleOverrides: {
3
- root: () => ({
3
+ root: ({ theme }) => ({
4
4
  borderRadius: 16,
5
5
  "& > .MuiCardContent-root:last-child": {
6
6
  paddingBottom: 16
7
7
  },
8
8
  "& .MuiCardContent-root .MuiCardContent-root": {
9
9
  borderRadius: 8,
10
- border: "1px solid #F2F2F2",
10
+ border: `1px solid ${theme.palette.outlined?.outlined_2}`,
11
11
  padding: 16
12
12
  },
13
13
  "& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root": {
14
14
  borderRadius: 4,
15
- backgroundColor: "#F8F8F8",
15
+ backgroundColor: theme.palette.background.gray,
16
16
  border: "none"
17
17
  },
18
18
  form: {
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","sources":["../../../../../src/theme/components/card.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiCard: Components<Omit<Theme, 'components' | 'palette'> & CssVarsTheme>['MuiCard'] =\n {\n styleOverrides: {\n root: () => ({\n borderRadius: 16,\n\n '& > .MuiCardContent-root:last-child': {\n paddingBottom: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 8,\n border: '1px solid #F2F2F2',\n padding: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 4,\n backgroundColor: '#F8F8F8',\n border: 'none',\n },\n\n form: {\n marginBottom: 0,\n },\n\n '& .MuiList-root:last-child .MuiListItem-root:last-of-type': {\n borderBottom: 'none',\n paddingBottom: 0,\n },\n }),\n },\n };\n"],"names":[],"mappings":"AAMO,MAAM,UACX;AAAA,EACE,gBAAgB;AAAA,IACd,MAAM,OAAO;AAAA,MACX,cAAc;AAAA,MAEd,uCAAuC;AAAA,QACrC,eAAe;AAAA,MAAA;AAAA,MAGjB,+CAA+C;AAAA,QAC7C,cAAc;AAAA,QACd,QAAQ;AAAA,QACR,SAAS;AAAA,MAAA;AAAA,MAGX,oEAAoE;AAAA,QAClE,cAAc;AAAA,QACd,iBAAiB;AAAA,QACjB,QAAQ;AAAA,MAAA;AAAA,MAGV,MAAM;AAAA,QACJ,cAAc;AAAA,MAAA;AAAA,MAGhB,8DAA8D;AAAA,QAC5D,cAAc;AAAA,QACd,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;"}
1
+ {"version":3,"file":"card.js","sources":["../../../../../src/theme/components/card.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiCard: Components<Omit<Theme, 'components' | 'palette'> & CssVarsTheme>['MuiCard'] =\n {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: 16,\n\n '& > .MuiCardContent-root:last-child': {\n paddingBottom: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 8,\n border: `1px solid ${theme.palette.outlined?.outlined_2}`,\n padding: 16,\n },\n\n '& .MuiCardContent-root .MuiCardContent-root .MuiCardContent-root': {\n borderRadius: 4,\n backgroundColor: theme.palette.background.gray,\n border: 'none',\n },\n\n form: {\n marginBottom: 0,\n },\n\n '& .MuiList-root:last-child .MuiListItem-root:last-of-type': {\n borderBottom: 'none',\n paddingBottom: 0,\n },\n }),\n },\n };\n"],"names":[],"mappings":"AAMO,MAAM,UACX;AAAA,EACE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,cAAc;AAAA,MAEd,uCAAuC;AAAA,QACrC,eAAe;AAAA,MAAA;AAAA,MAGjB,+CAA+C;AAAA,QAC7C,cAAc;AAAA,QACd,QAAQ,aAAa,MAAM,QAAQ,UAAU,UAAU;AAAA,QACvD,SAAS;AAAA,MAAA;AAAA,MAGX,oEAAoE;AAAA,QAClE,cAAc;AAAA,QACd,iBAAiB,MAAM,QAAQ,WAAW;AAAA,QAC1C,QAAQ;AAAA,MAAA;AAAA,MAGV,MAAM;AAAA,QACJ,cAAc;AAAA,MAAA;AAAA,MAGhB,8DAA8D;AAAA,QAC5D,cAAc;AAAA,QACd,eAAe;AAAA,MAAA;AAAA,IACjB;AAAA,EACF;AAEJ;"}
@@ -1,8 +1,8 @@
1
1
  const MuiPaper = {
2
2
  styleOverrides: {
3
- root: {
4
- border: "1px solid #F2F2F2"
5
- }
3
+ root: ({ theme }) => ({
4
+ border: `1px solid ${theme.palette.outlined?.outlined_2}`
5
+ })
6
6
  }
7
7
  };
8
8
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"paper.js","sources":["../../../../../src/theme/components/paper.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiPaper: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiPaper'] = {\n styleOverrides: {\n root: {\n border: '1px solid #F2F2F2',\n },\n },\n};\n"],"names":[],"mappings":"AAMO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM;AAAA,MACJ,QAAQ;AAAA,IAAA;AAAA,EACV;AAEJ;"}
1
+ {"version":3,"file":"paper.js","sources":["../../../../../src/theme/components/paper.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\n//\n//\n\nexport const MuiPaper: Components<\n Omit<Theme, 'components' | 'palette'> & CssVarsTheme\n>['MuiPaper'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n border: `1px solid ${theme.palette.outlined?.outlined_2}`,\n }),\n },\n};\n"],"names":[],"mappings":"AAMO,MAAM,WAEG;AAAA,EACd,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,QAAQ,aAAa,MAAM,QAAQ,UAAU,UAAU;AAAA,IAAA;AAAA,EACzD;AAEJ;"}
@@ -29,10 +29,10 @@ const MuiTable = {
29
29
  };
30
30
  const MuiTableRow = {
31
31
  styleOverrides: {
32
- root: ({ ownerState }) => ({
32
+ root: ({ theme, ownerState }) => ({
33
33
  ...ownerState["disable-row-hover"] ? {} : {
34
34
  "&:hover": {
35
- backgroundColor: "#FBFBFB"
35
+ backgroundColor: theme.palette.background.gray
36
36
  }
37
37
  }
38
38
  })
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sources":["../../../../../src/theme/components/table.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiTable: Components<Theme & CssVarsTheme>['MuiTable'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n\n '.MuiTableHead-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n background: theme.palette.background.gray,\n verticalAlign: 'baseline',\n },\n whiteSpace: 'nowrap',\n },\n\n '.MuiTableBody-root': {\n '.MuiTableRow-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n },\n },\n\n '.MuiTableRow-root:last-child': {\n '.MuiTableCell-root': {\n borderBottom: 'none',\n },\n },\n },\n }),\n },\n};\n\nexport const MuiTableRow: Components<Theme & CssVarsTheme>['MuiTableRow'] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(ownerState['disable-row-hover']\n ? {}\n : {\n '&:hover': {\n backgroundColor: '#FBFBFB',\n },\n }),\n }),\n },\n};\n"],"names":[],"mappings":"AAGO,MAAM,WAAyD;AAAA,EACpE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,QAAQ;AAAA,MAER,sBAAsB;AAAA,QACpB,sBAAsB;AAAA,UACpB,cAAc,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UAC3D,WAAW,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UACxD,YAAY,MAAM,QAAQ,WAAW;AAAA,UACrC,eAAe;AAAA,QAAA;AAAA,QAEjB,YAAY;AAAA,MAAA;AAAA,MAGd,sBAAsB;AAAA,QACpB,qBAAqB;AAAA,UACnB,sBAAsB;AAAA,YACpB,cAAc,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,YAC3D,WAAW,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UAAA;AAAA,QAC1D;AAAA,QAGF,gCAAgC;AAAA,UAC9B,sBAAsB;AAAA,YACpB,cAAc;AAAA,UAAA;AAAA,QAChB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;AAEO,MAAM,cAA+D;AAAA,EAC1E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,kBAAkB;AAAA,MACzB,GAAI,WAAW,mBAAmB,IAC9B,KACA;AAAA,QACE,WAAW;AAAA,UACT,iBAAiB;AAAA,QAAA;AAAA,MACnB;AAAA,IACF;AAAA,EACN;AAEJ;"}
1
+ {"version":3,"file":"table.js","sources":["../../../../../src/theme/components/table.ts"],"sourcesContent":["import type {} from '@mui/lab/themeAugmentation';\nimport { Components, CssVarsTheme, Theme } from '@mui/material/styles';\n\nexport const MuiTable: Components<Theme & CssVarsTheme>['MuiTable'] = {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n\n '.MuiTableHead-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n background: theme.palette.background.gray,\n verticalAlign: 'baseline',\n },\n whiteSpace: 'nowrap',\n },\n\n '.MuiTableBody-root': {\n '.MuiTableRow-root': {\n '.MuiTableCell-root': {\n borderBottom: `1px solid ${theme.palette.background.gray200}`,\n borderTop: `1px solid ${theme.palette.background.gray200}`,\n },\n },\n\n '.MuiTableRow-root:last-child': {\n '.MuiTableCell-root': {\n borderBottom: 'none',\n },\n },\n },\n }),\n },\n};\n\nexport const MuiTableRow: Components<Theme & CssVarsTheme>['MuiTableRow'] = {\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n ...(ownerState['disable-row-hover']\n ? {}\n : {\n '&:hover': {\n backgroundColor: theme.palette.background.gray,\n },\n }),\n }),\n },\n};\n"],"names":[],"mappings":"AAGO,MAAM,WAAyD;AAAA,EACpE,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,aAAa;AAAA,MACpB,QAAQ;AAAA,MAER,sBAAsB;AAAA,QACpB,sBAAsB;AAAA,UACpB,cAAc,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UAC3D,WAAW,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UACxD,YAAY,MAAM,QAAQ,WAAW;AAAA,UACrC,eAAe;AAAA,QAAA;AAAA,QAEjB,YAAY;AAAA,MAAA;AAAA,MAGd,sBAAsB;AAAA,QACpB,qBAAqB;AAAA,UACnB,sBAAsB;AAAA,YACpB,cAAc,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,YAC3D,WAAW,aAAa,MAAM,QAAQ,WAAW,OAAO;AAAA,UAAA;AAAA,QAC1D;AAAA,QAGF,gCAAgC;AAAA,UAC9B,sBAAsB;AAAA,YACpB,cAAc;AAAA,UAAA;AAAA,QAChB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEJ;AAEO,MAAM,cAA+D;AAAA,EAC1E,gBAAgB;AAAA,IACd,MAAM,CAAC,EAAE,OAAO,kBAAkB;AAAA,MAChC,GAAI,WAAW,mBAAmB,IAC9B,KACA;AAAA,QACE,WAAW;AAAA,UACT,iBAAiB,MAAM,QAAQ,WAAW;AAAA,QAAA;AAAA,MAC5C;AAAA,IACF;AAAA,EACN;AAEJ;"}