@designcrowd/fe-shared-lib 1.0.15 → 1.0.16
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 +1 -1
- package/{dist → public}/css/tailwind-brandCrowd.css +490 -598
- package/{dist → public}/css/tailwind-brandPage.css +414 -522
- package/{dist → public}/css/tailwind-crazyDomains.css +490 -598
- package/{dist → public}/css/tailwind-designCom.css +490 -598
- package/{dist → public}/css/tailwind-designCrowd.css +490 -598
- package/src/atoms/components/Modal/Modal.vue +13 -1
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
<div
|
|
3
3
|
v-show="visible"
|
|
4
4
|
:aria-hidden="visible ? 'false' : 'true'"
|
|
5
|
-
class="tw-bg-black tw-
|
|
5
|
+
class="tw-bg-black tw-flex tw-items-center tw-justify-center tw-fixed tw-w-full tw-h-full tw-top-0 tw-left-0 tw-z-50"
|
|
6
6
|
:class="{
|
|
7
7
|
'tw-px-4': fullScreenBreakpoint === undefined && !isImageMode,
|
|
8
8
|
'sm:tw-px-4': fullScreenBreakpoint === 'sm' && !isImageMode,
|
|
9
|
+
'tw-bg-opacity-75': !darkOverlay,
|
|
9
10
|
}"
|
|
10
11
|
@mousedown.self="close"
|
|
11
12
|
>
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
'tw-rounded-md': fullScreenBreakpoint !== 'sm',
|
|
24
25
|
'modal-bg': !simple && !isImageMode && showModalBackgroundImage,
|
|
25
26
|
'modal-image': isImageMode,
|
|
27
|
+
'tw-bg-transparent': transparentModal,
|
|
26
28
|
},
|
|
27
29
|
classes,
|
|
28
30
|
]"
|
|
@@ -144,6 +146,16 @@ export default {
|
|
|
144
146
|
required: false,
|
|
145
147
|
default: false,
|
|
146
148
|
},
|
|
149
|
+
darkOverlay: {
|
|
150
|
+
type: Boolean,
|
|
151
|
+
required: false,
|
|
152
|
+
default: false,
|
|
153
|
+
},
|
|
154
|
+
transparentModal: {
|
|
155
|
+
type: Boolean,
|
|
156
|
+
required: false,
|
|
157
|
+
default: false,
|
|
158
|
+
},
|
|
147
159
|
},
|
|
148
160
|
computed: {
|
|
149
161
|
isImageMode() {
|