@registrucentras/rc-ses-react-components 2.0.0-rc.5 → 2.0.0-rc.7

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 (131) hide show
  1. package/dist/components/common/TitleBlock/types.d.ts +3 -1
  2. package/dist/registrucentras-rc-ses-react-components.cjs +1 -1
  3. package/dist/registrucentras-rc-ses-react-components.js +847 -794
  4. package/dist/stories/{components/display → atoms}/Badge.stories.d.ts +1 -1
  5. package/dist/stories/{components/inputs → atoms}/Checkbox.stories.d.ts +1 -1
  6. package/dist/stories/{components/icons → atoms}/IconWithCircularBackground.stories.d.ts +1 -1
  7. package/dist/stories/{components/icons → atoms}/IconWithSquareBackground.stories.d.ts +1 -1
  8. package/dist/stories/{components/icons → atoms}/Icons.stories.d.ts +1 -1
  9. package/dist/stories/{components/loaders → atoms}/Loader.stories.d.ts +1 -1
  10. package/dist/stories/{components/loaders → atoms}/LoadingSpinner.stories.d.ts +1 -1
  11. package/dist/stories/{components/inputs → atoms}/NumberStepper.stories.d.ts +1 -1
  12. package/dist/stories/{components/inputs → atoms}/PhoneInput.stories.d.ts +1 -1
  13. package/dist/stories/{components/inputs → atoms}/SearchInput.stories.d.ts +1 -1
  14. package/dist/stories/{components/inputs → atoms}/Select.stories.d.ts +1 -1
  15. package/dist/stories/{components/form → atoms}/SimpleCheckbox.stories.d.ts +1 -1
  16. package/dist/stories/{components/inputs → atoms}/Switch.stories.d.ts +1 -1
  17. package/dist/stories/{components/tabs → atoms}/Tab.stories.d.ts +1 -1
  18. package/dist/stories/{components/inputs → atoms}/TextField.stories.d.ts +1 -1
  19. package/dist/stories/{components/display → atoms}/Tooltip.stories.d.ts +1 -1
  20. package/dist/stories/{components/feedback → molecules}/Alert.stories.d.ts +1 -1
  21. package/dist/stories/{components/navigation → molecules}/Breadcrumbs.stories.d.ts +1 -1
  22. package/dist/stories/{components/actions → molecules}/ButtonWithPopover.stories.d.ts +1 -1
  23. package/dist/stories/{components/display → molecules}/Card.stories.d.ts +1 -1
  24. package/dist/stories/{components/display → molecules}/CardShell.stories.d.ts +2 -1
  25. package/dist/stories/{components/form → molecules}/CheckboxFormControl.stories.d.ts +1 -1
  26. package/dist/stories/{components/inputs → molecules}/DatePicker.stories.d.ts +1 -1
  27. package/dist/stories/{components/form → molecules}/FormControlWrapper.stories.d.ts +1 -1
  28. package/dist/stories/{components/display → molecules}/ImageCard.stories.d.ts +1 -1
  29. package/dist/stories/{components/display → molecules}/ListWithIcons.stories.d.ts +2 -2
  30. package/dist/stories/{components/inputs → molecules}/PhoneInputFormControl.stories.d.ts +1 -1
  31. package/dist/stories/{components/overlays → molecules}/Popover.stories.d.ts +1 -1
  32. package/dist/stories/{components/inputs → molecules}/RadioButtonGroup.stories.d.ts +1 -1
  33. package/dist/stories/{components/inputs → molecules}/SearchableField.stories.d.ts +1 -1
  34. package/dist/stories/{components/display → molecules}/SegmentedControl.stories.d.ts +1 -1
  35. package/dist/stories/{components/feedback → molecules}/Snackbar.stories.d.ts +1 -1
  36. package/dist/stories/{components/tabs → molecules}/TabPanel.stories.d.ts +1 -1
  37. package/dist/stories/{components/tabs → molecules}/Tabs.stories.d.ts +1 -1
  38. package/dist/stories/{components/tabs → molecules}/TabsWrapper.stories.d.ts +1 -1
  39. package/dist/stories/{components/display → molecules}/TitleBlock.stories.d.ts +3 -1
  40. package/dist/stories/{components/navigation → organisms}/Accordion.stories.d.ts +1 -1
  41. package/dist/stories/{components/display → organisms}/AdvancedList.stories.d.ts +1 -1
  42. package/dist/stories/{components/display → organisms}/AdvancedListItem.stories.d.ts +1 -1
  43. package/dist/stories/{components/form → organisms}/CardFormContainer.stories.d.ts +1 -1
  44. package/dist/stories/{components/navigation → organisms}/DataPagination.stories.d.ts +1 -1
  45. package/dist/stories/{components/overlays → organisms}/Dialog.stories.d.ts +1 -1
  46. package/dist/stories/{components/inputs → organisms}/FileDropzone.stories.d.ts +1 -1
  47. package/dist/stories/{components/inputs → organisms}/FileUpload.stories.d.ts +1 -1
  48. package/dist/stories/{components/layout → organisms}/Footer.stories.d.ts +1 -1
  49. package/dist/stories/{components/loaders → organisms}/FullPageLoader.stories.d.ts +1 -1
  50. package/dist/stories/{components/overlays → organisms}/Modal.stories.d.ts +1 -1
  51. package/dist/stories/{components/display → organisms}/SelectableCardList.stories.d.ts +1 -1
  52. package/dist/stories/{components/form → organisms}/ServiceFormActions.stories.d.ts +1 -1
  53. package/dist/stories/{components/form → organisms}/ServiceFormContainer.stories.d.ts +1 -1
  54. package/dist/stories/{components/layout → organisms}/ServiceHeader.stories.d.ts +1 -1
  55. package/dist/stories/{components/display → organisms}/ServiceLinks.stories.d.ts +1 -1
  56. package/dist/stories/{components/navigation → organisms}/ServiceWizardStepper.stories.d.ts +1 -1
  57. package/dist/stories/{components/navigation → organisms}/SideNav.stories.d.ts +1 -1
  58. package/dist/stories/{components/layout → templates}/ServicePage.stories.d.ts +1 -1
  59. package/dist/theme/cards.d.ts +4 -0
  60. package/package.json +1 -1
  61. package/src/components/common/CardShell/CardFooter/index.tsx +10 -1
  62. package/src/components/common/CardShell/index.tsx +31 -7
  63. package/src/components/common/TitleBlock/index.test.tsx +33 -0
  64. package/src/components/common/TitleBlock/index.tsx +24 -4
  65. package/src/components/common/TitleBlock/types.ts +3 -1
  66. package/src/stories/Welcome.mdx +25 -2
  67. package/src/stories/{components/display → atoms}/Badge.stories.tsx +1 -1
  68. package/src/stories/{components/actions → atoms}/Button.stories.tsx +1 -1
  69. package/src/stories/{components/inputs → atoms}/Checkbox.stories.tsx +1 -1
  70. package/src/stories/{components/icons → atoms}/IconWithCircularBackground.stories.tsx +1 -1
  71. package/src/stories/{components/icons → atoms}/IconWithSquareBackground.stories.tsx +1 -1
  72. package/src/stories/{components/icons → atoms}/Icons.stories.tsx +1 -1
  73. package/src/stories/{components/loaders → atoms}/Loader.stories.tsx +1 -1
  74. package/src/stories/{components/loaders → atoms}/LoadingSpinner.stories.tsx +1 -1
  75. package/src/stories/{assets → atoms}/Logo.stories.tsx +1 -1
  76. package/src/stories/{components/inputs → atoms}/NumberStepper.stories.tsx +1 -1
  77. package/src/stories/{components/inputs → atoms}/PhoneInput.stories.tsx +1 -1
  78. package/src/stories/{components/inputs → atoms}/SearchInput.stories.tsx +1 -1
  79. package/src/stories/{components/inputs → atoms}/Select.stories.tsx +1 -1
  80. package/src/stories/{components/form → atoms}/SimpleCheckbox.stories.tsx +1 -1
  81. package/src/stories/{components/inputs → atoms}/Switch.stories.tsx +1 -1
  82. package/src/stories/{components/tabs → atoms}/Tab.stories.tsx +1 -1
  83. package/src/stories/{components/inputs → atoms}/TextField.stories.tsx +1 -1
  84. package/src/stories/{components/display → atoms}/Tooltip.stories.tsx +2 -2
  85. package/src/stories/{theme → foundations}/ThemedMuiComponents.stories.tsx +1 -1
  86. package/src/stories/{components/feedback → molecules}/Alert.stories.tsx +1 -1
  87. package/src/stories/{components/navigation → molecules}/Breadcrumbs.stories.tsx +1 -1
  88. package/src/stories/{components/actions → molecules}/ButtonWithPopover.stories.tsx +1 -1
  89. package/src/stories/{components/display → molecules}/Card.stories.tsx +1 -1
  90. package/src/stories/{components/display → molecules}/CardShell.stories.tsx +20 -1
  91. package/src/stories/{components/form → molecules}/CheckboxFormControl.stories.tsx +1 -1
  92. package/src/stories/{components/inputs → molecules}/DatePicker.stories.tsx +1 -1
  93. package/src/stories/{components/form → molecules}/FormControlWrapper.stories.tsx +1 -1
  94. package/src/stories/{components/display → molecules}/ImageCard.stories.tsx +1 -1
  95. package/src/stories/{components/display → molecules}/ListWithIcons.stories.tsx +1 -1
  96. package/src/stories/{components/inputs → molecules}/PhoneInputFormControl.stories.tsx +1 -1
  97. package/src/stories/{components/overlays → molecules}/Popover.stories.tsx +1 -1
  98. package/src/stories/{components/inputs → molecules}/RadioButtonGroup.stories.tsx +1 -1
  99. package/src/stories/{components/inputs → molecules}/SearchableField.stories.tsx +1 -1
  100. package/src/stories/{components/display → molecules}/SegmentedControl.stories.tsx +2 -2
  101. package/src/stories/{components/feedback → molecules}/Snackbar.stories.tsx +1 -1
  102. package/src/stories/{components/tabs → molecules}/TabPanel.stories.tsx +1 -1
  103. package/src/stories/{components/tabs → molecules}/Tabs.stories.tsx +1 -1
  104. package/src/stories/{components/tabs → molecules}/TabsWrapper.stories.tsx +1 -1
  105. package/src/stories/{components/display → molecules}/TitleBlock.stories.tsx +90 -1
  106. package/src/stories/{components/navigation → organisms}/Accordion.stories.tsx +1 -1
  107. package/src/stories/{components/display → organisms}/AdvancedList.stories.tsx +1 -1
  108. package/src/stories/{components/display → organisms}/AdvancedListItem.stories.tsx +1 -1
  109. package/src/stories/{components/form → organisms}/CardFormContainer.stories.tsx +1 -1
  110. package/src/stories/{components/navigation → organisms}/DataPagination.stories.tsx +1 -1
  111. package/src/stories/{components/overlays → organisms}/Dialog.stories.tsx +1 -1
  112. package/src/stories/{components/inputs → organisms}/FileDropzone.stories.tsx +1 -1
  113. package/src/stories/{components/inputs → organisms}/FileUpload.stories.tsx +1 -1
  114. package/src/stories/{components/layout → organisms}/Footer.stories.tsx +1 -1
  115. package/src/stories/{components/loaders → organisms}/FullPageLoader.stories.tsx +1 -1
  116. package/src/stories/{components/overlays → organisms}/Modal.stories.tsx +1 -1
  117. package/src/stories/{components/display → organisms}/SelectableCardList.stories.tsx +1 -1
  118. package/src/stories/{components/form → organisms}/ServiceFormActions.stories.tsx +1 -1
  119. package/src/stories/{components/form → organisms}/ServiceFormContainer.stories.tsx +1 -1
  120. package/src/stories/{components/layout → organisms}/ServiceHeader.stories.tsx +1 -1
  121. package/src/stories/{components/display → organisms}/ServiceLinks.stories.tsx +1 -1
  122. package/src/stories/{components/navigation → organisms}/ServiceWizardStepper.stories.tsx +3 -3
  123. package/src/stories/{components/navigation → organisms}/SideNav.stories.tsx +1 -1
  124. package/src/stories/{components/layout → templates}/ServicePage.stories.tsx +1 -1
  125. package/src/theme/cards.ts +2 -0
  126. package/src/stories/components/display/Card.test.tsx +0 -19
  127. /package/dist/stories/{components/actions → atoms}/Button.stories.d.ts +0 -0
  128. /package/dist/stories/{assets → atoms}/Logo.stories.d.ts +0 -0
  129. /package/dist/stories/{theme → foundations}/ThemedMuiComponents.stories.d.ts +0 -0
  130. /package/src/stories/{components/actions → atoms}/Button.test.ts +0 -0
  131. /package/src/stories/{Colors.mdx → foundations/Colors.mdx} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  export type TitleBlockHeadingLevel = 2 | 3 | 4 | 5 | 6;
3
- export type TitleBlockTitleVariant = 'h4' | 'h5' | 'h6';
3
+ export type TitleBlockTitleVariant = 'h4' | 'h5' | 'h6' | 'body1';
4
4
  export type TitleBlockOrientation = 'horizontal' | 'vertical';
5
5
  export type RcSesTitleBlockTestIds = {
6
6
  root?: string;
@@ -17,6 +17,8 @@ export type RcSesTitleBlockBaseProps = {
17
17
  * Visual size of the title, independent of `headingLevel`. The semantic tag
18
18
  * (`headingLevel`) sets document structure; this sets the type scale.
19
19
  * Defaults to `h6` (18px).
20
+ * `body1` (15px) draws the title as running copy: body scale, and the
21
+ * type scale's own weight instead of the card-header one.
20
22
  */
21
23
  titleVariant?: TitleBlockTitleVariant;
22
24
  /**