@auth0/quantum-product 1.8.0 → 1.10.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 (246) hide show
  1. package/accordion/accordion.d.ts +20 -2
  2. package/alert/alert.d.ts +1 -1
  3. package/alert/alert.js +1 -1
  4. package/app-bar/app-bar-button/app-bar-button.d.ts +0 -4
  5. package/app-bar/app-bar-button/app-bar-button.js +3 -3
  6. package/app-bar/app-bar-icon-button/app-bar-icon-button.d.ts +0 -5
  7. package/app-bar/app-bar-icon-button/app-bar-icon-button.js +4 -4
  8. package/app-layout/app-layout-classes.d.ts +1 -1
  9. package/autocomplete/autocomplete-overrides.js +1 -1
  10. package/avatar/avatar.d.ts +1 -1
  11. package/avatar-block/avatar-block-classes.d.ts +1 -1
  12. package/avatar-block/avatar-block.d.ts +2 -2
  13. package/banner/banner.d.ts +0 -1
  14. package/banner/banner.js +3 -3
  15. package/breadcrumbs/breadcrumbs.d.ts +1 -1
  16. package/button/button-overrides.js +3 -3
  17. package/card/card.d.ts +0 -2
  18. package/card/card.js +3 -3
  19. package/checkbox/checkbox.d.ts +1 -1
  20. package/checkbox-field/checkbox-field.d.ts +1 -1
  21. package/chip/chip.d.ts +1 -1
  22. package/code/code.d.ts +0 -1
  23. package/code/code.js +3 -3
  24. package/content/content.js +2 -1
  25. package/copy-button/copy-button.d.ts +1 -26
  26. package/danger-zone/danger-zone-item/danger-zone-item.d.ts +0 -3
  27. package/danger-zone/danger-zone-item/danger-zone-item.js +7 -7
  28. package/danger-zone/danger-zone-item-action/danger-zone-item-action.d.ts +1 -2
  29. package/danger-zone/danger-zone-item-action/danger-zone-item-action.js +3 -3
  30. package/description-block/description-block.d.ts +1 -2
  31. package/description-block/description-block.js +3 -3
  32. package/dialog/dialog-content/dialog-content-overrides.js +0 -3
  33. package/dialog/dialog-title/dialog-title.d.ts +1 -2
  34. package/dialog/dialog-title/dialog-title.js +3 -3
  35. package/dialog/dialog.d.ts +2 -3
  36. package/dialog/dialog.js +3 -3
  37. package/dropdown-menu/dropdown-menu-divider/dropdown-menu-divider.d.ts +1 -1
  38. package/dropdown-menu/dropdown-menu-list/dropdown-menu-list.d.ts +1 -1
  39. package/dropdown-menu/dropdown-menu-list-item/dropdown-menu-list-item.d.ts +1 -1
  40. package/dropdown-menu/dropdown-menu.d.ts +1 -1
  41. package/empty-state/empty-state.d.ts +0 -1
  42. package/empty-state/empty-state.js +3 -3
  43. package/esm/alert/alert.js +2 -2
  44. package/esm/app-bar/app-bar-button/app-bar-button.js +1 -1
  45. package/esm/app-bar/app-bar-icon-button/app-bar-icon-button.js +2 -2
  46. package/esm/autocomplete/autocomplete-overrides.js +1 -1
  47. package/esm/banner/banner.js +1 -1
  48. package/esm/button/button-overrides.js +3 -3
  49. package/esm/card/card.js +1 -1
  50. package/esm/code/code.js +1 -1
  51. package/esm/content/content.js +2 -1
  52. package/esm/danger-zone/danger-zone-item/danger-zone-item.js +3 -3
  53. package/esm/danger-zone/danger-zone-item-action/danger-zone-item-action.js +1 -1
  54. package/esm/description-block/description-block.js +1 -1
  55. package/esm/dialog/dialog-content/dialog-content-overrides.js +0 -3
  56. package/esm/dialog/dialog-title/dialog-title.js +1 -1
  57. package/esm/dialog/dialog.js +1 -1
  58. package/esm/empty-state/empty-state.js +1 -1
  59. package/esm/field-set/field-set-classes.js +1 -0
  60. package/esm/field-set/field-set.js +12 -2
  61. package/esm/floating-panel/floating-panel.js +1 -1
  62. package/esm/form/form-label/form-label-overrides.js +1 -1
  63. package/esm/foundations/token-tables.js +3 -3
  64. package/esm/gallery-layout/gallery-layout.js +1 -1
  65. package/esm/icon/index.js +381 -34
  66. package/esm/icon-button/icon-button.js +1 -1
  67. package/esm/input/input-label/input-label-overrides.js +1 -1
  68. package/esm/input/input.js +1 -1
  69. package/esm/label/label.js +35 -1
  70. package/esm/link/link.js +1 -1
  71. package/esm/logo/logo.js +1 -1
  72. package/esm/page/page-header/page-header-classes.js +1 -0
  73. package/esm/page/page-header/page-header.js +11 -2
  74. package/esm/panel/panel-header/panel-header.js +4 -1
  75. package/esm/sidebar/sidebar-link/sidebar-link.js +16 -23
  76. package/esm/stack-layout/stack-layout.js +1 -1
  77. package/esm/styles/classes.js +3 -3
  78. package/esm/switch/switch.js +1 -1
  79. package/esm/tabs/tab/tab-override.js +2 -2
  80. package/esm/tabs/tab/tab.js +13 -2
  81. package/esm/test-utils.js +1 -0
  82. package/esm/theme/create-components.js +17 -5
  83. package/expansion-panel/expansion-panel.d.ts +2 -2
  84. package/field-set/field-set-classes.d.ts +1 -1
  85. package/field-set/field-set-classes.js +1 -0
  86. package/field-set/field-set.d.ts +5 -4
  87. package/field-set/field-set.js +12 -2
  88. package/floating-panel/floating-panel.d.ts +0 -2
  89. package/floating-panel/floating-panel.js +3 -3
  90. package/form/form-control-label/form-control-label-classes.d.ts +1 -1
  91. package/form/form-control-label/form-control-label.d.ts +1 -1
  92. package/form/form-field/form-field.d.ts +1 -1
  93. package/form/form-label/form-label-overrides.js +1 -1
  94. package/foundations/token-tables.js +2 -2
  95. package/gallery-layout/gallery-layout.d.ts +0 -1
  96. package/gallery-layout/gallery-layout.js +3 -3
  97. package/icon/index.d.ts +366 -34
  98. package/icon/index.js +400 -68
  99. package/icon-button/icon-button.js +1 -1
  100. package/image-preview-field/image-preview-field.d.ts +1 -1
  101. package/input/input-adornment/input-adornment.d.ts +1 -1
  102. package/input/input-label/input-label-overrides.js +1 -1
  103. package/input/input.d.ts +1 -7
  104. package/input/input.js +3 -3
  105. package/label/label.d.ts +11 -2
  106. package/label/label.js +58 -1
  107. package/link/link.js +1 -1
  108. package/logo/logo.d.ts +1 -5
  109. package/logo/logo.js +3 -3
  110. package/package.json +7 -7
  111. package/page/page-header/page-header-classes.d.ts +1 -1
  112. package/page/page-header/page-header-classes.js +1 -0
  113. package/page/page-header/page-header.d.ts +3 -1
  114. package/page/page-header/page-header.js +11 -2
  115. package/panel/panel/panel.d.ts +1 -1
  116. package/panel/panel-header/panel-header.js +4 -1
  117. package/promo-banner/promo-banner.d.ts +1 -1
  118. package/radio/radio.d.ts +1 -1
  119. package/radio-field/radio-field.d.ts +1 -1
  120. package/select/select-field/select-field.d.ts +1 -1
  121. package/selectable-card/selectable-card-group/selectable-card-group.d.ts +1 -1
  122. package/sidebar/sidebar-link/sidebar-link.d.ts +5 -2
  123. package/sidebar/sidebar-link/sidebar-link.js +16 -23
  124. package/sidebar/sidebar-new.d.ts +1 -1
  125. package/sidebar/sidebar-old.d.ts +1 -1
  126. package/sidebar/sidebar.d.ts +1 -1
  127. package/stack-layout/stack-layout.d.ts +0 -1
  128. package/stack-layout/stack-layout.js +3 -3
  129. package/stepper/step-label/step-label.d.ts +1 -1
  130. package/styles/classes.d.ts +3 -3
  131. package/styles/classes.js +6 -9
  132. package/switch/switch-field/switch-field.d.ts +1 -1
  133. package/switch/switch.d.ts +1 -1
  134. package/switch/switch.js +1 -1
  135. package/table/table-sort-label/index.d.ts +1 -1
  136. package/tabs/tab/tab-override.js +2 -2
  137. package/tabs/tab/tab.d.ts +6 -2
  138. package/tabs/tab/tab.js +13 -2
  139. package/test-utils.d.ts +1 -1
  140. package/test-utils.js +1 -0
  141. package/text-field/text-field.d.ts +1 -1
  142. package/theme/create-components.js +17 -5
  143. package/toast/toast.d.ts +1 -1
  144. package/use-media-query/index.d.ts +1 -1
  145. package/esm/icon/apis.js +0 -34
  146. package/esm/icon/application-plus.js +0 -30
  147. package/esm/icon/arrows-h.js +0 -31
  148. package/esm/icon/border-pill.js +0 -29
  149. package/esm/icon/border-rounded.js +0 -29
  150. package/esm/icon/border-sharp.js +0 -29
  151. package/esm/icon/bot.js +0 -33
  152. package/esm/icon/browsers.js +0 -32
  153. package/esm/icon/bug.js +0 -38
  154. package/esm/icon/building.js +0 -30
  155. package/esm/icon/cash.js +0 -29
  156. package/esm/icon/clipboard-check.js +0 -31
  157. package/esm/icon/enterprise.js +0 -29
  158. package/esm/icon/feather-icons.js +0 -294
  159. package/esm/icon/folder-cancel.js +0 -30
  160. package/esm/icon/font.js +0 -29
  161. package/esm/icon/help.js +0 -29
  162. package/esm/icon/hooks.js +0 -34
  163. package/esm/icon/hosted-pages.js +0 -33
  164. package/esm/icon/id-tag.js +0 -34
  165. package/esm/icon/integration.js +0 -33
  166. package/esm/icon/layout-bottom.js +0 -29
  167. package/esm/icon/layout-center.js +0 -29
  168. package/esm/icon/layout-left.js +0 -29
  169. package/esm/icon/layout-right.js +0 -29
  170. package/esm/icon/layout-top.js +0 -29
  171. package/esm/icon/megaphone.js +0 -30
  172. package/esm/icon/page-background.js +0 -30
  173. package/esm/icon/paint-brush.js +0 -29
  174. package/esm/icon/paint.js +0 -29
  175. package/esm/icon/recovery-code.js +0 -30
  176. package/esm/icon/web-authn.js +0 -29
  177. package/esm/icon/webauthn-platform.js +0 -29
  178. package/esm/icon/widget.js +0 -29
  179. package/icon/apis.d.ts +0 -2
  180. package/icon/apis.js +0 -61
  181. package/icon/application-plus.d.ts +0 -2
  182. package/icon/application-plus.js +0 -57
  183. package/icon/arrows-h.d.ts +0 -2
  184. package/icon/arrows-h.js +0 -58
  185. package/icon/border-pill.d.ts +0 -2
  186. package/icon/border-pill.js +0 -56
  187. package/icon/border-rounded.d.ts +0 -2
  188. package/icon/border-rounded.js +0 -56
  189. package/icon/border-sharp.d.ts +0 -2
  190. package/icon/border-sharp.js +0 -56
  191. package/icon/bot.d.ts +0 -2
  192. package/icon/bot.js +0 -60
  193. package/icon/browsers.d.ts +0 -2
  194. package/icon/browsers.js +0 -59
  195. package/icon/bug.d.ts +0 -2
  196. package/icon/bug.js +0 -65
  197. package/icon/building.d.ts +0 -2
  198. package/icon/building.js +0 -57
  199. package/icon/cash.d.ts +0 -2
  200. package/icon/cash.js +0 -56
  201. package/icon/clipboard-check.d.ts +0 -2
  202. package/icon/clipboard-check.js +0 -58
  203. package/icon/enterprise.d.ts +0 -2
  204. package/icon/enterprise.js +0 -56
  205. package/icon/feather-icons.d.ts +0 -284
  206. package/icon/feather-icons.js +0 -302
  207. package/icon/folder-cancel.d.ts +0 -2
  208. package/icon/folder-cancel.js +0 -57
  209. package/icon/font.d.ts +0 -2
  210. package/icon/font.js +0 -56
  211. package/icon/help.d.ts +0 -2
  212. package/icon/help.js +0 -56
  213. package/icon/hooks.d.ts +0 -2
  214. package/icon/hooks.js +0 -61
  215. package/icon/hosted-pages.d.ts +0 -2
  216. package/icon/hosted-pages.js +0 -60
  217. package/icon/id-tag.d.ts +0 -2
  218. package/icon/id-tag.js +0 -61
  219. package/icon/integration.d.ts +0 -2
  220. package/icon/integration.js +0 -60
  221. package/icon/layout-bottom.d.ts +0 -2
  222. package/icon/layout-bottom.js +0 -56
  223. package/icon/layout-center.d.ts +0 -2
  224. package/icon/layout-center.js +0 -56
  225. package/icon/layout-left.d.ts +0 -2
  226. package/icon/layout-left.js +0 -56
  227. package/icon/layout-right.d.ts +0 -2
  228. package/icon/layout-right.js +0 -56
  229. package/icon/layout-top.d.ts +0 -2
  230. package/icon/layout-top.js +0 -56
  231. package/icon/megaphone.d.ts +0 -2
  232. package/icon/megaphone.js +0 -57
  233. package/icon/page-background.d.ts +0 -2
  234. package/icon/page-background.js +0 -57
  235. package/icon/paint-brush.d.ts +0 -2
  236. package/icon/paint-brush.js +0 -56
  237. package/icon/paint.d.ts +0 -2
  238. package/icon/paint.js +0 -56
  239. package/icon/recovery-code.d.ts +0 -2
  240. package/icon/recovery-code.js +0 -57
  241. package/icon/web-authn.d.ts +0 -2
  242. package/icon/web-authn.js +0 -56
  243. package/icon/webauthn-platform.d.ts +0 -2
  244. package/icon/webauthn-platform.js +0 -56
  245. package/icon/widget.d.ts +0 -2
  246. package/icon/widget.js +0 -56
