@auth0/quantum-product 1.11.1 → 2.0.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 (297) hide show
  1. package/accordion/accordion-details.d.ts +1 -1
  2. package/accordion/accordion-summary.d.ts +1 -1
  3. package/accordion/accordion.d.ts +4 -4
  4. package/alert/alert-classes.d.ts +2 -2
  5. package/alert/alert.d.ts +4 -4
  6. package/app-bar/app-bar-actions/app-bar-actions.d.ts +1 -1
  7. package/app-bar/app-bar-button/app-bar-button.d.ts +2 -2
  8. package/app-bar/app-bar-content/app-bar-content.d.ts +1 -1
  9. package/app-bar/app-bar-divider/app-bar-divider.d.ts +1 -1
  10. package/app-bar/app-bar-icon-button/app-bar-icon-button.d.ts +2 -2
  11. package/app-bar/app-bar.d.ts +1 -1
  12. package/app-layout/app-layout-classes.d.ts +3 -3
  13. package/app-layout/app-layout.d.ts +1 -1
  14. package/avatar/avatar-classes.d.ts +2 -2
  15. package/avatar/avatar-context.d.ts +3 -3
  16. package/avatar/avatar.d.ts +1 -1
  17. package/avatar-block/avatar-block-classes.d.ts +3 -3
  18. package/avatar-block/avatar-block.d.ts +2 -2
  19. package/badge/badge.d.ts +1 -1
  20. package/banner/banner-classes.d.ts +2 -2
  21. package/banner/banner.d.ts +1 -1
  22. package/breadcrumbs/breadcrumbs-item/breadcrumbs-item-classes.d.ts +2 -2
  23. package/breadcrumbs/breadcrumbs-item/breadcrumbs-item.d.ts +2 -2
  24. package/breadcrumbs/breadcrumbs-overrides.d.ts +2 -2
  25. package/breadcrumbs/breadcrumbs-overrides.js +17 -1
  26. package/breadcrumbs/breadcrumbs.d.ts +1 -1
  27. package/button/button-overrides.js +16 -2
  28. package/button/button.d.ts +2 -2
  29. package/card/card-context.d.ts +1 -1
  30. package/card/card-header/card-header-classes.d.ts +2 -2
  31. package/card/card-header/card-header.d.ts +1 -1
  32. package/card/card-header/card-header.js +1 -1
  33. package/card/card.d.ts +1 -1
  34. package/card/card.js +1 -1
  35. package/checkbox/checkbox-classes.d.ts +2 -2
  36. package/checkbox/checkbox-overrides.js +1 -1
  37. package/checkbox/checkbox.d.ts +1 -1
  38. package/checkbox-field/checkbox-field.d.ts +3 -3
  39. package/chip/chip-overrides.js +1 -5
  40. package/chip/chip.d.ts +1 -1
  41. package/chip/chip.js +1 -7
  42. package/code/code.d.ts +1 -1
  43. package/column-layout/column-layout.d.ts +2 -2
  44. package/config-block/config-block-classes.d.ts +2 -2
  45. package/config-block/config-block.d.ts +2 -1
  46. package/copy-button/copy-button.d.ts +1 -1
  47. package/danger-zone/danger-zone-item/danger-zone-item.d.ts +1 -1
  48. package/danger-zone/danger-zone-item-action/danger-zone-item-action.d.ts +2 -2
  49. package/data-table/data-table-row.d.ts +1 -1
  50. package/data-table/data-table-types.d.ts +4 -4
  51. package/data-table/data-table.d.ts +1 -1
  52. package/description-block/description-block.d.ts +1 -1
  53. package/dialog/dialog-title/dialog-title-classes.d.ts +2 -2
  54. package/dialog/dialog-title/dialog-title.d.ts +1 -1
  55. package/dialog/dialog.d.ts +1 -1
  56. package/divider/index.d.ts +1 -1
  57. package/dropdown-menu/dropdown-menu-classes.d.ts +2 -2
  58. package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.d.ts +2 -2
  59. package/dropdown-menu/dropdown-menu-group/dropdown-menu-group-classes.d.ts +2 -2
  60. package/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +1 -1
  61. package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.d.ts +2 -2
  62. package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item-classes.d.ts +2 -2
  63. package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.d.ts +2 -2
  64. package/dropdown-menu/dropdown-menu-search/dropdown-menu-search-classes.d.ts +2 -2
  65. package/dropdown-menu/dropdown-menu-search/dropdown-menu-search.d.ts +2 -2
  66. package/dropdown-menu/dropdown-menu-state/dropdown-menu-state.d.ts +2 -2
  67. package/dropdown-menu/dropdown-menu.d.ts +1 -1
  68. package/empty-state/empty-state-action/empty-state-action.d.ts +1 -1
  69. package/empty-state/empty-state-classes.d.ts +2 -2
  70. package/esm/breadcrumbs/breadcrumbs-overrides.js +17 -1
  71. package/esm/button/button-overrides.js +16 -2
  72. package/esm/card/card-header/card-header.js +1 -1
  73. package/esm/card/card.js +1 -1
  74. package/esm/checkbox/checkbox-overrides.js +1 -1
  75. package/esm/chip/chip-overrides.js +1 -5
  76. package/esm/chip/chip.js +1 -7
  77. package/esm/icon-button/icon-button-overrides.js +54 -24
  78. package/esm/input/outlined-input-overrides.js +11 -16
  79. package/esm/radio/radio-overrides.js +1 -1
  80. package/esm/switch/switch-overrides.js +12 -1
  81. package/esm/tabs/tab/tab-override.js +4 -13
  82. package/esm/theme/create-mixins.js +4 -5
  83. package/expansion-panel/expansion-panel-details.d.ts +1 -1
  84. package/expansion-panel/expansion-panel-header.d.ts +1 -1
  85. package/expansion-panel/expansion-panel-summary.d.ts +1 -1
  86. package/expansion-panel/expansion-panel.d.ts +1 -1
  87. package/field-set/field-set-classes.d.ts +2 -2
  88. package/field-set/field-set.d.ts +2 -2
  89. package/floating-panel/floating-panel.d.ts +1 -1
  90. package/form/form-actions/form-actions-classes.d.ts +2 -2
  91. package/form/form-actions/form-actions.d.ts +2 -2
  92. package/form/form-control-label/form-control-label-classes.d.ts +2 -2
  93. package/form/form-control-label/form-control-label.d.ts +2 -2
  94. package/form/form-field/form-field-classes.d.ts +2 -2
  95. package/form/form-field/form-field.d.ts +2 -2
  96. package/form/form-helper-text/index.d.ts +1 -1
  97. package/form/form-layout/form-layout-context.d.ts +1 -1
  98. package/foundations/token-tables.d.ts +5 -5
  99. package/gallery-layout/gallery-layout-item/gallery-layout-item.d.ts +1 -1
  100. package/gallery-layout/gallery-layout.d.ts +2 -2
  101. package/icon/index.d.ts +344 -344
  102. package/icon/types.d.ts +1 -1
  103. package/icon-button/icon-button-overrides.js +54 -24
  104. package/icon-button/icon-button.d.ts +3 -3
  105. package/identicons/common.d.ts +1 -1
  106. package/identicons/icons/icon-access-token.d.ts +2 -2
  107. package/identicons/icons/icon-account-takeover.d.ts +2 -2
  108. package/identicons/icons/icon-actions.d.ts +2 -2
  109. package/identicons/icons/icon-activity.d.ts +2 -2
  110. package/identicons/icons/icon-advanced-options.d.ts +2 -2
  111. package/identicons/icons/icon-anticipation.d.ts +2 -2
  112. package/identicons/icons/icon-api-related.d.ts +2 -2
  113. package/identicons/icons/icon-api.d.ts +2 -2
  114. package/identicons/icons/icon-applications.d.ts +2 -2
  115. package/identicons/icons/icon-attributes.d.ts +2 -2
  116. package/identicons/icons/icon-auth0-authorization-server.d.ts +2 -2
  117. package/identicons/icons/icon-auth0-dashboard.d.ts +2 -2
  118. package/identicons/icons/icon-auth0-logo-dark.d.ts +2 -2
  119. package/identicons/icons/icon-auth0-logo-light.d.ts +2 -2
  120. package/identicons/icons/icon-authentication-a.d.ts +2 -2
  121. package/identicons/icons/icon-authentication-b.d.ts +2 -2
  122. package/identicons/icons/icon-authorization-server.d.ts +2 -2
  123. package/identicons/icons/icon-backend.d.ts +2 -2
  124. package/identicons/icons/icon-biometrics.d.ts +2 -2
  125. package/identicons/icons/icon-bot-detection.d.ts +2 -2
  126. package/identicons/icons/icon-boundary-protocol.d.ts +2 -2
  127. package/identicons/icons/icon-branding.d.ts +2 -2
  128. package/identicons/icons/icon-breached-password.d.ts +2 -2
  129. package/identicons/icons/icon-browser.d.ts +2 -2
  130. package/identicons/icons/icon-brute-force.d.ts +2 -2
  131. package/identicons/icons/icon-certificate.d.ts +2 -2
  132. package/identicons/icons/icon-cli-script.d.ts +2 -2
  133. package/identicons/icons/icon-cloud.d.ts +2 -2
  134. package/identicons/icons/icon-consistency.d.ts +2 -2
  135. package/identicons/icons/icon-cookies.d.ts +2 -2
  136. package/identicons/icons/icon-credential-application.d.ts +2 -2
  137. package/identicons/icons/icon-credential-stuffing.d.ts +2 -2
  138. package/identicons/icons/icon-credential-user.d.ts +2 -2
  139. package/identicons/icons/icon-customization.d.ts +2 -2
  140. package/identicons/icons/icon-dashboard.d.ts +2 -2
  141. package/identicons/icons/icon-database.d.ts +2 -2
  142. package/identicons/icons/icon-desktop-app.d.ts +2 -2
  143. package/identicons/icons/icon-device-biometrics.d.ts +2 -2
  144. package/identicons/icons/icon-efficiency.d.ts +2 -2
  145. package/identicons/icons/icon-empathy.d.ts +2 -2
  146. package/identicons/icons/icon-enterprise-directory.d.ts +2 -2
  147. package/identicons/icons/icon-extensions.d.ts +2 -2
  148. package/identicons/icons/icon-fine-grained-authorization.d.ts +2 -2
  149. package/identicons/icons/icon-getting-started.d.ts +2 -2
  150. package/identicons/icons/icon-guardian-push-notification.d.ts +2 -2
  151. package/identicons/icons/icon-help.d.ts +2 -2
  152. package/identicons/icons/icon-id-token.d.ts +2 -2
  153. package/identicons/icons/icon-identifier-first.d.ts +2 -2
  154. package/identicons/icons/icon-identifier-password.d.ts +2 -2
  155. package/identicons/icons/icon-integrations-marketplace.d.ts +2 -2
  156. package/identicons/icons/icon-ip-throttling.d.ts +2 -2
  157. package/identicons/icons/icon-login-customization.d.ts +2 -2
  158. package/identicons/icons/icon-login.d.ts +2 -2
  159. package/identicons/icons/icon-logout-token.d.ts +2 -2
  160. package/identicons/icons/icon-logs.d.ts +2 -2
  161. package/identicons/icons/icon-mail-message-a.d.ts +2 -2
  162. package/identicons/icons/icon-mail-message-b.d.ts +2 -2
  163. package/identicons/icons/icon-marketplace-approved.d.ts +2 -2
  164. package/identicons/icons/icon-marketplace-create.d.ts +2 -2
  165. package/identicons/icons/icon-mobile-app.d.ts +2 -2
  166. package/identicons/icons/icon-monitoring.d.ts +2 -2
  167. package/identicons/icons/icon-multifactor.d.ts +2 -2
  168. package/identicons/icons/icon-multiple-failed-logins.d.ts +2 -2
  169. package/identicons/icons/icon-one-time-password.d.ts +2 -2
  170. package/identicons/icons/icon-organizations.d.ts +2 -2
  171. package/identicons/icons/icon-phone-message-a.d.ts +2 -2
  172. package/identicons/icons/icon-phone-message-b.d.ts +2 -2
  173. package/identicons/icons/icon-pipeline-a.d.ts +2 -2
  174. package/identicons/icons/icon-pipeline-b.d.ts +2 -2
  175. package/identicons/icons/icon-refresh-token.d.ts +2 -2
  176. package/identicons/icons/icon-sdk.d.ts +2 -2
  177. package/identicons/icons/icon-security.d.ts +2 -2
  178. package/identicons/icons/icon-server.d.ts +2 -2
  179. package/identicons/icons/icon-settings.d.ts +2 -2
  180. package/identicons/icons/icon-social-providers.d.ts +2 -2
  181. package/identicons/icons/icon-spa.d.ts +2 -2
  182. package/identicons/icons/icon-teams.d.ts +2 -2
  183. package/identicons/icons/icon-tenant.d.ts +2 -2
  184. package/identicons/icons/icon-user-database.d.ts +2 -2
  185. package/identicons/icons/icon-user-management.d.ts +2 -2
  186. package/identicons/icons/icon-user.d.ts +2 -2
  187. package/identicons/icons/icon-users.d.ts +2 -2
  188. package/identicons/icons/icon-video.d.ts +2 -2
  189. package/identicons/icons/icon-web-app.d.ts +2 -2
  190. package/identicons/icons/icon-webauthn.d.ts +2 -2
  191. package/illustrations/common.d.ts +1 -1
  192. package/illustrations/components/experienced-user.d.ts +2 -2
  193. package/illustrations/components/new-auth0-user-a.d.ts +2 -2
  194. package/illustrations/components/notifications.d.ts +2 -2
  195. package/illustrations/components/roles.d.ts +2 -2
  196. package/illustrations/components/single-sign-on.d.ts +2 -2
  197. package/illustrations/components/streams-logs.d.ts +2 -2
  198. package/illustrations/components/users.d.ts +2 -2
  199. package/image/image.d.ts +2 -2
  200. package/image-preview-field/image-preview-field.d.ts +2 -1
  201. package/input/input-adornment/input-adornment.d.ts +1 -1
  202. package/input/input.d.ts +2 -2
  203. package/input/outlined-input-overrides.js +11 -16
  204. package/label/label.d.ts +2 -2
  205. package/link/link-classes.d.ts +2 -2
  206. package/link/link.d.ts +3 -3
  207. package/logo/logo-classes.d.ts +2 -2
  208. package/logo/logo.d.ts +3 -3
  209. package/overridable-component.d.ts +2 -2
  210. package/package.json +2 -2
  211. package/page/page-header/page-header-classes.d.ts +2 -2
  212. package/page/page-header/page-header.d.ts +1 -1
  213. package/page/page.d.ts +1 -1
  214. package/pagination/pager/pager-classes.d.ts +2 -2
  215. package/pagination/pagination-classes.d.ts +2 -2
  216. package/pagination/pagination.d.ts +1 -1
  217. package/panel/panel/panel-classes.d.ts +2 -2
  218. package/panel/panel/panel.d.ts +2 -2
  219. package/panel/panel-body/panel-body.d.ts +1 -1
  220. package/panel/panel-context.d.ts +3 -3
  221. package/panel/panel-footer/panel-footer.d.ts +1 -1
  222. package/panel/panel-header/panel-header-classes.d.ts +2 -2
  223. package/panel/panel-header/panel-header.d.ts +2 -2
  224. package/panel/panel-layout/panel-layout-classes.d.ts +2 -2
  225. package/panel/panel-layout/panel-layout.d.ts +1 -1
  226. package/promo-banner/promo-banner-classes.d.ts +2 -2
  227. package/promo-banner/promo-banner.d.ts +1 -1
  228. package/pulsing-dot/pulsing-dot.d.ts +2 -2
  229. package/quantum-provider/quantum-context.d.ts +1 -1
  230. package/radio/radio-classes.d.ts +2 -2
  231. package/radio/radio-overrides.js +1 -1
  232. package/radio/radio.d.ts +1 -1
  233. package/radio-field/radio-field.d.ts +3 -3
  234. package/region/flags.d.ts +6 -6
  235. package/region/region-classes.d.ts +2 -2
  236. package/region/region.d.ts +3 -3
  237. package/row-layout/row-layout.d.ts +1 -1
  238. package/select/select-classes.d.ts +2 -2
  239. package/select/select-menu/select-menu.d.ts +1 -1
  240. package/select/select-menu-actions/select-menu-actions.d.ts +1 -1
  241. package/select/select-menu-body/select-menu-body.d.ts +1 -1
  242. package/select/select-menu-header/select-menu-header.d.ts +1 -1
  243. package/select/select-options.d.ts +2 -2
  244. package/selectable-card/selectable-card-classes.d.ts +2 -2
  245. package/selectable-card/selectable-card-group/selectable-card-group-classes.d.ts +2 -2
  246. package/selectable-card/selectable-card-group/selectable-card-group.d.ts +2 -1
  247. package/selectable-card/selectable-card.d.ts +2 -2
  248. package/sidebar/sidebar-banner/sidebar-banner.d.ts +1 -1
  249. package/sidebar/sidebar-classes.d.ts +2 -2
  250. package/sidebar/sidebar-items/sidebar-items.d.ts +1 -1
  251. package/sidebar/sidebar-link/sidebar-link-classes.d.ts +2 -2
  252. package/sidebar/sidebar-link/sidebar-link.d.ts +1 -1
  253. package/sidebar/sidebar-menu/sidebar-menu-classes.d.ts +2 -2
  254. package/sidebar/sidebar-menu/sidebar-menu.d.ts +1 -1
  255. package/sidebar/sidebar-new.d.ts +1 -1
  256. package/sidebar/sidebar-old.d.ts +1 -1
  257. package/sidebar/sidebar.d.ts +1 -1
  258. package/spinner/spinner-classes.d.ts +2 -2
  259. package/spinner/spinner.d.ts +1 -1
  260. package/stack-layout/stack-layout-item/stack-layout-item.d.ts +1 -1
  261. package/stack-layout/stack-layout.d.ts +1 -1
  262. package/status/status-dot/status-dot-classes.d.ts +2 -2
  263. package/status/status-dot/status-dot.d.ts +2 -2
  264. package/status/status-icon/status-icon-classes.d.ts +2 -2
  265. package/status/status-icon/status-icon.d.ts +3 -3
  266. package/stepper/step-label/step-label.d.ts +1 -1
  267. package/styled.d.ts +2 -2
  268. package/svg-icon/svg-icon.d.ts +1 -1
  269. package/switch/switch-classes.d.ts +2 -2
  270. package/switch/switch-field/switch-field.d.ts +3 -2
  271. package/switch/switch-overrides.js +12 -1
  272. package/switch/switch.d.ts +1 -1
  273. package/table/table-empty-state/table-empty-state.d.ts +1 -1
  274. package/table/table-loading-state/table-loading-state-classes.d.ts +2 -2
  275. package/table/table-loading-state/table-loading-state.d.ts +1 -1
  276. package/table/table-sort-label/index.d.ts +2 -2
  277. package/tabs/tab/tab-override.js +4 -13
  278. package/tabs/tab/tab.d.ts +2 -2
  279. package/tabs/tab-list/tab-list.d.ts +1 -1
  280. package/tabs/tab-panel/tab-panel.d.ts +1 -1
  281. package/tabs/tabs.d.ts +1 -0
  282. package/text/index.d.ts +1 -1
  283. package/theme/colors.d.ts +4 -4
  284. package/theme/create-component-overrides.d.ts +1 -1
  285. package/theme/create-components.d.ts +1 -1
  286. package/theme/create-layout.d.ts +1 -1
  287. package/theme/create-mixins.d.ts +1 -1
  288. package/theme/create-mixins.js +3 -4
  289. package/theme/create-palette.d.ts +7 -7
  290. package/theme/create-theme.d.ts +2 -2
  291. package/theme/create-typography.d.ts +2 -2
  292. package/theme/tokens.d.ts +15 -15
  293. package/title-block/title-block-classes.d.ts +3 -3
  294. package/toast/toast-classes.d.ts +2 -2
  295. package/toast/toast.d.ts +1 -1
  296. package/utils/layouts.d.ts +1 -1
  297. package/utils/responsive-style-value.d.ts +2 -2
