File tree Expand file tree Collapse file tree 6 files changed +269
-0
lines changed Expand file tree Collapse file tree 6 files changed +269
-0
lines changed Original file line number Diff line number Diff line change 14
14
>#</a >
15
15
VInlineCheckbox
16
16
</h2 >
17
+ </v-col >
18
+
19
+ <v-col cols =" 12" >
20
+ <v-card >
21
+ <v-card-title >Component</v-card-title >
22
+ <v-card-text >
23
+ <v-row >
24
+ <v-col cols =" 2" >
25
+ <VInlineCheckbox
26
+ v-model =" values.boolean"
27
+ :density =" density"
28
+ do-not-save
29
+ hide-details
30
+ />
31
+ </v-col >
17
32
33
+ <v-col cols =" 2" >
34
+ <div >
35
+ <v-checkbox
36
+ v-model =" values.boolean"
37
+ :density =" density"
38
+ false-icon =" mdi:mdi-checkbox-blank-outline"
39
+ hide-details
40
+ label =" VCheckbox"
41
+ />
42
+ </div >
43
+ </v-col >
44
+ </v-row >
45
+ </v-card-text >
46
+ </v-card >
47
+ </v-col >
48
+
49
+ <v-col cols =" 12" >
18
50
<PropsTable
19
51
:headers =" propsStore.propsSupported.headers"
20
52
:items =" propsStore.vInlineCheckboxProps"
@@ -32,6 +64,20 @@ import PropsTable from '@/documentation/components/PropsTable.vue';
32
64
33
65
const classes = inject (' classes' );
34
66
const propsStore = usePropsStore ();
67
+
68
+ const density = ref (' compact' );
69
+
70
+ const values = reactive ({
71
+ boolean: true ,
72
+ select: {
73
+ abbr: ' FL' ,
74
+ state: ' Florida' ,
75
+ },
76
+ textField: ' Hello World' ,
77
+ });
78
+
79
+
80
+
35
81
</script >
36
82
37
83
<style lang="scss" scoped>
Original file line number Diff line number Diff line change 14
14
>#</a >
15
15
VInlineSelect
16
16
</h2 >
17
+ </v-col >
18
+
19
+ <v-col cols =" 12" >
20
+ <v-card >
21
+ <v-card-title >Component</v-card-title >
22
+ <v-card-text >
23
+ <v-row >
24
+ <v-col cols =" 2" >
25
+ <VInlineSelect
26
+ v-model =" values.select"
27
+ :density =" density"
28
+ do-not-save
29
+ item-title =" state"
30
+ item-value =" abbr"
31
+ :items =" items"
32
+ :table-field =" false"
33
+ :variant =" variant"
34
+ >
35
+ </VInlineSelect >
36
+ </v-col >
37
+
38
+ <v-col cols =" 2" >
39
+ <div >
40
+ <v-select
41
+ v-model =" values.select"
42
+ :density =" density"
43
+ hide-details
44
+ item-title =" state"
45
+ item-value =" abbr"
46
+ :items =" items"
47
+ label =" VSelect"
48
+ return-object
49
+ single-line
50
+ :variant =" variant"
51
+ ></v-select >
52
+ </div >
53
+ </v-col >
54
+ </v-row >
55
+ </v-card-text >
56
+ </v-card >
57
+ </v-col >
17
58
59
+ <v-col cols =" 12" >
18
60
<PropsTable
19
61
:headers =" propsStore.propsSupported.headers"
20
62
:items =" propsStore.vInlineSelectProps"
@@ -32,6 +74,41 @@ import PropsTable from '@/documentation/components/PropsTable.vue';
32
74
33
75
const classes = inject (' classes' );
34
76
const propsStore = usePropsStore ();
77
+
78
+ const density = ref (' compact' );
79
+ const variant = ref (' underlined' );
80
+
81
+ const values = reactive ({
82
+ boolean: true ,
83
+ select: {
84
+ abbr: ' FL' ,
85
+ state: ' Florida' ,
86
+ },
87
+ textField: ' Hello World' ,
88
+ });
89
+
90
+ const items = reactive ([
91
+ {
92
+ abbr: ' FL' ,
93
+ state: ' Florida' ,
94
+ },
95
+ {
96
+ abbr: ' GA' ,
97
+ state: ' Georgia' ,
98
+ },
99
+ {
100
+ abbr: ' NE' ,
101
+ state: ' Nebraska' ,
102
+ },
103
+ {
104
+ abbr: ' CA' ,
105
+ state: ' California' ,
106
+ },
107
+ {
108
+ abbr: ' NY' ,
109
+ state: ' New York' ,
110
+ },
111
+ ]);
35
112
</script >
36
113
37
114
<style lang="scss" scoped>
Original file line number Diff line number Diff line change 14
14
>#</a >
15
15
VInlineSwitch
16
16
</h2 >
17
+ </v-col >
18
+
19
+ <v-col cols =" 12" >
20
+ <v-card >
21
+ <v-card-title >Component</v-card-title >
22
+ <v-card-text >
23
+ <v-row >
24
+ <v-col cols =" 2" >
25
+ <VInlineSwitch
26
+ v-model =" values.boolean"
27
+ :density =" density"
28
+ do-not-save
29
+ hide-details
30
+ />
31
+ </v-col >
32
+
33
+ <v-col cols =" 2" >
34
+ <div >
35
+ <v-switch
36
+ v-model =" values.boolean"
37
+ :density =" density"
38
+ hide-details
39
+ label =" VSwitch"
40
+ />
41
+ </div >
42
+ </v-col >
43
+ </v-row >
44
+ </v-card-text >
45
+ </v-card >
46
+ </v-col >
17
47
48
+ <v-col cols =" 12" >
18
49
<PropsTable
19
50
:headers =" propsStore.propsSupported.headers"
20
51
:items =" propsStore.vInlineSwitchProps"
@@ -32,6 +63,17 @@ import PropsTable from '@/documentation/components/PropsTable.vue';
32
63
33
64
const classes = inject (' classes' );
34
65
const propsStore = usePropsStore ();
66
+
67
+ const density = ref (' compact' );
68
+
69
+ const values = reactive ({
70
+ boolean: true ,
71
+ select: {
72
+ abbr: ' FL' ,
73
+ state: ' Florida' ,
74
+ },
75
+ textField: ' Hello World' ,
76
+ });
35
77
</script >
36
78
37
79
<style lang="scss" scoped>
Original file line number Diff line number Diff line change 14
14
>#</a >
15
15
VInlineTextField
16
16
</h2 >
17
+ </v-col >
18
+
19
+ <v-col cols =" 12" >
20
+ <v-card >
21
+ <v-card-title >Component</v-card-title >
22
+ <v-card-text >
23
+ <v-row >
24
+ <v-col cols =" 2" >
25
+ <VInlineTextField
26
+ v-model =" values.textField"
27
+ :density =" density"
28
+ do-not-save
29
+ :table-field =" false"
30
+ :variant =" variant"
31
+ ></VInlineTextField >
32
+ </v-col >
33
+
34
+ <v-col cols =" 2" >
35
+ <div >
36
+ <v-text-field
37
+ v-model =" values.textField"
38
+ :density =" density"
39
+ hide-details
40
+ :variant =" variant"
41
+ ></v-text-field >
42
+ </div >
43
+ </v-col >
44
+ </v-row >
45
+ </v-card-text >
46
+ </v-card >
47
+ </v-col >
17
48
49
+ <v-col cols =" 12" >
18
50
<PropsTable
19
51
:headers =" propsStore.propsSupported.headers"
20
52
:items =" propsStore.vInlineTextFieldProps"
@@ -32,6 +64,18 @@ import PropsTable from '@/documentation/components/PropsTable.vue';
32
64
33
65
const classes = inject (' classes' );
34
66
const propsStore = usePropsStore ();
67
+
68
+ const density = ref (' compact' );
69
+ const variant = ref (' underlined' );
70
+
71
+ const values = reactive ({
72
+ boolean: true ,
73
+ select: {
74
+ abbr: ' FL' ,
75
+ state: ' Florida' ,
76
+ },
77
+ textField: ' Hello World' ,
78
+ });
35
79
</script >
36
80
37
81
<style lang="scss" scoped>
Original file line number Diff line number Diff line change 14
14
>#</a >
15
15
VInlineTextarea
16
16
</h2 >
17
+ </v-col >
18
+
19
+ <v-col cols =" 12" >
20
+ <v-card >
21
+ <v-card-title >Component</v-card-title >
22
+ <v-card-text >
23
+ <v-row >
24
+ <v-col cols =" 2" >
25
+ <VInlineTextarea
26
+ v-model =" values.textField"
27
+ :density =" density"
28
+ do-not-save
29
+ rows =" 1"
30
+ :table-field =" false"
31
+ :variant =" variant"
32
+ ></VInlineTextarea >
33
+ </v-col >
17
34
35
+ <v-col cols =" 2" >
36
+ <div >
37
+
38
+ <v-textarea
39
+ v-model =" values.textField"
40
+ :density =" density"
41
+ hide-details
42
+ :variant =" variant"
43
+ ></v-textarea >
44
+ </div >
45
+ </v-col >
46
+ </v-row >
47
+ </v-card-text >
48
+ </v-card >
49
+ </v-col >
50
+
51
+ <v-col cols =" 12" >
18
52
<PropsTable
19
53
:headers =" propsStore.propsSupported.headers"
20
54
:items =" propsStore.vInlineTextareaProps"
@@ -32,6 +66,18 @@ import PropsTable from '@/documentation/components/PropsTable.vue';
32
66
33
67
const classes = inject (' classes' );
34
68
const propsStore = usePropsStore ();
69
+
70
+ const density = ref (' compact' );
71
+ const variant = ref (' underlined' );
72
+
73
+ const values = reactive ({
74
+ boolean: true ,
75
+ select: {
76
+ abbr: ' FL' ,
77
+ state: ' Florida' ,
78
+ },
79
+ textField: ' Hello World' ,
80
+ });
35
81
</script >
36
82
37
83
<style lang="scss" scoped>
Original file line number Diff line number Diff line change @@ -5,13 +5,27 @@ import { createApp } from 'vue';
5
5
import { createPinia } from 'pinia' ;
6
6
import { registerPlugins } from './plugins' ;
7
7
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' ;
8
+ import {
9
+ VInlineCheckbox ,
10
+ VInlineSelect ,
11
+ VInlineSwitch ,
12
+ VInlineTextField ,
13
+ VInlineTextarea ,
14
+ } from './index' ;
15
+
8
16
9
17
const app = createApp ( App ) ;
10
18
app . use ( CodeBlock ) ;
11
19
app . use ( createPinia ( ) ) ;
12
20
app . component ( 'font-awesome-icon' , FontAwesomeIcon ) ;
13
21
app . component ( 'FaIcon' , FontAwesomeIcon ) ;
14
22
23
+ app . component ( 'VInlineCheckbox' , VInlineCheckbox ) ;
24
+ app . component ( 'VInlineSelect' , VInlineSelect ) ;
25
+ app . component ( 'VInlineSwitch' , VInlineSwitch ) ;
26
+ app . component ( 'VInlineTextField' , VInlineTextField ) ;
27
+ app . component ( 'VInlineTextarea' , VInlineTextarea ) ;
28
+
15
29
registerPlugins ( app ) ;
16
30
17
31
app . mount ( '#app' ) ;
You can’t perform that action at this time.
0 commit comments