@@ -55,35 +55,35 @@ export const props = {
55
55
} ,
56
56
centered : {
57
57
type : Boolean ,
58
- default : false
58
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'centered' )
59
59
} ,
60
60
scrollable : {
61
61
type : Boolean ,
62
- default : false
62
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'scrollable' )
63
63
} ,
64
64
buttonSize : {
65
- type : String
66
- // default: ''
65
+ type : String ,
66
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'buttonSize' )
67
67
} ,
68
68
noStacking : {
69
69
type : Boolean ,
70
- default : false
70
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'noStacking' )
71
71
} ,
72
72
noFade : {
73
73
type : Boolean ,
74
- default : false
74
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'noFade' )
75
75
} ,
76
76
noCloseOnBackdrop : {
77
77
type : Boolean ,
78
- default : false
78
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'noCloseOnBackdrop' )
79
79
} ,
80
80
noCloseOnEsc : {
81
81
type : Boolean ,
82
- default : false
82
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'noCloseOnEsc' )
83
83
} ,
84
84
noEnforceFocus : {
85
85
type : Boolean ,
86
- default : false
86
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'noEnforceFocus' )
87
87
} ,
88
88
ignoreEnforceFocusSelector : {
89
89
type : [ Array , String ] ,
@@ -101,8 +101,8 @@ export const props = {
101
101
default : ( ) => getComponentConfig ( NAME_MODAL , 'titleTag' )
102
102
} ,
103
103
titleClass : {
104
- type : [ String , Array , Object ]
105
- // default: null
104
+ type : [ String , Array , Object ] ,
105
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'titleClass' )
106
106
} ,
107
107
titleSrOnly : {
108
108
type : Boolean ,
@@ -129,8 +129,8 @@ export const props = {
129
129
default : ( ) => getComponentConfig ( NAME_MODAL , 'headerCloseVariant' )
130
130
} ,
131
131
headerClass : {
132
- type : [ String , Array , Object ]
133
- // default: null
132
+ type : [ String , Array , Object ] ,
133
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'headerClass' )
134
134
} ,
135
135
bodyBgVariant : {
136
136
type : String ,
@@ -141,20 +141,20 @@ export const props = {
141
141
default : ( ) => getComponentConfig ( NAME_MODAL , 'bodyTextVariant' )
142
142
} ,
143
143
modalClass : {
144
- type : [ String , Array , Object ]
145
- // default: null
144
+ type : [ String , Array , Object ] ,
145
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'modalClass' )
146
146
} ,
147
147
dialogClass : {
148
- type : [ String , Array , Object ]
149
- // default: null
148
+ type : [ String , Array , Object ] ,
149
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'dialogClass' )
150
150
} ,
151
151
contentClass : {
152
- type : [ String , Array , Object ]
153
- // default: null
152
+ type : [ String , Array , Object ] ,
153
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'contentClass' )
154
154
} ,
155
155
bodyClass : {
156
- type : [ String , Array , Object ]
157
- // default: null
156
+ type : [ String , Array , Object ] ,
157
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'bodyClass' )
158
158
} ,
159
159
footerBgVariant : {
160
160
type : String ,
@@ -169,40 +169,40 @@ export const props = {
169
169
default : ( ) => getComponentConfig ( NAME_MODAL , 'footerTextVariant' )
170
170
} ,
171
171
footerClass : {
172
- type : [ String , Array , Object ]
173
- // default: null
172
+ type : [ String , Array , Object ] ,
173
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'footerClass' )
174
174
} ,
175
175
// TODO: Rename to `noHeader` and deprecate `hideHeader`
176
176
hideHeader : {
177
177
type : Boolean ,
178
- default : false
178
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'hideHeader' )
179
179
} ,
180
180
// TODO: Rename to `noFooter` and deprecate `hideFooter`
181
181
hideFooter : {
182
182
type : Boolean ,
183
- default : false
183
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'hideFooter' )
184
184
} ,
185
185
// TODO: Rename to `noHeaderClose` and deprecate `hideHeaderClose`
186
186
hideHeaderClose : {
187
187
type : Boolean ,
188
- default : false
188
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'hideHeaderClose' )
189
189
} ,
190
190
// TODO: Rename to `noBackdrop` and deprecate `hideBackdrop`
191
191
hideBackdrop : {
192
192
type : Boolean ,
193
- default : false
193
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'hideBackdrop' )
194
194
} ,
195
195
okOnly : {
196
196
type : Boolean ,
197
- default : false
197
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'okOnly' )
198
198
} ,
199
199
okDisabled : {
200
200
type : Boolean ,
201
- default : false
201
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'okDisabled' )
202
202
} ,
203
203
cancelDisabled : {
204
204
type : Boolean ,
205
- default : false
205
+ default : ( ) => getComponentConfig ( NAME_MODAL , 'cancelDisabled' )
206
206
} ,
207
207
visible : {
208
208
type : Boolean ,
0 commit comments