Skip to content

Conversation

@zaki-yama
Copy link
Contributor

ref. #289

TODO: after #335 is merged, change base branch to 3.0

@zaki-yama zaki-yama self-assigned this Sep 8, 2019
@stomita stomita mentioned this pull request Sep 9, 2019
41 tasks
legend?: string;
title?: string | JSX.Element;
breadCrumbs?: Array<JSX.Element>;
leftActions?: JSX.Element;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should leftActions also be type of JSX.Element | Array<JSX.Element>?
I found rightActions accepts both single object or an array of objects in story.

tag?: keyof ReactHTML;
category?: 'body' | 'heading' | 'title';
type?: 'small' | 'regular' | 'medium' | 'large' | 'caps';
type?: 'small' | 'regular' | 'medium' | 'large' | 'caps' | 'label';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there isn't slds-text-heading_label or slds-text-heading--label class in the SLDS document,
https://www.lightningdesignsystem.com/utilities/text/#Heading-Size-Large

It is in the current source code of SLDS,
https://github.com/salesforce-ux/design-system/blob/21b01368fc63db0cf53c077def1ebffd9bb4c64d/ui/utilities/text/_index.scss#L67
(Though it's deprecated)

And, original propTypes accept it: https://github.com/mashmatrix/react-lightning-design-system/blob/master/src/scripts/Text.js#L28
So I added it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zaki-yama zaki-yama force-pushed the typescript-grid branch 2 times, most recently from ec6bb03 to dcadc5a Compare September 22, 2019 19:29
@zaki-yama zaki-yama force-pushed the typescript-page-header branch from 1a17fb5 to 55b3745 Compare September 22, 2019 19:31
@zaki-yama zaki-yama force-pushed the typescript-page-header branch 2 times, most recently from 58c8421 to 1a17fb5 Compare September 28, 2019 13:57
@zaki-yama zaki-yama force-pushed the typescript-page-header branch from 1a17fb5 to cd70896 Compare September 28, 2019 14:00
@zaki-yama
Copy link
Contributor Author

Closed because the last PR #342 had been merged.

@zaki-yama zaki-yama closed this Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants