@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
package/label/label.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,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.linkClasses = exports.getLinkUtilityClass = exports.linkComponentName = void 0;
3
+ exports.linkClasses = exports.linkComponentName = void 0;
4
+ exports.getLinkUtilityClass = getLinkUtilityClass;
4
5
  var classes_1 = require("../styles/classes");
5
6
  exports.linkComponentName = 'QuantumLink';
6
7
  function getLinkUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.linkComponentName, slot);
8
9
  }
9
- exports.getLinkUtilityClass = getLinkUtilityClass;
10
10
  exports.linkClasses = (0, classes_1.generateUtilityClasses)(exports.linkComponentName, ['root', 'icon', 'startIcon', 'endIcon']);
package/link/link.d.ts CHANGED
@@ -59,4 +59,4 @@ export interface IExtendLinkTypeMap<M extends OverridableTypeMap> {
59
59
  }
60
60
  export type ExtendLink<M extends OverridableTypeMap> = ((props: OverrideProps<IExtendLinkTypeMap<M>, 'a'>) => JSX.Element) & OverridableComponent<IExtendLinkTypeMap<M>>;
61
61
  export type ILinkProps<D extends React.ElementType = ILinkTypeMap['defaultComponent'], P = {}> = OverrideProps<ILinkTypeMap<P, D>, D>;
62
- export declare const Link: OverridableComponent<ILinkTypeMap<{}, "a">>;
62
+ export declare const Link: OverridableComponent<ILinkTypeMap>;
package/link/link.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)
@@ -107,17 +117,17 @@ var Root = (0, styled_1.styled)(text_1.Text, { name: link_classes_1.linkComponen
107
117
  position: 'relative',
108
118
  // pulled from MUI: https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Link/Link.js#L63-L85
109
119
  WebkitTapHighlightColor: 'transparent',
110
- backgroundColor: 'transparent',
120
+ backgroundColor: 'transparent', // Reset default value
111
121
  // We disable the focus ring for mouse, touch and keyboard users.
112
122
  outline: 0,
113
123
  border: 0,
114
- margin: 0,
124
+ margin: 0, // Remove the margin in Safari
115
125
  borderRadius: 0,
116
- padding: 0,
126
+ padding: 0, // Remove the padding in Firefox
117
127
  cursor: 'pointer',
118
128
  userSelect: 'none',
119
- MozAppearance: 'none',
120
- WebkitAppearance: 'none',
129
+ MozAppearance: 'none', // Reset
130
+ WebkitAppearance: 'none', // Reset
121
131
  '&::-moz-focus-inner': {
122
132
  borderStyle: 'none', // Remove Firefox dotted outline.
123
133
  },
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ListItemProps } from '@mui/material/ListItem';
3
2
  export interface IListItemProps extends Omit<ListItemProps, 'button'> {
4
3
  /**
@@ -11,4 +10,4 @@ export interface IListItemProps extends Omit<ListItemProps, 'button'> {
11
10
  button?: boolean;
12
11
  component?: React.ElementType;
13
12
  }
14
- export declare const ListItem: import("react").ForwardRefExoticComponent<IListItemProps>;
13
+ export declare const ListItem: React.ForwardRefExoticComponent<IListItemProps>;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.logoClasses = exports.getLogoUtilityClass = exports.logoComponentName = void 0;
3
+ exports.logoClasses = exports.logoComponentName = void 0;
4
+ exports.getLogoUtilityClass = getLogoUtilityClass;
4
5
  var classes_1 = require("../styles/classes");
5
6
  exports.logoComponentName = 'QuantumLogo';
6
7
  function getLogoUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.logoComponentName, slot);
8
9
  }
9
- exports.getLogoUtilityClass = getLogoUtilityClass;
10
10
  exports.logoClasses = (0, classes_1.generateUtilityClasses)(exports.logoComponentName, ['root', 'svg']);
package/logo/logo.d.ts CHANGED
@@ -14,9 +14,9 @@ export type ILogoProps = IStyledComponentProps<{
14
14
  defaultComponent: 'div';
15
15
  }>;
16
16
  export declare const Logo: React.ForwardRefExoticComponent<{
17
- color?: "light" | "dark" | "default" | "white" | "decorative" | undefined;
18
- size?: "small" | "medium" | "xsmall" | undefined;
19
- classes?: Partial<Record<"svg" | "root", string>> | undefined;
17
+ color?: "default" | "dark" | "light" | "white" | "decorative";
18
+ size?: "xsmall" | "small" | "medium";
19
+ classes?: Partial<LogoClasses>;
20
20
  /** allows loading external logos */
21
- iconSrc?: string | undefined;
21
+ iconSrc?: string;
22
22
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "color" | "size" | "classes" | "iconSrc"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
package/logo/logo.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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auth0/quantum-product",
3
- "version": "2.8.2",
3
+ "version": "2.9.0",
4
4
  "sideEffects": false,
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -28,8 +28,8 @@
28
28
  "artifactory": "cd ./build && npm publish",
29
29
  "build-storybook": "storybook build",
30
30
  "build": "yarn clean && yarn build:cjs && yarn build:esm && yarn copy:files",
31
- "build:cjs": "tsc --project ./tsconfig.publish.json",
32
- "build:esm": "tsc --project ./tsconfig.publish.esm.json",
31
+ "build:cjs": "node --max-old-space-size=8192 ../../node_modules/.bin/tsc --project ./tsconfig.publish.json",
32
+ "build:esm": "node --max-old-space-size=8192 ../../node_modules/.bin/tsc --project ./tsconfig.publish.esm.json",
33
33
  "identicons": "rm -rf src/identicons/icons && yarn svgr --config-file .svgr.identicon.js -d src/identicons/icons src/identicons/svg",
34
34
  "illustrations": "rm -rf src/illustrations/components && yarn svgr --config-file .svgr.illustration.js -d src/illustrations/components src/illustrations/svg",
35
35
  "clean": "rm -rf ./build",
@@ -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.usePageContext = exports.PageContext = exports.defaultCompactSize = exports.defaultPageSize = void 0;
27
37
  var React = __importStar(require("react"));
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pageHeaderClasses = exports.getPageHeaderUtilityClass = exports.pageHeaderComponentName = void 0;
3
+ exports.pageHeaderClasses = exports.pageHeaderComponentName = void 0;
4
+ exports.getPageHeaderUtilityClass = getPageHeaderUtilityClass;
4
5
  var classes_1 = require("../../styles/classes");
5
6
  exports.pageHeaderComponentName = 'QuantumPageHeader';
6
7
  function getPageHeaderUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.pageHeaderComponentName, slot);
8
9
  }
