File tree Expand file tree Collapse file tree 35 files changed +137
-136
lines changed
docs/components/docs-snippet Expand file tree Collapse file tree 35 files changed +137
-136
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import hbs from 'htmlbars-inline-precompile';
4
4
export default Component . extend ( {
5
5
tagName : '' ,
6
6
layout : hbs `
7
- <div class="import-path mb-6 font-mono" data-test-import-path>
7
+ <div class="import-path ad- mb-6 ad- font-mono" data-test-import-path>
8
8
<span class="hljs-keyword">import</span>
9
9
10
10
{{#if (eq item.exportType "default")}}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import hbs from 'htmlbars-inline-precompile';
4
4
export default Component . extend ( {
5
5
tagName : '' ,
6
6
layout : hbs `
7
- <div class="px-6 pt-3 mt-4 border border-grey-light rounded text-sm">
7
+ <div class="ad- px-6 ad- pt-3 ad- mt-4 ad- border ad- border-grey-light ad- rounded ad- text-sm">
8
8
{{yield (hash
9
9
header=(component 'api/x-meta-panel/header')
10
10
)}}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import hbs from 'htmlbars-inline-precompile';
4
4
export default Component . extend ( {
5
5
tagName : '' ,
6
6
layout : hbs `
7
- <h4 class="mb-2 text-grey font-bold tracking-wide uppercase text-xs">
7
+ <h4 class="ad- mb-2 ad- text-grey ad- font-bold ad- tracking-wide ad- uppercase ad- text-xs">
8
8
{{yield}}
9
9
</h4>
10
10
` ,
Original file line number Diff line number Diff line change 3
3
id ={{ item.name }}
4
4
data-text =" {{ item.name }} "
5
5
data-test-item-header
6
- class =" docs-h3 font-mono font-normal"
6
+ class =" docs-h3 ad- font-mono ad- font-normal"
7
7
>
8
8
{{ #if (eq item.exportType ' default' )}}
9
- <span class =" border border-grey-light align-text-top leading-loose text-xs pl-2 mr-2 py-1 rounded" >
9
+ <span class =" ad- border ad- border-grey-light ad- align-text-top ad- leading-loose ad- text-xs ad- pl-2 ad- mr-2 ad- py-1 ad- rounded" >
10
10
Default
11
11
</span >
12
12
{{ /if }}
45
45
Params
46
46
{{ /panel.header }}
47
47
48
- <table class =" mb-6" data-test-item-params>
48
+ <table class =" ad- mb-6" data-test-item-params>
49
49
<tbody >
50
50
{{ #each item.params as |param |}}
51
51
<tr data-test-item-param>
52
- <td ><span class =" font-mono font-bold border-r border-grey-light pr-2" >{{ param.name }} </span ></td >
53
- <td ><span class =" font-mono border-r border-grey-light px-2" >{{ param.type }} </span ></td >
54
- <td class =" pl-2" >{{ param.description }} </td >
52
+ <td ><span class =" ad- font-mono ad- font-bold ad- border-r ad- border-grey-light ad- pr-2" >{{ param.name }} </span ></td >
53
+ <td ><span class =" ad- font-mono ad- border-r ad- border-grey-light ad- px-2" >{{ param.type }} </span ></td >
54
+ <td class =" ad- pl-2" >{{ param.description }} </td >
55
55
</tr >
56
56
{{ /each }}
57
57
</tbody >
Original file line number Diff line number Diff line change 1
- <ul class =" list-reset mb-6" >
1
+ <ul class =" ad- list-reset ad- mb-6" >
2
2
{{ #each-in toggles as |key toggle |}}
3
3
{{ #if (not-eq toggle undefined )}}
4
- <li class =" inline ml-4" >
4
+ <li class =" ad- inline ad- ml-4" >
5
5
<label data-test-toggle>
6
6
<input type =" checkbox"
7
7
checked ={{ toggle }}
8
8
onclick ={{ action onToggle key }}
9
- class =' mr-1'
9
+ class =' ad- mr-1'
10
10
>
11
11
12
12
{{ capitalize key }}
Original file line number Diff line number Diff line change 1
- <div class =" rounded border my-8" >
1
+ <div class =" ad- rounded ad- border ad- my-8" >
2
2
3
3
{{ yield (hash
4
4
example = (component ' docs-demo/x-example' )
5
5
snippet = (component ' docs-demo/x-snippet' did-init = (action ' registerSnippet' ) activeSnippet =activeSnippet )
6
6
)}}
7
7
8
8
{{ #if snippets }}
9
- <nav class =" docs-demo__snippets-nav py-2 px-4 font-medium bg-grey-lighter tracking-tight" >
9
+ <nav class =" docs-demo__snippets-nav ad- py-2 ad- px-4 ad- font-medium ad- bg-grey-lighter ad- tracking-tight" >
10
10
{{ #each snippets as |snippet |}}
11
11
<button {{ action ' selectSnippet' snippet }}
12
12
class ='
13
- mr-4 text-sm no-underline outline-none
14
- hover:text-grey-darkest
15
- {{ if snippet.isActive ' text-grey-darkest' ' text-grey-dark' }}
13
+ ad- mr-4 ad- text-sm ad- no-underline outline-none
14
+ hover:ad- text-grey-darkest
15
+ {{ if snippet.isActive ' ad- text-grey-darkest' ' ad- text-grey-dark' }}
16
16
'
17
17
>
18
18
{{ snippet.label }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import layout from './template';
4
4
export default Component . extend ( {
5
5
layout,
6
6
7
- classNames : 'p-4' ,
7
+ classNames : 'ad- p-4' ,
8
8
9
9
init ( ) {
10
10
this . _super ( ...arguments ) ;
Original file line number Diff line number Diff line change 2
2
3
3
<a href ={{ href }}
4
4
class ='
5
- px-4 py-3 transition uppercase text-xs font-semibold
6
- text-grey-darkest no-underline opacity-50 hover:opacity-100
7
- {{ if push ' ml-auto' }}
5
+ ad- px-4 ad- py-3 ad- transition ad- uppercase ad- text-xs ad- font-semibold
6
+ ad- text-grey-darkest ad- no-underline ad- opacity-50 hover:ad- opacity-100
7
+ {{ if push ' ad- ml-auto' }}
8
8
'
9
9
data-test-id ={{ data-test-id }} >
10
10
{{ yield }}
15
15
<a {{ action on-click }}
16
16
href =' #'
17
17
class ='
18
- px-4 py-3 transition uppercase text-xs font-semibold
19
- text-grey-darkest no-underline opacity-50 hover:opacity-100
18
+ ad- px-4 ad- py-3 ad- transition ad- uppercase ad- text-xs ad- font-semibold
19
+ ad- text-grey-darkest ad- no-underline ad- opacity-50 hover:ad- opacity-100
20
20
{{ if push ' ml-auto' }}
21
21
'
22
22
data-test-id ={{ data-test-id }} >
27
27
28
28
{{ #link-to route
29
29
class = (concat
30
- ' px-4 py-3 transition uppercase text-xs font-semibold
31
- text-grey-darkest no-underline '
32
- (if (and (not isActive ) (not (eq route ' index' ))) ' opacity-50 hover:opacity-100' )
30
+ ' ad- px-4 ad- py-3 ad- transition ad- uppercase ad- text-xs ad- font-semibold
31
+ ad- text-grey-darkest ad- no-underline '
32
+ (if (and (not isActive ) (not (eq route ' index' ))) ' ad- opacity-50 hover:ad- opacity-100' )
33
33
)
34
34
data-test-id =data-test-id
35
35
}}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { on } from '@ember/object/evented';
5
5
6
6
export default Component . extend ( EKMixin , {
7
7
layout,
8
- classNames : 'ml-auto' ,
8
+ classNames : 'ad- ml-auto' ,
9
9
10
10
query : null ,
11
11
Original file line number Diff line number Diff line change 1
- <div class =' relative text-grey-darkest' data-search-box>
2
- {{ svg-jar ' search' width =12 height =12 class =' absolute pin-t h-full ml-1' }}
1
+ <div class =' ad- relative ad- text-grey-darkest' data-search-box>
2
+ {{ svg-jar ' search' width =12 height =12 class =' ad- absolute ad- pin-t ad- h-full ad- ml-1' }}
3
3
4
4
{{!--
5
5
This is a dumb input - so why not use the {{input}} helper? Because apparently
11
11
value ={{ query }}
12
12
type =" text"
13
13
placeholder =' Search'
14
- class =' w-24 text-xs p-2 pl-6 rounded focus:bg-grey-lighter outline-none'
14
+ class =' ad- w-24 ad- text-xs ad- p-2 ad- pl-6 ad- rounded focus:ad- bg-grey-lighter outline-none'
15
15
data-search-box-input
16
16
data-test-search-box-input>
17
17
</div >
You can’t perform that action at this time.
0 commit comments