1 |
|
2 | Copyright IBM Corp. 2016, 2018
|
3 |
|
4 | This source code is licensed under the Apache-2.0 license found in the
|
5 | LICENSE file in the root directory of this source tree.
|
6 | -->
|
7 |
|
8 | {{#if @root.featureFlags.componentsX}}
|
9 | <input tabindex="-1" data-tile-input id="tile-id" class="{{@root.prefix}}--tile-input" value="tile" type="checkbox" name="tiles" title="tile" />
|
10 | {{/if}}
|
11 | <label for="tile-id" aria-label="tile" class="{{@root.prefix}}--tile {{@root.prefix}}--tile--selectable" data-tile="selectable" tabindex="0">
|
12 | {{#unless @root.featureFlags.componentsX}}
|
13 | <input tabindex="-1" data-tile-input id="tile-id" class="{{@root.prefix}}--tile-input" value="tile" type="checkbox" name="tiles" title="tile" />
|
14 | {{/unless}}
|
15 | <div class="{{@root.prefix}}--tile__checkmark">
|
16 | {{#if @root.featureFlags.componentsX}}
|
17 | {{ carbon-icon 'CheckmarkFilled16' }}
|
18 | {{else}}
|
19 | <svg width="16" height="16" viewBox="0 0 16 16">
|
20 | <path d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm3.646-10.854L6.75 10.043 4.354 7.646l-.708.708 3.104 3.103 5.604-5.603-.708-.708z"
|
21 | fill-rule="evenodd" />
|
22 | </svg>
|
23 | {{/if}}
|
24 | </div>
|
25 | <div class="{{@root.prefix}}--tile-content">
|
26 |
|
27 | </div>
|
28 | </label>
|
29 |
|
\ | No newline at end of file |