@itfin/components 1.2.7 → 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
|
@@ -5,14 +5,14 @@ $dark-tooltip-color: #7b52eb;
|
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
7
|
--itf-tooltip-shadow: 0 0 20px 4px rgba(154, 161, 177, .15), 0 4px 80px -8px rgba(36, 40, 47, .25), 0 4px 4px -2px rgba(91, 94, 105, .15);
|
|
8
|
-
--itf-tooltip-color: $body-color;
|
|
9
|
-
--itf-tooltip-bg-color: $tooltip-color;
|
|
8
|
+
--itf-tooltip-color: #{$body-color};
|
|
9
|
+
--itf-tooltip-bg-color: #{$tooltip-color};
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
[data-theme="dark"] {
|
|
13
13
|
--itf-tooltip-shadow: 0 0 20px 4px rgba(87, 78, 101, 0.15), 0 4px 80px -8px rgba(211, 208, 219, 0.25), 0 4px 4px -2px rgba(156, 150, 164, 0.15);
|
|
14
|
-
--itf-tooltip-color: $dark-body-color;
|
|
15
|
-
--itf-tooltip-bg-color: $dark-tooltip-color;
|
|
14
|
+
--itf-tooltip-color: #{$dark-body-color};
|
|
15
|
+
--itf-tooltip-bg-color: #{$dark-tooltip-color};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.tippy-box[data-theme~=itfin] {
|
|
@@ -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
|
|
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 })
|
|
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
|