@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.
- package/dist/components/common/TitleBlock/types.d.ts +3 -1
- package/dist/registrucentras-rc-ses-react-components.cjs +1 -1
- package/dist/registrucentras-rc-ses-react-components.js +847 -794
- package/dist/stories/{components/display → atoms}/Badge.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → atoms}/Checkbox.stories.d.ts +1 -1
- package/dist/stories/{components/icons → atoms}/IconWithCircularBackground.stories.d.ts +1 -1
- package/dist/stories/{components/icons → atoms}/IconWithSquareBackground.stories.d.ts +1 -1
- package/dist/stories/{components/icons → atoms}/Icons.stories.d.ts +1 -1
- package/dist/stories/{components/loaders → atoms}/Loader.stories.d.ts +1 -1
- package/dist/stories/{components/loaders → atoms}/LoadingSpinner.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → atoms}/NumberStepper.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → atoms}/PhoneInput.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → atoms}/SearchInput.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → atoms}/Select.stories.d.ts +1 -1
- package/dist/stories/{components/form → atoms}/SimpleCheckbox.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → atoms}/Switch.stories.d.ts +1 -1
- package/dist/stories/{components/tabs → atoms}/Tab.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → atoms}/TextField.stories.d.ts +1 -1
- package/dist/stories/{components/display → atoms}/Tooltip.stories.d.ts +1 -1
- package/dist/stories/{components/feedback → molecules}/Alert.stories.d.ts +1 -1
- package/dist/stories/{components/navigation → molecules}/Breadcrumbs.stories.d.ts +1 -1
- package/dist/stories/{components/actions → molecules}/ButtonWithPopover.stories.d.ts +1 -1
- package/dist/stories/{components/display → molecules}/Card.stories.d.ts +1 -1
- package/dist/stories/{components/display → molecules}/CardShell.stories.d.ts +2 -1
- package/dist/stories/{components/form → molecules}/CheckboxFormControl.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → molecules}/DatePicker.stories.d.ts +1 -1
- package/dist/stories/{components/form → molecules}/FormControlWrapper.stories.d.ts +1 -1
- package/dist/stories/{components/display → molecules}/ImageCard.stories.d.ts +1 -1
- package/dist/stories/{components/display → molecules}/ListWithIcons.stories.d.ts +2 -2
- package/dist/stories/{components/inputs → molecules}/PhoneInputFormControl.stories.d.ts +1 -1
- package/dist/stories/{components/overlays → molecules}/Popover.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → molecules}/RadioButtonGroup.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → molecules}/SearchableField.stories.d.ts +1 -1
- package/dist/stories/{components/display → molecules}/SegmentedControl.stories.d.ts +1 -1
- package/dist/stories/{components/feedback → molecules}/Snackbar.stories.d.ts +1 -1
- package/dist/stories/{components/tabs → molecules}/TabPanel.stories.d.ts +1 -1
- package/dist/stories/{components/tabs → molecules}/Tabs.stories.d.ts +1 -1
- package/dist/stories/{components/tabs → molecules}/TabsWrapper.stories.d.ts +1 -1
- package/dist/stories/{components/display → molecules}/TitleBlock.stories.d.ts +3 -1
- package/dist/stories/{components/navigation → organisms}/Accordion.stories.d.ts +1 -1
- package/dist/stories/{components/display → organisms}/AdvancedList.stories.d.ts +1 -1
- package/dist/stories/{components/display → organisms}/AdvancedListItem.stories.d.ts +1 -1
- package/dist/stories/{components/form → organisms}/CardFormContainer.stories.d.ts +1 -1
- package/dist/stories/{components/navigation → organisms}/DataPagination.stories.d.ts +1 -1
- package/dist/stories/{components/overlays → organisms}/Dialog.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → organisms}/FileDropzone.stories.d.ts +1 -1
- package/dist/stories/{components/inputs → organisms}/FileUpload.stories.d.ts +1 -1
- package/dist/stories/{components/layout → organisms}/Footer.stories.d.ts +1 -1
- package/dist/stories/{components/loaders → organisms}/FullPageLoader.stories.d.ts +1 -1
- package/dist/stories/{components/overlays → organisms}/Modal.stories.d.ts +1 -1
- package/dist/stories/{components/display → organisms}/SelectableCardList.stories.d.ts +1 -1
- package/dist/stories/{components/form → organisms}/ServiceFormActions.stories.d.ts +1 -1
- package/dist/stories/{components/form → organisms}/ServiceFormContainer.stories.d.ts +1 -1
- package/dist/stories/{components/layout → organisms}/ServiceHeader.stories.d.ts +1 -1
- package/dist/stories/{components/display → organisms}/ServiceLinks.stories.d.ts +1 -1
- package/dist/stories/{components/navigation → organisms}/ServiceWizardStepper.stories.d.ts +1 -1
- package/dist/stories/{components/navigation → organisms}/SideNav.stories.d.ts +1 -1
- package/dist/stories/{components/layout → templates}/ServicePage.stories.d.ts +1 -1
- package/dist/theme/cards.d.ts +4 -0
- package/package.json +1 -1
- package/src/components/common/CardShell/CardFooter/index.tsx +10 -1
- package/src/components/common/CardShell/index.tsx +31 -7
- package/src/components/common/TitleBlock/index.test.tsx +33 -0
- package/src/components/common/TitleBlock/index.tsx +24 -4
- package/src/components/common/TitleBlock/types.ts +3 -1
- package/src/stories/Welcome.mdx +25 -2
- package/src/stories/{components/display → atoms}/Badge.stories.tsx +1 -1
- package/src/stories/{components/actions → atoms}/Button.stories.tsx +1 -1
- package/src/stories/{components/inputs → atoms}/Checkbox.stories.tsx +1 -1
- package/src/stories/{components/icons → atoms}/IconWithCircularBackground.stories.tsx +1 -1
- package/src/stories/{components/icons → atoms}/IconWithSquareBackground.stories.tsx +1 -1
- package/src/stories/{components/icons → atoms}/Icons.stories.tsx +1 -1
- package/src/stories/{components/loaders → atoms}/Loader.stories.tsx +1 -1
- package/src/stories/{components/loaders → atoms}/LoadingSpinner.stories.tsx +1 -1
- package/src/stories/{assets → atoms}/Logo.stories.tsx +1 -1
- package/src/stories/{components/inputs → atoms}/NumberStepper.stories.tsx +1 -1
- package/src/stories/{components/inputs → atoms}/PhoneInput.stories.tsx +1 -1
- package/src/stories/{components/inputs → atoms}/SearchInput.stories.tsx +1 -1
- package/src/stories/{components/inputs → atoms}/Select.stories.tsx +1 -1
- package/src/stories/{components/form → atoms}/SimpleCheckbox.stories.tsx +1 -1
- package/src/stories/{components/inputs → atoms}/Switch.stories.tsx +1 -1
- package/src/stories/{components/tabs → atoms}/Tab.stories.tsx +1 -1
- package/src/stories/{components/inputs → atoms}/TextField.stories.tsx +1 -1
- package/src/stories/{components/display → atoms}/Tooltip.stories.tsx +2 -2
- package/src/stories/{theme → foundations}/ThemedMuiComponents.stories.tsx +1 -1
- package/src/stories/{components/feedback → molecules}/Alert.stories.tsx +1 -1
- package/src/stories/{components/navigation → molecules}/Breadcrumbs.stories.tsx +1 -1
- package/src/stories/{components/actions → molecules}/ButtonWithPopover.stories.tsx +1 -1
- package/src/stories/{components/display → molecules}/Card.stories.tsx +1 -1
- package/src/stories/{components/display → molecules}/CardShell.stories.tsx +20 -1
- package/src/stories/{components/form → molecules}/CheckboxFormControl.stories.tsx +1 -1
- package/src/stories/{components/inputs → molecules}/DatePicker.stories.tsx +1 -1
- package/src/stories/{components/form → molecules}/FormControlWrapper.stories.tsx +1 -1
- package/src/stories/{components/display → molecules}/ImageCard.stories.tsx +1 -1
- package/src/stories/{components/display → molecules}/ListWithIcons.stories.tsx +1 -1
- package/src/stories/{components/inputs → molecules}/PhoneInputFormControl.stories.tsx +1 -1
- package/src/stories/{components/overlays → molecules}/Popover.stories.tsx +1 -1
- package/src/stories/{components/inputs → molecules}/RadioButtonGroup.stories.tsx +1 -1
- package/src/stories/{components/inputs → molecules}/SearchableField.stories.tsx +1 -1
- package/src/stories/{components/display → molecules}/SegmentedControl.stories.tsx +2 -2
- package/src/stories/{components/feedback → molecules}/Snackbar.stories.tsx +1 -1
- package/src/stories/{components/tabs → molecules}/TabPanel.stories.tsx +1 -1
- package/src/stories/{components/tabs → molecules}/Tabs.stories.tsx +1 -1
- package/src/stories/{components/tabs → molecules}/TabsWrapper.stories.tsx +1 -1
- package/src/stories/{components/display → molecules}/TitleBlock.stories.tsx +90 -1
- package/src/stories/{components/navigation → organisms}/Accordion.stories.tsx +1 -1
- package/src/stories/{components/display → organisms}/AdvancedList.stories.tsx +1 -1
- package/src/stories/{components/display → organisms}/AdvancedListItem.stories.tsx +1 -1
- package/src/stories/{components/form → organisms}/CardFormContainer.stories.tsx +1 -1
- package/src/stories/{components/navigation → organisms}/DataPagination.stories.tsx +1 -1
- package/src/stories/{components/overlays → organisms}/Dialog.stories.tsx +1 -1
- package/src/stories/{components/inputs → organisms}/FileDropzone.stories.tsx +1 -1
- package/src/stories/{components/inputs → organisms}/FileUpload.stories.tsx +1 -1
- package/src/stories/{components/layout → organisms}/Footer.stories.tsx +1 -1
- package/src/stories/{components/loaders → organisms}/FullPageLoader.stories.tsx +1 -1
- package/src/stories/{components/overlays → organisms}/Modal.stories.tsx +1 -1
- package/src/stories/{components/display → organisms}/SelectableCardList.stories.tsx +1 -1
- package/src/stories/{components/form → organisms}/ServiceFormActions.stories.tsx +1 -1
- package/src/stories/{components/form → organisms}/ServiceFormContainer.stories.tsx +1 -1
- package/src/stories/{components/layout → organisms}/ServiceHeader.stories.tsx +1 -1
- package/src/stories/{components/display → organisms}/ServiceLinks.stories.tsx +1 -1
- package/src/stories/{components/navigation → organisms}/ServiceWizardStepper.stories.tsx +3 -3
- package/src/stories/{components/navigation → organisms}/SideNav.stories.tsx +1 -1
- package/src/stories/{components/layout → templates}/ServicePage.stories.tsx +1 -1
- package/src/theme/cards.ts +2 -0
- package/src/stories/components/display/Card.test.tsx +0 -19
- /package/dist/stories/{components/actions → atoms}/Button.stories.d.ts +0 -0
- /package/dist/stories/{assets → atoms}/Logo.stories.d.ts +0 -0
- /package/dist/stories/{theme → foundations}/ThemedMuiComponents.stories.d.ts +0 -0
- /package/src/stories/{components/actions → atoms}/Button.test.ts +0 -0
- /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
|
/**
|