@appscode/design-system 2.0.23-alpha.2 → 2.0.24-alpha.1
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/vue-components/styles/base/utilities/_global.scss +13 -1
- package/vue-components/styles/components/select-box/_multi-select.scss +1 -0
- package/vue-components/styles/components/ui-builder/_ui-builder.scss +2 -2
- package/vue-components/v3/editor/FilteredFileEditor.vue +12 -31
package/package.json
CHANGED
|
@@ -763,6 +763,18 @@ $border_color_4: transparent transparent #585d6e transparent;
|
|
|
763
763
|
|
|
764
764
|
// Status css
|
|
765
765
|
// ac-footer sticky end
|
|
766
|
+
body:has(.has-info-content) {
|
|
767
|
+
&:after {
|
|
768
|
+
position: absolute;
|
|
769
|
+
content: "";
|
|
770
|
+
left: 0;
|
|
771
|
+
top: 0;
|
|
772
|
+
width: calc(100% - 550px);
|
|
773
|
+
height: 100vh;
|
|
774
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
775
|
+
z-index: 9999;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
766
778
|
.information-center {
|
|
767
779
|
min-height: calc(100vh - 0px);
|
|
768
780
|
padding: 20px;
|
|
@@ -773,7 +785,7 @@ $border_color_4: transparent transparent #585d6e transparent;
|
|
|
773
785
|
right: 0;
|
|
774
786
|
background: #fff;
|
|
775
787
|
top: 0;
|
|
776
|
-
z-index:
|
|
788
|
+
z-index: 99999;
|
|
777
789
|
box-shadow: -3px 2px 10px 3px rgba(0, 0, 0, 0.1);
|
|
778
790
|
|
|
779
791
|
.info-title {
|
|
@@ -124,15 +124,12 @@ watch(
|
|
|
124
124
|
</script>
|
|
125
125
|
|
|
126
126
|
<template>
|
|
127
|
-
<div class="ac-preview is-not-fixed
|
|
127
|
+
<div class="ac-preview is-not-fixed">
|
|
128
128
|
<div class="ac-preview-inner">
|
|
129
129
|
<!-- preview body start -->
|
|
130
|
-
<div
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
'is-justify-content-center': isYamlsEmpty && !isPreviewLoading,
|
|
134
|
-
}"
|
|
135
|
-
>
|
|
130
|
+
<div class="ac-preview-body mt-0" :class="{
|
|
131
|
+
'is-justify-content-center': isYamlsEmpty && !isPreviewLoading,
|
|
132
|
+
}">
|
|
136
133
|
<strong v-if="isYamlsEmpty && !isPreviewLoading">
|
|
137
134
|
No Data Available
|
|
138
135
|
<i class="pl-5 fa fa-exclamation-circle" aria-hidden="true"></i>
|
|
@@ -141,19 +138,12 @@ watch(
|
|
|
141
138
|
<div v-if="!isPreviewLoading && previewYamls" class="left-content">
|
|
142
139
|
<div class="ac-files ac-hscrollbar ac-vscrollbar pt-0">
|
|
143
140
|
<ul v-if="!isPreviewLoading">
|
|
144
|
-
<li
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
:class="{ 'is-active': activeKey === previewYaml.uid }"
|
|
148
|
-
:title="previewYaml.name"
|
|
149
|
-
data-testid="filtered-file-editor-file-name"
|
|
150
|
-
>
|
|
141
|
+
<li v-for="(previewYaml, idx) in filteredYamls" :key="previewYaml.name + idx"
|
|
142
|
+
:class="{ 'is-active': activeKey === previewYaml.uid }" :title="previewYaml.name"
|
|
143
|
+
data-testid="filtered-file-editor-file-name">
|
|
151
144
|
<a @click.prevent="setActivePreview(previewYaml.uid)">
|
|
152
145
|
<span>
|
|
153
|
-
<img
|
|
154
|
-
src="~@appscode/design-system-images/icons/file-icon.svg"
|
|
155
|
-
alt=""
|
|
156
|
-
/>
|
|
146
|
+
<img src="~@appscode/design-system-images/icons/file-icon.svg" alt="" />
|
|
157
147
|
</span>
|
|
158
148
|
<span>{{ previewYaml.name }}</span>
|
|
159
149
|
</a>
|
|
@@ -164,20 +154,11 @@ watch(
|
|
|
164
154
|
</div>
|
|
165
155
|
<div class="right-content" data-testid="filtered-file-editor-content">
|
|
166
156
|
<resource-loader v-if="isPreviewLoading" />
|
|
167
|
-
<strong v-else-if="isYamlsNotSelected"
|
|
168
|
-
>Selecet a data from sidebar</strong
|
|
169
|
-
>
|
|
157
|
+
<strong v-else-if="isYamlsNotSelected">Selecet a data from sidebar</strong>
|
|
170
158
|
<strong v-else-if="hideValue"> *************** </strong>
|
|
171
|
-
<editor
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
:original-value="originalValue"
|
|
175
|
-
:language="activeFile.type"
|
|
176
|
-
:read-only="isEditorReadOnly"
|
|
177
|
-
:editor-height="editorHeight"
|
|
178
|
-
:show-minimap="showMinimap"
|
|
179
|
-
:word-wrap="wordWrap"
|
|
180
|
-
/>
|
|
159
|
+
<editor v-else v-model="activeFile.content" :original-value="originalValue" :language="activeFile.type"
|
|
160
|
+
:read-only="isEditorReadOnly" :editor-height="editorHeight" :show-minimap="showMinimap"
|
|
161
|
+
:word-wrap="wordWrap" />
|
|
181
162
|
</div>
|
|
182
163
|
</template>
|
|
183
164
|
</div>
|