|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`renders ./components/flex/demo/align.vue correctly 1`] = ` |
| 4 | +<div class="ant-flex ant-flex-align-start ant-flex-gap-middle ant-flex-vertical"> |
| 5 | + <p>Select justify :</p> |
| 6 | + <div class="ant-segmented "> |
| 7 | + <div class="ant-segmented-group"> |
| 8 | + <!----><label class="ant-segmented-item ant-segmented-item-selected"><input class="ant-segmented-item-input" type="radio"> |
| 9 | + <div class="ant-segmented-item-label" title="flex-start">flex-start</div> |
| 10 | + </label><label class="ant-segmented-item"><input class="ant-segmented-item-input" type="radio"> |
| 11 | + <div class="ant-segmented-item-label" title="center">center</div> |
| 12 | + </label><label class="ant-segmented-item"><input class="ant-segmented-item-input" type="radio"> |
| 13 | + <div class="ant-segmented-item-label" title="flex-end">flex-end</div> |
| 14 | + </label><label class="ant-segmented-item"><input class="ant-segmented-item-input" type="radio"> |
| 15 | + <div class="ant-segmented-item-label" title="space-between">space-between</div> |
| 16 | + </label><label class="ant-segmented-item"><input class="ant-segmented-item-input" type="radio"> |
| 17 | + <div class="ant-segmented-item-label" title="space-around">space-around</div> |
| 18 | + </label><label class="ant-segmented-item"><input class="ant-segmented-item-input" type="radio"> |
| 19 | + <div class="ant-segmented-item-label" title="space-evenly">space-evenly</div> |
| 20 | + </label> |
| 21 | + </div> |
| 22 | + </div> |
| 23 | + <p>Select align :</p> |
| 24 | + <div class="ant-segmented "> |
| 25 | + <div class="ant-segmented-group"> |
| 26 | + <!----><label class="ant-segmented-item ant-segmented-item-selected"><input class="ant-segmented-item-input" type="radio"> |
| 27 | + <div class="ant-segmented-item-label" title="flex-start">flex-start</div> |
| 28 | + </label><label class="ant-segmented-item"><input class="ant-segmented-item-input" type="radio"> |
| 29 | + <div class="ant-segmented-item-label" title="center">center</div> |
| 30 | + </label><label class="ant-segmented-item"><input class="ant-segmented-item-input" type="radio"> |
| 31 | + <div class="ant-segmented-item-label" title="flex-end">flex-end</div> |
| 32 | + </label> |
| 33 | + </div> |
| 34 | + </div> |
| 35 | + <div class="ant-flex ant-flex-align-flex-start ant-flex-justify-flex-start" style="width: 100%; height: 120px; border-radius: 6px; border: 1px solid #40a9ff;"><button class="ant-btn ant-btn-primary" type="button"> |
| 36 | + <!----><span>Primary</span> |
| 37 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 38 | + <!----><span>Primary</span> |
| 39 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 40 | + <!----><span>Primary</span> |
| 41 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 42 | + <!----><span>Primary</span> |
| 43 | + </button></div> |
| 44 | +</div> |
| 45 | +`; |
| 46 | +
|
| 47 | +exports[`renders ./components/flex/demo/basic.vue correctly 1`] = ` |
| 48 | +<div class="ant-flex ant-flex-align-stretch ant-flex-gap-middle ant-flex-vertical"> |
| 49 | + <div class="ant-radio-group ant-radio-group-outline"><label class="ant-radio-wrapper ant-radio-wrapper-checked"><span class="ant-radio ant-radio-checked"><input type="radio" class="ant-radio-input" value="horizontal"><span class="ant-radio-inner"></span></span><span>horizontal</span></label><label class="ant-radio-wrapper"><span class="ant-radio"><input type="radio" class="ant-radio-input" value="vertical"><span class="ant-radio-inner"></span></span><span>vertical</span></label></div> |
| 50 | + <div class="ant-flex"> |
| 51 | + <div style="width: 25%; height: 54px; background: rgba(22, 119, 255, 0.749);"></div> |
| 52 | + <div style="width: 25%; height: 54px; background: rgb(22, 119, 255);"></div> |
| 53 | + <div style="width: 25%; height: 54px; background: rgba(22, 119, 255, 0.749);"></div> |
| 54 | + <div style="width: 25%; height: 54px; background: rgb(22, 119, 255);"></div> |
| 55 | + </div> |
| 56 | +</div> |
| 57 | +`; |
| 58 | +
|
| 59 | +exports[`renders ./components/flex/demo/combination.vue correctly 1`] = ` |
| 60 | +<div style="width: 620px;" class="ant-card ant-card-bordered"> |
| 61 | + <!----> |
| 62 | + <!----> |
| 63 | + <div class="ant-card-body" style="padding: 0px; overflow: hidden;"> |
| 64 | + <div class="ant-flex ant-flex-justify-space-between"><img alt="avatar" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png" style="display: block; width: 273px;"> |
| 65 | + <div class="ant-flex ant-flex-align-flex-end ant-flex-justify-space-between ant-flex-vertical" style="padding: 32px;"> |
| 66 | + <article class="ant-typography"> |
| 67 | + <h3 class="ant-typography"> “antd is an enterprise-class UI design language and Vue UI library.” |
| 68 | + <!----> |
| 69 | + </h3> |
| 70 | + </article><a class="ant-btn ant-btn-primary" href="https://antdv.com" target="_blank"> |
| 71 | + <!----><span>Get Start</span> |
| 72 | + </a> |
| 73 | + </div> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + <!----> |
| 77 | +</div> |
| 78 | +`; |
| 79 | +
|
| 80 | +exports[`renders ./components/flex/demo/gap.vue correctly 1`] = ` |
| 81 | +<div class="ant-flex ant-flex-align-stretch ant-flex-gap-middle ant-flex-vertical"> |
| 82 | + <div class="ant-radio-group ant-radio-group-outline"><label class="ant-radio-wrapper ant-radio-wrapper-checked"><span class="ant-radio ant-radio-checked"><input type="radio" class="ant-radio-input" value="small"><span class="ant-radio-inner"></span></span><span>small</span></label><label class="ant-radio-wrapper"><span class="ant-radio"><input type="radio" class="ant-radio-input" value="middle"><span class="ant-radio-inner"></span></span><span>middle</span></label><label class="ant-radio-wrapper"><span class="ant-radio"><input type="radio" class="ant-radio-input" value="large"><span class="ant-radio-inner"></span></span><span>large</span></label><label class="ant-radio-wrapper"><span class="ant-radio"><input type="radio" class="ant-radio-input" value="customize"><span class="ant-radio-inner"></span></span><span>customize</span></label></div> |
| 83 | + <!--v-if--> |
| 84 | + <div class="ant-flex ant-flex-gap-small"><button class="ant-btn ant-btn-primary" type="button"> |
| 85 | + <!----><span>Primary</span> |
| 86 | + </button><button class="ant-btn ant-btn-default" type="button"> |
| 87 | + <!----><span>Default</span> |
| 88 | + </button><button class="ant-btn ant-btn-dashed" type="button"> |
| 89 | + <!----><span>Dashed</span> |
| 90 | + </button><button class="ant-btn ant-btn-link" type="button"> |
| 91 | + <!----><span>Link</span> |
| 92 | + </button></div> |
| 93 | +</div> |
| 94 | +`; |
| 95 | +
|
| 96 | +exports[`renders ./components/flex/demo/wrap.vue correctly 1`] = ` |
| 97 | +<div class="ant-flex ant-flex-wrap-wrap ant-flex-gap-small"><button class="ant-btn ant-btn-primary" type="button"> |
| 98 | + <!----><span>Button</span> |
| 99 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 100 | + <!----><span>Button</span> |
| 101 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 102 | + <!----><span>Button</span> |
| 103 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 104 | + <!----><span>Button</span> |
| 105 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 106 | + <!----><span>Button</span> |
| 107 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 108 | + <!----><span>Button</span> |
| 109 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 110 | + <!----><span>Button</span> |
| 111 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 112 | + <!----><span>Button</span> |
| 113 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 114 | + <!----><span>Button</span> |
| 115 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 116 | + <!----><span>Button</span> |
| 117 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 118 | + <!----><span>Button</span> |
| 119 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 120 | + <!----><span>Button</span> |
| 121 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 122 | + <!----><span>Button</span> |
| 123 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 124 | + <!----><span>Button</span> |
| 125 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 126 | + <!----><span>Button</span> |
| 127 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 128 | + <!----><span>Button</span> |
| 129 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 130 | + <!----><span>Button</span> |
| 131 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 132 | + <!----><span>Button</span> |
| 133 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 134 | + <!----><span>Button</span> |
| 135 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 136 | + <!----><span>Button</span> |
| 137 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 138 | + <!----><span>Button</span> |
| 139 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 140 | + <!----><span>Button</span> |
| 141 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 142 | + <!----><span>Button</span> |
| 143 | + </button><button class="ant-btn ant-btn-primary" type="button"> |
| 144 | + <!----><span>Button</span> |
| 145 | + </button></div> |
| 146 | +`; |
0 commit comments