9
- exports.getPageHeaderUtilityClass = getPageHeaderUtilityClass;
10
10
  exports.pageHeaderClasses = (0, classes_1.generateUtilityClasses)(exports.pageHeaderComponentName, [
11
11
  'root',
12
12
  'actions',
@@ -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)
package/page/page.d.ts CHANGED
@@ -9,6 +9,6 @@ export type IPageProps = IStyledComponentProps<{
9
9
  defaultComponent: 'div';
10
10
  }>;
11
11
  export declare const Page: React.ForwardRefExoticComponent<{
12
- fullWidth?: boolean | undefined;
13
- compact?: boolean | undefined;
12
+ fullWidth?: boolean;
13
+ compact?: boolean;
14
14
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "compact" | "fullWidth"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
package/page/page.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)
@@ -20,9 +20,9 @@ export declare const CheckpointPagination: React.ForwardRefExoticComponent<{
20
20
  hasMore: boolean;
21
21
  hasPrevious: boolean;
22
22
  onNext: (newCursor: string) => void;
23
- onPrevious?: ((previousCursor: string) => void) | undefined;
24
- classes?: Partial<Record<"root" | "previousButton" | "nextButton", string>> | undefined;
25
- nextButtonLabel?: string | undefined;
26
- previousButtonLabel?: string | undefined;
27
- size?: "small" | "medium" | "large" | undefined;
23
+ onPrevious?: (previousCursor: string) => void;
24
+ classes?: Partial<CheckpointPaginationClasses>;
25
+ nextButtonLabel?: string;
26
+ previousButtonLabel?: string;
27
+ size?: "small" | "medium" | "large";
28
28
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | "size" | "cursor" | "classes" | "previousButtonLabel" | "nextButtonLabel" | "hasMore" | "hasPrevious" | "onNext" | "onPrevious"> & 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,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.checkpointPaginationClasses = exports.getCheckpointPaginationUtilityClass = exports.checkpointPaginationComponentName = void 0;
3
+ exports.checkpointPaginationClasses = exports.checkpointPaginationComponentName = void 0;
4
+ exports.getCheckpointPaginationUtilityClass = getCheckpointPaginationUtilityClass;
4
5
  var classes_1 = require("../../styles/classes");
5
6
  exports.checkpointPaginationComponentName = 'QuantumCheckpointPagination';
6
7
  function getCheckpointPaginationUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.checkpointPaginationComponentName, slot);
8
9
  }
9
- exports.getCheckpointPaginationUtilityClass = getCheckpointPaginationUtilityClass;
10
10
  exports.checkpointPaginationClasses = (0, classes_1.generateUtilityClasses)(exports.checkpointPaginationComponentName, [
11
11
  'root',
12
12
  'previousButton',
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pagerClasses = exports.getPagerUtilityClass = exports.pagerComponentName = void 0;
3
+ exports.pagerClasses = exports.pagerComponentName = void 0;
4
+ exports.getPagerUtilityClass = getPagerUtilityClass;
4
5
  var classes_1 = require("../../styles/classes");
5
6
  exports.pagerComponentName = 'QuantumPager';
6
7
  function getPagerUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.pagerComponentName, slot);
8
9
  }
