@itfin/components 1.2.9 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itfin/components",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -2,8 +2,8 @@
2
2
 
3
3
  <div class="itf-modal modal fade" ref="modal" tabindex="-1" :aria-labelledby="modalId" aria-hidden="true">
4
4
  <div
5
- class="modal-dialog modal-fullscreen-sm-down"
6
- :class="{[`modal-${size}`]: size}"
5
+ class="modal-dialog"
6
+ :class="{[`modal-${size}`]: size, 'modal-fullscreen': fullscreen, 'modal-fullscreen-sm-down': !fullscreen}"
7
7
  >
8
8
  <div class="modal-content itf-append-context" ref="content">
9
9
  <div class="modal-header">
@@ -58,7 +58,8 @@ class itfModal extends Vue {
58
58
  @Prop({ type: String, default: '', validator: (value) => ['', 'sm', 'lg', 'xl'].includes(value) }) size;
59
59
 
60
60
  @Prop({ type: Number, default: 500 }) animationDuration
61
- @Prop({ type: Boolean, default: false }) basic
61
+ @Prop({ type: Boolean, default: false }) fullscreen;
62
+ @Prop({ type: Boolean, default: false }) basic;
62
63
  @Prop({ type: Boolean, default: false }) image;
63
64
  @Prop({ type: Boolean, default: false }) closable
64
65
  @Prop({ type: Boolean, default: false }) closeIcon