@pocketprep/ui-kit 3.5.3 → 3.5.4
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.
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
</div>
|
|
107
107
|
<div class="uikit-side-panel__foot-right">
|
|
108
108
|
<PocketButton
|
|
109
|
+
v-if="showCancelButton"
|
|
109
110
|
class="uikit-side-panel__foot-cancel"
|
|
110
111
|
type="secondary"
|
|
111
112
|
:is-dark-mode="isDarkMode"
|
|
@@ -149,6 +150,7 @@ export default class SidePanel extends Vue {
|
|
|
149
150
|
@Prop({ default: false }) disableTransition!: boolean
|
|
150
151
|
@Prop({ default: false }) isTeachSidePanel!: boolean
|
|
151
152
|
@Prop({ default: false }) isDarkMode!: boolean
|
|
153
|
+
@Prop({ default: true }) showCancelButton!: boolean
|
|
152
154
|
|
|
153
155
|
openSidePanel = false
|
|
154
156
|
notContentHeight = this.tabs?.length ? 262 : 218
|