@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.0.23-alpha.2",
3
+ "version": "2.0.24-alpha.1",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -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: 9999;
788
+ z-index: 99999;
777
789
  box-shadow: -3px 2px 10px 3px rgba(0, 0, 0, 0.1);
778
790
 
779
791
  .info-title {
@@ -196,6 +196,7 @@
196
196
 
197
197
  .multiselect--disabled {
198
198
  opacity: unset;
199
+ background: transparent !important;
199
200
  }
200
201
 
201
202
  &.is-disable {
@@ -145,8 +145,8 @@
145
145
  }
146
146
 
147
147
  .footer-bottom-fixed {
148
- position: fixed!important;
149
- bottom: 8px!important;
148
+ position: fixed !important;
149
+ bottom: 8px !important;
150
150
  width: calc(100% - 280px);
151
151
  border-top: 1px solid $primary-90;
152
152
  padding-top: 8px;
@@ -124,15 +124,12 @@ watch(
124
124
  </script>
125
125
 
126
126
  <template>
127
- <div class="ac-preview is-not-fixed pl-20 pr-20">
127
+ <div class="ac-preview is-not-fixed">
128
128
  <div class="ac-preview-inner">
129
129
  <!-- preview body start -->
130
- <div
131
- class="ac-preview-body mt-0"
132
- :class="{
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
- v-for="(previewYaml, idx) in filteredYamls"
146
- :key="previewYaml.name + idx"
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
- v-else
173
- v-model="activeFile.content"
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>