feat(CC-batch-8): added batch 8#11870
Conversation
|
Preview: https://patternfly-react-pr-11870.surge.sh A11y report: https://patternfly-react-pr-11870-a11y.surge.sh Preview: https://pf-react-pr-11870.surge.sh A11y report: https://pf-react-pr-11870-a11y.surge.sh |
| props: { | ||
| // boolean | ||
| isInputVisible: figma.boolean('Value input'), | ||
| minmaxValues: figma.boolean('Min/max values'), |
There was a problem hiding this comment.
I don't see "Min/max values" in Figma. This maps below to the showBoundaries prop, the logic makes sense but maybe this has been removed from Figma and should be removed here as well?
9dea0f2 to
c2efe09
Compare
0d1081f to
616400f
Compare
616400f to
c8ff41f
Compare
| timeFormat: figma.enum('Format', { | ||
| 'Without time': undefined, | ||
| Abbreviated: 'short', | ||
| Numeric: 'numeric' |
There was a problem hiding this comment.
numeric isn't a value of timeFormat in the props.
timeFormat allows the values: full, long, medium, short.
| 'Without time': 'medium', | ||
| 'Without day': undefined, | ||
| Abbreviated: 'short', | ||
| Numeric: 'numeric' |
There was a problem hiding this comment.
Same as timeFormat, numeric isn't a value. The values are the same as timeFormat: full, medium, long, short.
| date={props.defaultTimestampContent} | ||
| timeFormat={props.timeFormat} | ||
| dateFormat={props.dateFormat} | ||
| dateContent={props.dateFormat} |
There was a problem hiding this comment.
dateContent isn't a prop of Timestamp.
| { | ||
| props: { | ||
| // enum | ||
| size: figma.enum('Size', { |
There was a problem hiding this comment.
Should be passed as isCompact to the component.
| }), | ||
|
|
||
| // nested props | ||
| leftItem: figma.nestedProps('Base components/Toggle groups parts', { |
There was a problem hiding this comment.
I don't know what leftItem, middleItem1, middleItem2, rightItem represent here. Do they need to be defined when children already exists?
4981f61 to
ad4eb74
Compare
ad4eb74 to
6d6d202
Compare
Co-authored-by: Evan <evan.wilkinson@gmail.com>
Co-authored-by: Evan <evan.wilkinson@gmail.com>
Co-authored-by: Evan <evan.wilkinson@gmail.com>
Co-authored-by: Evan <evan.wilkinson@gmail.com>
6d6d202 to
eb6bc49
Compare
| <Tab | ||
| eventKey={0} | ||
| isDisabled={props.isDisabled} | ||
| actions={props.popover} |
There was a problem hiding this comment.
This will not work - actions need to be wrapped in a component and the button in the TabAction needs to be referenced in a popover. for now, I think the value of popover should be:
popover: figma.boolean('Help button', {
true: (
<TabAction aria-label={`Close tab`} onClick={() => {}} >
<TimesIcon />
</TabAction>
),
false: undefined
})
| <Tab | ||
| eventKey={0} | ||
| isDisabled={props.isDisabled} | ||
| actions={props.popover} |
There was a problem hiding this comment.
same - if the only thing being passed to the actions component is a popover, nothing will render
| { | ||
| props: { | ||
| // string | ||
| defaultTimestampContent: figma.string('✏️ Default timestamp content'), |
There was a problem hiding this comment.
This is not being used by anything
| // enum | ||
| date: figma.enum('Format', { | ||
| Default: figma.string('✏️ Default timestamp content'), | ||
| 'Without time': figma.string('✏️ Without time'), |
There was a problem hiding this comment.
These strings with emojis are not doing anything to update the timestamp value. I think each of these values have a different set of props they should be updating in the timestamp component to update the format of the rendered component.
|
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
|
Closed per discussion due to new AI tooling which relieves the maintenance and tech debt that Code Connect manual files introduce. |
Relates to: #11624
Included components:
Component tracker
Figma preview
Resources: