@auth0/quantum-product 2.8.2 → 2.9.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 (359) hide show
  1. package/accordion/accordion.d.ts +16 -17
  2. package/alert/alert-classes.js +2 -2
  3. package/alert/alert.d.ts +9 -9
  4. package/alert/alert.js +17 -7
  5. package/app-bar/app-bar-actions/app-bar-actions.d.ts +1 -2
  6. package/app-bar/app-bar-button/app-bar-button.d.ts +1 -1
  7. package/app-bar/app-bar-button/app-bar-button.js +17 -7
  8. package/app-bar/app-bar-icon-button/app-bar-icon-button.d.ts +1 -1
  9. package/app-bar/app-bar-icon-button/app-bar-icon-button.js +18 -8
  10. package/app-layout/app-layout-classes.js +2 -2
  11. package/app-layout/app-layout.d.ts +1 -1
  12. package/app-layout/app-layout.js +17 -7
  13. package/avatar/avatar-classes.js +2 -2
  14. package/avatar/avatar-context.js +17 -7
  15. package/avatar/avatar.d.ts +15 -15
  16. package/avatar/avatar.js +18 -8
  17. package/avatar/use-avatar-image.js +17 -7
  18. package/avatar-block/avatar-block-classes.js +2 -2
  19. package/avatar-block/avatar-block.d.ts +4 -4
  20. package/avatar-block/avatar-block.js +17 -7
  21. package/badge/badge-overrides.d.ts +1 -1
  22. package/badge/badge.js +17 -7
  23. package/banner/banner-classes.js +2 -2
  24. package/banner/banner.js +17 -7
  25. package/breadcrumbs/breadcrumbs-item/breadcrumbs-item-classes.js +2 -2
  26. package/breadcrumbs/breadcrumbs-item/breadcrumbs-item.d.ts +1 -1
  27. package/breadcrumbs/breadcrumbs-item/breadcrumbs-item.js +17 -7
  28. package/breadcrumbs/breadcrumbs-overrides.d.ts +1 -1
  29. package/breadcrumbs/breadcrumbs.js +17 -7
  30. package/button/button-overrides.d.ts +1 -1
  31. package/button/button.d.ts +1 -1
  32. package/button/button.js +17 -7
  33. package/card/card-context.js +17 -7
  34. package/card/card-header/card-header-classes.js +2 -2
  35. package/card/card-header/card-header-overrides.d.ts +1 -1
  36. package/card/card-header/card-header.d.ts +5 -5
  37. package/card/card-header/card-header.js +22 -12
  38. package/card/card-overrides.d.ts +1 -1
  39. package/card/card.d.ts +1 -1
  40. package/card/card.js +19 -9
  41. package/checkbox/checkbox-classes.js +2 -2
  42. package/checkbox/checkbox-icons.js +17 -7
  43. package/checkbox/checkbox.js +17 -7
  44. package/checkbox-field/checkbox-field.js +17 -7
  45. package/chip/chip-overrides.d.ts +1 -1
  46. package/chip/chip.js +17 -7
  47. package/code/code.d.ts +3 -3
  48. package/code/code.js +18 -8
  49. package/color-text-field/color-text-field.js +17 -7
  50. package/column-layout/column-layout.d.ts +1 -1
  51. package/column-layout/column-layout.js +17 -7
  52. package/config-block/config-block-classes.js +2 -2
  53. package/config-block/config-block.js +17 -7
  54. package/copy-button/copy-button.js +17 -7
  55. package/danger-zone/danger-zone-item/danger-zone-item.js +17 -7
  56. package/danger-zone/danger-zone-item-action/danger-zone-item-action.js +17 -7
  57. package/danger-zone/danger-zone.js +17 -7
  58. package/data-table/data-table-row.d.ts +3 -1
  59. package/data-table/data-table-row.js +36 -12
  60. package/data-table/data-table-types.d.ts +0 -1
  61. package/data-table/data-table.d.ts +8 -2
  62. package/data-table/data-table.js +20 -9
  63. package/date-picker/date-picker-classes.js +3 -3
  64. package/date-picker/date-picker-context.js +17 -7
  65. package/date-picker/date-picker-popover.js +18 -8
  66. package/date-picker/date-picker-state.js +17 -7
  67. package/date-picker/date-picker-time-input.js +17 -7
  68. package/date-picker/date-picker-utils.d.ts +1 -1
  69. package/date-picker/date-picker.js +17 -7
  70. package/description-block/description-block.d.ts +5 -5
  71. package/description-block/description-block.js +17 -7
  72. package/dialog/dialog-title/dialog-title-classes.js +2 -2
  73. package/dialog/dialog-title/dialog-title.js +17 -7
  74. package/dialog/dialog.js +17 -7
  75. package/dropdown-menu/dropdown-menu-classes.js +2 -2
  76. package/dropdown-menu/dropdown-menu-context.js +17 -7
  77. package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.js +17 -7
  78. package/dropdown-menu/dropdown-menu-group/dropdown-menu-group-classes.js +2 -2
  79. package/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +17 -7
  80. package/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +17 -7
  81. package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.js +18 -8
  82. package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item-classes.js +2 -2
  83. package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.js +17 -8
  84. package/dropdown-menu/dropdown-menu-search/dropdown-menu-search-classes.js +2 -2
  85. package/dropdown-menu/dropdown-menu-search/dropdown-menu-search.d.ts +2 -2
  86. package/dropdown-menu/dropdown-menu-search/dropdown-menu-search.js +17 -7
  87. package/dropdown-menu/dropdown-menu-state/dropdown-menu-state.js +17 -7
  88. package/dropdown-menu/dropdown-menu.js +17 -7
  89. package/empty-state/empty-state-action/empty-state-action.d.ts +2 -2
  90. package/empty-state/empty-state-action/empty-state-action.js +17 -7
  91. package/empty-state/empty-state-classes.js +2 -2
  92. package/empty-state/empty-state.d.ts +22 -22
  93. package/empty-state/empty-state.js +17 -7
  94. package/esm/app-bar/app-bar-icon-button/app-bar-icon-button.js +1 -1
  95. package/esm/avatar/avatar.js +1 -1
  96. package/esm/card/card-header/card-header.js +5 -5
  97. package/esm/card/card.js +2 -2
  98. package/esm/code/code.js +1 -1
  99. package/esm/data-table/data-table-row.js +17 -3
  100. package/esm/data-table/data-table.js +3 -2
  101. package/esm/date-picker/date-picker-popover.js +1 -1
  102. package/esm/dropdown-menu/dropdown-menu-list/dropdown-menu-list.js +1 -1
  103. package/esm/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.js +0 -1
  104. package/esm/form/form.js +1 -1
  105. package/esm/link/link.js +5 -5
  106. package/esm/panel/panel-header/panel-header.js +2 -2
  107. package/esm/selectable-card/selectable-card.js +1 -1
  108. package/esm/sidebar/sidebar-menu/sidebar-menu.js +1 -1
  109. package/esm/switch/switch.js +1 -1
  110. package/esm/tabs/tab/tab.js +2 -2
  111. package/esm/text/text.js +1 -1
  112. package/expansion-panel/expansion-panel-header.d.ts +9 -10
  113. package/expansion-panel/expansion-panel-summary.js +17 -7
  114. package/expansion-panel/expansion-panel.js +17 -7
  115. package/field-set/field-set-classes.js +2 -2
  116. package/field-set/field-set.d.ts +2 -2
  117. package/field-set/field-set.js +17 -7
  118. package/floating-panel/floating-panel.js +17 -7
  119. package/form/form-actions/form-actions-classes.js +2 -2
  120. package/form/form-actions/form-actions.d.ts +2 -2
  121. package/form/form-actions/form-actions.js +17 -7
  122. package/form/form-control/index.d.ts +1 -2
  123. package/form/form-control-label/form-control-label-classes.js +2 -2
  124. package/form/form-control-label/form-control-label.js +17 -7
  125. package/form/form-field/form-field-classes.js +2 -2
  126. package/form/form-field/form-field.js +17 -7
  127. package/form/form-helper-text/index.d.ts +1 -2
  128. package/form/form-layout/form-layout-context.js +17 -7
  129. package/form/form-layout/form-layout.js +17 -7
  130. package/form/form.js +18 -8
  131. package/foundations/token-tables.d.ts +1 -1
  132. package/foundations/token-tables.js +17 -7
  133. package/gallery-layout/gallery-layout.d.ts +1 -1
  134. package/gallery-layout/gallery-layout.js +17 -7
  135. package/icon/index.js +17 -7
  136. package/icon/types.d.ts +0 -1
  137. package/icon-button/icon-button-context.js +17 -7
  138. package/icon-button/icon-button-overrides.d.ts +1 -1
  139. package/icon-button/icon-button.d.ts +1 -1
  140. package/icon-button/icon-button.js +17 -7
  141. package/identicons/common.d.ts +1 -1
  142. package/identicons/common.js +1 -1
  143. package/identicons/icons/icon-access-token.js +17 -7
  144. package/identicons/icons/icon-account-takeover.js +17 -7
  145. package/identicons/icons/icon-actions.js +17 -7
  146. package/identicons/icons/icon-activity.js +17 -7
  147. package/identicons/icons/icon-advanced-options.js +17 -7
  148. package/identicons/icons/icon-anticipation.js +17 -7
  149. package/identicons/icons/icon-api-related.js +17 -7
  150. package/identicons/icons/icon-api.js +17 -7
  151. package/identicons/icons/icon-applications.js +17 -7
  152. package/identicons/icons/icon-attributes.js +17 -7
  153. package/identicons/icons/icon-auth0-authorization-server.js +17 -7
  154. package/identicons/icons/icon-auth0-dashboard.js +17 -7
  155. package/identicons/icons/icon-auth0-logo-dark.js +17 -7
  156. package/identicons/icons/icon-auth0-logo-light.js +17 -7
  157. package/identicons/icons/icon-authentication-a.js +17 -7
  158. package/identicons/icons/icon-authentication-b.js +17 -7
  159. package/identicons/icons/icon-authorization-server.js +17 -7
  160. package/identicons/icons/icon-backend.js +17 -7
  161. package/identicons/icons/icon-biometrics.js +17 -7
  162. package/identicons/icons/icon-bot-detection.js +17 -7
  163. package/identicons/icons/icon-boundary-protocol.js +17 -7
  164. package/identicons/icons/icon-branding.js +17 -7
  165. package/identicons/icons/icon-breached-password.js +17 -7
  166. package/identicons/icons/icon-browser.js +17 -7
  167. package/identicons/icons/icon-brute-force.js +17 -7
  168. package/identicons/icons/icon-certificate.js +17 -7
  169. package/identicons/icons/icon-cli-script.js +17 -7
  170. package/identicons/icons/icon-cloud.js +17 -7
  171. package/identicons/icons/icon-consistency.js +17 -7
  172. package/identicons/icons/icon-cookies.js +17 -7
  173. package/identicons/icons/icon-credential-application.js +17 -7
  174. package/identicons/icons/icon-credential-stuffing.js +17 -7
  175. package/identicons/icons/icon-credential-user.js +17 -7
  176. package/identicons/icons/icon-customization.js +17 -7
  177. package/identicons/icons/icon-dashboard.js +17 -7
  178. package/identicons/icons/icon-database.js +17 -7
  179. package/identicons/icons/icon-desktop-app.js +17 -7
  180. package/identicons/icons/icon-device-biometrics.js +17 -7
  181. package/identicons/icons/icon-efficiency.js +17 -7
  182. package/identicons/icons/icon-empathy.js +17 -7
  183. package/identicons/icons/icon-enterprise-directory.js +17 -7
  184. package/identicons/icons/icon-extensions.js +17 -7
  185. package/identicons/icons/icon-fine-grained-authorization.js +17 -7
  186. package/identicons/icons/icon-getting-started.js +17 -7
  187. package/identicons/icons/icon-guardian-push-notification.js +17 -7
  188. package/identicons/icons/icon-help.js +17 -7
  189. package/identicons/icons/icon-id-token.js +17 -7
  190. package/identicons/icons/icon-identifier-first.js +17 -7
  191. package/identicons/icons/icon-identifier-password.js +17 -7
  192. package/identicons/icons/icon-integrations-marketplace.js +17 -7
  193. package/identicons/icons/icon-ip-throttling.js +17 -7
  194. package/identicons/icons/icon-login-customization.js +17 -7
  195. package/identicons/icons/icon-login.js +17 -7
  196. package/identicons/icons/icon-logout-token.js +17 -7
  197. package/identicons/icons/icon-logs.js +17 -7
  198. package/identicons/icons/icon-mail-message-a.js +17 -7
  199. package/identicons/icons/icon-mail-message-b.js +17 -7
  200. package/identicons/icons/icon-marketplace-approved.js +17 -7
  201. package/identicons/icons/icon-marketplace-create.js +17 -7
  202. package/identicons/icons/icon-mobile-app.js +17 -7
  203. package/identicons/icons/icon-monitoring.js +17 -7
  204. package/identicons/icons/icon-multifactor.js +17 -7
  205. package/identicons/icons/icon-multiple-failed-logins.js +17 -7
  206. package/identicons/icons/icon-one-time-password.js +17 -7
  207. package/identicons/icons/icon-organizations.js +17 -7
  208. package/identicons/icons/icon-phone-message-a.js +17 -7
  209. package/identicons/icons/icon-phone-message-b.js +17 -7
  210. package/identicons/icons/icon-pipeline-a.js +17 -7
  211. package/identicons/icons/icon-pipeline-b.js +17 -7
  212. package/identicons/icons/icon-refresh-token.js +17 -7
  213. package/identicons/icons/icon-sdk.js +17 -7
  214. package/identicons/icons/icon-security.js +17 -7
  215. package/identicons/icons/icon-server.js +17 -7
  216. package/identicons/icons/icon-settings.js +17 -7
  217. package/identicons/icons/icon-social-providers.js +17 -7
  218. package/identicons/icons/icon-spa.js +17 -7
  219. package/identicons/icons/icon-teams.js +17 -7
  220. package/identicons/icons/icon-tenant.js +17 -7
  221. package/identicons/icons/icon-user-database.js +17 -7
  222. package/identicons/icons/icon-user-management.js +17 -7
  223. package/identicons/icons/icon-user.js +17 -7
  224. package/identicons/icons/icon-users.js +17 -7
  225. package/identicons/icons/icon-video.js +17 -7
  226. package/identicons/icons/icon-web-app.js +17 -7
  227. package/identicons/icons/icon-webauthn.js +17 -7
  228. package/illustrations/common.d.ts +0 -1
  229. package/illustrations/components/developers.js +17 -7
  230. package/illustrations/components/enterprise-connection.js +17 -7
  231. package/illustrations/components/experienced-user.js +17 -7
  232. package/illustrations/components/new-auth0-user-a.js +17 -7
  233. package/illustrations/components/no-content.js +17 -7
  234. package/illustrations/components/notifications.js +17 -7
  235. package/illustrations/components/roles.js +17 -7
  236. package/illustrations/components/single-sign-on.js +17 -7
  237. package/illustrations/components/streams-logs.js +17 -7
  238. package/illustrations/components/users.js +17 -7
  239. package/image/image.d.ts +4 -4
  240. package/image-preview-field/image-preview-field.js +18 -8
  241. package/input/input-actions/input-actions.js +17 -7
  242. package/input/input-adornment/input-adornment.js +17 -7
  243. package/input/input.d.ts +1 -1
  244. package/input/input.js +17 -7
  245. package/label/label.js +17 -7
  246. package/link/link-classes.js +2 -2
  247. package/link/link.d.ts +1 -1
  248. package/link/link.js +22 -12
  249. package/list/list-item/index.d.ts +1 -2
  250. package/logo/logo-classes.js +2 -2
  251. package/logo/logo.d.ts +4 -4
  252. package/logo/logo.js +17 -7
  253. package/package.json +3 -3
  254. package/page/page-context.js +17 -7
  255. package/page/page-header/page-header-classes.js +2 -2
  256. package/page/page-header/page-header.js +17 -7
  257. package/page/page.d.ts +2 -2
  258. package/page/page.js +17 -7
  259. package/pagination/checkpoint-pagination/CheckpointPagination.d.ts +5 -5
  260. package/pagination/checkpoint-pagination/CheckpointPagination.js +17 -7
  261. package/pagination/checkpoint-pagination/checkpoint-pagination-classes.js +2 -2
  262. package/pagination/pager/pager-classes.js +2 -2
  263. package/pagination/pager/pager.js +17 -7
  264. package/pagination/pagination-classes.js +2 -2
  265. package/pagination/pagination.d.ts +6 -6
  266. package/pagination/pagination.js +17 -7
  267. package/panel/panel/panel-classes.js +2 -2
  268. package/panel/panel/panel.d.ts +6 -6
  269. package/panel/panel/panel.js +17 -7
  270. package/panel/panel-body/panel-body.js +17 -7
  271. package/panel/panel-context.js +17 -7
  272. package/panel/panel-footer/panel-footer.js +17 -7
  273. package/panel/panel-header/panel-header-classes.js +2 -2
  274. package/panel/panel-header/panel-header.d.ts +4 -4
  275. package/panel/panel-header/panel-header.js +19 -9
  276. package/panel/panel-layout/panel-layout-classes.js +2 -2
  277. package/panel/panel-layout/panel-layout.d.ts +2 -2
  278. package/panel/panel-layout/panel-layout.js +17 -7
  279. package/promo-banner/promo-banner-classes.js +2 -2
  280. package/promo-banner/promo-banner.js +17 -7
  281. package/pulsing-dot/pulsing-dot.d.ts +1 -1
  282. package/pulsing-dot/pulsing-dot.js +17 -7
  283. package/quantum-provider/quantum-context.js +17 -7
  284. package/quantum-provider/quantum-provider.js +17 -7
  285. package/radio/radio-classes.js +2 -2
  286. package/radio/radio-icons.js +17 -7
  287. package/radio/radio.js +17 -7
  288. package/radio-field/radio-field.js +17 -7
  289. package/region/flags.js +17 -7
  290. package/region/region-classes.js +2 -2
  291. package/region/region.d.ts +4 -4
  292. package/region/region.js +17 -7
  293. package/row-layout/row-layout.js +17 -7
  294. package/select/select-classes.js +2 -2
  295. package/select/select-field/select-field.js +17 -7
  296. package/select/select-menu/select-menu.js +17 -7
  297. package/select/select-options.js +17 -7
  298. package/select/select.js +17 -7
  299. package/select-dropdown/select-dropdown.js +17 -7
  300. package/selectable-card/selectable-card-classes.js +2 -2
  301. package/selectable-card/selectable-card-group/selectable-card-group-classes.js +2 -2
  302. package/selectable-card/selectable-card-group/selectable-card-group.js +17 -7
  303. package/selectable-card/selectable-card.js +18 -8
  304. package/sidebar/sidebar-banner/sidebar-banner.d.ts +1 -1
  305. package/sidebar/sidebar-banner/sidebar-banner.js +17 -7
  306. package/sidebar/sidebar-classes.js +2 -2
  307. package/sidebar/sidebar-context.js +17 -7
  308. package/sidebar/sidebar-items/sidebar-items.js +17 -7
  309. package/sidebar/sidebar-link/sidebar-link-classes.js +2 -2
  310. package/sidebar/sidebar-link/sidebar-link.d.ts +1 -1
  311. package/sidebar/sidebar-link/sidebar-link.js +17 -7
  312. package/sidebar/sidebar-menu/sidebar-menu-classes.js +2 -2
  313. package/sidebar/sidebar-menu/sidebar-menu.js +20 -10
  314. package/sidebar/sidebar-new.js +17 -7
  315. package/sidebar/sidebar-old.js +17 -7
  316. package/sidebar/sidebar.js +17 -7
  317. package/spinner/spinner-classes.js +2 -2
  318. package/spinner/spinner.d.ts +4 -4
  319. package/spinner/spinner.js +17 -7
  320. package/stack-layout/stack-layout.js +17 -7
  321. package/status/status-dot/status-dot-classes.js +2 -2
  322. package/status/status-dot/status-dot.d.ts +4 -4
  323. package/status/status-dot/status-dot.js +17 -7
  324. package/status/status-icon/status-icon-classes.js +2 -2
  325. package/status/status-icon/status-icon.d.ts +5 -5
  326. package/status/status-icon/status-icon.js +17 -7
  327. package/stepper/step-label/step-label.js +17 -7
  328. package/styles/classes.js +19 -9
  329. package/svg-icon/svg-icon.d.ts +1 -1
  330. package/svg-icon/svg-icon.js +17 -7
  331. package/switch/switch-classes.js +2 -2
  332. package/switch/switch-field/switch-field.js +17 -7
  333. package/switch/switch.js +18 -8
  334. package/table/table-loading-state/table-loading-state-classes.js +2 -2
  335. package/table/table-loading-state/table-loading-state.d.ts +2 -2
  336. package/table/table-loading-state/table-loading-state.js +17 -7
  337. package/table/table-sort-label/index.js +17 -7
  338. package/tabs/tab/tab.d.ts +1 -1
  339. package/tabs/tab/tab.js +19 -9
  340. package/tabs/tab-list/tab-list.js +17 -7
  341. package/tabs/tab-panel/tab-panel.js +17 -7
  342. package/tabs/tabs-context.js +17 -7
  343. package/tabs/tabs.js +17 -7
  344. package/text/text-classes.js +2 -2
  345. package/text/text-overrides.d.ts +1 -1
  346. package/text/text.d.ts +11 -11
  347. package/text/text.js +18 -8
  348. package/text-field/text-field.js +17 -7
  349. package/theme/create-palette.d.ts +1 -1
  350. package/theme/theme-provider.js +17 -7
  351. package/theme/use-theme-props.js +1 -2
  352. package/title-block/title-block-classes.js +2 -2
  353. package/title-block/title-block.js +17 -7
  354. package/toast/toast-classes.js +2 -2
  355. package/toast/toast-provider.js +17 -7
  356. package/toast/toast.js +17 -7
  357. package/utils/clsx.js +17 -7
  358. package/utils/md5.js +17 -7
  359. package/utils/use-id.js +17 -7
