File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
site-kit/src/lib/components Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
+ import { Checkbox } from ' @sveltejs/site-kit/components' ;
2
3
import Message from ' ../Message.svelte' ;
3
4
import AstNode from ' ./AstNode.svelte' ;
4
5
import type { CompileResult } from ' svelte/compiler' ;
65
66
{/if }
66
67
</code >
67
68
</pre >
69
+
68
70
<Message kind =" info" >The AST is not public API and may change at any point in time</Message >
71
+
72
+ <label >
73
+ modern
74
+
75
+ <!-- TODO wire up -->
76
+ <Checkbox
77
+ checked ={false }
78
+ onchange ={(value ) => {
79
+ // TODO
80
+ }}
81
+ />
82
+ </label >
69
83
</div >
70
84
71
85
<style >
99
113
margin : 0 ;
100
114
list-style-type : none ;
101
115
}
116
+
117
+ label {
118
+ position : absolute ;
119
+ top : 1rem ;
120
+ right : 1rem ;
121
+ display : inline-flex ;
122
+ gap : 1rem ;
123
+ align-items : center ;
124
+ font : var (--sk-font-ui-small );
125
+ }
102
126
</style >
Original file line number Diff line number Diff line change 12
12
/* display: block; */
13
13
position : relative ;
14
14
height : 1em ;
15
- width : calc (100% - 0.6em );
16
- max-width : 2em ;
15
+ width : 2em ;
17
16
top : -2px ;
18
17
border-radius : 0.5em ;
19
18
-webkit-appearance : none ;
You can’t perform that action at this time.
0 commit comments