@@ -7,31 +7,14 @@ storybook: https://dialtone.dialpad.com/vue/?path=/story/components-button-group
77keywords : ["button set", "btn group", "action group", "d-btn-group", "DtButtonGroup", "dt-button-group", "toolbar", "segmented button"]
88---
99
10- <code-well-header class =" d-d-block " >
11- <dt-button-group alignment =" start " class = " d-g8 " >
10+ <!-- < code-well-header class="d-d-block">
11+ <dt-button-group alignment="start">
1212 <dt-button importance="primary">Confirm</dt-button>
1313 <dt-button importance="outlined">Cancel</dt-button>
1414 </dt-button-group>
15- </code-well-header >
15+ </code-well-header> -->
1616
17- <code-example-tabs
18- htmlCode='
19- <div role =" group " class =" d-btn-group d-btn-group--start " alignment =" start " >
20- <button type =" button " class =" base-button__button d-btn d-btn--primary " >
21- <span class="d-btn__label base-button__label"> Confirm </span>
22- </button >
23- <button data-qa =" dt-button " type =" button " class =" base-button__button d-btn d-btn--outlined " >
24- <span class="d-btn__label base-button__label"> Cancel </span>
25- </button >
26- </div >
27- '
28- vueCode='
29- <dt-button-group >
30- <dt-button importance =" primary " >Confirm</dt-button >
31- <dt-button importance =" outlined " >Cancel</dt-button >
32- </dt-button-group >
33- '
34- showHtmlWarning />
17+ <component-combinator component-name =" DtButtonGroup " />
3518
3619## Variants
3720
@@ -41,7 +24,7 @@ The alignment and the order of buttons within it can be customized to suit the s
4124
4225When aligned to ` start ` , the ` primary ` button is on the ** left** side of the group.
4326<code-well-header class =" d-d-block " >
44- <dt-button-group alignment =" start " class = " d-g8 " >
27+ <dt-button-group alignment =" start " >
4528 <dt-button importance="primary">Confirm</dt-button>
4629 <dt-button importance="outlined">Cancel</dt-button>
4730 </dt-button-group >
@@ -70,7 +53,7 @@ showHtmlWarning />
7053
7154When aligned to ` end ` , the ` primary ` button is on the ** right** side of the group.
7255<code-well-header class =" d-d-block " >
73- <dt-button-group alignment =" end " class = " d-g8 " >
56+ <dt-button-group alignment =" end " >
7457 <dt-button importance="outlined">Cancel</dt-button>
7558 <dt-button importance="primary">Confirm</dt-button>
7659 </dt-button-group >
@@ -99,7 +82,7 @@ showHtmlWarning />
9982
10083When set to ` space-between ` , the elements are evenly distributed within the row, creating a directional flow where the ` primary ` button is either on the ** left** (regressive) or on the ** right** (progressive).
10184<code-well-header class =" d-d-block " >
102- <dt-button-group alignment =" space-between " class = " d-g8 " >
85+ <dt-button-group alignment =" space-between " >
10386 <dt-button importance="outlined">Previous</dt-button>
10487 <dt-button importance="primary">Next</dt-button>
10588 </dt-button-group >
0 commit comments