@@ -19,7 +19,7 @@ export var createMuiInputLabelOverrides = function (_a) {
19
19
  },
20
20
  _b),
21
21
  asterisk: {
22
- color: tokens.color_fg_state_danger,
22
+ color: tokens.color_fg_state_neutral,
23
23
  },
24
24
  },
25
25
  };
@@ -36,7 +36,7 @@ export var getMaskedInputProps = function (masked, inputProps) {
36
36
  }
37
37
  return maskedProps;
38
38
  };
39
- export var Root = styled(MuiOutlinedInput, { slot: 'Root', name: 'QuantumInput' })(function (_a) {
39
+ var Root = styled(MuiOutlinedInput, { slot: 'Root', name: 'QuantumInput' })(function (_a) {
40
40
  var theme = _a.theme, multiline = _a.multiline, ownerState = _a.ownerState;
41
41
  return __assign({}, (ownerState.code && __assign(__assign({}, theme.typography.code1), { lineHeight: !multiline ? theme.typography.input.lineHeight : undefined })));
42
42
  });
@@ -9,9 +9,39 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
+ import * as React from 'react';
12
13
  import { rootShouldForwardProp, styled } from '../styled';
13
14
  export var labelComponentName = 'QuantumLabel';
14
- export var Label = styled('span', {
15
+ var getReleaseStageLabelProps = function (productReleaseStage, productReleaseStageAbbr) {
16
+ var labelProps = {
17
+ color: 'default',
18
+ variant: 'default',
19
+ };
20
+ switch (productReleaseStage) {
21
+ case 'new':
22
+ case 'generalAvailability':
23
+ labelProps.variant = 'filled';
24
+ labelProps.children = 'New';
25
+ labelProps.color = 'primary';
26
+ break;
27
+ case 'beta':
28
+ labelProps.children = 'Beta';
29
+ labelProps.color = 'primary';
30
+ break;
31
+ case 'first':
32
+ case 'early':
33
+ case 'earlyAccess':
34
+ labelProps.color = 'primary';
35
+ productReleaseStageAbbr ? (labelProps.children = 'Early') : (labelProps.children = 'Early Access');
36
+ break;
37
+ case 'deprecated':
38
+ labelProps.color = 'warning';
39
+ labelProps.children = 'Deprecated';
40
+ break;
41
+ }
42
+ return labelProps;
43
+ };
44
+ var StyledLabel = styled('span', {
15
45
  name: labelComponentName,
16
46
  slot: 'Root',
17
47
  shouldForwardProp: function (prop) { return rootShouldForwardProp(prop) && prop !== 'color' && prop !== 'variant'; },
@@ -67,3 +97,7 @@ export var Label = styled('span', {
67
97
  color: theme.tokens.color_fg_on_state_danger,
68
98
  })))));
69
99
  });