@@ -1,5 +1,5 @@
1
1
  export declare const spinnerComponentName: "QuantumSpinner";
2
2
  export declare function getSpinnerUtilityClass(slot: string): string;
3
3
  export declare const spinnerClasses: Record<"spinner" | "root" | "logo", string>;
4
- export declare type SpinnerClasses = typeof spinnerClasses;
5
- export declare type SpinnerClassKey = keyof SpinnerClasses;
4
+ export type SpinnerClasses = typeof spinnerClasses;
5
+ export type SpinnerClassKey = keyof SpinnerClasses;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ILogoProps } from '../logo';
3
3
  import { IStyledComponentProps } from '../styled';
4
4
  import { SpinnerClasses } from './spinner-classes';
5
- export declare type ISpinnerProps = IStyledComponentProps<{
5
+ export type ISpinnerProps = IStyledComponentProps<{
6
6
  props: {
7
7
  /** Invert for dark background */
8
8
  inverse?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { IStyledComponentProps } from '../../styled';
2
2
  export declare const StackLayoutItemComponentName: "QuantumStackLayoutItem";
3
- export declare type IStackLayoutItemProps = IStyledComponentProps<{
3
+ export type IStackLayoutItemProps = IStyledComponentProps<{
4
4
  props: {};
5
5
  defaultComponent: 'div';
6
6
  }>;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IStyledComponentProps } from '../styled';
3
3
  import { ILayoutComponentProps } from '../utils/layouts';
4
- export declare type IStackLayoutProps = IStyledComponentProps<{
4
+ export type IStackLayoutProps = IStyledComponentProps<{
5
5
  props: ILayoutComponentProps;
6
6
  defaultComponent: 'div';
7
7
  }>;
@@ -1,5 +1,5 @@
1
1
  export declare const statusDotComponentName: "QuantumStatusDot";
2
2
  export declare function getStatusDotUtilityClass(slot: string): string;
3
3
  export declare const statusDotClasses: Record<"dot" | "root", string>;
4
- export declare type StatusDotClasses = typeof statusDotClasses;
5
- export declare type StatusDotClassKey = keyof StatusDotClasses;
4
+ export type StatusDotClasses = typeof statusDotClasses;
5
+ export type StatusDotClassKey = keyof StatusDotClasses;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { IStyledComponentProps } from '../../styled';
3
3
  import { ITextProps } from '../../text';
4
4
  import { StatusDotClasses } from './status-dot-classes';
5
- export declare type IStatusDotProps = IStyledComponentProps<{
5
+ export type IStatusDotProps = IStyledComponentProps<{
6
6
  props: {
7
7
  label: React.ReactNode;
8
8
  color?: 'default' | 'warning' | 'danger' | 'success' | 'info';
@@ -16,7 +16,7 @@ export declare type IStatusDotProps = IStyledComponentProps<{
16
16
  };
17
17
  defaultComponent: 'span';
18
18
  }>;
19
- export declare type IStatusDotOwnerState = Pick<IStatusDotProps, 'color'>;
19
+ export type IStatusDotOwnerState = Pick<IStatusDotProps, 'color'>;
20
20
  export declare const StatusDot: React.ForwardRefExoticComponent<{
21
21
  label: React.ReactNode;
22
22
  color?: "default" | "warning" | "danger" | "success" | "info" | undefined;
@@ -1,5 +1,5 @@
1
1
  export declare const statusIconComponentName: "QuantumStatusIcon";
2
2
  export declare function getStatusIconUtilityClass(slot: string): string;
3
3
  export declare const statusIconClasses: Record<"icon" | "root", string>;
4
- export declare type StatusIconClasses = typeof statusIconClasses;
5
- export declare type StatusIconClassKey = keyof StatusIconClasses;
4
+ export type StatusIconClasses = typeof statusIconClasses;
5
+ export type StatusIconClassKey = keyof StatusIconClasses;
@@ -4,9 +4,9 @@ import { IStyledComponentProps } from '../../styled';
4
4
  import { ITheme } from '../../theme';
5
5
  import { StatusIconClasses } from './status-icon-classes';
6
6
  import { ThemeColorTokenName } from '../../theme/tokens';
7
- declare type StatusIconColor = 'default' | 'warning' | 'danger' | 'success' | 'info';
8
- declare type StatusIconVariant = 'default' | 'filled';
9
- export declare type IStatusIconProps = IStyledComponentProps<{
7
+ type StatusIconColor = 'default' | 'warning' | 'danger' | 'success' | 'info';
8
+ type StatusIconVariant = 'default' | 'filled';
9
+ export type IStatusIconProps = IStyledComponentProps<{
10
10
  props: {
11
11
  color?: StatusIconColor;
12
12
  label?: string;
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
2
  import { StepLabelProps } from '@mui/material/StepLabel';
3
- export declare const StepLabel: React.ForwardRefExoticComponent<Pick<StepLabelProps, "slot" | "style" | "title" | "color" | "error" | "hidden" | "icon" | "translate" | "className" | "classes" | "children" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentsProps" | "slotProps" | "optional" | "StepIconComponent" | "StepIconProps"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare const StepLabel: React.ForwardRefExoticComponent<Omit<StepLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
package/styled.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import type { DefaultComponentProps, OverridableTypeMap } from './overridable-component';
3
3
  import { shouldForwardProp, SxProps as MUISxProps } from '@mui/system';
4
4
  import { ITheme } from './theme';
5
- export declare type SxProps = MUISxProps<ITheme>;
5
+ export type SxProps = MUISxProps<ITheme>;
6
6
  export interface IStyledCommonProps {
7
7
  sx?: SxProps;
8
8
  as?: React.ElementType;
@@ -12,7 +12,7 @@ export interface IStyledCommonProps {
12
12
  /**
13
13
  * Props for components that use a styled component as the root
14
14
  */
15
- export declare type IStyledComponentProps<TypeMap extends OverridableTypeMap> = DefaultComponentProps<TypeMap> & IStyledCommonProps;
15
+ export type IStyledComponentProps<TypeMap extends OverridableTypeMap> = DefaultComponentProps<TypeMap> & IStyledCommonProps;
16
16
  export interface IStyledOwnerStateProps<Props = {}> {
17
17
  ownerState: Props;
18
18
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { IStyledComponentProps } from '../styled';
3
- export declare type ISVGIconProps = IStyledComponentProps<{
3
+ export type ISVGIconProps = IStyledComponentProps<{
4
4
  props: {
5
5
  /** Shortcut prop for height and width.
6
6
  * @default "1em"
@@ -1,5 +1,5 @@
1
1
  export declare const switchComponentName: "QuantumSwitch";
2
2
  export declare function getSwitchUtilityClass(slot: string): string;
3
3
  export declare const switchClasses: Record<"switch" | "formControlLabel", string>;
4
- export declare type SwitchClasses = typeof switchClasses;
5
- export declare type SwitchClassKey = keyof SwitchClasses;
4
+ export type SwitchClasses = typeof switchClasses;
5
+ export type SwitchClassKey = keyof SwitchClasses;
@@ -1,11 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { IFormFieldProps } from '../../form';
3
3
  import { ISwitchProps } from '../switch';
4
- declare type PickedSwitchPropKeys = 'onChange' | 'onValueChange' | 'onBlur' | 'checked' | 'value' | 'defaultValue' | 'defaultChecked';
4
+ type PickedSwitchPropKeys = 'onChange' | 'onValueChange' | 'onBlur' | 'checked' | 'value' | 'defaultValue' | 'defaultChecked';
5
5
  export interface ISwitchFieldProps extends Omit<IFormFieldProps, PickedSwitchPropKeys>, Pick<ISwitchProps, PickedSwitchPropKeys> {
6
6
  switchLabels?: ISwitchProps['labels'];
7
7
  switchLabelPlacement?: ISwitchProps['labelPlacement'];
8
8
  SwitchProps?: ISwitchProps;
9
+ children?: React.ReactNode;
9
10
  }
10
- export declare const SwitchField: React.ForwardRefExoticComponent<Pick<ISwitchFieldProps, "label" | "slot" | "style" | "title" | "error" | "disabled" | "hidden" | "size" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value" | "name" | "fullWidth" | "component" | "focused" | "hiddenLabel" | "required" | "readOnly" | "checked" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "ErrorHelperTextProps" | "onValueChange" | "switchLabels" | "switchLabelPlacement" | "SwitchProps"> & React.RefAttributes<HTMLDivElement>>;
11
+ export declare const SwitchField: React.ForwardRefExoticComponent<Omit<ISwitchFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
12
  export {};
@@ -1,4 +1,15 @@
1
1
  "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
2
13
  Object.defineProperty(exports, "__esModule", { value: true });
3
14
  exports.createMuiSwitchOverrides = void 0;
4
15
  var Switch_1 = require("@mui/material/Switch");
@@ -22,7 +33,7 @@ var createMuiSwitchOverrides = function (_a) {
22
33
  padding: 0,
23
34
  overflow: 'visible',
24
35
  '&:focus-within,&.Mui-focused': (_b = {},
25
- _b["& .".concat(Switch_1.switchClasses.track)] = mixins.focusRing(),
36
+ _b["& .".concat(Switch_1.switchClasses.track)] = __assign({ outlineOffset: 2 }, mixins.focusRing()),
26
37
  _b),
27
38
  },
28
39
  colorPrimary: (_c = {
@@ -14,4 +14,4 @@ export interface ISwitchProps extends Omit<SwitchProps, 'size' | 'color' | 'clas
14
14
  onValueChange?(newValue: boolean): void;
15
15
  classes?: Partial<SwitchClasses>;
16
16
  }
17
- export declare const Switch: React.ForwardRefExoticComponent<Pick<ISwitchProps, "form" | "slot" | "style" | "title" | "type" | "action" | "disabled" | "hidden" | "icon" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "disableFocusRipple" | "noWrap" | "component" | "required" | "edge" | "decoration" | "readOnly" | "inputProps" | "inputRef" | "checked" | "checkedIcon" | "helperText" | "labelPlacement" | "HelperTextProps" | "labels" | "onValueChange"> & React.RefAttributes<HTMLButtonElement | HTMLLabelElement>>;
17
+ export declare const Switch: React.ForwardRefExoticComponent<Omit<ISwitchProps, "ref"> & React.RefAttributes<HTMLButtonElement | HTMLLabelElement>>;
@@ -1,5 +1,5 @@
1
1
  import { IStyledComponentProps } from '../../styled';
2
- export declare type ITableEmptyStateProps = IStyledComponentProps<{
2
+ export type ITableEmptyStateProps = IStyledComponentProps<{
3
3
  props: {};
4
4
  defaultComponent: 'div';
5
5
  }>;
@@ -1,5 +1,5 @@
1
1
  export declare const tableLoadingStateComponentName: "QuantumTableLoadingState";
2
2
  export declare function getTableLoadingStateUtilityClass(slot: string): string;
3
3
  export declare const tableLoadingStateClasses: Record<"spinner" | "root", string>;
4
- export declare type TableLoadingStateClasses = typeof tableLoadingStateClasses;
5
- export declare type TableLoadingStateClassKey = keyof TableLoadingStateClasses;
4
+ export type TableLoadingStateClasses = typeof tableLoadingStateClasses;
5
+ export type TableLoadingStateClassKey = keyof TableLoadingStateClasses;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { IStyledComponentProps } from '../../styled';
3
3
  import { TableLoadingStateClasses } from './table-loading-state-classes';
4
- export declare type ITableLoadingStateProps = IStyledComponentProps<{
4
+ export type ITableLoadingStateProps = IStyledComponentProps<{
5
5
  props: {
6
6
  items?: any[];
7
7
  classes?: Partial<TableLoadingStateClasses>;
@@ -1,4 +1,4 @@
1
1
  import { TableSortLabelProps } from '@mui/material/TableSortLabel';
2
2
  import * as React from 'react';
3
- export declare type ITableSortLabelProps = TableSortLabelProps;
4
- export declare const TableSortLabel: React.ForwardRefExoticComponent<Pick<ITableSortLabelProps, "slot" | "style" | "title" | "color" | "action" | "disabled" | "active" | "hidden" | "direction" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "component" | "hideSortIcon" | "IconComponent"> & React.RefAttributes<HTMLAnchorElement>>;
3
+ export type ITableSortLabelProps = TableSortLabelProps;
4
+ export declare const TableSortLabel: React.ForwardRefExoticComponent<Omit<ITableSortLabelProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
@@ -1,21 +1,10 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.createMuiTabOverrides = void 0;
15
4
  var Tab_1 = require("@mui/material/Tab");
16
5
  var createMuiTabOverrides = function (_a) {
17
6
  var _b, _c;
18
- var tokens = _a.tokens, spacing = _a.spacing, breakpoints = _a.breakpoints, typography = _a.typography, mixins = _a.mixins;
7
+ var tokens = _a.tokens, spacing = _a.spacing, breakpoints = _a.breakpoints, typography = _a.typography;
19
8
  return {
20
9
  variants: [
21
10
  {
@@ -48,7 +37,9 @@ var createMuiTabOverrides = function (_a) {
48
37
  _c['&:hover'] = {
49
38
  color: tokens.color_fg_selected,
50
39
  },
51
- _c['&:focus-visible'] = __assign({}, mixins.focusRing({ type: 'inset' })),
40
+ _c['&:focus-visible'] = {
41
+ boxShadow: "0 0 0 2px ".concat(tokens.color_border_focus, " inset"),
42
+ },
52
43
  _c.color = tokens.color_fg_link_subtle,
53
44
  _c.fontWeight = typography.fontWeightRegular,
54
45
  _c),
package/tabs/tab/tab.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { OverridableComponent, OverrideProps } from '../../overridable-component';
3
3
  import { TabTypeMap } from '@mui/material/Tab';
4
- declare type ITabTypeMap<ExtraPropsType = {}, DefaultElementType extends React.ElementType = TabTypeMap['defaultComponent']> = TabTypeMap<ExtraPropsType & {
4
+ type ITabTypeMap<ExtraPropsType = {}, DefaultElementType extends React.ElementType = TabTypeMap['defaultComponent']> = TabTypeMap<ExtraPropsType & {
5
5
  productReleaseStage?: 'beta' | 'earlyAccess' | 'generalAvailability';
6
6
  }, DefaultElementType>;
7
- export declare type ITabProps<D extends React.ElementType = ITabTypeMap['defaultComponent'], P = {}> = OverrideProps<ITabTypeMap<P, D>, D>;
7
+ export type ITabProps<D extends React.ElementType = ITabTypeMap['defaultComponent'], P = {}> = OverrideProps<ITabTypeMap<P, D>, D>;
8
8
  export declare const Tab: OverridableComponent<ITabTypeMap<{}, "div">>;
9
9
  export {};
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  import { TabsProps } from '@mui/material/Tabs';
3
- export declare type ITabListProps = Omit<TabsProps, 'onChange' | 'value'>;
3
+ export type ITabListProps = Omit<TabsProps, 'onChange' | 'value'>;
4
4
  export declare const TabList: React.FC<ITabListProps>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { IStyledComponentProps } from '../../styled';
3
- export declare type ITabPanelProps = IStyledComponentProps<{
3
+ export type ITabPanelProps = IStyledComponentProps<{
4
4
  props: {
5
5
  value: any;
6
6
  };
package/tabs/tabs.d.ts CHANGED
@@ -3,5 +3,6 @@ import { ITabsContextValue } from './tabs-context';
3
3
  export interface ITabsProps extends Pick<ITabsContextValue, 'onChange' | 'value' | 'isLazy'> {
4
4
  baseId: string;
5
5
  fullWidth?: boolean;
6
+ children?: React.ReactNode;
6
7
  }
7
8
  export declare const Tabs: React.FC<ITabsProps>;
package/text/index.d.ts CHANGED
@@ -2,5 +2,5 @@
2
2
  import { typographyClasses, TypographyTypeMap } from '@mui/material/Typography';
3
3
  import { OverridableComponent, OverrideProps } from '../overridable-component';
4
4
  export { typographyClasses };
5
- export declare type ITextProps<D extends React.ElementType = TypographyTypeMap['defaultComponent'], P = {}> = OverrideProps<TypographyTypeMap<P, D>, D>;
5
+ export type ITextProps<D extends React.ElementType = TypographyTypeMap['defaultComponent'], P = {}> = OverrideProps<TypographyTypeMap<P, D>, D>;
6
6
  export declare const Text: OverridableComponent<TypographyTypeMap<{}, "span">>;
package/theme/colors.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import type { Color as MuiColor } from '@mui/material';
2
2
  import { ThemeTokens } from './tokens';
3
- export declare type Color = Omit<MuiColor, 'A100' | 'A200' | 'A400' | 'A700'>;
4
- export declare type Shade = 'lightest' | 'lighter' | 'light' | 'base' | 'dark' | 'darker' | 'darkest';
3
+ export type Color = Omit<MuiColor, 'A100' | 'A200' | 'A400' | 'A700'>;
4
+ export type Shade = 'lightest' | 'lighter' | 'light' | 'base' | 'dark' | 'darker' | 'darkest';
5
5
  /** @deprecated use tokens */
6
6
  export declare const shadeMap: Record<Shade, keyof Color>;
7
- export declare type ColorName = 'blue' | 'green' | 'magenta' | 'purple' | 'red' | 'yellow' | 'neutral';
7
+ export type ColorName = 'blue' | 'green' | 'magenta' | 'purple' | 'red' | 'yellow' | 'neutral';
8
8
  export declare const getColorsFromTokens: (tokens: ThemeTokens) => Record<ColorName, Color>;
9
9
  export declare const getBrandColor: (colors: Record<ColorName, Color>, mainBrandColor: string) => Color;
10
- declare type BrandShadeMap = Record<'light' | 'main' | 'dark' | 'A400' | 'A200' | 'A700', string>;
10
+ type BrandShadeMap = Record<'light' | 'main' | 'dark' | 'A400' | 'A200' | 'A700', string>;
11
11
  export declare const getBrandShadeAliasMap: (color: Color, mainColor: string) => BrandShadeMap;
12
12
  export {};
@@ -24,5 +24,5 @@ export interface IComponentOverrideMap<Props, ClassKey extends string = 'root'>
24
24
  style: CSSObject;
25
25
  }>;
26
26
  }
27
- export declare type ComponentOverrideCreator<ComponentProps, ClassKey extends string = 'root'> = (options: ICreateComponentOverridesOptions) => IComponentOverrideMap<ComponentProps, ClassKey>;
27
+ export type ComponentOverrideCreator<ComponentProps, ClassKey extends string = 'root'> = (options: ICreateComponentOverridesOptions) => IComponentOverrideMap<ComponentProps, ClassKey>;
28
28
  export declare const createComponentOverrides: <Props = {}, ClassKey extends string = "root">(creator: ComponentOverrideCreator<Props, ClassKey>) => ComponentOverrideCreator<Props, ClassKey>;
@@ -1,6 +1,6 @@
1
1
  import type { Components } from '@mui/material/styles';
2
2
  import type { ICreateComponentOverridesOptions } from './create-component-overrides';
3
- export declare type IComponents = Components;
3
+ export type IComponents = Components;
4
4
  export interface IComponentsOptions extends ICreateComponentOverridesOptions {
5
5
  components?: ((options: IComponentsOptions) => IComponents) | IComponents;
6
6
  }
@@ -6,7 +6,7 @@ export interface ILayout {
6
6
  sidebarWidth: number;
7
7
  sidebarWidthCollapsed: number;
8
8
  }
9
- export declare type ILayoutOptions = Partial<ILayout> & {
9
+ export type ILayoutOptions = Partial<ILayout> & {
10
10
  tokens?: ThemeTokens;
11
11
  };
12
12
  export declare const createLayout: (options?: ILayoutOptions) => ILayout;
@@ -26,7 +26,7 @@ export interface IMixins extends Omit<Mixins, 'toolbar'> {
26
26
  dark?: DarkModeValue;
27
27
  }): LightModeValue | DarkModeValue;
28
28
  }
29
- export declare type IMixinsOptions = Partial<IMixins>;
29
+ export type IMixinsOptions = Partial<IMixins>;
30
30
  export interface ICreateMixinsOptions {
31
31
  breakpoints: Breakpoints;
32
32
  spacing: Spacing;
@@ -40,10 +40,9 @@ var createMixins = function (_a) {
40
40
  };
41
41
  var focusRing = function (options) {
42
42
  if (options === void 0) { options = {}; }
43
- var _a = options.color, color = _a === void 0 ? tokens.color_border_focus_bold : _a, _b = options.type, type = _b === void 0 ? 'default' : _b, _c = options.opacity, opacity = _c === void 0 ? palette.mode === 'light' ? 0.25 : 0.5 : _c;
44
- var shadow = "".concat(opacity === 1 ? color : (0, color_manipulator_1.alpha)(color, opacity), " 0px 0px 0px 0.25em");
43
+ var _a = options.color, color = _a === void 0 ? tokens.color_border_focus : _a;
45
44
  return {
46
- boxShadow: type === 'default' ? shadow : "inset ".concat(shadow),
45
+ outline: "2px solid ".concat(color),
47
46
  };
48
47
  };
49
48
  var borderAsBoxShadow = function (color, width) {
@@ -61,7 +60,7 @@ var createMixins = function (_a) {
61
60
  },
62
61
  hover: hoverStyles,
63
62
  active: hoverStyles,
64
- focus: __assign({ color: tokens.color_fg_inverse_static }, focusRing({ color: tokens.color_border_focus_inverse_static, opacity: 1 })),
63
+ focus: __assign({ color: tokens.color_fg_inverse_static }, focusRing({ color: tokens.color_border_focus_inverse_static })),
65
64
  };
66
65
  };
67
66
  var getColorModeValue = function (_a) {
@@ -2,11 +2,11 @@ import { Palette, PaletteColor, PaletteOptions } from '@mui/material/styles';
2
2
  import type { PropTypes, PaletteMode } from '@mui/material';
3
3
  import { ThemeTokens } from './tokens';
4
4
  export type { PaletteColor, PaletteMode };
5
- export declare type IPalette = Palette;
6
- export declare type IPaletteOptions = PaletteOptions;
7
- export declare type ColorType = BaseColorType | ThemeColorType | StatusColorType | PaletteColor | 'danger';
8
- export declare type PickColorType<Color extends ColorType = ColorType> = Color;
9
- export declare type StatusColorType = keyof Pick<IPalette, 'warning' | 'danger' | 'success' | 'info'>;
10
- export declare type ThemeColorType = keyof Pick<IPalette, 'primary'>;
11
- export declare type BaseColorType = PropTypes.Color;
5
+ export type IPalette = Palette;
6
+ export type IPaletteOptions = PaletteOptions;
7
+ export type ColorType = BaseColorType | ThemeColorType | StatusColorType | PaletteColor | 'danger';
8
+ export type PickColorType<Color extends ColorType = ColorType> = Color;
9
+ export type StatusColorType = keyof Pick<IPalette, 'warning' | 'danger' | 'success' | 'info'>;
10
+ export type ThemeColorType = keyof Pick<IPalette, 'primary'>;
11
+ export type BaseColorType = PropTypes.Color;
12
12
  export declare const createPalette: ({ primary, secondary, mode, ...overrides }: PaletteOptions | undefined, tokens: ThemeTokens) => PaletteOptions;
@@ -4,7 +4,7 @@ import { ILayout } from './create-layout';
4
4
  import { IComponentsOptions } from './create-components';
5
5
  import { IMixins } from './create-mixins';
6
6
  import { ITypography, ITypographyOptions } from './create-typography';
7
- export declare type IThemeOptions = Omit<ThemeOptions, 'typography'> & {
7
+ export type IThemeOptions = Omit<ThemeOptions, 'typography'> & {
8
8
  components?: IComponentsOptions['components'];
9
9
  typography?: ((partialTheme: {
10
10
  palette: Palette;
@@ -20,6 +20,6 @@ interface IThemeCustomProps {
20
20
  tokens: SemanticThemeTokens;
21
21
  unsafe_globalTokens: GlobalThemeTokens;
22
22
  }
23
- export declare type ITheme = Theme & IThemeCustomProps;
23
+ export type ITheme = Theme & IThemeCustomProps;
24
24
  export declare const createTheme: ({ layout: layoutOptions, components: componentsOptions, palette: paletteOptions, typography: typographyOptions, breakpoints: breakpointsOptions, tokens, ...options }?: IThemeOptions) => ITheme;
25
25
  export {};
@@ -1,6 +1,6 @@
1
1
  import type { TypographyVariants as Typography, TypographyVariantsOptions as TypographyOptions, TypographyStyle } from '@mui/material/styles';
2
2
  import { ThemeTokens } from './tokens';
3
- export declare type FontWeightKey = 'light' | 'regular' | 'medium' | 'semibold' | 'bold';
3
+ export type FontWeightKey = 'light' | 'regular' | 'medium' | 'semibold' | 'bold';
4
4
  export interface ITypography extends Typography {
5
5
  fontFamilyMonospace: string;
6
6
  code1: TypographyStyle;
@@ -9,5 +9,5 @@ export interface ITypography extends Typography {
9
9
  input: TypographyStyle;
10
10
  fontWeightSemibold: any;
11
11
  }
12
- export declare type ITypographyOptions = TypographyOptions & Partial<ITypography>;
12
+ export type ITypographyOptions = TypographyOptions & Partial<ITypography>;
13
13
  export declare const createTypography: (overrides: ITypographyOptions | undefined, tokens: ThemeTokens) => ITypographyOptions;
package/theme/tokens.d.ts CHANGED
@@ -1,17 +1,17 @@
1
1
  import { okta, auth0 } from '@auth0/quantum-tokens';
2
- declare type GlobalTokenPatten = `${string}_global_${string}`;
3
- declare type ColorTokenPattern = `color_${string}`;
4
- declare type TypeTokenPattern = `type_${string}`;
5
- export declare type ThemeTokens = typeof okta.light | typeof auth0.light;
6
- export declare type ThemeTokenName = keyof ThemeTokens;
7
- declare type FilterGlobalTokens<TokenKey extends string> = TokenKey extends GlobalTokenPatten ? never : TokenKey;
8
- declare type PickTokenType<Pattern extends string, TokenKey extends string> = TokenKey extends Pattern ? TokenKey : never;
9
- export declare type GlobalThemeTokenName = PickTokenType<GlobalTokenPatten, ThemeTokenName>;
10
- export declare type GlobalThemeTokens = Pick<ThemeTokens, GlobalThemeTokenName>;
11
- export declare type SemanticThemeTokenName = FilterGlobalTokens<ThemeTokenName>;
12
- export declare type SemanticThemeTokens = Pick<ThemeTokens, SemanticThemeTokenName>;
13
- export declare type ThemeColorTokenName = FilterGlobalTokens<PickTokenType<ColorTokenPattern, ThemeTokenName>>;
14
- export declare type ThemeColorTokens = Pick<ThemeTokens, ThemeColorTokenName>;
15
- export declare type ThemeTypeTokenName = FilterGlobalTokens<PickTokenType<TypeTokenPattern, ThemeTokenName>>;
16
- export declare type ThemeTypeTokens = Pick<ThemeTokens, ThemeTypeTokenName>;
2
+ type GlobalTokenPatten = `${string}_global_${string}`;
3
+ type ColorTokenPattern = `color_${string}`;
4
+ type TypeTokenPattern = `type_${string}`;
5
+ export type ThemeTokens = typeof okta.light | typeof auth0.light;
6
+ export type ThemeTokenName = keyof ThemeTokens;
7
+ type FilterGlobalTokens<TokenKey extends string> = TokenKey extends GlobalTokenPatten ? never : TokenKey;
8
+ type PickTokenType<Pattern extends string, TokenKey extends string> = TokenKey extends Pattern ? TokenKey : never;
9
+ export type GlobalThemeTokenName = PickTokenType<GlobalTokenPatten, ThemeTokenName>;
10
+ export type GlobalThemeTokens = Pick<ThemeTokens, GlobalThemeTokenName>;
11
+ export type SemanticThemeTokenName = FilterGlobalTokens<ThemeTokenName>;
12
+ export type SemanticThemeTokens = Pick<ThemeTokens, SemanticThemeTokenName>;
13
+ export type ThemeColorTokenName = FilterGlobalTokens<PickTokenType<ColorTokenPattern, ThemeTokenName>>;
14
+ export type ThemeColorTokens = Pick<ThemeTokens, ThemeColorTokenName>;
15
+ export type ThemeTypeTokenName = FilterGlobalTokens<PickTokenType<TypeTokenPattern, ThemeTokenName>>;
16
+ export type ThemeTypeTokens = Pick<ThemeTokens, ThemeTypeTokenName>;
17
17
  export {};
@@ -1,6 +1,6 @@
1
1
  export declare const titleBlockComponentName: "QuantumTitleBlock";
2
- export declare type TitleBlockSlotKey = 'root' | 'title' | 'description';
2
+ export type TitleBlockSlotKey = 'root' | 'title' | 'description';
3
3
  export declare function getTitleBlockUtilityClass(slot: string): string;
4
4
  export declare const titleBlockClasses: Record<"title" | "root" | "description", string>;
5
- export declare type TitleBlockClasses = typeof titleBlockClasses;
6
- export declare type TitleBlockClassKey = keyof TitleBlockClasses;
5
+ export type TitleBlockClasses = typeof titleBlockClasses;
6
+ export type TitleBlockClassKey = keyof TitleBlockClasses;
@@ -1,5 +1,5 @@
1
1
  export declare const toastComponentName: "QuantumToast";
2
2
  export declare function getToastUtilityClass(slot: string): string;
3
3
  export declare const toastClasses: Record<"root" | "alert", string>;
4
- export declare type ToastClasses = typeof toastClasses;
5
- export declare type ToastClassKey = keyof ToastClasses;
4
+ export type ToastClasses = typeof toastClasses;
5
+ export type ToastClassKey = keyof ToastClasses;
package/toast/toast.d.ts CHANGED
@@ -7,4 +7,4 @@ export interface IToastProps extends Omit<SnackbarProps, 'onClose' | 'title' | '
7
7
  AlertProps?: Partial<Omit<IAlertProps, 'ref'>>;
8
8
  onClose?(event: React.SyntheticEvent<any> | Event, reason: SnackbarCloseReason | 'closeClick'): void;
9
9
  }
10
- export declare const Toast: React.ForwardRefExoticComponent<Pick<IToastProps, "slot" | "style" | "title" | "color" | "action" | "hidden" | "open" | "icon" | "transitionDuration" | "translate" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "TransitionComponent" | "anchorOrigin" | "TransitionProps" | "onClose" | "dismissible" | "message" | "severity" | "onDismiss" | "autoHideDuration" | "ClickAwayListenerProps" | "ContentProps" | "disableWindowBlurListener" | "resumeHideDuration" | "AlertProps"> & React.RefAttributes<unknown>>;
10
+ export declare const Toast: React.ForwardRefExoticComponent<Omit<IToastProps, "ref"> & React.RefAttributes<unknown>>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { ResponsiveStyleValue } from '@mui/system';
3
- export declare type SpacingFactor = 0 | 0.25 | 0.5 | 0.75 | 1 | 1.5 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
3
+ export type SpacingFactor = 0 | 0.25 | 0.5 | 0.75 | 1 | 1.5 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
4
4
  export interface ILayoutComponentProps {
5
5
  /** @deprecated use `as` prop instead */
6
6
  component?: React.ElementType;
@@ -1,9 +1,9 @@
1
1
  import type { ResponsiveStyleValue } from '@mui/system/styleFunctionSx';
2
2
  export type { ResponsiveStyleValue };
3
- export declare type ResponsiveStyleValueMap<Value = any> = {
3
+ export type ResponsiveStyleValueMap<Value = any> = {
4
4
  [key: string]: Value;
5
5
  };
6
- export declare type ResponsiveStyleValueArray<Value = any> = Value[];
6
+ export type ResponsiveStyleValueArray<Value = any> = Value[];
7
7
  export declare const isBreakPointValueMap: <Value = any>(possibleMap: ResponsiveStyleValue<any>) => possibleMap is ResponsiveStyleValueMap<Value>;
8
8
  export declare const isBreakPointValueArray: <Value = any>(possibleMap: ResponsiveStyleValue<any>) => possibleMap is ResponsiveStyleValueArray<Value>;
9
9
  export declare const mapResponsiveStyleValue: <PropValue = any, StyleValue = any>(propValue: ResponsiveStyleValue<PropValue>, getStyleValueForPropValue: (value: PropValue | null) => StyleValue) => ResponsiveStyleValue<StyleValue>;