Skip to content

Commit ffcd5ca

Browse files
authored
test(visual): update snapshots
1 parent a85870d commit ffcd5ca

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

packages/components/src/components/segment/readme.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,19 @@
1111
| ---------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------- | -------------- |
1212
| `adjacentSiblings` | `adjacent-siblings` | | `"left" \| "leftright" \| "right"` | `undefined` |
1313
| `ariaDescriptionTranslation` | `aria-description-translation` | a11y text for getting meaningful value. `$buttonNumber` and `$selected` are template variables and will be replaces by their corresponding properties. | `string` | `'$selected'` |
14-
| `ariaLabelSegment` | `aria-label-segment` | (optional) aria-label attribute needed for icon-only segments | `string` | `undefined` |
14+
| `ariaLabelSegment` | `aria-label-segment` | (optional) aria-label attribute needed for icon-only buttons | `string` | `undefined` |
1515
| `ariaLangDeselected` | `aria-lang-deselected` | (optional) translation of 'deselected | `string` | `'deselected'` |
1616
| `ariaLangSelected` | `aria-lang-selected` | (optional) translation of 'selected | `string` | `'selected'` |
17-
| `disabled` | `disabled` | (optional) If `true`, the segment is disabled | `boolean` | `false` |
18-
| `hasIcon` | `has-icon` | (optional) position within group | `boolean` | `undefined` |
19-
| `iconOnly` | `icon-only` | (optional) position within group | `boolean` | `undefined` |
17+
| `disabled` | `disabled` | (optional) If `true`, the button is disabled | `boolean` | `false` |
18+
| `iconOnly` | `icon-only` | (optional) icon only segment | `boolean` | `false` |
19+
| `iconText` | `icon-text` | (optional) segment with icon and text | `boolean` | `false` |
20+
| `multiSelect` | `multi-select` | (optional) multi select segment | `boolean` | `false` |
2021
| `position` | `position` | (optional) position within group | `number` | `undefined` |
2122
| `segmentId` | `segment-id` | (optional) segment's id | `string` | `undefined` |
22-
| `selected` | `selected` | (optional) If `true`, the segment is selected | `boolean` | `false` |
23-
| `selectedIndex` | `selected-index` | (optional) the index of the currently selected segment in the segmented-button | `string` | `undefined` |
24-
| `size` | `size` | (optional) The size of the segment | `"large" \| "medium" \| "small"` | `'small'` |
23+
| `selected` | `selected` | (optional) If `true`, the button is selected | `boolean` | `false` |
24+
| `size` | `size` | (optional) The size of the button | `"large" \| "medium" \| "small"` | `'small'` |
2525
| `styles` | `styles` | (optional) Injected CSS styles | `string` | `undefined` |
26-
| `textOnly` | `text-only` | (optional) position within group | `boolean` | `undefined` |
27-
| `width` | `width` | (optional) Segment width set to ensure that all segments have the same width | `string` | `undefined` |
26+
| `width` | `width` | (optional) Button width set to ensure that all buttons have the same width | `string` | `undefined` |
2827

2928

3029
## Events

packages/components/src/components/segmented-button/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
| `disabled` | `disabled` | (optional) If `true`, the button is disabled | `boolean` | `false` |
1414
| `fullWidth` | `full-width` | (optional) If `true`, expand to container width | `boolean` | `false` |
1515
| `helperText` | `helper-text` | (optional) If `true`, show error message | `string` | `'Please select an option'` |
16+
| `iconOnly` | `icon-only` | (optional) icon only | `boolean` | `false` |
1617
| `invalid` | `invalid` | (optional) If `true`, show error message | `boolean` | `false` |
1718
| `label` | `label` | (optional) Button label | `string` | `undefined` |
1819
| `longestButtonWidth` | `longest-button-width` | | `string` | `undefined` |
1920
| `multiSelect` | `multi-select` | (optional) Allow more than one button to be selected | `boolean` | `false` |
20-
| `selectedIndex` | `selected-index` | (optional) the index of the selected segment | `number` | `undefined` |
2121
| `size` | `size` | (optional) The size of the button | `"large" \| "medium" \| "small"` | `'small'` |
2222
| `styles` | `styles` | (optional) Injected CSS styles | `string` | `undefined` |
2323

0 commit comments

Comments
 (0)