100
+ export var Label = React.forwardRef(function (props, ref) {
101
+ var productReleaseStage = props.productReleaseStage, _a = props.productReleaseStageAbbr, productReleaseStageAbbr = _a === void 0 ? true : _a;
102
+ return (React.createElement(StyledLabel, __assign({ ref: ref }, getReleaseStageLabelProps(productReleaseStage, productReleaseStageAbbr), props)));
103
+ });
package/esm/link/link.js CHANGED
@@ -99,7 +99,7 @@ var Root = styled(Text, { name: linkComponentName, slot: 'Root' })(function (_a)
99
99
  }, _b['& > svg'] = {
100
100
  width: '1em',
101
101
  height: '1em',
102
- '&:first-child': {
102
+ '&:first-of-type': {
103
103
  marginInlineEnd: theme.spacing(1),
104
104
  },
105
105
  }, _b));
package/esm/logo/logo.js CHANGED
@@ -27,7 +27,7 @@ import { composeClasses } from '../styles/classes';
27
27
  import { getLogoUtilityClass, logoComponentName } from './logo-classes';
28
28
  import clsx from '../utils/clsx';
29
29
  import { useThemeProps } from '../theme/use-theme-props';
30
- export var Root = styled('div', {
30
+ var Root = styled('div', {
31
31
  name: logoComponentName,
32
32
  slot: 'Root',
33
33
  })(function (_a) {
@@ -12,4 +12,5 @@ export var pageHeaderClasses = generateUtilityClasses(pageHeaderComponentName, [
12
12
  'metadata',
13
13
  'description',
14
14
  'content',
15
+ 'availabilityLabel',
15
16
  ]);
@@ -26,6 +26,7 @@ import { AvatarBlock } from '../../avatar-block';
26
26
  import { usePageContext } from '../page-context';
27
27
  import { RowLayout } from '../../row-layout';
28
28
  import { styled } from '../../styled';
29
+ import { Label } from '../../label';
29
30
  import { useMergedClasses } from '../../styles/classes';
30
31
  import { Text } from '../../text';
31
32
  import { StackLayout, StackLayoutItem } from '../../stack-layout';
@@ -56,6 +57,12 @@ export var Actions = styled('div', {
56
57
  gap: theme.spacing(2),
57
58
  });
58
59
  });
60
+ var AvailabilityLabel = styled(Label, { name: pageHeaderComponentName, slot: 'AvailabilityLabel' })(function (_a) {
61
+ var theme = _a.theme;
62
+ return ({
63
+ marginLeft: theme.spacing(1),
64
+ });
65
+ });
59
66
  var StyledStackLayout = styled(StackLayout, { name: pageHeaderComponentName, slot: 'StackLayout' })(function (_a) {
60
67
  var theme = _a.theme, ownerState = _a.ownerState;
61
68
  return ({
@@ -65,7 +72,7 @@ var StyledStackLayout = styled(StackLayout, { name: pageHeaderComponentName, slo
65
72
  });
66
73
  export var PageHeader = React.forwardRef(function (props, ref) {
67
74
  var _a = usePageContext(), fullWidthContext = _a.fullWidth, compactContext = _a.compact;
68
- var breadcrumbs = props.breadcrumbs, startActions = props.startActions, className = props.className, fullWidthProp = props.fullWidth, compactProp = props.compact, title = props.title, _b = props.titleTypographyProps, titleTypographyProps = _b === void 0 ? {} : _b, description = props.description, _c = props.descriptionTypographyProps, descriptionTypographyProps = _c === void 0 ? {} : _c, metadata = props.metadata, _d = props.metadataTypographyProps, metadataTypographyProps = _d === void 0 ? {} : _d, actions = props.actions, avatar = props.avatar, children = props.children, rootProps = __rest(props, ["breadcrumbs", "startActions", "className", "fullWidth", "compact", "title", "titleTypographyProps", "description", "descriptionTypographyProps", "metadata", "metadataTypographyProps", "actions", "avatar", "children"]);
75
+ var breadcrumbs = props.breadcrumbs, startActions = props.startActions, className = props.className, fullWidthProp = props.fullWidth, compactProp = props.compact, title = props.title, _b = props.titleTypographyProps, titleTypographyProps = _b === void 0 ? {} : _b, description = props.description, _c = props.descriptionTypographyProps, descriptionTypographyProps = _c === void 0 ? {} : _c, metadata = props.metadata, _d = props.metadataTypographyProps, metadataTypographyProps = _d === void 0 ? {} : _d, actions = props.actions, avatar = props.avatar, children = props.children, productReleaseStage = props.productReleaseStage, productReleaseStageAbbr = props.productReleaseStageAbbr, rootProps = __rest(props, ["breadcrumbs", "startActions", "className", "fullWidth", "compact", "title", "titleTypographyProps", "description", "descriptionTypographyProps", "metadata", "metadataTypographyProps", "actions", "avatar", "children", "productReleaseStage", "productReleaseStageAbbr"]);
69
76
  var classes = useMergedClasses(pageHeaderClasses, getPageHeaderUtilityClass, props.classes);
70
77
  var fullWidth = fullWidthProp || fullWidthContext;
71
78
  var compact = compactProp || compactContext;
@@ -77,6 +84,8 @@ export var PageHeader = React.forwardRef(function (props, ref) {
77
84
  React.createElement(AvatarBlock, { size: compact ? 'medium' : 'large', classes: {
78
85
  root: classes.avatarBlock,
79
86
  avatar: classes.avatar,
80
- }, avatar: avatar && React.createElement(AvatarContext.Provider, { value: { size: 'large' } }, avatar), titleTypographyProps: __assign({ variant: compact ? 'h5' : 'h3', component: 'h1', className: classes.title }, titleTypographyProps), title: title, description: metadata, descriptionTypographyProps: __assign({ component: 'div', className: classes.metadata }, metadataTypographyProps), TitleBlockProps: { gutter: 0.5 }, endAdornment: !!actions && (React.createElement(Actions, { className: classes.actions, sx: { flex: 'none' } }, actions)) }))),
87
+ }, avatar: avatar && React.createElement(AvatarContext.Provider, { value: { size: 'large' } }, avatar), titleTypographyProps: __assign({ variant: compact ? 'h5' : 'h3', component: 'h1', className: classes.title }, titleTypographyProps), title: React.createElement(React.Fragment, null,
88
+ title,
89
+ !!productReleaseStage && (React.createElement(AvailabilityLabel, { className: classes.availabilityLabel, productReleaseStageAbbr: false, productReleaseStage: productReleaseStage }))), description: metadata, descriptionTypographyProps: __assign({ component: 'div', className: classes.metadata }, metadataTypographyProps), TitleBlockProps: { gutter: 0.5 }, endAdornment: !!actions && (React.createElement(Actions, { className: classes.actions, sx: { flex: 'none' } }, actions)) }))),
81
90
  !!description && (React.createElement(Text, __assign({ variant: "body2", color: "textSecondary", component: "p", className: classes.description }, descriptionTypographyProps), description))));
82
91
  });
@@ -32,13 +32,16 @@ var Root = styled('div')(function (_a) {
32
32
  var theme = _a.theme, ownerState = _a.ownerState;
33
33
  return ({
34
34
  display: 'flex',
35
+ alignItems: 'flex-start',
35
36
  padding: theme.spacing(3, ownerState.isCloseButtonVisible ? 9 : 3, 2, 3),
36
37
  gap: theme.spacing(2),
37
38
  flexGrow: 0,
38
39
  flexShrink: 0,
39
40
  });
40
41
  });
41
- var Content = styled('div')({});
42
+ var Content = styled('div')({
43
+ flex: 1,
44
+ });
42
45
  var EndAdornment = styled('div')(function (_a) {
43
46
  var theme = _a.theme;
44
47
  return ({
@@ -102,33 +102,26 @@ var Decoration = styled('span', { name: sidebarLinkComponentName, slot: 'Decorat
102
102
  marginLeft: theme.spacing(1),
103
103
  });
104
104
  });
105
- var getFeatureAvailabilityLabelProps = function (featureAvailability) {
106
- var labelProps = {
107
- color: 'primary',
108
- variant: 'default',
109
- };
110
- switch (featureAvailability) {
111
- case 'beta':
112
- labelProps.children = 'Beta';
113
- break;
114
- // First Availability has been replaced by Early Access
115
- case 'first':
116
- case 'early':
117
- labelProps.children = 'Early';
118
- break;
119
- case 'new':
120
- labelProps.variant = 'filled';
121
- labelProps.children = 'New';
122
- break;
123
- }
124
- return labelProps;
125
- };
126
105
  export var SidebarLink = React.forwardRef(function (props, ref) {
127
- var title = props.title, startIcon = props.startIcon, endIcon = props.endIcon, featureAvailability = props.featureAvailability, className = props.className, decoration = props.decoration, titleId = props.titleId, _a = props.isActive, isActive = _a === void 0 ? false : _a, _b = props.variant, variant = _b === void 0 ? 'primary' : _b, _c = props.component, LinkComponent = _c === void 0 ? 'a' : _c, propClasses = props.classes, children = props.children, sx = props.sx, propOnClick = props.onClick, _d = props.shouldCollapseSidebarOnClick, shouldCollapseSidebarOnClick = _d === void 0 ? true : _d, linkProps = __rest(props, ["title", "startIcon", "endIcon", "featureAvailability", "className", "decoration", "titleId", "isActive", "variant", "component", "classes", "children", "sx", "onClick", "shouldCollapseSidebarOnClick"]);
106
+ var title = props.title, startIcon = props.startIcon, endIcon = props.endIcon, featureAvailability = props.featureAvailability, productReleaseStage = props.productReleaseStage, className = props.className, decoration = props.decoration, titleId = props.titleId, _a = props.isActive, isActive = _a === void 0 ? false : _a, _b = props.variant, variant = _b === void 0 ? 'primary' : _b, _c = props.component, LinkComponent = _c === void 0 ? 'a' : _c, propClasses = props.classes, children = props.children, sx = props.sx, propOnClick = props.onClick, _d = props.shouldCollapseSidebarOnClick, shouldCollapseSidebarOnClick = _d === void 0 ? true : _d, linkProps = __rest(props, ["title", "startIcon", "endIcon", "featureAvailability", "productReleaseStage", "className", "decoration", "titleId", "isActive", "variant", "component", "classes", "children", "sx", "onClick", "shouldCollapseSidebarOnClick"]);
128
107
  var theme = useTheme();
129
108
  var isLargeScreen = useMediaQuery(theme.breakpoints.up('lg'));
130
109
  var sidebarCtx = useSidebarContext();
131
110
  var classes = useMergedClasses(sidebarLinkClasses, getSidebarLinkUtilityClass, propClasses);
111
+ var mapReleaseStageProps = function (prop) {
112
+ switch (prop) {
113
+ case 'early':
114
+ case 'first':
115
+ return 'earlyAccess';
116
+ case 'new':
117
+ return 'generalAvailability';
118
+ case 'default':
119
+ return '';
120
+ default:
121
+ return prop;
122
+ }
123
+ };
124
+ var releaseProp = featureAvailability ? mapReleaseStageProps(featureAvailability) : productReleaseStage;
132
125
  var handleClick = function (event) {
133
126
  if (propOnClick) {
134
127
  propOnClick(event);
@@ -141,7 +134,7 @@ export var SidebarLink = React.forwardRef(function (props, ref) {
141
134
  React.createElement(Link, __assign({ ref: ref, as: LinkComponent, title: typeof title === 'string' ? title : undefined, ownerState: { isActive: isActive, variant: variant }, className: classes.link, "aria-current": isActive ? 'page' : undefined, onClick: handleClick }, linkProps),
142
135
  React.createElement(StartIcon, { className: clsx(classes.icon, classes.startIcon) }, startIcon),
143
136
  React.createElement(Title, { id: titleId, className: sidebarLinkClasses.title }, title),
144
- !!featureAvailability && (React.createElement(AvailabilityLabel, __assign({ className: classes.availabilityLabel }, getFeatureAvailabilityLabelProps(featureAvailability)))),
137
+ !!releaseProp && React.createElement(AvailabilityLabel, { className: classes.availabilityLabel, productReleaseStage: releaseProp }),
145
138
  !!decoration && React.createElement(Decoration, { className: classes.decoration }, decoration),
146
139
  !!endIcon && React.createElement(EndIcon, { className: clsx(classes.icon, classes.endIcon) }, endIcon)),
147
140
  children));
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import * as React from 'react';
24
24
  import { styled } from '../styled';
25
25
  var stackLayoutComponentName = 'QuantumStackLayout';
26
- export var Root = styled('div', {
26
+ var Root = styled('div', {
27
27
  name: stackLayoutComponentName,
28
28
  slot: 'Root',
29
29
  })({
@@ -9,10 +9,10 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- export { default as generateUtilityClass } from '@mui/base/generateUtilityClass';
13
- export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
14
- import composeClasses from '@mui/base/composeClasses';
12
+ import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
15
13
  import * as React from 'react';
14
+ export { generateUtilityClass } from '@mui/base/generateUtilityClass';
15
+ export { generateUtilityClasses } from '@mui/base/generateUtilityClasses';
16
16
  export { composeClasses };
17
17
  export function useMergedClasses(allClasses, getUtilityClass, propClasses) {
18
18
  if (propClasses === void 0) { propClasses = {}; }
@@ -39,7 +39,7 @@ var StyledFormControlLabel = styled(BaseFormControlLabel, {
39
39
  lineHeight: theme.typography.pxToRem(SwitchHeight),
40
40
  minWidth: noWrap ? 0 : undefined,
41
41
  marginLeft: theme.spacing(2),
42
- '& > *:first-child': {
42
+ '& > *:first-of-type': {
43
43
  marginLeft: 0,
44
44
  },
45
45
  }, _b), (labelPlacement === 'start' && (_c = {},
@@ -18,7 +18,7 @@ export var createMuiTabOverrides = function (_a) {
18
18
  {
19
19
  props: { fullWidth: true },
20
20
  style: {
21
- '&:first-child': {
21
+ '&:first-of-type': {
22
22
  marginLeft: spacing(3),
23
23
  },
24
24
  },
@@ -34,7 +34,7 @@ export var createMuiTabOverrides = function (_a) {
34
34
  _b[breakpoints.up('sm')] = {
35
35
  minWidth: 'unset',
36
36
  },
37
- _b['&:first-child'] = {
37
+ _b['&:first-of-type'] = {
38
38
  marginLeft: 0,
39
39
  },
40
40
  _b),
@@ -22,9 +22,20 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import * as React from 'react';
24
24
  import MuiTab from '@mui/material/Tab';
25
+ import { Label } from '../../label';
26
+ import { StackLayout } from '../../stack-layout';
27
+ import { styled } from '../../styled';
25
28
  import { useTabsContext } from '../tabs-context';
29
+ var AvailabilityLabel = styled(Label)(function (_a) {
30
+ var theme = _a.theme;
31
+ return ({
32
+ marginLeft: theme.spacing(1),
33
+ });
34
+ });
26
35
  export var Tab = React.forwardRef(function (_a, ref) {
27
- var value = _a.value, tabProps = __rest(_a, ["value"]);
36
+ var value = _a.value, productReleaseStage = _a.productReleaseStage, label = _a.label, tabProps = __rest(_a, ["value", "productReleaseStage", "label"]);
28
37
  var _b = useTabsContext(), getTabProps = _b.getTabProps, fullWidth = _b.fullWidth;
29
- return React.createElement(MuiTab, __assign({ ref: ref }, getTabProps(value), { value: value }, tabProps, { fullWidth: fullWidth }));
38
+ return (React.createElement(MuiTab, __assign({ ref: ref }, getTabProps(value), { value: value, label: React.createElement(StackLayout, { gutter: 0 },
39
+ label,
40
+ productReleaseStage && React.createElement(AvailabilityLabel, { productReleaseStage: productReleaseStage })) }, tabProps, { fullWidth: fullWidth })));
30
41
  });
package/esm/test-utils.js CHANGED
@@ -33,6 +33,7 @@ export * from '@testing-library/react';
33
33
  // eslint-disable-next-line import/export
34
34
  export { customRender as render, faker, createClassNameGetter };
35
35
  export function runBaseTests(Component, baseProps, _a) {
36
+ if (baseProps === void 0) { baseProps = {}; }
36
37
  var _b = _a === void 0 ? {} : _a, _c = _b.overridable, overridable = _c === void 0 ? true : _c;
37
38
  test('spreads additional props to the element', function () {
38
39
  var testId = faker.random.alphaNumeric();
@@ -121,32 +121,44 @@ export var createComponents = function (_a) {
121
121
  styleOverrides: {
122
122
  root: (_b = {
123
123
  borderColor: options.palette.neutral[200],
124
- '& > *:first-child > svg': {
124
+ '& > *:first-of-type > svg': {
125
125
  stroke: options.palette.neutral[900],
126
126
  }
127
127
  },
128
128
  _b["".concat(toggleButtonClasses.selected)] = {
129
129
  backgroundColor: options.palette.neutral[50],
130
- '& > *:first-child > svg': {
130
+ '& > *:first-of-type > svg': {
131
131
  stroke: options.palette.primary.main,
132
132
  },
133
133
  },
134
134
  _b["".concat(toggleButtonClasses.disabled)] = {
135
- '& > *:first-child > svg': {
135
+ '& > *:first-of-type > svg': {
136
136
  stroke: options.palette.neutral[200],
137
137
  },
138
138
  },
139
139
  _b),
140
140
  sizeSmall: {
141
141
  minWidth: 'unset',
142
- fontSize: options.typography.button.fontSize,
142
+ fontSize: options.typography.pxToRem(16),
143
+ height: options.typography.pxToRem(32),
144
+ width: options.typography.pxToRem(32),
143
145
  padding: options.spacing(1.25, 1.125),
144
- '& > *:first-child': {
146
+ '& > *:first-of-type': {
145
147
  fontSize: '1rem',
146
148
  height: '1em',
147
149
  width: '1em',
148
150
  },
149
151
  },
152
+ sizeMedium: {
153
+ fontSize: options.typography.pxToRem(20),
154
+ height: options.typography.pxToRem(34),
155
+ width: options.typography.pxToRem(34),
156
+ },
157
+ sizeLarge: {
158
+ fontSize: options.typography.pxToRem(24),
159
+ height: options.typography.pxToRem(48),
160
+ width: options.typography.pxToRem(48),
161
+ },
150
162
  },
151
163
  },
152
164
  MuiTooltip: createMuiTooltipOverrides(options),
@@ -1,3 +1,3 @@
1
- import Accordion, { AccordionProps } from '@mui/material/Accordion';
1
+ import { AccordionProps } from '@mui/material/Accordion';
2
2
  export declare type IExpansionPanelProps = AccordionProps;
3
- export declare const ExpansionPanel: import("styled-components").StyledComponent<typeof Accordion, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
3
+ export declare const ExpansionPanel: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/Accordion").AccordionTypeMap<{}, "div">>, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme>, never>;
@@ -1,5 +1,5 @@
1
1
  export declare const fieldSetComponentName: "QuantumFieldSet";
2
2
  export declare function getFieldSetUtilityClass(slot: string): string;
3
- export declare const fieldSetClasses: Record<"root" | "labelContent" | "labelText" | "descriptionText" | "contentWrapper", string>;
3
+ export declare const fieldSetClasses: Record<"root" | "availabilityLabel" | "labelContent" | "labelText" | "descriptionText" | "contentWrapper", string>;
4
4
  export declare type FieldSetClasses = typeof fieldSetClasses;
5
5
  export declare type FieldSetClassKey = keyof FieldSetClasses;
@@ -12,5 +12,6 @@ exports.fieldSetClasses = (0, classes_1.generateUtilityClasses)(exports.fieldSet
12
12
  'labelContent',
13
13
  'labelText',
14
14
  'descriptionText',
15
+ 'availabilityLabel',
15
16
  'contentWrapper',
16
17
  ]);
@@ -1,10 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { IFormLayoutProps } from '../form';
3
+ import { ILabelProps } from '../label';
3
4
  import { IStyledComponentProps } from '../styled';
4
5
  import { FieldSetClasses } from './field-set-classes';
5
6
  export declare type IFieldSetOwnerState = Pick<IFieldSetProps, 'layout'>;
6
7
  export declare type IFieldSetProps = IStyledComponentProps<{
7
- props: Pick<IFormLayoutProps, 'layout'> & {
8
+ props: Pick<IFormLayoutProps, 'layout'> & Pick<ILabelProps, 'productReleaseStage'> & {
8
9
  label?: React.ReactNode;
9
10
  description?: React.ReactNode;
10
11
  /** specifies the spacing between the fields */
@@ -16,7 +17,7 @@ export declare type IFieldSetProps = IStyledComponentProps<{
16
17
  };
17
18
  defaultComponent: 'fieldset';
18
19
  }>;
19
- export declare const FieldSet: React.ForwardRefExoticComponent<Pick<IFormLayoutProps, "layout"> & {
20
+ export declare const FieldSet: React.ForwardRefExoticComponent<Pick<IFormLayoutProps, "layout"> & Pick<ILabelProps, "productReleaseStage"> & {
20
21
  label?: React.ReactNode;
21
22
  description?: React.ReactNode;
22
23
  /** specifies the spacing between the fields */
@@ -24,5 +25,5 @@ export declare const FieldSet: React.ForwardRefExoticComponent<Pick<IFormLayoutP
24
25
  /**
25
26
  * Override or extend the styles applied to the component.
26
27
  */
27
- classes?: Partial<Record<"root" | "labelContent" | "labelText" | "descriptionText" | "contentWrapper", string>> | undefined;
28
- } & Omit<React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "label" | "ref" | "layout" | "margin" | "classes" | "description"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLFieldSetElement>>;
28
+ classes?: Partial<Record<"root" | "availabilityLabel" | "labelContent" | "labelText" | "descriptionText" | "contentWrapper", string>> | undefined;
29
+ } & Omit<React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "label" | "ref" | "layout" | "margin" | "classes" | "productReleaseStage" | "description"> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLFieldSetElement>>;
@@ -51,7 +51,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
51
51
  exports.FieldSet = void 0;
52
52
  var React = __importStar(require("react"));
53
53
  var form_1 = require("../form");
54
+ var label_1 = require("../label");
54
55
  var row_layout_1 = require("../row-layout");
56
+ var stack_layout_1 = require("../stack-layout");
55
57
  var styled_1 = require("../styled");
56
58
  var field_set_classes_1 = require("./field-set-classes");
57
59
  var text_1 = require("../text");
@@ -82,8 +84,14 @@ var LabelContent = (0, styled_1.styled)(row_layout_1.RowLayout, {
82
84
  display: 'none',
83
85
  },
84
86
  });
87
+ var AvailabilityLabel = (0, styled_1.styled)(label_1.Label, { name: field_set_classes_1.fieldSetComponentName, slot: 'AvailabilityLabel' })(function (_a) {
88
+ var theme = _a.theme;
89
+ return ({
90
+ marginLeft: theme.spacing(1),
91
+ });
92
+ });
85
93
  exports.FieldSet = React.forwardRef(function (props, ref) {
86
- var label = props.label, propLayout = props.layout, description = props.description, children = props.children, _a = props.margin, margin = _a === void 0 ? 'default' : _a, className = props.className, rootProps = __rest(props, ["label", "layout", "description", "children", "margin", "className"]);
94
+ var label = props.label, propLayout = props.layout, description = props.description, children = props.children, _a = props.margin, margin = _a === void 0 ? 'default' : _a, className = props.className, productReleaseStage = props.productReleaseStage, rootProps = __rest(props, ["label", "layout", "description", "children", "margin", "className", "productReleaseStage"]);
87
95
  var layoutContext = (0, form_1.useFormLayoutContext)().layout;
88
96
  var classes = (0, classes_1.useMergedClasses)(field_set_classes_1.fieldSetClasses, field_set_classes_1.getFieldSetUtilityClass, props.classes);
89
97
  var layout = propLayout || layoutContext;
@@ -92,7 +100,9 @@ exports.FieldSet = React.forwardRef(function (props, ref) {
92
100
  };
93
101
  return (React.createElement(Root, __assign({ ref: ref, ownerState: ownerState, className: (0, clsx_1.default)(classes.root, className) }, rootProps),
94
102
  React.createElement(LabelContent, { gutter: 0.5, className: classes.labelContent },
95
- !!label && (React.createElement(text_1.Text, { variant: "subtitle1", color: "textPrimary", component: "legend", className: classes.labelText }, label)),
103
+ React.createElement(stack_layout_1.StackLayout, { gutter: 0 },
104
+ !!label && (React.createElement(text_1.Text, { variant: "subtitle1", color: "textPrimary", component: "legend", className: classes.labelText }, label)),
105
+ !!label && !!productReleaseStage && (React.createElement(AvailabilityLabel, { className: classes.availabilityLabel, productReleaseStage: productReleaseStage, productReleaseStageAbbr: false }))),
96
106
  !!description && (React.createElement(text_1.Text, { variant: "body2", color: "textSecondary", className: classes.descriptionText }, description))),
97
107
  React.createElement(row_layout_1.RowLayout, { gutter: margin === 'dense' ? 2 : 3, className: classes.contentWrapper }, children)));
98
108
  });
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import { IStyledComponentProps } from '../styled';
3
- import { Drawer } from '../drawer';
4
3
  export declare const floatingPanelComponentName = "QuantumFloatingPanel";
5
4
  export interface IFloatingPanelOwnerState {
6
5
  panelWidth?: number;
@@ -18,5 +17,4 @@ export declare type IFloatingPanelProps = IStyledComponentProps<{
18
17
  children: React.ReactNode;
19
18
  defaultComponent: 'div';
20
19
  }>;
21
- export declare const Root: import("styled-components").StyledComponent<typeof Drawer, import("..").ITheme, import("@mui/system").MUIStyledCommonProps<import("..").ITheme> & IFloatingPanelOwnerState & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof IFloatingPanelOwnerState> & import("../styled").IStyledCommonProps, never>;
22
20
  export declare const FloatingPanel: React.ForwardRefExoticComponent<IFloatingPanelOwnerState & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref" | keyof IFloatingPanelOwnerState> & import("../styled").IStyledCommonProps & React.RefAttributes<HTMLDivElement>>;
@@ -45,7 +45,7 @@ var __rest = (this && this.__rest) || function (s, e) {
45
45
  return t;
46
46
  };
47
47
  Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.FloatingPanel = exports.Root = exports.floatingPanelComponentName = void 0;
48
+ exports.FloatingPanel = exports.floatingPanelComponentName = void 0;
49
49
  var React = __importStar(require("react"));
50
50
  var styled_1 = require("../styled");
51
51
  var icon_button_1 = require("../icon-button");
@@ -71,7 +71,7 @@ var SubContainer = (0, styled_1.styled)('div', { name: exports.floatingPanelComp
71
71
  display: 'flex',
72
72
  width: 0,
73
73
  });
74
- exports.Root = (0, styled_1.styled)(drawer_1.Drawer, { name: exports.floatingPanelComponentName, slot: 'Root' })(function (_a) {
74
+ var Root = (0, styled_1.styled)(drawer_1.Drawer, { name: exports.floatingPanelComponentName, slot: 'Root' })(function (_a) {
75
75
  var _b;
76
76
  var theme = _a.theme, panelWidth = _a.panelWidth, elevated = _a.elevated, topOffset = _a.topOffset, anchor = _a.anchor;
77
77
  var boxShadowStyle = elevated ? theme.shadows[2] : 'none';
@@ -88,7 +88,7 @@ exports.Root = (0, styled_1.styled)(drawer_1.Drawer, { name: exports.floatingPan
88
88
  });
89
89
  exports.FloatingPanel = React.forwardRef(function (_a, ref) {
90
90
  var _b = _a.panelWidth, panelWidth = _b === void 0 ? 360 : _b, _c = _a.closeOnOutsideClick, closeOnOutsideClick = _c === void 0 ? true : _c, _d = _a.showCloseButton, showCloseButton = _d === void 0 ? true : _d, open = _a.open, _e = _a.elevated, elevated = _e === void 0 ? true : _e, topOffset = _a.topOffset, position = _a.position, onClose = _a.onClose, children = _a.children, rootProps = __rest(_a, ["panelWidth", "closeOnOutsideClick", "showCloseButton", "open", "elevated", "topOffset", "position", "onClose", "children"]);
91
- return (React.createElement(exports.Root, __assign({ ref: ref, panelWidth: panelWidth, open: open, anchor: position, onClose: onClose, elevated: elevated, topOffset: topOffset, hideBackdrop: !closeOnOutsideClick, BackdropProps: { invisible: true } }, rootProps),
91
+ return (React.createElement(Root, __assign({ ref: ref, panelWidth: panelWidth, open: open, anchor: position, onClose: onClose, elevated: elevated, topOffset: topOffset, hideBackdrop: !closeOnOutsideClick, BackdropProps: { invisible: true } }, rootProps),
92
92
  children,
93
93
  showCloseButton && (React.createElement(SubContainer, null,
94
94
  React.createElement(CloseButton, { onCloseButtonClick: onClose })))));
@@ -1,5 +1,5 @@
1
1
  export declare const formControlLabelComponentName: "QuantumFormControlLabel";
2
2
  export declare function getFormControlLabelUtilityClass(slot: string): string;
3
- export declare const formControlLabelClasses: Record<"label" | "root" | "container" | "helperText" | "decoration" | "labelContainer" | "controlLabel", string>;
3
+ export declare const formControlLabelClasses: Record<"label" | "container" | "root" | "decoration" | "helperText" | "labelContainer" | "controlLabel", string>;
4
4
  export declare type FormControlLabelClasses = typeof formControlLabelClasses;
5
5
  export declare type FormControlLabelClassKey = keyof FormControlLabelClasses;
@@ -12,4 +12,4 @@ export interface IFormControlLabelProps extends Omit<FormControlLabelProps, 'lab
12
12
  classes?: Partial<FormControlLabelClasses>;
13
13
  }
14
14
  export declare type IFormControlLabelOwnerState = Pick<IFormControlLabelProps, 'noWrap' | 'height'>;
15
- export declare const FormControlLabel: React.ForwardRefExoticComponent<Pick<IFormControlLabelProps, "form" | "label" | "slot" | "style" | "title" | "color" | "disabled" | "hidden" | "height" | "translate" | "className" | "classes" | "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" | "name" | "value" | "disableTypography" | "noWrap" | "htmlFor" | "inputRef" | "checked" | "helperText" | "decoration" | "control" | "labelPlacement" | "HelperTextProps"> & React.RefAttributes<HTMLLabelElement>>;
15
+ export declare const FormControlLabel: React.ForwardRefExoticComponent<Pick<IFormControlLabelProps, "form" | "label" | "slot" | "style" | "title" | "color" | "disabled" | "hidden" | "height" | "translate" | "className" | "classes" | "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" | "value" | "name" | "disableTypography" | "noWrap" | "required" | "htmlFor" | "decoration" | "inputRef" | "checked" | "helperText" | "control" | "labelPlacement" | "HelperTextProps"> & React.RefAttributes<HTMLLabelElement>>;
@@ -29,4 +29,4 @@ export interface IFormFieldProps extends Omit<IFormControlProps, 'onChange' | 'd
29
29
  children?: React.ReactNode | FormControlRenderer;
30
30
  classes?: Partial<FormFieldClasses>;
31
31
  }
32
- export declare const FormField: React.ForwardRefExoticComponent<Pick<IFormFieldProps, "label" | "slot" | "style" | "title" | "error" | "disabled" | "hidden" | "size" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "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" | "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" | "fullWidth" | "focused" | "name" | "component" | "hiddenLabel" | "required" | "readOnly" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "ErrorHelperTextProps"> & React.RefAttributes<HTMLDivElement>>;
32
+ export declare const FormField: React.ForwardRefExoticComponent<Pick<IFormFieldProps, "label" | "slot" | "style" | "title" | "error" | "disabled" | "hidden" | "size" | "translate" | "margin" | "className" | "classes" | "children" | "sx" | "key" | "defaultChecked" | "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" | "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" | "name" | "fullWidth" | "component" | "focused" | "hiddenLabel" | "required" | "readOnly" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "ErrorHelperTextProps"> & React.RefAttributes<HTMLDivElement>>;
@@ -24,7 +24,7 @@ var createMuiFormLabelOverrides = function (_a) {
24
24
  color: tokens.color_fg_bold,
25
25
  }, _b)),
26
26
  asterisk: {
27
- color: tokens.color_fg_state_danger,
27
+ color: tokens.color_fg_state_neutral,
28
28
  },
29
29
  },
30
30
  };
@@ -115,7 +115,7 @@ var TypographyTokens = function (_a) {
115
115
  title: 'Value',
116
116
  render: function (_a) {
117
117
  var item = _a.item;
118
- return (React.createElement("pre", { style: { width: '350px', whiteSpace: 'pre-wrap' } }, JSON.stringify(item.value, null, 2)));
118
+ return (React.createElement(quantum_product_1.Box, { component: "pre", sx: { typography: 'code2', width: 350, whiteSpace: 'pre-wrap' } }, JSON.stringify(item.value, null, 2)));
119
119
  },
120
120
  },
121
121
  { field: 'cssVariable', title: 'CSS Token', render: function (_a) {
@@ -144,7 +144,7 @@ var TypographyGlobalTokens = function (_a) {
144
144
  title: 'Value',
145
145
  render: function (_a) {
146
146
  var item = _a.item;
147
- return (React.createElement("pre", { style: { width: '350px', whiteSpace: 'pre-wrap' } }, JSON.stringify(item.value, null, 2)));
147
+ return (React.createElement(quantum_product_1.Box, { component: "pre", sx: { typography: 'code2', width: 350, whiteSpace: 'pre-wrap' } }, JSON.stringify(item.value, null, 2)));
148
148
  },
149
149
  },
150
150
  { field: 'cssVariable', title: 'CSS Token', render: function (_a) {