@@ -1,22 +1,21 @@
1
- /// <reference types="react" />
2
1
  import { AccordionProps as MuiAccordionProps } from '@mui/material/Accordion';
3
2
  export declare const AccordionComponentName: "QuantumAcccordion";
4
3
  export type IAccordionProps = MuiAccordionProps;
5
4
  export declare const Accordion: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/Accordion").AccordionTypeMap<{}, "div">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & {
6
- children: NonNullable<import("react").ReactNode>;
7
- classes?: Partial<import("@mui/material/Accordion").AccordionClasses> | undefined;
8
- defaultExpanded?: boolean | undefined;
9
- disabled?: boolean | undefined;
10
- disableGutters?: boolean | undefined;
11
- expanded?: boolean | undefined;
12
- onChange?: ((event: import("react").SyntheticEvent<Element, Event>, expanded: boolean) => void) | undefined;
13
- sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
14
- TransitionComponent?: import("react").JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
15
- children?: import("react").ReactElement<any, any> | undefined;
16
- }> | undefined;
17
- TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
18
- } & import("@mui/material/Accordion").AccordionSlotsAndSlotProps & Omit<import("@mui/material").PaperOwnProps, "classes" | "onChange"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
19
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
20
- }, "disabled" | "expanded" | "square" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "elevation" | "sx" | "variant" | "onChange" | "TransitionComponent" | "disableGutters" | "defaultExpanded" | "TransitionProps" | keyof import("@mui/material/Accordion").AccordionSlotsAndSlotProps> & {
21
- component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ children: NonNullable<React.ReactNode>;
6
+ classes?: Partial<import("@mui/material/Accordion").AccordionClasses>;
7
+ defaultExpanded?: boolean;
8
+ disabled?: boolean;
9
+ disableGutters?: boolean;
10
+ expanded?: boolean;
11
+ onChange?: (event: React.SyntheticEvent, expanded: boolean) => void;
12
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme>;
13
+ TransitionComponent?: React.JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
14
+ children?: React.ReactElement<any, any>;
15
+ }>;
16
+ TransitionProps?: import("@mui/material/transitions").TransitionProps;
17
+ } & import("@mui/material/Accordion").AccordionSlotsAndSlotProps & Omit<import("@mui/material").PaperOwnProps, "onChange" | "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
19
+ }, "disabled" | "expanded" | "square" | "elevation" | "children" | "onChange" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "TransitionComponent" | "disableGutters" | "defaultExpanded" | "TransitionProps" | keyof import("@mui/material/Accordion").AccordionSlotsAndSlotProps> & {
20
+ component?: React.ElementType;
22
21
  }, never>;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.alertClasses = exports.getAlertUtilityClass = exports.alertComponentName = void 0;