9
- exports.getPagerUtilityClass = getPagerUtilityClass;
10
10
  exports.pagerClasses = (0, classes_1.generateUtilityClasses)(exports.pagerComponentName, [
11
11
  'root',
12
12
  'previousPageButton',
@@ -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,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginationClasses = exports.getPaginationUtilityClass = exports.paginationComponentName = void 0;
3
+ exports.paginationClasses = exports.paginationComponentName = void 0;
4
+ exports.getPaginationUtilityClass = getPaginationUtilityClass;
4
5
  var classes_1 = require("../styles/classes");
5
6
  exports.paginationComponentName = 'QuantumPagination';
6
7
  function getPaginationUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.paginationComponentName, slot);
8
9
  }
9
- exports.getPaginationUtilityClass = getPaginationUtilityClass;
10
10
  exports.paginationClasses = (0, classes_1.generateUtilityClasses)(exports.paginationComponentName, [
11
11
  'root',
12
12
  'pageSelect',
@@ -19,13 +19,13 @@ export type IPaginationProps = IStyledComponentProps<{
19
19
  }>;
20
20
  export declare const Pagination: React.ForwardRefExoticComponent<{
21
21
  items: number;
22
- showPageSelection?: boolean | undefined;
22
+ showPageSelection?: boolean;
23
23
  page: number;
24
24
  perPage: number;
25
- disabled?: boolean | undefined;
25
+ disabled?: boolean;
26
26
  onPageChanged(page: number): void;
27
- PagerProps?: Partial<IPagerProps> | undefined;
28
- classes?: Partial<Record<"root" | "pageSelect" | "pageLabelText" | "pager", string>> | undefined;
29
- nextButtonLabel?: string | undefined;
30
- previousButtonLabel?: string | undefined;
27
+ PagerProps?: Partial<IPagerProps>;
28
+ classes?: Partial<PaginationClasses>;
29
+ nextButtonLabel?: string;
30
+ previousButtonLabel?: string;
31
31
  } & Omit<React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref" | "disabled" | "page" | "classes" | "items" | "previousButtonLabel" | "nextButtonLabel" | "showPageSelection" | "perPage" | "onPageChanged" | "PagerProps"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLFieldSetElement>>;
@@ -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,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.panelClasses = exports.getPanelUtilityClass = exports.panelComponentName = void 0;
3
+ exports.panelClasses = exports.panelComponentName = void 0;
4
+ exports.getPanelUtilityClass = getPanelUtilityClass;
4
5
  var classes_1 = require("../../styles/classes");
5
6
  exports.panelComponentName = 'QuantumPanel';
6
7
  function getPanelUtilityClass(slot) {
7
8
  return (0, classes_1.generateUtilityClass)(exports.panelComponentName, slot);
8
9
  }
9
- exports.getPanelUtilityClass = getPanelUtilityClass;
10
10
  exports.panelClasses = (0, classes_1.generateUtilityClasses)(exports.panelComponentName, [
11
11
  'root',
12
12
  'content',
@@ -30,10 +30,10 @@ export declare const Panel: React.ForwardRefExoticComponent<Partial<IPanelOwnerS
30
30
  /** Main content. Recommended content is PanelHeader, PanelBody, and PanelFooter. */
31
31
  children?: React.ReactNode;
32
32
  /** Event fired when panel tries to close. */
33
- onClose?(event: React.MouseEvent<HTMLButtonElement>, reason: 'closeButtonClick'): void;
33
+ onClose?(event: React.MouseEvent<HTMLButtonElement>, reason: "closeButtonClick"): void;
34
34
  /** convenience prop for rendering the label for close button with a Panel component */
35
- closeButtonLabel?: string | undefined;
36
- classes?: Partial<Record<"fixed" | "content" | "open" | "root" | "sizeSmall" | "sizeMedium" | "sizeLarge" | "closeButton" | "variantFloating" | "variantPersistent" | "variantPermanent" | "sizeXLarge" | "placementStart" | "placementEnd", string>> | undefined;
37
- closeIconButtonProps?: Partial<IIconButtonProps<"button", {}>> | undefined;
38
- PanelHeaderProps?: Partial<IPanelHeaderProps> | undefined;
39
- } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "size" | "classes" | "children" | "variant" | "onClose" | "placement" | "offsetTop" | "closeButtonLabel" | "isOpen" | "isFixed" | "closeIconButtonProps" | "PanelHeaderProps"> & import("../../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
35
+ closeButtonLabel?: string;
36
+ classes?: Partial<PanelClasses>;
37
+ closeIconButtonProps?: Partial<IIconButtonProps>;
38
+ PanelHeaderProps?: Partial<IPanelHeaderProps>;
39
+ } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "ref" | "size" | "children" | "onClose" | "classes" | "variant" | "placement" | "closeButtonLabel" | "isOpen" | "isFixed" | "offsetTop" | "closeIconButtonProps" | "PanelHeaderProps"> & 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)
@@ -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)