3
+ exports.alertClasses = exports.alertComponentName = void 0;
4
+ exports.getAlertUtilityClass = getAlertUtilityClass;
4
5
  var classes_1 = require("../styles/classes");
5
6
  exports.alertComponentName = 'QuantumAlert';
6
7
  function getAlertUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.alertComponentName, slot);
8
9
  }
9
- exports.getAlertUtilityClass = getAlertUtilityClass;
10
10
  exports.alertClasses = (0, classes_1.generateUtilityClasses)(exports.alertComponentName, [
11
11
  'root',
12
12
  'icon',
package/alert/alert.d.ts CHANGED
@@ -83,23 +83,23 @@ export declare const Alert: React.ForwardRefExoticComponent<{
83
83
  /**
84
84
  * Override or extend the styles applied to the component.
85
85
  */
86
- classes?: Partial<Record<"title" | "action" | "content" | "icon" | "root" | "message", string>> | undefined;
86
+ classes?: Partial<AlertClasses>;
87
87
  /**
88
88
  * Override the default label for the *close popup* icon button.
89
89
  *
90
90
  * @default 'Close'
91
91
  */
92
- closeText?: string | undefined;
92
+ closeText?: string;
93
93
  /**
94
94
  * Backwards compatible prop for Manhattan. Setting this to false will hide the close button if onClose is passed.
95
95
  *
96
96
  * @default true
97
97
  */
98
- dismissible?: boolean | undefined;
98
+ dismissible?: boolean;
99
99
  /**
100
100
  * Adds box-shadow based on elecation value. The higher the value the larger the shadow. This maps to `theme.shadows[elevation]`
101
101
  */
102
- elevation?: 2 | 1 | 3 | 4 | undefined;
102
+ elevation?: 1 | 2 | 3 | 4;
103
103
  /**
104
104
  * Override the icon displayed before the children.
105
105
  * Unless provided, the icon is mapped to the value of the `severity` prop.
@@ -112,7 +112,7 @@ export declare const Alert: React.ForwardRefExoticComponent<{
112
112
  * If you wish to change this mapping, you can provide your own.
113
113
  * Alternatively, you can use the `icon` prop to override the icon displayed.
114
114
  */
115
- iconMapping?: Partial<Record<AlertSeverityType, React.ReactNode>> | undefined;
115
+ iconMapping?: Partial<Record<AlertSeverityType, React.ReactNode>>;
116
116
  /**
117
117
  * Alternative to using children. If both are passed message will be used.
118
118
  */
@@ -121,17 +121,17 @@ export declare const Alert: React.ForwardRefExoticComponent<{
121
121
  * The ARIA role attribute of the element.
122
122
  * @default 'alert'
123
123
  */
124
- role?: string | undefined;
124
+ role?: string;
125
125
  /**
126
126
  * The severity of the alert. This defines the color and icon used.
127
127
  * @default 'default'
128
128
  */
129
- severity?: AlertSeverityType | undefined;
129
+ severity?: AlertSeverityType;
130
130
  /**
131
131
  * The variant to use.
132
132
  * @default 'standard'
133
133
  */
134
- variant?: AlertVariantType | undefined;
134
+ variant?: AlertVariantType;
135
135
  /**
136
136
  * Callback fired when the component requests to be closed.
137
137
  * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
@@ -142,4 +142,4 @@ export declare const Alert: React.ForwardRefExoticComponent<{
142
142
  * @deprecated Backwards compatible prop for Cosmos migration. Maps to `onClose` prop. Use onClose if possible
143
143
  */
144
144
  onDismiss?(event: React.MouseEvent<HTMLButtonElement>): void;
145
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "action" | "icon" | "classes" | "elevation" | "variant" | "role" | "onClose" | "closeText" | "dismissible" | "iconMapping" | "message" | "severity" | "onDismiss"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
145
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "action" | "icon" | "role" | "elevation" | "onClose" | "classes" | "variant" | "closeText" | "dismissible" | "iconMapping" | "message" | "severity" | "onDismiss"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
package/alert/alert.js CHANGED
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  var __rest = (this && this.__rest) || function (s, e) {
37
47
  var t = {};
38
48
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IStyledComponentProps } from '../../styled';
3
2
  export declare const AppBarActionsComponentName: "QuantumAppBarActions";
4
3
  export type IAppBarActionsProps = IStyledComponentProps<{
@@ -8,5 +7,5 @@ export type IAppBarActionsProps = IStyledComponentProps<{
8
7
  defaultComponent: 'div';
9
8
  }>;
10
9
  export declare const AppBarActions: import("styled-components").StyledComponent<"div", import("../..").ITheme, import("@mui/system").MUIStyledCommonProps<import("../..").ITheme> & {
11
- disableSpacing?: boolean | undefined;
10
+ disableSpacing?: boolean;
12
11
  } & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "disableSpacing"> & import("../../styled").IStyledCommonProps, never>;
@@ -14,5 +14,5 @@ type IAppBarButtonTypeMap<P = {}, D extends React.ElementType = 'button'> = IExt
14
14
  defaultComponent: D;
15
15
  }>;
16
16
  export type IAppBarButtonProps<ElementType extends React.ElementType = IAppBarButtonTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<IAppBarButtonTypeMap<AdditionalProps, ElementType>, ElementType>;
17
- export declare const AppBarButton: ExtendButton<IAppBarButtonTypeMap<{}, "button">>;
17
+ export declare const AppBarButton: ExtendButton<IAppBarButtonTypeMap>;
18
18
  export {};
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  var __rest = (this && this.__rest) || function (s, e) {
37
47
  var t = {};
38
48
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -15,5 +15,5 @@ type IAppBarIconButtonTypeMap<P = {}, D extends React.ElementType = 'button'> =
15
15
  defaultComponent: D;
16
16
  }>;
17
17
  export type IAppBarIconButtonProps<ElementType extends React.ElementType = IAppBarIconButtonTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<IAppBarIconButtonTypeMap<AdditionalProps, ElementType>, ElementType>;
18
- export declare const AppBarIconButton: ExtendIconButton<IAppBarIconButtonTypeMap<{}, "button">>;
18
+ export declare const AppBarIconButton: ExtendIconButton<IAppBarIconButtonTypeMap>;
19
19
  export {};
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  var __rest = (this && this.__rest) || function (s, e) {
37
47
  var t = {};
38
48
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -61,5 +71,5 @@ var Root = (0, styled_1.styled)(icon_button_1.IconButton, { name: appBarIconButt
61
71
  });
62
72
  exports.AppBarIconButton = React.forwardRef(function (props, ref) {
63
73
  var color = props.color, className = props.className, active = props.active, _a = props.variant, variant = _a === void 0 ? 'link' : _a, circular = props.circular, _b = props.IconButtonProps, IconButtonProps = _b === void 0 ? {} : _b, children = props.children, rootProps = __rest(props, ["color", "className", "active", "variant", "circular", "IconButtonProps", "children"]);
64
- return (React.createElement(Root, __assign({}, { ref: ref }, { className: className, ownerState: { active: active, circular: circular } }, rootProps, { variant: variant, color: "inherit" }, IconButtonProps), children));
74
+ return (React.createElement(Root, __assign({ ref: ref, className: className, ownerState: { active: active, circular: circular } }, rootProps, { variant: variant, color: "inherit" }, IconButtonProps), children));
65
75
  });
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.appLayoutClasses = exports.getAppLayoutUtilityClass = exports.appLayoutComponentName = void 0;
3
+ exports.appLayoutClasses = exports.appLayoutComponentName = void 0;
4
+ exports.getAppLayoutUtilityClass = getAppLayoutUtilityClass;
4
5
  var classes_1 = require("../styles/classes");
5
6
  exports.appLayoutComponentName = 'QuantumAppLayout';
6
7
  function getAppLayoutUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.appLayoutComponentName, slot);
8
9
  }
9
- exports.getAppLayoutUtilityClass = getAppLayoutUtilityClass;
10
10
  exports.appLayoutClasses = (0, classes_1.generateUtilityClasses)(exports.appLayoutComponentName, [
11
11
  'root',
12
12
  'main',
@@ -13,7 +13,7 @@ export type IAppLayoutProps = IStyledComponentProps<{
13
13
  export declare const AppLayout: React.ForwardRefExoticComponent<{
14
14
  appBar?: React.ReactNode;
15
15
  sidebar?: React.ReactNode;
16
- layout?: "default" | "fit" | "full" | undefined;
16
+ layout?: "default" | "full" | "fit";
17
17
  /** Main Content */
18
18
  children?: React.ReactNode;
19
19
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "layout" | "children" | "appBar" | "sidebar"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  var __rest = (this && this.__rest) || function (s, e) {
37
47
  var t = {};
38
48
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.avatarClasses = exports.getAvatarUtilityClass = exports.avatarComponentName = void 0;
3
+ exports.avatarClasses = exports.avatarComponentName = void 0;
4
+ exports.getAvatarUtilityClass = getAvatarUtilityClass;
4
5
  var classes_1 = require("../styles/classes");
5
6
  exports.avatarComponentName = 'QuantumAvatar';
6
7
  function getAvatarUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.avatarComponentName, slot);
8
9
  }
9
- exports.getAvatarUtilityClass = getAvatarUtilityClass;
10
10
  exports.avatarClasses = (0, classes_1.generateUtilityClasses)(exports.avatarComponentName, ['root', 'img', 'fallbackIcon']);
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.useAvatarContext = exports.AvatarContext = void 0;
27
37
  var React = __importStar(require("react"));
@@ -44,34 +44,34 @@ export interface IAvatarImgOwnerState {
44
44
  imgFit?: IAvatarProps['imgFit'];
45
45
  }
46
46
  export declare const Avatar: React.ForwardRefExoticComponent<IAvatarImageProps & {
47
- color?: ColorName | "primary" | "default" | "warning" | "danger" | "success" | "info" | undefined;
47
+ color?: "default" | "primary" | "warning" | "danger" | "success" | "info" | ColorName;
48
48
  /** Provides an alt attribute for the rendered `img` element. */
49
- alt?: string | undefined;
49
+ alt?: string;
50
50
  /** Used to render icon or text elements inside the Avatar if `src` is not set. */
51
51
  children?: React.ReactNode;
52
52
  /** classes to override styles */
53
- classes?: Partial<Record<"img" | "root" | "fallbackIcon", string>> | undefined;
53
+ classes?: Partial<AvatarClasses>;
54
54
  /** specifies the image object-fit type */
55
- imgFit?: "contain" | "cover" | undefined;
55
+ imgFit?: "contain" | "cover";
56
56
  /** Attributes applied to the `img` element if the component is used to display an image. */
57
57
  imgProps?: IStyledComponentProps<{
58
58
  props: {
59
- 'data-testid'?: string;
59
+ "data-testid"?: string;
60
60
  };
61
- defaultComponent: 'img';
62
- }> | undefined;
61
+ defaultComponent: "img";
62
+ }>;
63
63
  /** Adds padding around image. Only works when type === "logo". */
64
- includePadding?: boolean | undefined;
64
+ includePadding?: boolean;
65
65
  /** displays border around the avatar */
66
- showBorder?: boolean | undefined;
66
+ showBorder?: boolean;
67
67
  /** The size of the avatar */
68
- size?: AvatarSize | undefined;
68
+ size?: AvatarSize;
69
69
  /** Fallback icon to display instead of default if set. */
70
- fallbackIconOverride?: IconType | undefined;
70
+ fallbackIconOverride?: IconType;
71
71
  /** The shape of the avatar. */
72
- variant?: AvatarVariant | undefined;
72
+ variant?: AvatarVariant;
73
73
  /** initials to be used as a fallback if src fails to load. Only used for user type */
74
- initials?: string | undefined;
74
+ initials?: string;
75
75
  /** instructs the avatar where it is being rendered */
76
- placement?: "default" | "badge" | undefined;
77
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "color" | "size" | "classes" | "children" | "variant" | "alt" | "imgProps" | "placement" | keyof IAvatarImageProps | "imgFit" | "includePadding" | "showBorder" | "fallbackIconOverride" | "initials"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
76
+ placement?: "default" | "badge";
77
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "color" | "size" | "children" | "alt" | "classes" | "variant" | "imgProps" | "placement" | keyof IAvatarImageProps | "imgFit" | "includePadding" | "showBorder" | "fallbackIconOverride" | "initials"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
package/avatar/avatar.js CHANGED
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  var __rest = (this && this.__rest) || function (s, e) {
37
47
  var t = {};
38
48
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -207,5 +217,5 @@ exports.Avatar = React.forwardRef(function (props, ref) {
207
217
  else {
208
218
  children = React.createElement(FallbackIcon, { className: classes.fallbackIcon });
209
219
  }
210
- return (React.createElement(Root, __assign({}, { ref: ref }, { ownerState: ownerState, className: (0, clsx_1.default)(classes.root, className) }, rootProps), children));
220
+ return (React.createElement(Root, __assign({ ref: ref, ownerState: ownerState, className: (0, clsx_1.default)(classes.root, className) }, rootProps), children));
211
221
  });
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __read = (this && this.__read) || function (o, n) {
26
36
  var m = typeof Symbol === "function" && o[Symbol.iterator];
27
37
  if (!m) return o;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.avatarBlockClasses = exports.getAvatarBlockUtilityClass = exports.avatarBlockComponentName = void 0;
3
+ exports.avatarBlockClasses = exports.avatarBlockComponentName = void 0;
4
+ exports.getAvatarBlockUtilityClass = getAvatarBlockUtilityClass;
4
5
  var classes_1 = require("../styles/classes");
5
6
  exports.avatarBlockComponentName = 'QuantumAvatarBlock';
6
7
  function getAvatarBlockUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.avatarBlockComponentName, slot);
8
9
  }
9
- exports.getAvatarBlockUtilityClass = getAvatarBlockUtilityClass;
10
10
  exports.avatarBlockClasses = (0, classes_1.generateUtilityClasses)(exports.avatarBlockComponentName, [
11
11
  'root',
12
12
  'avatar',
@@ -16,9 +16,9 @@ export type IAvatarBlockProps = IStyledComponentProps<{
16
16
  }>;
17
17
  export declare const AvatarBlock: React.ForwardRefExoticComponent<Pick<ITitleBlockProps, "title" | "titleTypographyProps" | "description" | "descriptionTypographyProps"> & {
18
18
  avatar?: React.ReactNode;
19
- size?: "medium" | "large" | undefined;
20
- TitleBlockProps?: Partial<ITitleBlockProps> | undefined;
21
- classes?: Partial<Record<"root" | "avatar" | "endAdornment" | "titleBlock", string>> | undefined;
19
+ size?: "medium" | "large";
20
+ TitleBlockProps?: Partial<ITitleBlockProps>;
21
+ classes?: Partial<AvatarBlockClasses>;
22
22
  endAdornment?: React.ReactNode;
23
- noWrap?: boolean | undefined;
23
+ noWrap?: boolean;
24
24
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "size" | "classes" | "avatar" | "titleTypographyProps" | "noWrap" | "endAdornment" | "description" | "descriptionTypographyProps" | "TitleBlockProps"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  var __rest = (this && this.__rest) || function (s, e) {
37
47
  var t = {};
38
48
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -1,2 +1,2 @@
1
1
  import { BadgeProps } from '@mui/material/Badge';
2
- export declare const createMuiBadgeOverrides: import("../theme/create-component-overrides").ComponentOverrideCreator<BadgeProps<"span", {}>, keyof import("@mui/material/Badge").BadgeClasses>;
2
+ export declare const createMuiBadgeOverrides: import("../theme/create-component-overrides").ComponentOverrideCreator<BadgeProps, keyof import("@mui/material/Badge").BadgeClasses>;
package/badge/badge.js CHANGED
@@ -26,13 +26,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
26
26
  }) : function(o, v) {
27
27
  o["default"] = v;
28
28
  });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
29
+ var __importStar = (this && this.__importStar) || (function () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
36
46
  Object.defineProperty(exports, "__esModule", { value: true });
37
47
  exports.Badge = exports.badgeComponentName = void 0;
38
48
  var Badge_1 = __importStar(require("@mui/material/Badge"));
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bannerClasses = exports.getBannerUtilityClass = exports.bannerComponentName = void 0;
3
+ exports.bannerClasses = exports.bannerComponentName = void 0;
4
+ exports.getBannerUtilityClass = getBannerUtilityClass;
4
5
  var classes_1 = require("../styles/classes");
5
6
  exports.bannerComponentName = 'QuantumBanner';
6
7
  function getBannerUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.bannerComponentName, slot);
8
9
  }
9
- exports.getBannerUtilityClass = getBannerUtilityClass;
10
10
  exports.bannerClasses = (0, classes_1.generateUtilityClasses)(exports.bannerComponentName, ['root', 'content']);